指令容量:受控负载下语言模型的行为与退化

·

研究论文 · 2026/10/30

语言模型遵循指令的质量随负载增加而下降,但目前尚无一个以负载为单位、带有不确定性的量来表达模型的极限。我们提出一种测量工具,其中负载由替换文本中无意义单字词的规则组成:这种指令是原子的,规则通过任务构造相互独立,且每次应用规则的结果由可计算的参考答案确定。每个待替换词的出现都成为伯努利试验,在答案中具有已知位置和已知规则编号。统计模型首先测量正确替换概率对文本长度、词位置、替换密度、规则数量和规则编号的依赖形状,然后用平滑规律描述,并恢复不依赖于编码选择的参考水平。该模型给出指令容量——在给定正确替换比例下保持的规则数量——及其不确定性。对GPT-4o mini的测量(2958次请求,642,430次试验)给出了每个负载因子和答案崩溃的规律;在正确替换比例为0.95时,指令容量约为37-38条规则,在完全替换密度下约为18-19条规则。该工具的代码、测量数据和护照是开放的,护照中的每个数字都从公开数据点重新计算。模型的护照可作为未来提示指令负载计的校准。

该研究首次提出了可量化、带不确定性的指令容量指标,为评估语言模型遵循指令的极限提供了新方法。其严谨的实验设计和开源数据增强了结果的可信度与可复现性,对模型评估和提示工程具有重要参考价值。

The quality with which language models follow instructions falls as the load grows, yet there is still no quantity that expresses the limit of a model in units of load with an uncertainty. We propose an instrument in which the load consists of rules that replace single-token words in a text without meaning: such an instruction is atomic, the rules are independent by the construction of the task, and the outcome of every application of a rule is determined by a computable reference answer. Every occurrence of a word to be replaced becomes a Bernoulli trial with a known position in the answer and a known rule number. The statistical model first measures the shape of the dependence of the probability of a right replacement on the text length, the word position, the replacement density, the number of rules and the rule number, then describes it by smooth laws and restores a reference level that does not depend on the choice of the coding. The model yields the instruction capacity - the number of rules held at a given share of right replacements - with an uncertainty. A measurement of GPT-4o mini (2958 requests, 642,430 trials) gave regular laws for every load factor and for the collapse of the answer; the instruction capacity was about 37-38 rules at a share of right replacements of 0.95, and about 18-19 rules at the full replacement density. The code of the instrument, the measurement data and the passport are open, and every number of the passport is recomputed from the published points. The passport of a model serves as the calibration of a future meter of the instruction load of prompts.

阅读原文

参与讨论