[Paper Review] What Causes the Test Error? Going Beyond Bias-Variance via ANOVA
This paper introduces a symmetric ANOVA-based decomposition to analyze test error variance in two-layer linear and non-linear networks, revealing that the interaction between training data and initialization often dominates variance—surpassing individual effects. It identifies phase transitions in variance behavior and establishes unimodality and monotonicity properties of variance components using deterministic equivalents for Haar random matrices.
Modern machine learning methods are often overparametrized, allowing adaptation to the data at a fine level. This can seem puzzling; in the worst case, such models do not need to generalize. This puzzle inspired a great amount of work, arguing when overparametrization reduces test error, in a phenomenon called double descent. Recent work aimed to understand in greater depth why overparametrization is helpful for generalization. This leads to discovering the unimodality of variance as a function of the level of parametrization, and to decomposing the variance into that arising from label noise, initialization, and randomness in the training data to understand the sources of the error. In this work we develop a deeper understanding of this area. Specifically, we propose using the analysis of variance (ANOVA) to decompose the variance in the test error in a symmetric way, for studying the generalization performance of certain two-layer linear and non-linear networks. The advantage of the analysis of variance is that it reveals the effects of initialization, label noise, and training data more clearly than prior approaches. Moreover, we also study the monotonicity and unimodality of the variance components. While prior work studied the unimodality of the overall variance, we study the properties of each term in variance decomposition. One key insight is that in typical settings, the interaction between training samples and initialization can dominate the variance; surprisingly being larger than their marginal effect. Also, we characterize phase transitions where the variance changes from unimodal to monotone. On a technical level, we leverage advanced deterministic equivalent techniques for Haar random matrices, that -- to our knowledge -- have not yet been used in the area. We also verify our results in numerical simulations and on empirical data examples.
Motivation & Objective
- To understand the sources of test error variance in overparametrized models beyond bias-variance trade-offs.
- To decompose variance into contributions from label noise, initialization, and training data randomness using a symmetric ANOVA framework.
- To analyze the monotonicity and unimodality of individual variance components, not just the total variance.
- To identify dominant interaction effects between training data and initialization in generalization error.
- To characterize phase transitions where variance behavior shifts from unimodal to monotonic.
Proposed method
- Applying analysis of variance (ANOVA) to decompose test error variance into symmetric components for two-layer linear and non-linear networks.
- Using deterministic equivalent techniques for Haar random matrices to derive tractable approximations of the variance components.
- Modeling the test error as a function of label noise, initialization, and training data realizations to isolate their contributions.
- Deriving analytical expressions for marginal and interaction effects in the variance decomposition.
- Verifying theoretical findings via numerical simulations and empirical data examples.
- Tracking the evolution of variance components across different levels of model parametrization to detect phase transitions.
Experimental results
Research questions
- RQ1What are the relative contributions of label noise, initialization, and training data randomness to test error variance in overparametrized models?
- RQ2How do the marginal and interaction effects of initialization and training data compare in magnitude?
- RQ3Under what conditions does the variance in test error exhibit unimodal or monotonic behavior?
- RQ4What phase transitions occur in the variance structure as model capacity increases?
- RQ5How do interaction effects between training data and initialization influence generalization performance?
Key findings
- The interaction between training data and initialization dominates the test error variance, often exceeding the sum of their individual marginal effects.
- The variance components exhibit unimodal behavior as a function of model parametrization, with distinct phase transitions where the shape of the variance curve changes.
- The interaction effect is consistently larger than the marginal effect of either initialization or training data alone in typical overparametrized settings.
- The ANOVA decomposition reveals that label noise contributes significantly to variance, but is not the dominant source in most configurations.
- Phase transitions in variance behavior are analytically characterized and linked to changes in model capacity and data distribution.
- Numerical simulations and empirical data confirm the theoretical predictions on variance decomposition and interaction dominance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.