Abstract
Despite the importance of denoising in modern machine learning and ample empirical work on supervised denoising, its theoretical understanding is still relatively scarce. One concern about studying supervised denoising is that one might not always have noiseless training data from the test distribution. It is more reasonable to have access to noiseless training data from a different dataset than the test dataset. Motivated by this, we study supervised denoising and noisy-input regression under distribution shift. We add three considerations to increase the applicability of our theoretical insights to real-life data and modern machine learning. First, while most past theoretical work assumes that the data covariance matrix is full-rank and well-conditioned, empirical studies have shown that real-life data is approximately low-rank. Thus, we assume that our data matrices are low-rank. Second, we drop independence assumptions on our data. Third, the rise in computational power and dimensionality of data have made it important to study non-classical regimes of learning. Thus, we work in the non-classical proportional regime, where data dimension $d$ and number of samples $N$ grow as $d/N = c + o(1)$.
For this setting, we derive data-dependent, instance-specific expressions for the test error for both denoising and noisy-input regression, and study when overfitting the noise is benign, tempered or catastrophic. We show that the test error exhibits double descent under general distribution shift, providing insights for data augmentation and the role of noise as an implicit regularizer. We also perform experiments using real-life data, where we match the theoretical predictions with under 1% MSE error for low-rank data.
Introduction
Denoising is a cornerstone of modern machine learning, serving as a critical component in everything from pretraining pipelines to state-of-the-art generative models like Stable Diffusion. However, the theoretical understanding of supervised denoising has historically lagged behind its empirical success. A primary challenge is the availability of clean data; in practice, we rarely have access to noiseless training samples from the exact distribution we intend to test on.
This paper addresses this gap by providing a rigorous theoretical framework for linear denoisers and noisy-input regression under distribution shift. By moving beyond classical assumptions, the research offers a more realistic view of how models behave in the "proportional regime," where the data dimension ($d$) and the number of samples ($N$) scale together.
Bridging the Gap: Realistic Assumptions
Classical learning theory often relies on three assumptions that are frequently violated in real-world applications:
- Noiseless Training: The assumption that training data is perfectly clean and drawn from the test distribution.
- Full-Rank Covariance: The assumption that data covariance matrices are well-conditioned and full-rank.
- Independence: The assumption that data points are Independent and Identically Distributed (IID).
In contrast, this work assumes that data is low-rank, reflecting the reality that high-dimensional data often lives on lower-dimensional manifolds. Furthermore, the framework accounts for distribution shift—where training and testing occur on different but related datasets—and drops strict independence requirements by utilizing Random Matrix Theory to model noise spectra.
Theoretical Framework and Methodology
The authors derive instance-specific, closed-form expressions for test error (Theorem 1) for linear denoisers. This is achieved by working in the proportional regime ($d/N \approx c$) and employing the Marchenko-Pastur distribution to model the spectrum of the noise.
A key metric introduced is the Relative Excess Error, which categorizes overfitting into three regimes:
- Benign: The error vanishes as the model scales.
- Tempered: The error remains positive but finite.
- Catastrophic: The error explodes, typically near the interpolation threshold.
Central to the analysis of distribution shift is the concept of subspace alignment. The derived formulas explicitly calculate how the alignment between the training and test data subspaces dictates the final error. If the shift moves the test data into a "blind spot" of the training subspace, the error increases in a predictable, quantifiable manner.
Empirical Validation
To validate the theoretical predictions, the authors conducted experiments using standard image datasets: CIFAR-10 (primary training set), STL10, and SVHN (test sets for distribution shift). By applying Principal Component Regression (PCR), they enforced a low-rank structure that allowed for a direct comparison between mathematical theory and empirical results.
The results demonstrated high predictive accuracy, with the theoretical expressions matching empirical Mean Squared Error (MSE) with under 1% relative error for low-rank data. This confirms that the derived formulas are not just abstract constructs but highly accurate predictors of real-world model performance.
Key Insights
1. Robustness of Double Descent
The "double descent" phenomenon—where error peaks when the number of parameters equals the number of samples—is shown to be a robust feature that persists even under noisy inputs and distribution shifts. It is not merely a quirk of noiseless, IID data.
2. Noise as an Implicit Regularizer
The theory reveals that input noise acts as a natural regularizer. However, this regularization effect is at its weakest near the $d=N$ threshold, explaining the characteristic error spike at the interpolation point.
3. Data Augmentation and Transfer Learning
The framework provides a theoretical justification for data augmentation. By effectively increasing the sample size $N$, augmentation moves the model away from the unstable $d/N \approx 1$ regime. Additionally, the research successfully predicts test error in transfer learning scenarios where the target function itself changes between training and testing.
Limitations and Future Directions
While the study provides a significant advancement, it is currently limited to linear models. While the authors suggest that these insights could extend to non-linear architectures via Kernel methods or the Neural Tangent Kernel (NTK), this remains an area for future work.
Furthermore, the current theory requires data to be strictly low-rank. Real-world data often possesses a "long tail" of small eigenvalues (approximate low-rank), and handling the ill-conditioning of this tail remains a significant challenge in random matrix theory. Future research will focus on extending these instance-specific results to more complex, non-linear structures and ill-conditioned covariance matrices.
Summary updated