Out-of-Distribution Generalization in Kernel Regression
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
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2019Invariant Risk Minimizationcited by 1,832
- 2016Concrete Problems in AI Safetycited by 1,582
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2017Deep Neural Networks as Gaussian Processescited by 617
18 more
- 2017One pixel attack for fooling deep neural networkscited by 579
- 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 508
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 218
- 2020Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networkscited by 200
- 2018To understand deep learning we need to understand kernel learningcited by 186
- 2019On the Inductive Bias of Neural Tangent Kernelscited by 177
- 2020Spectral Bias and Task-Model Alignment Explain Generalization in Kernel Regression and Infinitely Wide Neural Networkscited by 166
- 2019A review of domain adaptation without target labelscited by 154
- 2019Neural Tangents: Fast and Easy Infinite Neural Networks in Pythoncited by 149
- 2020Optimal Regularization Can Mitigate Double Descentcited by 107
- 2020Double Trouble in Double Descent : Bias and Variance(s) in the Lazy Regimecited by 95
- 2020Triple descent and the two kinds of overfitting: Where & why do they appear?cited by 64
- 2021Out of Distribution Generalization in Machine Learningcited by 59
- 2020Multiple Descent: Design Your Own Generalization Curvecited by 44
- 2019More Data Can Hurt for Linear Regression: Sample-wise Double Descentcited by 37
- 2014Scalable Kernel Methods via Doubly Stochastic Gradientscited by 36
- 2013Statistical mechanics of complex neural systems and high dimensional datacited by 15
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 6; 2025: 6; 2026: 3.
21 papers.
Sort:
By area:
- 2024When does compositional structure yield compositional generalization? A kernel theorycited by 19
- 2023A Spectral Theory of Neural Prediction and Alignmentcited by 14
- 2023Learning curves for deep structured Gaussian feature modelscited by 13
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2024Risk and cross validation in ridge regression with correlated samplescited by 8
- 2023Eight challenges in developing theory of intelligencecited by 6
- 2025Two-Point Deterministic Equivalence for Stochastic Gradient Dynamics in Linear Modelscited by 6
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learningcited by 6
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performancecited by 5
- 2022Bounding generalization error with input compression: An empirical study with infinite-width networkscited by 4
- 2022Dimensionality Reduction and Wasserstein Stability for Kernel Regressioncited by 3
- 2024Demystifying Spectral Bias on Real-World Datacited by 3
9 more
- 2024Benchmarking Out-of-Distribution Generalization Capabilities of DNN-based Encoding Models for the Ventral Visual Cortexcited by 3
- 2025Transfer Learning in Infinite Width Feature Learning Networkscited by 2
- 2026Fluids You Can Trust: Property-Preserving Operator Learning for Incompressible Flowscited by 2
- 2024Generalization vs. Specialization under Concept Shiftcited by 1
- 2025Learning where to learn: Training data distribution optimization for scientific machine learningcited by 1
- 2026Catastrophic Compositional Generation: Why Vanilla Diffusion Models Fail to Extrapolatecited by 1
- 2023Sparsity-depth Tradeoff in Infinitely Wide Deep Neural Networkscited by 0
- 2025Limitations of Using Identical Distributions for Training and Testing When Learning Boolean Functionscited by 0
- 2026A mathematical theory of balancing relational generalization and memorizationcited by 0
- 2026Catastrophic Compositional Generation: Why Vanilla Diffusion Models Fail to Extrapolate22 Jun 2026
- 2026A mathematical theory of balancing relational generalization and memorization21 May 2026
- 2026Fluids You Can Trust: Property-Preserving Operator Learning for Incompressible Flows17 Feb 2026
- 2025Limitations of Using Identical Distributions for Training and Testing When Learning Boolean Functions30 Nov 2025
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performance29 Oct 2025
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learning30 Sep 2025
- 2025Transfer Learning in Infinite Width Feature Learning Networks6 Jul 2025
- 2025Learning where to learn: Training data distribution optimization for scientific machine learning27 May 2025
- 2025Two-Point Deterministic Equivalence for Stochastic Gradient Dynamics in Linear Models7 Feb 2025
- 2024Generalization vs. Specialization under Concept Shift23 Sep 2024
- 2024Risk and cross validation in ridge regression with correlated samples8 Aug 2024
- 2024Benchmarking Out-of-Distribution Generalization Capabilities of DNN-based Encoding Models for the Ventral Visual Cortex16 Jun 2024
9 more
- 2024Demystifying Spectral Bias on Real-World Data4 Jun 2024
- 2024When does compositional structure yield compositional generalization? A kernel theory26 May 2024
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinity7 Feb 2024
- 2023A Spectral Theory of Neural Prediction and Alignment22 Sep 2023
- 2023Eight challenges in developing theory of intelligence20 Jun 2023
- 2023Sparsity-depth Tradeoff in Infinitely Wide Deep Neural Networks17 May 2023
- 2023Learning curves for deep structured Gaussian feature models1 Mar 2023
- 2022Bounding generalization error with input compression: An empirical study with infinite-width networks19 Jul 2022
- 2022Dimensionality Reduction and Wasserstein Stability for Kernel Regression17 Mar 2022
- 2024When does compositional structure yield compositional generalization? A kernel theorycited by 19
- 2023A Spectral Theory of Neural Prediction and Alignmentcited by 14
- 2023Learning curves for deep structured Gaussian feature modelscited by 13
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2024Risk and cross validation in ridge regression with correlated samplescited by 8
- 2023Eight challenges in developing theory of intelligencecited by 6
- 2025Two-Point Deterministic Equivalence for Stochastic Gradient Dynamics in Linear Modelscited by 6
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learningcited by 6
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performancecited by 5
- 2022Bounding generalization error with input compression: An empirical study with infinite-width networkscited by 4
- 2022Dimensionality Reduction and Wasserstein Stability for Kernel Regressioncited by 3
- 2024Demystifying Spectral Bias on Real-World Datacited by 3
12 most cited of 20 All 20 (JSON)
- 2026A mathematical theory of balancing relational generalization and memorization21 May 2026
- 2026Fluids You Can Trust: Property-Preserving Operator Learning for Incompressible Flows17 Feb 2026
- 2025Limitations of Using Identical Distributions for Training and Testing When Learning Boolean Functions30 Nov 2025
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performance29 Oct 2025
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learning30 Sep 2025
- 2025Transfer Learning in Infinite Width Feature Learning Networks6 Jul 2025
- 2025Learning where to learn: Training data distribution optimization for scientific machine learning27 May 2025
- 2025Two-Point Deterministic Equivalence for Stochastic Gradient Dynamics in Linear Models7 Feb 2025
- 2024Generalization vs. Specialization under Concept Shift23 Sep 2024
- 2024Risk and cross validation in ridge regression with correlated samples8 Aug 2024
- 2024Benchmarking Out-of-Distribution Generalization Capabilities of DNN-based Encoding Models for the Ventral Visual Cortex16 Jun 2024
- 2024Demystifying Spectral Bias on Real-World Data4 Jun 2024
12 newest of 20 All 20 (JSON)