Lune

ICML2023Top-tier venue

Generalization on the Unseen, Logic Reasoning and Degree Curriculum

Emmanuel Abbe, Samy Bengio, Aryo Lotfi, Kevin Rizk

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

49 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • What Algorithms can Transformers Learn? A Study in Length Generalization cites Solving Quantitative Reasoning Problems with Language Models
  • Selective Attention: Enhancing Transformer through Principled Context Control cites What Algorithms can Transformers Learn? A Study in Length Generalization
  • Case-Based or Rule-Based: How Do Transformers Do the Math? cites What Algorithms can Transformers Learn? A Study in Length Generalization
  • How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad cites What Algorithms can Transformers Learn? A Study in Length Generalization
  • How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
  • How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad cites Solving Quantitative Reasoning Problems with Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers49

  1. What Algorithms can Transformers Learn? A Study in Length GeneralizationHattie Zhou, Arwen Bradley, Etai Littwin, Noam Razin et al.ICLR 2024 · 189 citations
  2. Theoretical Analysis of Weak-to-Strong GeneralizationHunter Lang, David A. Sontag, Aravindan VijayaraghavanNeurIPS 2024 · 59 citations
  3. How Far Can Transformers Reason? The Globality Barrier and Inductive ScratchpadEmmanuel Abbe, Samy Bengio, Aryo Lotfi, Colin Sandon et al.NeurIPS 2024 · 52 citations
  4. Case-Based or Rule-Based: How Do Transformers Do the Math?Yi Hu, Xiaojuan Tang, Haotong Yang, Muhan ZhangICML 2024 · 34 citations
  5. Selective Attention: Enhancing Transformer through Principled Context ControlXuechen Zhang, Xiangyu Chang, Mingchen Li, Amit K. Roy-Chowdhury et al.NeurIPS 2024 · 32 citations

Builds on26

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
  3. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  4. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
  5. What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations

Related papers

  1. On the Minimal Degree Bias in Generalization on the Unseen for non-Boolean FunctionsDenys Pushkin, Raphaël Berthier, Emmanuel AbbeICML 2024
  2. Learning to Reason with Neural Networks: Generalization, Unseen Data and Boolean MeasuresEmmanuel Abbe, Samy Bengio, Elisabetta Cornacchia, Jon M. Kleinberg et al.NeurIPS 2022 · 18 citations
  3. Generalizing Reasoning Problems to Longer LengthsChangnan Xiao, Bing LiuICLR 2025
  4. Low-Dimension-to-High-Dimension Generalization and Its Implications for Length GeneralizationYang Chen, Long Yang, Yitao Liang, Zhouchen LinICML 2025
  5. Empower Nested Boolean Logic via Self-Supervised Curriculum LearningHongqiu Wu, Linfeng Liu, Hai Zhao, Min ZhangEMNLP 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines