Research & Papers

New Proof: Pure Transformers Cannot Learn Structural Generalization

A formal proof shows transformers stuck at TC^0, but structural reasoning needs NC^1 power.

Deep Dive

Zichao Wei's paper, 'On the Computational Complexity of Structural Generalization,' formally defines structural generalization for the first time, translating compositional structure and unbounded generalization into mathematical language. The definition itself is neutral—even a hard-coded compiler satisfies it—but the scientific question is whether this capacity can autonomously emerge from finite data. Under a Montagovian instantiation, compositional rules split into syntactic (Fγ) and semantic (Gγ) faces. Tree evaluation on the Gγ side is an instance of the Boolean Formula Value Problem (BFVP), which is NC¹-complete (proved by Buss, 1987). A pure Transformer must learn both faces simultaneously, but Kraus et al. (2026) showed its learnable class is a subset of TC⁰. Under the standard complexity theory assumption TC⁰ ≠ NC¹, a pure Transformer cannot learn structural generalization.

Neuro-symbolic systems achieve top benchmark scores precisely because they inject the Gγ component directly, sidestepping the genuinely hard computational problem. This means current benchmarks fail to distinguish between learned and given structural capacity, making reported scores misleading. The paper clarifies the computational boundary: any system that claims to learn structural generalization must prove it can solve NC¹-hard problems within the neural architecture alone. For the AI industry, this result implies that purely end-to-end neural models (like Transformers) may need architectural enhancements or explicit symbolic components to achieve true compositional generalization. The finding has direct implications for benchmarks used to evaluate language models, suggesting they should be redesigned to measure emergent vs. engineered structural reasoning.

Key Points
  • Paper provides first formal definition of structural generalization, grounding it in complexity classes NC¹ and TC⁰.
  • Pure Transformers have learnable capacity bounded by TC⁰, but structural generalization requires NC¹-complete computation (BFVP).
  • Neuro-symbolic systems achieve high scores by pre-injecting semantic (Gγ) rules, not by learning; benchmarks conflate learned and given capacity.

Why It Matters

Forces AI researchers to reconsider benchmark validity and the need for neural architectures that exceed TC⁰.

📬 Get the top 10 AI stories daily