Lune

ICML2022Top-tier venue

DNNR: Differential Nearest Neighbors Regression

Youssef Nader, Leon Sixt, Tim Landgraf

Abstract

K-nearest neighbors (KNN) is one of the earli-est and most established algorithms in machine learning. For regression tasks, KNN averages the targets within a neighborhood which poses a number of challenges: the neighborhood definition is crucial for the predictive performance as neighbors might be selected based on uninformative features, and averaging does not account for how the function changes locally. We propose a novel method called Differential Nearest Neighbors Regression (DNNR) that addresses both issues simul-taneously: during training, DNNR estimates local gradients to scale the features; during inference, it performs an n-th order Taylor approximation using estimated gradients. In a large-scale evaluation on over 250 datasets, we find that DNNR performs comparably to state-of-the-art gradient boosting methods and MLPs while maintaining the simplicity and transparency of KNN. This allows us to derive theoretical error bounds and inspect failures. In times that call for transparency of ML models, DNNR provides a good balance between performance and interpretability. 2

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Closer Look at TabPFN v2: Understanding Its Strengths and Extending Its Capabilities cites Retrieval & Fine-Tuning for In-Context Tabular Models
  • A Closer Look at TabPFN v2: Understanding Its Strengths and Extending Its Capabilities cites TabNet: Attentive Interpretable Tabular Learning
  • TMPNN: High-Order Polynomial Regression Based on Taylor Map Factorization cites TabNet: Attentive Interpretable Tabular Learning
  • Retrieval & Fine-Tuning for In-Context Tabular Models cites TabR: Tabular Deep Learning Meets Nearest Neighbors
  • Retrieval & Fine-Tuning for In-Context Tabular Models cites TabNet: Attentive Interpretable Tabular Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. TabR: Tabular Deep Learning Meets Nearest NeighborsYury Gorishniy, Ivan Rubachev, Nikolay Kartashev, Daniil Shlenskii et al.ICLR 2024 · 78 citations
  2. Retrieval & Fine-Tuning for In-Context Tabular ModelsValentin Thomas, Junwei Ma, Rasa Hosseinzadeh, Keyvan Golestan et al.NeurIPS 2024 · 75 citations
  3. A Closer Look at TabPFN v2: Understanding Its Strengths and Extending Its CapabilitiesHan-Jia Ye, Si-Yang Liu, Wei-Lun ChaoNeurIPS 2025 · 52 citations
  4. Elliptical AttentionStefan K. Nielsen, Laziz U. Abdullaev, Rachel S. Y. Teo, Tan NguyenNeurIPS 2024 · 12 citations
  5. TMPNN: High-Order Polynomial Regression Based on Taylor Map FactorizationAndrei Ivanov, Stefan Maria AiluroAAAI 2024 · 3 citations

Builds on1

  1. TabNet: Attentive Interpretable Tabular LearningSercan Ö. Arik, Tomas PfisterAAAI 2021 · 2,148 citations

Related papers

  1. Regression Trees Know CalculusNathan WycoffNeurIPS 2025
  2. Leveraging Locality and Robustness to Achieve Massively Scalable Gaussian Process RegressionRobert Allison, Anthony Stephenson, Samuel F, Edward O. Pyzer-KnappNeurIPS 2023 · 8 citations
  3. Meta-NeighborhoodsSiyuan Shan, Yang Li, Junier B. OlivaNeurIPS 2020 · 17 citations
  4. Revisiting Nearest Neighbor for Tabular Data: A Deep Tabular Baseline Two Decades LaterHan-Jia Ye, Huai-Hong Yin, De-Chuan Zhan, Wei-Lun ChaoICLR 2025
  5. Extrapolation Towards Imaginary 0-Nearest Neighbour and Its Improved Convergence RateAkifumi Okuno, Hidetoshi ShimodairaNeurIPS 2020 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines