Skip to content
Conference Open access

NN-kNN for Regression: Accurate Prediction from Interpretable Retrieval

Sep 2026 · Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence · 0 citations · 34 references

TL;DR

This paper introduces three modular components: an attention mechanism that weights the contribution of retrieved cases, a locality-aware regularizer that favors label-similar neighbors, and an optional case adaptation module that refines the retrieved estimate.

Abstract

Neural Network k-Nearest Neighbor (NN-kNN) was proposed as an interpretable network model that learns feature weights and similarity to retrieve relevant cases for classification. This paper extends it to regression with the goal of generating accurate predictions based on neighboring cases with similar labels. Specifically, we introduce three modular components: an attention mechanism that weights the contribution of retrieved cases, a locality-aware regularizer that favors label-similar neighbors, and an optional case adaptation module that refines the retrieved estimate. Across synthetic and standard tabular regression benchmarks, NN-kNN achieves competitive predictive error against strong baselines (kNN-R, MLKR, and MLPs) while providing cases with similar labels as explanation (later referred as label-similar case). Moreover, NN-kNN supports manual knowledge injection through tuning weights for human-comprehensible features. The result is a simple, general, and interpretable approach to continuous-valued prediction that unifies retrieval, attention, and optional case adaptation within a single neural framework.

Read PDF

Similar papers

#artificial intelligence Preprint Sep 2026

UO-FIE: Combining Exact-Label Supervision with Graded Utility for Factivity Inference

The Factivity Inference Evaluation 2026 (FIE2026) classifies Chinese context-hypothesis pairs into nine ordered factivity intervals. Its evaluation metric rewards both exact predictions and proximity to the correct interval, while 64.1% of the 566 training examples belong to a single class. In preliminary experiments,...

Xing-Chen Xiao · 0 citations
Open access Sep 2026

Retrieval-Augmented Reliability-Aware Selective Inference for Visual Classification

The results demonstrate the potential of retrieval-derived evidence and selective decision gating as a post-hoc reliability mechanism for controlling visual predictions before they are incorporated into multimodal responses.

Pratheswaran Hariharan, Hai-Ping Xu, Dong-Hui Yan · 0 citations
#machine learning Preprint Aug 2026

Neural Regression with Embeddings for Numerical Attribute Prediction in Knowledge Graphs

A neural regression model (LitEm) that enables transductive knowledge graph embedding models to predict numerical attributes within knowledge graphs and a co-training framework that jointly trains state-of-the-art transductive knowledge graph embedding models with LitEm, which improves link prediction performance mainl...

Rupesh Sapkota, Louis Mozart Kamdem Teyou, Moshood Yekini et al. · 0 citations
#machine learning Preprint Aug 2026

Understanding the Surprising Generalization Properties of Tabular Foundation Models

A task-centric, retrieval-based perspective is offered for how TFMs generalize: it is believed that tabular in-context generalization is largely retrieval-based, and good models are those that learn to identify relevant examples in the provided context and aggregate them well.

Nour Shaheen, Junwei Ma, Alex Labach et al. · 3 citations
#artificial intelligence Preprint Aug 2026

Learning from What You Retrieve: Online RL Fine-Tuning for Semantic Retrieval

This work proposes PAO (Positive-Advantage-Only), a selective RL optimization method that selectively applies gradient updates only to retrieved items with positive advantages, effectively pulling query embed- dings toward high-reward regions while preserving global topo- logical stability.

Shao-Wei Wei, Chong Huang, Songtao Fang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.