# Training Neural Networks to be Locally Adaptive

arXiv: https://arxiv.org/abs/2611.22198 · HTML: https://mlsanity.com/paper/2611.22198/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 4 of its 54 references that are in the map.
- Submitted 17 Nov 2026, announced 18 Nov 2026.

## Builds on (most cited first, 4 of 4)

- [Deep ReLU network approximation of functions on a manifold](https://mlsanity.com/paper/1908.00695/) (2019)
- [Stable Minima of ReLU Neural Networks Suffer from the Curse of Dimensionality: The Neural Shattering Phenomenon](https://mlsanity.com/paper/2506.20779/) (2025)
- [A new approach to locally adaptive polynomial regression](https://mlsanity.com/paper/2412.19802/) (2024)
- [Depth Enables Local Entropy: Quadratic Depth Dependence in Deep Variation-Norm ReLU Regression](https://mlsanity.com/paper/2608.17434/) (2026)

## Abstract (arXiv)

Deep neural networks fitted by global empirical risk minimization commit to a single model for the entire covariate space. In a regression problem, if the regression function f0 is inhomogeneous --- varying rapidly in one region, while being nearly flat in another --- no single model can be appropriate everywhere, and the fit degrades where the function varies most rapidly. Here we study an alternative in which, instead of fitting the network globally, we fit it locally. For each query point x, a local neural network is trained on the k nearest-neighbours of x alone, making the training sample and the fitted function query-dependent. We analyze the performance of the resulting estimator through a localization approach, establishing that the pointwise risk of the estimator with an appropriate choice of k attains the rate n^-2α/(2α+d*), up to logarithmic factors, when f0 is locally α-H"older with α∈(0,1] and the covariates are supported on a d*-dimensional manifold embedded in ℝd. A matching Le Cam lower bound shows that this rate is pointwise minimax optimal. However, the local rate-optimality requires k to be calibrated to the smoothness of f0, which is unknown in practice. We therefore provide a locally adaptive choice of k that makes the neural network adapt to the local H"older exponent of f0 and to the intrinsic dimension simultaneously, both of which are potentially varying over the covariate domain. An extensive simulation study demonstrates the dominance of the locally adaptive neural network over a globally trained network and several state-of-the-art methods.
