NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Local convergence rates of the nonparametric least squares estimator with applications to transfer learning

Johannes Schmidt-Hieber, Petr Zamolodtchikov

TL;DR

This paper proves that the nonparametric Least Squares Estimator (LSE) is a "local hero": despite being a global optimization criterion, it automatically adapts to local data density to achieve minimax optimal convergence rates. The authors introduce a new proof technique using local perturbations to show that LSE excels in transfer learning scenarios where the training and testing data distributions differ (covariate shift).

What Problem Does This Paper Address?

In machine learning, we often assume our training and testing data come from the same distribution. In reality, we frequently face covariate shift: the relationship between input $X$ and output $Y$ remains the same, but the distribution of $X$ changes. For example, a medical model trained on data from one hospital might be applied to patients at another hospital with a different demographic makeup.

Standard statistical theory usually focuses on global risk (how well the model performs on average). However, to handle covariate shift, we need to know the pointwise convergence rate—how accurate the model is at a specific point $x$. If the new hospital has many patients in a region where the original training data was sparse, a global error bound won't tell us if the model will fail. The challenge is proving that a global estimator like LSE can provide these fine-grained, local guarantees without needing manual "tuning" for every specific region.

Methods

The authors focus on the class of 1-Lipschitz functions (functions that don't change too abruptly). Their primary contribution is a theoretical framework centered on the spread function $t_n(x)$.

Key methodological highlights include:

  • The Spread Function: They define the local convergence rate $t_n(x)$ as the solution to an equation involving the local mass of the design distribution. Intuitively, $t_n(x)$ represents the "local effective sample size."
  • Local Doubling Property: They introduce a weak regularity assumption on the data distribution (the local $D$-doubling property), which ensures the density doesn't vanish or explode too erratically.
  • Proof by Contradiction via Perturbation: Instead of standard global entropy bounds, they use a clever indirect proof. They assume the LSE has a poor local rate, then construct a "local perturbation"—a tiny tweak to the function—and show this tweak would actually result in a lower least squares loss. This contradicts the definition of the LSE, proving the original rate must have been optimal.
  • Transfer Learning Estimator: They propose a combined estimator for transfer learning that chooses between the source-data LSE and the target-data LSE based on which one has a better estimated local rate.

Datasets

As a theoretical statistics paper, it does not use empirical "benchmarks" like ImageNet or GLUE. Instead, it evaluates the proposed theory using mathematical models of design densities:

  • Uniform Distribution: The baseline case.
  • Polynomial Decay: Densities that vanish at certain points (e.g., $p(x) \propto x^\alpha$), simulating regions with very sparse data.
  • Sample-size Dependent Densities: Sequences of distributions that change as $n$ grows, allowing the authors to study how "low-density holes" in the data affect learning.

Key Insights and Ideas

  • Automatic Adaptivity: One of the most surprising findings is that the LSE adapts locally "for free." Unlike kernel smoothing methods, which require a carefully chosen (and often varying) bandwidth to handle non-uniform data, the LSE naturally adjusts its local complexity based on the available data density.
  • LSE vs. Kernel Smoothing: The authors show that kernel smoothing with a fixed global bandwidth is fundamentally sub-optimal when data density varies across the domain. The LSE, despite being a "global" solver, outperforms these local methods in heterogeneous environments.
  • The "Local" Nature of Global Minimizers: The paper provides a rigorous mathematical bridge between global empirical risk minimization and local pointwise accuracy. It shows that the LSE is minimax optimal not just in the standard $L^2$ sense, but also in a much stronger weighted uniform norm.

Key Results

  • Pointwise Bound: The authors prove that with high probability, the error $|f_n(x) - f_0(x)|$ is bounded by $K t_n(x)$. For smooth densities, this rate is approximately $(\frac{\log n}{n p(x)})^{1/3}$.
  • Minimax Optimality: They prove a matching lower bound, showing that no estimator can converge faster than the rates achieved by the LSE in this setting.
  • Transfer Learning Success: In the covariate shift model, they demonstrate that their combined estimator achieves a rate of $t_n^P(x) \wedge t_m^Q(x)$ (the best of both worlds). This quantifies exactly how much "source" data helps in "target" regions.
  • ReLU Network Connection: They show that a global minimizer over shallow ReLU networks (with a Lipschitz constraint) inherits these same optimal local convergence properties.

Limitations and Future Work

  • Dimensionality: The current work focuses on a one-dimensional design space ($x \in [0,1]$). Extending these local rates to high-dimensional data ($d > 1$) is a significant open challenge, as the "spread function" becomes much harder to control.
  • Smoothness Constraints: The results are derived for 1-Lipschitz functions ($\beta=1$). The authors note that for smoother functions ($\beta > 1$), the construction of the local perturbation becomes significantly more complex because the "tweak" must also be highly smooth.
  • Regime of Low Smoothness: The behavior of the local convergence rate in the "non-Donsker" regime (where the function is very rough relative to the dimension) remains unclear.

Summary updated

BibTeX
@inproceedings{schmidthieber2024local,
  author = {Johannes Schmidt-Hieber and Petr Zamolodtchikov},
  title = {{Local convergence rates of the nonparametric least squares estimator with applications to transfer learning}},
  booktitle = {Bernoulli},
  year = {2024},
  doi = {10.3150/23-bej1655},
}
Figure