atlas

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

Syntax vs. Semantics: How Transformers Learn Deep Dependencies

ICML 2026 · 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.

Proposes a spectral/gradient-starvation framework for why transformers learn deep dependencies late (phase transition), uses it to motivate CoT and a topology-aligned contrastive attention loss, tested on toy transformers, Pythia checkpoints, and Llama-3.1-8B / Qwen2.5-Coder-7B variable cloze.

Problem

Why transformers learn deep semantic dependencies (e.g., variable binding) only after a delay and abrupt transition while syntactic/surface patterns are learned early, and why CoT helps.

Approach

Models training as competition between high-curvature surface-syntax gradients and low-curvature semantic gradients (gradient starvation), with softmax saturation as a gate; motivates a contrastive margin loss on top-8 binding heads that steers attention toward definition tokens.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Python150k JavaScript150k WinoGrande The Pile (Pythia pretraining) AllenNLP coreference extraction

Benchmarks: Variable Cloze Completion (Python150k, JavaScript150k) WinoGrande

Metrics: accuracy

Baselines: SFT Curriculum learning Linear-chain CRF SupCon Attention entropy regularization Top8 head ablation Random head ablation

Builds on: Gradient Starvation Chain-of-Thought prompting LoRA Pythia

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