ALPINE: Unveiling the Planning Capability of Autoregressive Learning in Language Models
Not on the map. Why?
Abstract (arXiv)
Planning is a crucial element of both human intelligence and contemporary large language models (LLMs). In this paper, we initiate a theoretical investigation into the emergence of planning capabilities in Transformer-based LLMs via their next-word prediction mechanisms. We model planning as a network path-finding task, where the objective is to generate a valid path from a specified source node to a designated target node. Our mathematical characterization shows that Transformer architectures can execute path-finding by embedding the adjacency and reachability matrices within their weights. Furthermore, our theoretical analysis of gradient-based learning dynamics reveals that LLMs can learn both the adjacency and a limited form of the reachability matrices. These theoretical insights are then validated through experiments, which demonstrate that Transformer architectures indeed learn the adjacency and an incomplete reachability matrices, consistent with our theoretical predictions. When applying our methodology to the real-world planning benchmark Blocksworld, our observations remain consistent. Additionally, our analyses uncover a fundamental limitation of current Transformer architectures in path-finding: these architectures cannot identify reachability relationships through transitivity, which leads to failures in generating paths when concatenation is required. These findings provide new insights into how the internal mechanisms of autoregressive learning facilitate intelligent planning and deepen our understanding of how future LLMs might achieve more advanced and general planning-and-reasoning capabilities across diverse applications.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 26 of its 32 references that are in the map. First posted on arXiv 15 May 2024.
Builds on
26 of 32 references.
References · 26
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 308
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
- 2023Looped Transformers as Programmable Computerscited by 224
14 more
- 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 223
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 142
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 105
- 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Modelcited by 105
- 2023Evaluating Cognitive Maps and Planning in Large Language Models with CogEvalcited by 77
- 2023ControlLLM: Augment Language Models with Tools by Searching on Graphscited by 59
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 59
- 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 57
- 2024Do Efficient Transformers Really Save Computation?cited by 20
- 2022How to build a cognitive map: insights from models of the hippocampal formationcited by 5
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 3.
18 papers.
Sort:
By area:
- 2024Theoretical limitations of multi-layer Transformercited by 43
- 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Modelscited by 21
- 2025Density Measures for Language Generationcited by 20
- 2025Generative Models in Decision Making: A Surveycited by 14
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizationscited by 13
- 2024Transformers Can Navigate Mazes With Multi-Step Predictioncited by 11
- 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Pathcited by 10
- 2025Understanding and Enhancing the Planning Capability of Language Models via Multi-Token Predictioncited by 6
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspectivecited by 4
- 2026Efficient Estimation of Kernel Surrogate Models for Task Attributioncited by 4
- 2025A Taxonomy of Transcendencecited by 2
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracingcited by 2
6 more
- 2025SWI: Speaking with Intent in Large Language Modelscited by 0
- 2025Understanding the learned look-ahead behavior of chess neural networkscited by 0
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awarenesscited by 0
- 2025GraphGhost: Tracing Structures Behind Large Language Modelscited by 0
- 2026When Do Hallucinations Arise? A Graph Perspective on the Evolution of Path Reuse and Path Compressioncited by 0
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphscited by 0
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphs22 Jun 2026
- 2026When Do Hallucinations Arise? A Graph Perspective on the Evolution of Path Reuse and Path Compression4 Apr 2026
- 2026Efficient Estimation of Kernel Surrogate Models for Task Attribution3 Feb 2026
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizations7 Nov 2025
- 2025GraphGhost: Tracing Structures Behind Large Language Models7 Oct 2025
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awareness28 Sep 2025
- 2025Understanding and Enhancing the Planning Capability of Language Models via Multi-Token Prediction27 Sep 2025
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective26 Sep 2025
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing24 Sep 2025
- 2025A Taxonomy of Transcendence25 Aug 2025
- 2025Understanding the learned look-ahead behavior of chess neural networks26 May 2025
- 2025Density Measures for Language Generation19 Apr 2025
6 more
- 2025SWI: Speaking with Intent in Large Language Models27 Mar 2025
- 2025Generative Models in Decision Making: A Survey24 Feb 2025
- 2024Transformers Can Navigate Mazes With Multi-Step Prediction6 Dec 2024
- 2024Theoretical limitations of multi-layer Transformer4 Dec 2024
- 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path18 Aug 2024
- 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Models23 Jun 2024
- 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Pathcited by 10
- 2026Efficient Estimation of Kernel Surrogate Models for Task Attributioncited by 4
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracingcited by 2
- 2025GraphGhost: Tracing Structures Behind Large Language Modelscited by 0
- 2026When Do Hallucinations Arise? A Graph Perspective on the Evolution of Path Reuse and Path Compressioncited by 0
- 2026When Do Hallucinations Arise? A Graph Perspective on the Evolution of Path Reuse and Path Compression4 Apr 2026
- 2026Efficient Estimation of Kernel Surrogate Models for Task Attribution3 Feb 2026
- 2025GraphGhost: Tracing Structures Behind Large Language Models7 Oct 2025
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing24 Sep 2025
- 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path18 Aug 2024
- 2024Theoretical limitations of multi-layer Transformercited by 43
- 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Modelscited by 21
- 2025Density Measures for Language Generationcited by 20
- 2025Generative Models in Decision Making: A Surveycited by 14
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizationscited by 13
- 2024Transformers Can Navigate Mazes With Multi-Step Predictioncited by 11
- 2025Understanding and Enhancing the Planning Capability of Language Models via Multi-Token Predictioncited by 6
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspectivecited by 4
- 2025A Taxonomy of Transcendencecited by 2
- 2025SWI: Speaking with Intent in Large Language Modelscited by 0
- 2025Understanding the learned look-ahead behavior of chess neural networkscited by 0
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awarenesscited by 0
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizations7 Nov 2025
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awareness28 Sep 2025
- 2025Understanding and Enhancing the Planning Capability of Language Models via Multi-Token Prediction27 Sep 2025
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective26 Sep 2025
- 2025A Taxonomy of Transcendence25 Aug 2025
- 2025Understanding the learned look-ahead behavior of chess neural networks26 May 2025
- 2025Density Measures for Language Generation19 Apr 2025
- 2025SWI: Speaking with Intent in Large Language Models27 Mar 2025
- 2025Generative Models in Decision Making: A Survey24 Feb 2025
- 2024Transformers Can Navigate Mazes With Multi-Step Prediction6 Dec 2024
- 2024Theoretical limitations of multi-layer Transformer4 Dec 2024
- 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Models23 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows
- 2023On the Planning, Search, and Memorization Capabilities of Large Language Models
- 2024Exploring and Benchmarking the Planning Capabilities of Large Language Models
- 2026The Depth Ceiling: On the Limits of Large Language Models in Discovering Latent Planning
- 2023Improving Planning with Large Language Models: A Modular Agentic Architecture
- 2025On the Limits of Innate Planning in Large Language Models
- 2026Discrete Diffusion Models Exploit Asymmetry to Solve Lookahead Planning Tasks
- 2025LLMs Can Plan Only If We Tell Them