Generalization on the Unseen, Logic Reasoning and Degree Curriculum
摘要
This paper considers the learning of logical (Boolean) functions with a focus on the generalization on the unseen (GOTU) setting, a strong case of out-of-distribution generalization. This is motivated by the fact that the rich combinatorial nature of data in certain reasoning tasks (e.g., arithmetic/logic) makes representative data sampling challenging, and learning successfully under GOTU gives a first vignette of an 'extrapolating' or 'reasoning' learner. We study how different network architectures trained by (S)GD perform under GOTU and provide both theoretical and experimental evidence that for sparse functions and a class of network models including instances of Transformers, random features models, and linear networks, a min-degree-interpolator is learned on the unseen. More specifically, this means an interpolator of the training data that has minimal Fourier mass on the higher degree basis elements. These findings lead to two implications: (1) we provide an explanation to the length generalization problem for Boolean functions (e.g., Anil et al. 2022) ; (2) we introduce a curriculum learning algorithm called Degree-Curriculum that learns monomials more efficiently by incrementing supports. Finally, we discuss extensions to other models or non-sparse regimes where the min-degree bias may still occur or fade, as well as how it can be potentially corrected when undesirable.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 49 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- What Algorithms can Transformers Learn? A Study in Length Generalization 引用了 Solving Quantitative Reasoning Problems with Language Models
- Selective Attention: Enhancing Transformer through Principled Context Control 引用了 What Algorithms can Transformers Learn? A Study in Length Generalization
- Case-Based or Rule-Based: How Do Transformers Do the Math? 引用了 What Algorithms can Transformers Learn? A Study in Length Generalization
- How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad 引用了 What Algorithms can Transformers Learn? A Study in Length Generalization
- How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad 引用了 Solving Quantitative Reasoning Problems with Language Models
引用它的顶会 Paper49
- What Algorithms can Transformers Learn? A Study in Length GeneralizationHattie Zhou, Arwen Bradley, Etai Littwin, Noam Razin 等ICLR 2024 · 189 次引用
- Theoretical Analysis of Weak-to-Strong GeneralizationHunter Lang, David A. Sontag, Aravindan VijayaraghavanNeurIPS 2024 · 59 次引用
- How Far Can Transformers Reason? The Globality Barrier and Inductive ScratchpadEmmanuel Abbe, Samy Bengio, Aryo Lotfi, Colin Sandon 等NeurIPS 2024 · 52 次引用
- Case-Based or Rule-Based: How Do Transformers Do the Math?Yi Hu, Xiaojuan Tang, Haotong Yang, Muhan ZhangICML 2024 · 34 次引用
- Selective Attention: Enhancing Transformer through Principled Context ControlXuechen Zhang, Xiangyu Chang, Mingchen Li, Amit K. Roy-Chowdhury 等NeurIPS 2024 · 32 次引用
它引用的 Paper26
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer 等NeurIPS 2022 · 2,039 次引用
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 次引用
相关 Paper
- On the Minimal Degree Bias in Generalization on the Unseen for non-Boolean FunctionsDenys Pushkin, Raphaël Berthier, Emmanuel AbbeICML 2024
- Learning to Reason with Neural Networks: Generalization, Unseen Data and Boolean MeasuresEmmanuel Abbe, Samy Bengio, Elisabetta Cornacchia, Jon M. Kleinberg 等NeurIPS 2022 · 18 次引用
- Generalizing Reasoning Problems to Longer LengthsChangnan Xiao, Bing LiuICLR 2025
- Low-Dimension-to-High-Dimension Generalization and Its Implications for Length GeneralizationYang Chen, Long Yang, Yitao Liang, Zhouchen LinICML 2025
- Empower Nested Boolean Logic via Self-Supervised Curriculum LearningHongqiu Wu, Linfeng Liu, Hai Zhao, Min ZhangEMNLP 2023 · 2 次引用
