[论文解读] Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solve
该论文认为理解大语言模型需要分析它们被训练的下一个单词预测任务,并显示大语言模型的准确性受任务、输入和输出概率的影响,存在显著的失败模式。
The widespread adoption of large language models (LLMs) makes it important to recognize their strengths and limitations. We argue that in order to develop a holistic understanding of these systems we need to consider the problem that they were trained to solve: next-word prediction over Internet text. By recognizing the pressures that this task exerts we can make predictions about the strategies that LLMs will adopt, allowing us to reason about when they will succeed or fail. This approach - which we call the teleological approach - leads us to identify three factors that we hypothesize will influence LLM accuracy: the probability of the task to be performed, the probability of the target output, and the probability of the provided input. We predict that LLMs will achieve higher accuracy when these probabilities are high than when they are low - even in deterministic settings where probability should not matter. To test our predictions, we evaluate two LLMs (GPT-3.5 and GPT-4) on eleven tasks, and we find robust evidence that LLMs are influenced by probability in the ways that we have hypothesized. In many cases, the experiments reveal surprising failure modes. For instance, GPT-4's accuracy at decoding a simple cipher is 51% when the output is a high-probability word sequence but only 13% when it is low-probability. These results show that AI practitioners should be careful about using LLMs in low-probability situations. More broadly, we conclude that we should not evaluate LLMs as if they are humans but should instead treat them as a distinct type of system - one that has been shaped by its own particular set of pressures.
研究动机与目标
- 识别训练目标(下一个单词预测)如何塑造大语言模型的行为和局限性。
- 建立一个目的论(以目标为导向的)框架,以预测大语言模型何时会成功或失败。
- 测试关于对任务频率、输入概率和输出概率敏感性的假设,在不同的大语言模型上进行检验。
- 说明由自回归压力引发、旨在引导更安全、信息更充分的使用所产生的令人惊讶的失败模式。
提出的方法
- 用以下一个单词预测目标为焦点的目的论方法来定义问题。
- 提出并测试关于自回归端倪的假设:对任务概率、输入概率和输出概率的敏感性。
- 在涉及简单语言和类算术挑战的十一项任务上评估两种LLM(GPT-3.5 和 GPT-4)。
- 使用对抗性任务设计将模型推入低概率文本区域并观察性能变化。
- 分析诸如缺乏具身性和对措辞敏感等现象,以将模型行为放在情境中理解。
实验结果
研究问题
- RQ1自回归训练目标如何影响跨任务的大语言模型准确性?
- RQ2在确定性任务中,LLMs 是否在高概率输出和高概率输入上表现更好?
- RQ3任务概率、输出概率和输入概率在多大程度上影响 LLM 的表现?
主要发现
- 大语言模型的准确率随任务概率而变:频繁任务比罕见任务更容易。
- 大语言模型偏向高概率输出,甚至影响确定性任务。
- 大语言模型对输入概率也可能敏感,尽管程度低于输出概率。
- 由于自回归压力,在解密、形成首字母缩略词、线性映射等简单任务中存在显著的失败模式。
- 提示策略与格式会影响性能,强调需要以它们自己的标准来评估LLMs,而不是以人类的方式来评估。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。