Generating key points…
Answers are grounded in this paper and cite their sources.
Transformers trained on short inputs often fail on longer ones. Chen, Ma and Li asked how long training inputs must be: the length complexity of a class is the least N such that an ideal learner shown all labeled strings of length at most N identifies every target exactly. For a two-layer fragment of the attention-like language C-RASP, with K heads and integer parameters of size at most T, they proved TO(K) and guessed Ω(TK) for small K. We show that the length complexity is Θ(KT3) for T ≥ 4 and 2 ≤ K ≤ T: programs that compute different functions differ on an input of length O(KT3), and explicit pairs show this is tight. The proof steers the two programs' scores, a planar walk, into the set where exactly one is positive, using an input of at most three phases. Consequently, their minimum-complexity interpolator needs length O(α3 log α) for targets of complexity at most α, and their guess fails for every fixed K ≥ 4 and large T. The record includes the paper, its LaTeX source, and the code and certificates that reproduce every computed result.
No takes yet. Share an insight, caveat, or question.
Baliga et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: