Low-Dimension-to-High-Dimension Generalization And Its Implications for Length Generalization
Not on the map. Why?
Abstract (arXiv)
Low-Dimension-to-High-Dimension (LDHD) generalization is a special case of Out-of-Distribution (OOD) generalization, where the training data are restricted to a low-dimensional subspace of the high-dimensional testing space. Assuming that each instance is generated from a latent variable and the dimension of the latent variable reflects the problem scale, the inherent scaling challenge in length generalization can be captured by the LDHD generalization in the latent space. We theoretically demonstrate that LDHD generalization is generally unattainable without exploiting prior knowledge to provide appropriate inductive bias. Specifically, we explore LDHD generalization in Boolean functions. We verify that different architectures trained with (S)GD converge to min-degree interpolators w.r.t. different independent sets. LDHD generalization is achievable if and only if the target function coincides with this inductive bias. Applying the insights from LDHD generalization to length generalization, we explain the effectiveness of CoT as changing the structure latent space to enable better LDHD generalization. We also propose a principle for position embedding design to handle both the inherent LDHD generalization and the nuisances such as the data format. Following the principle, we propose a novel position embedding called RPE-Square that remedies the RPE for dealing with the data format nuisance.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 33 of its 39 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
33 of 39 references.
References · 33
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2019Implicit Regularization in Deep Matrix Factorizationcited by 405
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2017Implicit Regularization in Matrix Factorizationcited by 322
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 312
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2023Mathematical Capabilities of ChatGPTcited by 268
21 more
- 2021Deep learning: a statistical viewpointcited by 240
- 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
- 2022Exploring Length Generalization in Large Language Modelscited by 206
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
- 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 196
- 2023Planning with Large Language Models for Code Generationcited by 182
- 2023Teaching Arithmetic to Small Transformerscited by 123
- 2020Implicit Regularization in Deep Learning May Not Be Explainable by Normscited by 119
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 106
- 2021Towards a Theoretical Framework of Out-of-Distribution Generalizationcited by 94
- 2017Implicit Regularization in Deep Learningcited by 90
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 86
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 78
- 2023Generalization on the Unseen, Logic Reasoning and Degree Curriculumcited by 73
- 2023Length Generalization in Arithmetic Transformerscited by 66
- 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 45
- 2021Implicit Regularization in Tensor Factorizationcited by 44
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
- 2023Boolformer: Symbolic Regression of Logic Functions with Transformerscited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.