atlas

Research map / Large language models / Agents, code and math

ALPINE: Unveiling The Planning Capability of Autoregressive Learning in Language Models

NeurIPS 2024 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretically and empirically studies how autoregressively trained Transformers learn path-finding (a planning proxy), showing they encode adjacency and observed reachability but fail on transitive reachability requiring path concatenation.

Problem

How next-word prediction Transformers acquire planning ability, modeled as path-finding in directed graphs, and what limits their learning of reachability.

Approach

Models planning as path-finding on graphs; proves a 1-layer Transformer can encode adjacency and reachability matrices, and shows via gradient-dynamics analysis of a simplified 1-layer model that cross-entropy training learns only observed (non-transitive) reachability, so it fails on paths requiring concatenation of training segments.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the number of graph nodesTransformer path-finding models · Path-finding test datasetsaccuracyHurt
Increase the number of attention heads (ablation)Transformer path-finding models · Path-finding test datasetsaccuracyNo clear effect
Increase the number of layers (ablation)Transformer path-finding models · Path-finding test datasetsaccuracyHelped
Increase embedding size relative to graph size (ablation)Transformer path-finding models · Path-finding test datasetsaccuracyHelped
Use degree-2-or-higher source-target pairs requiring concatenation of path segmentsTransformer path-finding models · Path-finding test dataset, high-degree pairsaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic random DAG path-finding data Blocksworld

Benchmarks: synthetic path-finding test set Blocksworld

Metrics: accuracy of valid path generation accuracy by reachability degree

Builds on: GPT architecture Algorithm simulation with Transformers

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy