Trapped by simplicity: When Transformers fail to learn from noisy features

Evan Peters, Matheus Hrabowec Zambianco, Ando Deng, Devin Blankespoor, Achim Kempf

Large Language Models (LLMs) are routinely trained on "noisy" data—text containing typos, grammatical errors, or factual inconsistencies. Yet, we expect them to perform precise, logical tasks like arithmetic or coding. This raises a fundamental question about noise-robust learning: can a model trained on "dirty" input features successfully recover the "clean" underlying rule (the target function)?

Recent research investigates this by using Boolean functions as a controlled "hydrogen atom" for machine learning. The findings reveal a fundamental "simplicity bias" in Transformers. While this architecture naturally prefers simple, low-sensitivity solutions—which is often beneficial—this preference becomes a trap when training on noisy data.

The Challenge of Feature Noise

Most prior research on noise in machine learning focuses on label noise (incorrect answers in the training set) or noise encountered only at test time. This study specifically examines feature noise during the training phase. The authors ask whether the architectural heart of modern LLMs—the Transformer (specifically Self-Attention Networks, or SANs)—is capable of filtering out input noise to find the true logic beneath, comparing their performance against traditional LSTMs.

To measure "simplicity," the researchers utilize Boolean Sensitivity, a metric that calculates how often flipping a single input bit changes the output. A "simple" function has low sensitivity (changing one bit rarely alters the result), while a "complex" function has high sensitivity.

Deceptive Success on Simple Functions

The study relies on synthetic datasets of Boolean functions, allowing for precise mathematical ground truths. Initial tests focused on:

  • $k$-sparse Parity: The output is the sum of $k$ specific bits (mod 2).
  • $k$-sparse Majority (MAJ): The output is 1 if the majority of $k$ specific bits are 1.

Transformers successfully learned these functions even at high noise levels (modeled as symmetric bitflip errors) where LSTMs failed completely. LSTMs lack a simplicity bias, leading them to overfit and attempt to "memorize" the noise rather than finding the underlying rule.

Transformers (SAN) maintain high accuracy on Majority and Parity tasks even as noise increases, whereas LSTMs fail.

However, this success is an illusion. Transformers appear robust on Parity and Majority functions because these functions are "self-predicting"—the mathematically best way to predict them, even in the presence of noise, is to use the function itself. This makes them deceptive benchmarks for true noise robustness.

The Simplicity Trap and $k$-Juntas

The true test comes with Random $k$-juntas (functions that depend on a random subset of $k$ input bits). Across 3,200 random $k$-junta experiments, Transformers consistently failed to learn the target function.

This failure is due to a Bayes-Optimal Mismatch. For most random functions, the mathematically "optimal" way to minimize error on noisy training data is to learn a version of the function that is simpler (has lower sensitivity) than the ground truth. Because Transformers have a strong inductive bias toward low-sensitivity functions, they converge on these "wrong but simple" solutions. They get trapped in a local minimum where they achieve near-perfect accuracy on the noisy validation set, but fail to "see" the true, more complex rule.

Escaping the Trap

To prove that simplicity bias is the culprit, the authors engineered custom "trap" functions where the optimal solution on noisy data is significantly simpler than the true underlying function.

They then introduced a novel loss term—a sensitivity penalty ($\lambda I[\hat{f}]$)—that penalizes low-sensitivity solutions. By "forcing" the model to be more complex, they tested whether the Transformer could escape the simplicity trap.

Training trajectories show standard Transformers (blue) falling into a low-sensitivity trap, while adding a sensitivity penalty (green) forces the model to find the true, more complex function.

The results were striking: by adding the sensitivity penalty to the loss function, Transformers could be forced to learn the more complex, correct function. While this requires careful tuning of the penalty parameter $\lambda$, it confirms that the architecture is capable of representing the complex function, but is otherwise prevented from finding it by its own inductive biases.

Implications for Large Language Models

While the independent bitflip noise model used in this study is a simplified version of the complex, correlated noise found in natural language, the implications are significant.

This simplicity bias may explain why LLMs often struggle with "input-sensitive" tasks—like modular arithmetic or precise logical reasoning—when trained on diverse, noisy web data. Furthermore, it raises the question of whether the standard LLM objective of "minimizing next-token entropy" is fundamentally at odds with learning precise, high-sensitivity concepts from noisy sources. Future work will need to explore these findings on more realistic, non-Boolean datasets to fully understand the limits of Transformer noise robustness.

Summary updated

BibTeX
@inproceedings{peters2026trapped,
  author = {Evan Peters and Matheus Hrabowec Zambianco and Ando Deng and Devin Blankespoor and Achim Kempf},
  title = {{Trapped by simplicity: When Transformers fail to learn from noisy features}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=n5bPL58uMC},
}
Figure