模型与实验室 4.0 · 优秀 2026-11-12 · 论文

Goal Encoding in LLMs

可解释性研究:LLM 会把下一子目标编码进稀疏注意力头的输出,同一组头还能用自然语言解码模型未来的动作;该编码对下一步动作有因果性,且可移植换到另一种编程语言的环境,同一目标会以不同 token 序列实现同一操作,并在整个执行过程中持续维持

打开原文回到归档

Goal Encoding in LLMs

  • ID: 4a3b8a11
  • 原文链接: https://arxiv.org/abs/2611.17297
  • PDF: https://arxiv.org/pdf/2611.17297
  • 作者: Arnab Sen Sharma, Eric Todd, Sheridan Feucht, Andy Arditi, Rohit Gandikota, Natalie Shapira, Gabriele Sarti, Constanza Fierro, Lisa Schut, David Bau
  • 发布时间: 2026-11-12
  • 更新: N/A
  • 分类: models
  • 来源类型: paper
  • 标签: arxiv, interpretability, attention-heads, goals, causality
  • 质量评分: 4/5
  • 抓取时间: 2026-11-16T04:25:38Z

中文导读

可解释性研究:LLM 会把下一子目标编码进稀疏注意力头的输出,同一组头还能用自然语言解码模型未来的动作;该编码对下一步动作有因果性,且可移植换到另一种编程语言的环境,同一目标会以不同 token 序列实现同一操作,并在整个执行过程中持续维持

为什么值得关注

在稀疏注意力头输出中定位下一子目标的编码,同一组头能用自然语言解码未来动作;编码对下一步动作有因果性且可跨编程语言移植,作者进一步提出非递归目标追寻(NRGS)解释并用因果干预检验其预测。

Sparse attention heads encode the LM's next sub-goal and decode future actions in natural language; the encoding is causal for the next action and transplants across programming languages, and the proposed non-recurrent goal-seeking (NRGS) account — the LM re-reads the goal from the task specification and compares it against visible progress — is tested with targeted causal interventions.

关键信息

  • 论文标题:Goal Encoding in LLMs
  • 作者:Arnab Sen Sharma, Eric Todd, Sheridan Feucht, Andy Arditi, Rohit Gandikota, Natalie Shapira, Gabriele Sarti, Constanza Fierro, Lisa Schut, David Bau
  • arXiv: https://arxiv.org/abs/2611.17297
  • 发布时间:2026-11-12
  • arXiv 分类:cs.CL, cs.AI, cs.LG
  • 关联标签:arxiv, interpretability, attention-heads, goals, causality

英文摘要

We investigate whether and how LLMs encode goals: internal neural representations that precede and guide action, and that are flexible enough to be realized through many different execution paths. We construct a coding setting with multiple sub-tasks that allows us to evaluate goal-seeking behavior and the selection of sub-goals. In this setting, we localize an encoding of the next sub-goal in the outputs of a sparse set of attention heads. The same heads can be used to decode the LM's future actions in natural language (e.g., "I'm checking if a word is a palindrome"). We verify that this encoding is causal for next action and is plastic: transplanting it into a different environment, e.g., another programming language, triggers the same operation realized with a different sequence of tokens. The LM also sustains the encoding throughout the action's execution, which is puzzling because a transformer LM without recurrence cannot carry a state forward for more tokens than it has layers left. We propose that it does not need to. Under a non-recurrent goal-seeking (NRGS) account, the LM frequently re-reads the goal from the task specification, compares it with the progress visible in the growing context, and pursues what remains. We test the predictions of this account with targeted causal interventions.

English Summary

The authors investigate whether LLMs encode goals: internal neural representations that precede and guide action yet are flexible enough to be realized through many different execution paths. In a coding setting with multiple sub-tasks, they localize an encoding of the next sub-goal in the outputs of a sparse set of attention heads, and the same heads decode the model's future actions in natural language (e.g., 'I'm checking if a word is a palindrome'). The encoding is causal for the next action and plastic: transplanting it into a different environment, such as another programming language, triggers the same operation realized with a different token sequence. The model also sustains the encoding throughout the action's execution.

Obsidian Notes

  • 本页为内容补齐(content backfill):条目早已入库,本次补写内容页。
  • 内容基于 arXiv abs 页面元数据与摘要生成(opencli arxiv 返回 HTTP 429 后的 abs 页面回退)。
  • 中文导读与价值判断均锚定在条目已有摘要与本次拉取的论文摘要上,未添加摘要之外的实验细节。