TY - RPRT TI - Transformers Learn Two Competing Sorting Algorithms, and Only One Length-Generalizes AU - Khashayar Gatmiry AU - Nathan W. Henry AU - Chloe H. Su AU - Emmanuel Abbe AU - Samy Bengio AU - Melanie Weber AU - Jonathan A. Kelner AU - Peter L. Bartlett PY - 2026 UR - https://arxiv.org/abs/2610.26974 ID - 2610.26974 ER -