Do Transformers Have the Ability for Periodicity Generalization?
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) based on the Transformer have demonstrated strong performance across diverse tasks. However, current models still exhibit substantial limitations in out-of-distribution (OOD) generalization compared with humans. We investigate this gap through periodicity, one of the basic OOD scenarios. Periodicity captures invariance amid variation. Periodicity generalization represents a model's ability to extract periodic patterns from training data and generalize to OOD scenarios. We introduce a unified interpretation of periodicity from the perspective of abstract algebra and reasoning, including both single and composite periodicity, to explain why Transformers struggle to generalize periodicity. Then we construct Coper about composite periodicity, a controllable generative benchmark with two OOD settings, Hollow and Extrapolation. Experiments reveal that periodicity generalization in Transformers is limited, where models can memorize periodic data during training, but cannot generalize to unseen composite periodicity. We release the source code to support future research.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 43 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
26 of 43 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2025Gemma 3 Technical Reportcited by 1,824
- 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
- 2022FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecastingcited by 1,210
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
- 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecastingcited by 148
- 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 45
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024Case-Based or Rule-Based: How Do Transformers Do the Math?cited by 26
14 more
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 21
- 2025Out-of-Distribution Generalization in Time Series: A Surveycited by 16
- 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practicescited by 15
- 2023Counting and Algorithmic Generalization with Transformerscited by 12
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMscited by 7
- 2025Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoningcited by 6
- 2025AI-Newton: A Concept-Driven Physical Law Discovery System without Prior Physical Knowledgecited by 5
- 2025Revisiting Generalization Across Difficulty Levels: It's Not So Easycited by 5
- 2025AI Mathematician: Towards Fully Automated Frontier Mathematical Researchcited by 4
- 2025TFKAN: Time-Frequency KAN for Long-Term Time Series Forecastingcited by 3
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformerscited by 2
- 2025Reasoning is Periodicity? Improving Large Language Models Through Effective Periodicity Modelingcited by 2
- 2025Learning by Analogy: A Causal Framework for Composition Generalizationcited by 1
Built on by
Not cited yet.