EN — Toolformer learns to use external tools self-supervised: after the model annotates candidate API calls, each call is executed and kept only if inserting its result reduces the language-modeling loss on the following tokens. This turns “would a tool help here?” into a measurable, per-position filter rather than a heuristic. The same self-play bootstrapping loop appears in TALM, where tool-use data expands only when new calls improve outputs.
中文 — Toolformer 以自监督方式学习使用外部工具:模型标注候选 API 调用后逐一执行,仅当插入其结果能降低后续 token 的语言建模损失时才保留。这把”这里是否需要工具”变成可度量的逐位置过滤,而非启发式猜测。同样的自举循环也出现在 TALM 中:仅当新调用能改善输出时才扩充工具使用数据。
Related:
- Automatic prompt engineering treats instructions as programs
- Self-consistency sampling improves reliability through majority vote
- Few-shot prompt performance swings wildly with example choice and order
- Tool use is bottlenecked by knowing when and how to call rather than by the tools themselves
- LLM Agents