[Paper Review] Generalization on the Unseen, Logic Reasoning and Degree Curriculum
This paper investigates generalization on the unseen (GOTU) in learning Boolean functions, showing that stochastic gradient descent (SGD) implicitly biases neural networks toward min-degree-interpolating solutions—especially in Transformers, random features models, and diagonal linear networks. It introduces Degree-Curriculum, a curriculum learning method that accelerates monomial learning by incrementally increasing input complexity, providing a formal explanation for length generalization and demonstrating improved generalization via degree-aware training.
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.
Motivation & Objective
- To establish Generalization on the Unseen (GOTU) as a benchmark for reasoning-capable models in combinatorial, out-of-distribution settings.
- To investigate the implicit inductive bias of SGD in learning Boolean functions under GOTU, especially in architectures like Transformers and random features models.
- To explain the length generalization phenomenon observed in prior work (e.g., Anil et al., 2022) through the lens of min-degree interpolation.
- To design and validate a curriculum learning algorithm—Degree-Curriculum—that improves sample efficiency by incrementally increasing input complexity based on Hamming weight.
Proposed method
- Theoretical analysis proves that for random features models and deep diagonal linear networks, SGD converges to a min-degree-interpolator (MDI), defined as the interpolator with minimal degree-profile in the Fourier-Walsh basis.
- Empirical evaluation demonstrates that Transformers also exhibit a strong min-degree bias, supporting the theoretical findings across architectures.
- The paper introduces Degree-Curriculum, a training schedule that incrementally increases the Hamming weight of input supports, enabling step-by-step learning of monomials.
- The method leverages the algebraic structure of the vanishing ideal of seen data to guide curriculum progression, ensuring that higher-degree monomials are learned only after lower-degree ones are stabilized.
- Theoretical connections are drawn to algebraic geometry, showing that MDIs can be constructed from the vanishing ideal of training data, particularly in cases with structured missing inputs.
- Experiments compare generalization performance across architectures and learning rates, revealing that large learning rates or mean-field networks may exhibit 'leaky' min-degree bias, assigning non-negligible mass to higher-degree monomials.

Experimental results
Research questions
- RQ1Does SGD implicitly bias neural networks toward min-degree-interpolating solutions in the context of generalization on the unseen (GOTU) for Boolean functions?
- RQ2Can the observed length generalization in models like Transformers be formally explained through the lens of min-degree interpolation?
- RQ3How does the architecture and training hyperparameter (e.g., learning rate) affect the degree-profile of the learned interpolator?
- RQ4Can a curriculum learning strategy based on input complexity (Hamming weight) improve sample efficiency and generalization in reasoning tasks?
- RQ5What is the role of the vanishing ideal of training data in constructing minimal-degree interpolators?
Key findings
- For random features models and deep diagonal linear networks, SGD converges to a min-degree-interpolator (MDI), which has its Fourier-Walsh energy concentrated on the lowest-degree monomials.
- Transformers trained via SGD exhibit a strong min-degree bias, supporting the hypothesis that such inductive bias is general across architectures.
- The paper provides a formal explanation for the length generalization problem (Anil et al., 2022), showing that it arises naturally from the min-degree inductive bias of SGD.
- Degree-Curriculum, a curriculum learning algorithm that increases input complexity by Hamming weight, significantly improves sample efficiency in learning monomials.
- Very large learning rates or mean-field networks lead to 'leaky' min-degree solutions, where higher-degree monomials receive non-zero but reduced mass compared to the minimal-degree case.
- Theoretical analysis confirms that MDIs can be constructed from the vanishing ideal of the training data, particularly when the unseen region is a product of fixed coordinates.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.