Sometimes less is more: Investigating inductive biases of MLPs and Transformers on noisy k-parity features

Alasdair ParenarXiv 2026

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:

  1. How does feature complexity (how hard a feature is to find) affect learning?
  2. How does feature predictivity (how much noise is in the feature) affect learning?
  3. 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.

Figure 1: Test accuracy vs. k-parity size d. Red: m = 10, N = 8000, T = 104. Blue: m = 20, N = 240000, T = 2 × 104. Scaling up all three gives worse results (Section 4.2).

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).

Figure 2: Test accuracy on a noiseless k-parity feature with a fixed training budget (T = 104, finite training sets and N = ∞). Left two panels: MLP. Right two panels: GPT. For each model the first panel shows accuracy against feature size d and the second against training set size N. Corresponding training accuracies are in Appendix E.

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

Abstract

We empirically investigate how MLPs and Transformers differ when trained on data sets containing one or more features encoded by noisy k-parity. Noisy k-parity gives us hard synthetic data sets in which we can control the predictivity and availability of every feature. Across a range of data distributions, data scales and model sizes, we find large differences in the training dynamics and inductive biases of the two architectures: Transformers are more robust to noisy features but struggle to learn complex, low-availability features, whereas MLPs show the opposite trend and improve steadily with more data. We also find that, under a fixed training budget, increasing the number of unique training examples can slow Transformer optimisation enough to reduce final accuracy, so that a smaller data set performs better. Training-accuracy results show this is an optimisation-speed effect; it shrinks, but does not vanish, when the budget is scaled with the data set size. By giving precise control over feature predictivity and availability, this testbed offers a clear starting point for understanding when and why Transformers and MLPs learn differently, and for designing data and training budgets that exploit those differences.
BibTeX
@misc{paren2026sometimes,
  author = {Alasdair Paren},
  title = {{Sometimes less is more: Investigating inductive biases of MLPs and Transformers on noisy k-parity features}},
  year = {2026},
  eprint = {2610.37976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.37976},
}
Figure