🛰️ Daily AI Frontier
‹ back to 2026-11-13

Goal Encoding in LLMs

arXiv cs.CL LLM Agents Arnab Sen Sharma, Eric Todd, Sheridan Feucht, Andy Arditi, Rohit Gandikota, Natalie Shapira, Gabriele Sarti, Constanza Fierro, Lisa Schut, David Bau 2026-11-12
Representative image for Goal Encoding in LLMs

TL;DR - The paper identifies sparse attention heads that encode an LLM’s next coding sub-goal and causally influence its actions. These representations transfer across programming languages, suggesting goals can guide flexible execution rather than fixed token sequences.

  • The identified heads decode future actions into natural-language descriptions.
  • Transplanting a goal encoding into another environment triggers the same operation through different tokens.
  • Goal representations persist throughout execution.
  • The proposed NRGS account says models repeatedly infer remaining goals from the task specification and visible progress.

view merged work →