English

Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers

Machine Learning 2026-05-08 v2 Disordered Systems and Neural Networks Machine Learning

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.

Keywords

Cite

@article{arxiv.2603.11161,
  title  = {Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers},
  author = {Orit Davidovich and Zohar Ringel},
  journal= {arXiv preprint arXiv:2603.11161},
  year   = {2026}
}
R2 v1 2026-07-01T11:15:20.259Z