语言模型在扩展规则遵循中表现不佳
A minimal probe of task modeling in language models
AI总结:
研究发现语言模型在重复应用规则时无法保持精确状态,即使增加模型规模和计算资源也无法克服这一缺陷,表明需要新的模型架构来实现可靠的规则遵循。
摘要:
大型语言模型在回答困难问题时能够通过检索、重新组合和关注长上下文中的信息来表现出色。然而,在代理任务中,需要额外的能力:在反复应用规则时保持精确的状态。我们发现语言模型在这一可靠性方面存在缺失。通过查询126种领先模型变体,执行对长字符串重复字符计数的任务,发现所有模型都无法准确计数超过模型依赖的语法敏感计数能力阈值。失败是突然的,并且即使增加模型规模、推理时间计算和外部工具,失败仍然持续。机制探测表明,模型使用有限的内部状态来模拟计数作为规则,一旦这些状态耗尽就会失败。此外,这些状态是执行复杂任务的基础。这些结果表明,为了使自主代理实现真正可靠的规则遵循能力,需要从根本上新的模型架构。
英文摘要:
Language models read long contexts and score well on knowledge and reasoning benchmarks, but neither shows whether a model can do work whose next step depends on everything that came before, as a long-running agent must. We call this ability task modeling and propose counting identical items as its simplest test: every item adds to the total and no item records it. We define counting capacity (CC) as the sequence length up to which a model returns the exact count more often than not, and measure it for 205 models. Every resolved measurement loses count abruptly, at a median of 50 items and at most 627; across release years the median rose 1.6-fold while context windows grew about 80-fold. Changing the counted symbol or the delimiter moves a model's CC severalfold, yet the model accounts for about three quarters of the variance across 16 models and 11 encodings. Reasoning leaves the median CC unchanged across 77 matched pairs. In six open-weight models the count stays readable in early layers past the boundary but does not reach the output, and an activation edit that carries the count forward also carries the state of an object-tracking task. CC tracks the METR task horizon after controlling for general capability, and rises with capacity on grid-execution tasks and, with reasoning off, on object tracking. We do not show that counting is necessary or sufficient for long-horizon work; that remains a hypothesis, which this cheap measurement can test.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。