TL;DR
While the "scaling laws" of deep learning suggest that more data is always better, this paper reveals a counter-intuitive "less is more" effect for Transformers. On hard, non-linear tasks like $k$-parity, increasing data diversity can actually slow down optimization so much that smaller, repeated datasets yield higher accuracy under a fixed training budget.
What Problem Does This Paper Address?
Neural networks are known to have a Simplicity Bias (SB): they prefer learning "simple" functions (shortcuts) over complex ones, even if the complex ones are more predictive. However, "simplicity" is hard to define.
This paper investigates how two dominant architectures—Multi-Layer Perceptrons (MLPs) and Transformers—differ in their inductive biases when faced with features of varying complexity and noise. Specifically, it asks:
- How does feature complexity (how hard a feature is to find) affect learning?
- How does feature predictivity (how much noise is in the feature) affect learning?
- How do these biases interact with data scale and training budgets?
Methods
The author uses noisy $k$-parity as a synthetic testbed. In a $k$-parity task, the label is determined by the XOR sum of a specific subset of $k$ bits within a larger bit-string of length $d$. This is a "hard" problem for gradient descent because it doesn't decompose hierarchically; you can't learn it bit-by-bit.
The study compares:
- Architectures: A decoder-only Transformer (minGPT variant) and a standard 3-layer MLP.
- Variables: The authors precisely control Availability (complexity, tied to the bit-length $d$) and Predictivity (noise level $\alpha$).
- Training Budgets: They test both a fixed budget (constant number of iterations) and a scaled budget (iterations proportional to dataset size).
Datasets
The research relies entirely on synthetic datasets generated via a controlled Data Generating Process (DGP).
- Single-feature sets: Used to map out the basic limits of each architecture.
- Multi-feature sets: Including "One Strong vs. Many Weak" features and Hierarchical Data Sets, where features form a strict hierarchy of predictivity vs. complexity to see which ones the models "choose" to learn.
Key Insights and Ideas
- The Transformer Optimization Slowdown: For Transformers, more unique data isn't always better. Under a fixed iteration budget, increasing the number of unique training examples can actually reduce final accuracy. This is an optimization-speed effect: the model takes longer to "find" the parity signal when the data is more diverse.
- Robustness vs. Complexity Trade-off: Transformers have a much stronger Simplicity Bias than MLPs. This makes them excellent at ignoring noise (high robustness), but they struggle significantly more than MLPs to learn complex, low-availability features.
- MLPs as Steady Learners: Conversely, MLPs are "workhorses." They improve steadily with more data and can learn much more complex parity features than Transformers, but they are far more prone to overfitting on noisy data.
- Curriculum Learning Matters: Because Transformers struggle with optimization speed on diverse data, the authors found that a curriculum—starting with a small subset of data before moving to the full set—significantly helps them learn hard features.
Key Results
The most striking result is the "less is more" phenomenon captured in Figure 1.
As seen in the figure, the "larger, longer, more data" regime (blue) fails to learn features that the "smaller, shorter, less data" regime (red) masters easily.
Further analysis in Figure 2 shows the diverging behavior of the two architectures. While the MLP's ability to learn complex features (higher $d$) improves as the training set size $N$ increases, the Transformer (GPT) hits a "sweet spot" at $N=8000$ and then performs worse as $N$ increases toward infinity (sampling directly from the DGP).
Quantitatively, for a fixed budget, an MLP with a width factor of $m=1$ (only 2k parameters) could reliably learn 18-bit parity, whereas a Transformer with $m=1$ (40k parameters) struggled with even 8-bit parity.
Limitations and Future Work
- Synthetic Scope: The findings are based on $k$-parity, which is a specific type of axis-aligned non-linear feature. While a standard proxy for "hard" learning, it's unclear how these results translate to natural language or image data which may have more hierarchical structures.
- Scale: The models used are small (3 layers) compared to modern LLMs. The authors acknowledge that while they observed these trends across model scales, the "frontier" of what is learnable will shift with much larger models.
- Optimization Algorithms: All experiments used Adam/AdamW. The authors suggest that investigating how different optimizers (like SGD with momentum or sign-based optimizers) interact with these biases would be a valuable next step.
- Mechanism: The paper identifies the effect (optimization slowdown) but doesn't fully pin down the mechanism. A proposed hypothesis is that the attention mechanism's ability to identify relevant coordinates depends on the signal-to-noise ratio of gradient updates, which drops as data becomes more diverse.
Summary updated