arXiv:2610.37976cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37976

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

Alasdair Paren

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Neural network (NN) architectures exhibit different training dynamics and inductive biases (Battaglia et al., 2018; Goodfellow et al., 2016), which influence the types of functions learnt throughout training (Teney et al., 2024; Mingard et al., 2025b). While most NNs can approximate most functions (Cybenko, 1989; Hornik et al., 1989; Lu et al., 2017), these biases can affect how many optimiser iterations a model requires to achieve a good performance on a given training set (Neyshabur et al., 2017; Zhang et al., 2016; 2021), as well as the generalisation performance away from the training data (Soudry et al., 2018). Better understanding these biases is key to guide future research and design choices in ML systems (Goyal & Bengio, 2022; Battaglia et al., 2018).

One of the best understood inductive biases is the Simplicity Bias (SB) where, due to common architectural choices (Teney et al., 2025) NN architectures are biased toward learning “simple” functions. This phenomenon acts like Occam’s razor and can be a benefit or drawback depending on the relative complexity of the desired function to be learnt from the data. The SB can be highly beneficial if the desired function is the simplest that minimises the loss over the training data. However, if the problem is underspecified and there are simpler predictive features 1^{1}, commonly named “shortcuts”, that do not generalise to the test environment, the SB can result in poor performance. Indeed, there are many examples of NN trained using “shortcuts” (Geirhos et al., 2020) to make predictions instead of some desired attributes or “labelling function” (Puli et al., 2023; Kirichenko et al., 2023). Moreover, it has been shown that parameter settings corresponding to “simple functions” occupy the majority of the solution space 2^{2} (Scimeca et al., 2021). However, there are many differing definitions over what features are “simple” 3^{3}. To sidestep this issue Hermann et al. (2024) introduced the notion of availability which is a measure of how easily a feature can be learnt by an NN, where more available

1^{1}We use “feature” to mean a characteristic of the input.

2^{2}The subset of parameter space which achieves near optimal training loss.

3^{3}In Section 3.1 we discuss the differing prior notions of simplicity in detail.

features are preferred. Due to this implied preference ordering, if a data set contains multiple equally predictive features it is likely that the encoded function at test time will make most use of the most available feature.

Thus, any features of interest with higher complexity, or lower availabilities, may not be learnt during training, as more available features are sufficient to minimise the loss. In this way more available features can be seen as distractors, that prevent the learning of more complex features (Geirhos et al., 2020).

In this manuscript we empirically investigate how the differing biases of MLPs and Transformers (Vaswani et al., 2017), affects the learning dynamics of these two architectures, on data sets containing multiple features with specified predictabilities and availabilities. We do this by constructing data sets that contain multiple noisy k-parity features. K-parity is useful as a proxy for real problems requiring axis-aligned feature learning (Edelman et al., 2023). The goal of this investigation is to provide new insights on the differing inductive biases of these models on a well studied class of hard non-linear feature, showing where theory matches with practice and where it does not. Specifically, our contributions are as follows:

Figure

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

  1. A simple framework for creating hard non-linear data sets with any number of features of specified availability and predictivity, for investigating the simplicity bias. Using this framework we conduct extensive experiments to explore the inductive biases of MLPs and Transformers.

  2. We show that, for data sets whose features are k-parities and under a fixed training budget, training on more i.i.d. samples can slow the optimisation of Transformers enough to reduce final accuracy (Figure 1). Training accuracy and test accuracy side by side (Table 1) show that this is an optimisation-speed effect rather than a change in the achievable generalisation: at large data set sizes the training accuracy itself stays low within the budget. The effect persists, in weaker form, when the iteration budget is scaled with the data set size, where more data extends the frontier of learnable features while still optimising more slowly in the partially learned regime.

  3. We show the stronger SB of Transformers means they are less prone to over-fitting and better at learning from noisy data. However, this also means they have difficulty in learning complex yet highly predictive features even with large amounts of training data and iterations. Conversely, for highly complex features MLPs with a lower SB scale much better when presented with more data.

References (62)