AI and the World's Hard Problems · Theoretical computer science · arXiv · 2026-11-18
Exact Sequence Interpolation with Transformers

The authors prove that transformers can exactly interpolate datasets of finite input sequences in R^d (d≥2), with corresponding output sequences of equal or smaller length. The construction's size does not depend on the input sequence length and uses low-rank self-attention matrices. The result is first shown for hardmax attention and then extended to softmax, with convergence guarantees to a global minimizer under regularized training.