mlsanityData to 7 Oct 2026

Out-of-Distribution Generalization in Kernel Regression

arXiv 2106.02261 ↗First posted 4 Jun 2021stat.ML cond-mat.dis-nn cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

In real word applications, data generating process for training a machine learning model often differs from what the model encounters in the test stage. Understanding how and whether machine learning models generalize under such distributional shifts have been a theoretical challenge. Here, we study generalization in kernel regression when the training and test distributions are different using methods from statistical physics. Using the replica method, we derive an analytical formula for the out-of-distribution generalization error applicable to any kernel and real datasets. We identify an overlap matrix that quantifies the mismatch between distributions for a given kernel as a key determinant of generalization performance under distribution shift. Using our analytical expressions we elucidate various generalization phenomena including possible improvement in generalization when there is a mismatch. We develop procedures for optimizing training and test distributions for a given data budget to find best and worst case generalizations under the shift. We present applications of our theory to real and synthetic datasets and for many kernels. We compare results of our theory applied to Neural Tangent Kernel with simulations of wide networks and show agreement. We analyze linear regression in further depth.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 30 of its 57 references that are in the map. First posted on arXiv 4 Jun 2021.

Builds on

30 of 57 references.

References · 30

  1. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  2. 2019Invariant Risk Minimizationcited by 1,832
  3. 2016Concrete Problems in AI Safetycited by 1,582
  4. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  5. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  6. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  7. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
  8. 2018Robustness May Be at Odds with Accuracycited by 873
  9. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  10. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  11. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
  12. 2017Deep Neural Networks as Gaussian Processescited by 617
18 more
  1. 2017One pixel attack for fooling deep neural networkscited by 579
  2. 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 508
  3. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  4. 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 218
  5. 2020Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networkscited by 200
  6. 2018To understand deep learning we need to understand kernel learningcited by 186
  7. 2019On the Inductive Bias of Neural Tangent Kernelscited by 177
  8. 2020Spectral Bias and Task-Model Alignment Explain Generalization in Kernel Regression and Infinitely Wide Neural Networkscited by 166
  9. 2019A review of domain adaptation without target labelscited by 154
  10. 2019Neural Tangents: Fast and Easy Infinite Neural Networks in Pythoncited by 149
  11. 2020Optimal Regularization Can Mitigate Double Descentcited by 107
  12. 2020Double Trouble in Double Descent : Bias and Variance(s) in the Lazy Regimecited by 95
  13. 2020Triple descent and the two kinds of overfitting: Where & why do they appear?cited by 64
  14. 2021Out of Distribution Generalization in Machine Learningcited by 59
  15. 2020Multiple Descent: Design Your Own Generalization Curvecited by 44
  16. 2019More Data Can Hurt for Linear Regression: Sample-wise Double Descentcited by 37
  17. 2014Scalable Kernel Methods via Doubly Stochastic Gradientscited by 36
  18. 2013Statistical mechanics of complex neural systems and high dimensional datacited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 4; 2024: 6; 2025: 6; 2026: 3.

21 papers.

Sort:

By area:

  1. 2024When does compositional structure yield compositional generalization? A kernel theorycited by 19
  2. 2023A Spectral Theory of Neural Prediction and Alignmentcited by 14
  3. 2023Learning curves for deep structured Gaussian feature modelscited by 13
  4. 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
  5. 2024Risk and cross validation in ridge regression with correlated samplescited by 8
  6. 2023Eight challenges in developing theory of intelligencecited by 6
  7. 2025Two-Point Deterministic Equivalence for Stochastic Gradient Dynamics in Linear Modelscited by 6
  8. 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learningcited by 6
  9. 2025Shift is Good: Mismatched Data Mixing Improves Test Performancecited by 5
  10. 2022Bounding generalization error with input compression: An empirical study with infinite-width networkscited by 4
  11. 2022Dimensionality Reduction and Wasserstein Stability for Kernel Regressioncited by 3
  12. 2024Demystifying Spectral Bias on Real-World Datacited by 3
9 more
  1. 2024Benchmarking Out-of-Distribution Generalization Capabilities of DNN-based Encoding Models for the Ventral Visual Cortexcited by 3
  2. 2025Transfer Learning in Infinite Width Feature Learning Networkscited by 2
  3. 2026Fluids You Can Trust: Property-Preserving Operator Learning for Incompressible Flowscited by 2
  4. 2024Generalization vs. Specialization under Concept Shiftcited by 1
  5. 2025Learning where to learn: Training data distribution optimization for scientific machine learningcited by 1
  6. 2026Catastrophic Compositional Generation: Why Vanilla Diffusion Models Fail to Extrapolatecited by 1
  7. 2023Sparsity-depth Tradeoff in Infinitely Wide Deep Neural Networkscited by 0
  8. 2025Limitations of Using Identical Distributions for Training and Testing When Learning Boolean Functionscited by 0
  9. 2026A mathematical theory of balancing relational generalization and memorizationcited by 0