Introduction
In modern deep learning, models often possess millions of parameters while being trained on datasets with far fewer examples. Theoretically, these "overparameterized" models could simply memorize every training point like a giant look-up table. Yet, in practice, they generalize remarkably well to new data. This phenomenon is attributed to inductive bias: the set of architectural and optimization assumptions that nudge a model toward specific types of solutions.
Identifying the root source of this bias is challenging because it is typically entangled with complex data statistics. To isolate these effects, the authors of this paper propose an extreme "stress test." They strip away complexity by training massive models on exactly one training example to perform the simplest possible task: reproducing its own input, or identity mapping.
The Identity Mapping Stress Test
The experimental setup is elegantly simple. A model is trained to minimize reconstruction error (MSE) such that $f(x_{train}) = x_{train}$, where $x_{train}$ is a single image (e.g., a handwritten "7" from MNIST). After training, the network is fed unseen images, such as other digits, clothing items, or geometric patterns.
This setup creates a binary outcome for inductive bias:
- Generalization: If the output matches the new input, the model has learned the identity function.
- Memorization: If the output is always the training image ("7"), the model has learned a constant function.
Architecture as Destiny: CNNs vs. FCNs
The researchers examined two primary architectures: Fully-Connected Networks (FCNs) and Convolutional Neural Networks (CNNs). The study reveals a fundamental divide: CNNs and FCNs behave differently due to their structural properties.
CNNs possess a strong structural bias toward identity mapping because of their local connectivity and weight sharing. In contrast, FCNs lack this structure and fail to learn the identity function even when provided with tens of thousands of examples. Shallow FCNs tend to produce "white noise" on unseen inputs; while they fit the training point perfectly, they have no structural reason to treat nearby points in space similarly, leading to total failure on test data.
The Depth Collapse: From Generalization to Memorization
One of the most striking findings is the role of depth in CNNs. There appears to be a "Goldilocks" depth for generalization. CNNs with moderate depth (up to ~10 layers) are remarkably good at learning the identity function from a single image. However, as they become deeper (e.g., 20+ layers), they lose this ability and revert to memorizing the training image as a constant output.
As shown in the visualization above, a 1-layer or 3-layer CNN can reconstruct various unseen inputs (like shirts or grids) with high fidelity. However, by the 20th layer, the model outputs the training digit "7" regardless of what it is shown. The authors discovered that deep CNNs "memorize" by progressively growing the training pattern from the image boundaries inward, coordinated across many layers.
Quantifying the Inductive Bias
The researchers quantified these behaviors using correlation metrics. They measured how closely the model's output correlated with either the identity function (the test input) or the constant function (the training input) across varying depths and train-test correlations ($\rho$).
The heatmaps confirm that in deeper CNNs, the correlation to the identity function drops significantly, while the correlation to the "constant function" (the training image) approaches 1.0. This "depth collapse" suggests that while convolution provides a bias toward local structure, excessive depth can eventually override this bias in favor of simple memorization.
Conclusion
By stripping away data complexity, this study provides a "clean" laboratory for studying inductive bias. It demonstrates that architecture is a primary driver of a model's preference for generalization over memorization. While CNNs are naturally biased toward identity mapping, this bias is fragile and can be lost as network depth increases. These insights offer a new perspective on how architectural choices dictate the behavior of overparameterized models in the real world.
Summary updated