Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers
Organizations: IBM Research, Haifa, Israel · Racah Institute of Physics, Hebrew University, Jerusalem, Israel
Abstract
We formally define algorithmic capture of combinatorial tasks as the ability of a transformer to extrapolate to arbitrary task sizes with controllable error and logarithmic sample adaptation, providing a sharp scaling criterion for distinguishing logic internalization from statistical interpolation. Empirically, across scaling ranges spanning up to 2.5 orders of magnitude, we observe evidence of capture and non-capture. By analyzing infinite-width transformers in both the lazy and rich regimes, we derive upper bounds on the inference-time computational complexity of the combinatorial tasks these networks can capture. We show that, despite their universal expressivity, transformers possess an inductive bias that disfavors higher-complexity algorithmic procedures within the efficient polynomial-time heuristic scheme class, consistent with successful capture on simpler combinatorial tasks such as induction heads, sort, and string matching.
Figures & tables
| Regime | Evaluation | Inference Complexity | Evaluation Error | EPTHS |
|---|---|---|---|---|
| NNGP/NTK | Kernel estimate | |||
| Forward-pass | ||||
| Rich Mean-Field Scaling | Forward-pass |