atlas

Research map / Large language models / Reasoning and chain of thought

Task Generalization with Autoregressive Compositional Structure: Can Learning from $D$ Tasks Generalize to $D^T$ Tasks?

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Theory of autoregressive reasoning · 0 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 shows that models trained on Õ(D) tasks can generalize to D^T tasks when the task class has autoregressive compositional structure, demonstrated with chain-of-thought sparse parity from small GPT-2 models trained from scratch, plus arithmetic and translation.

Problem

When can learning from a small set of training tasks generalize to a much larger task family, and how many training tasks are needed to generalize to an exponentially large class of compositional tasks?

Approach

Defines the AutoRegressive Compositional (ARC) task class, where each task is a composition of T steps each chosen from D subtasks, and shows that identifying each step's subtask from per-component coverage needs only about D ln(DT) training tasks, enabling generalization to D^T tasks; chain-of-thought turns sparse parity with breadth C(d,k) into ARC(d,k).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CoT to decompose parity prediction into autoregressive subtasksTransformer on sparse parity · Unseen parity tasksaccuracyHelped
Train with 121 tasks using CoTTransformer on sparse parity (d=15, k=7) · Unseen parity tasksaccuracy: 99.12%Helped
Exclude tasks containing both 4 and 6 from trainingTransformer with CoT on sparse parity · Missing Pair (d=10, k=3)generalization accuracy: 96.2%Hurt
Exclude training tasks with s2 = 5Transformer with CoT on sparse parity · Missing Coordinate (d=10, k=3)generalization accuracy: 45.6%Hurt
Exclude a missing coordinate instead of a missing pairTransformer with CoT on sparse parity · Adversarial task selection (d=10, k=3)generalization accuracy: 96.2% vs 45.6%Mixed
Use i.i.d. task sampling rather than adversarial positional exclusionTransformer with CoT on sparse parity · Unseen parity tasksgeneralization accuracyHelped
Use ICL without CoT (ablation)Transformer on sparse parity · In-distribution parity generalizationaccuracyHurt
Increase secret length k while holding d = 15 fixedTransformer with CoT on sparse parity · Unseen parity tasksaccuracyNo clear effect
Scale training tasks approximately with d ln(d) while increasing d and kTransformer with CoT on sparse parity · Unseen parity tasksaccuracy: 98.51; 99.12; 98.67; 98.60; 98.10No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic sparse parity sequences synthetic arithmetic sequences synthetic multi-language word translation chains

Benchmarks: held-out parity tasks held-out arithmetic tasks multi-step translation chains

Metrics: accuracy linear probe accuracy

Baselines: ICL without CoT

Builds on: chain-of-thought prompting sparse parity in-context learning study (Wies et al.)

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