Robust Local Polynomial Regression with Similarity Kernels

Yaniv Shulman
1/18/2025
stat.MEcs.LGstat.ML

Official code: yaniv-shulman/rsklpr (8 stars, MIT, last commit 2026-04-08).

Abstract

Local Polynomial Regression (LPR) is a widely used nonparametric method for modeling complex relationships due to its flexibility and simplicity. It estimates a regression function by fitting low-degree polynomials to localized subsets of the data, weighted by proximity. However, traditional LPR is sensitive to outliers and high-leverage points, which can significantly affect estimation accuracy. This paper revisits the kernel function used to compute regression weights and proposes a novel framework that incorporates both predictor and response variables in the weighting mechanism. The focus of this work is a conditional density kernel that robustly estimates weights by mitigating the influence of outliers through localized density estimation. A related joint density kernel is also discussed in an appendix. The proposed method is implemented in Python and is publicly available at https://github.com/yaniv-shulman/rsklpr, demonstrating competitive performance in synthetic benchmark experiments. Compared to standard LPR, the proposed approach consistently improves robustness and accuracy, especially in heteroscedastic and noisy environments, without requiring multiple iterations. This advancement provides a promising extension to traditional LPR, opening new possibilities for robust regression applications.

View on arXivView PDF

Code Implementations(1)

MIT

Robust locally weighted multiple regression in Python

80TeX, ShellSep 22, 20236 months agoMIT
least-square-regressionlocally-weighted-regressionmachine-learningmit-licensepolynomial-regression+6 more

Similar Papers

Cite this paper

@article{shulman2025robust,
  title  = {Robust Local Polynomial Regression with Similarity Kernels},
  author = {Yaniv Shulman},
  year   = {2025},
  eprint = {2501.10729},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.10729v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.10729.svg)](https://codeofpaper.com/paper/2501.10729)

Discussion