NN-kNN for Regression: Accurate Prediction from Interpretable Retrieval
Xiaomeng Ye, Yu Wang, David Leake, David Crandall, Great Abhieyighan, Mereck McGowan
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.
BibTeX
@inproceedings{ijcai2026_nnknnforregressi,
title = {NN-kNN for Regression: Accurate Prediction from Interpretable Retrieval},
author = {Xiaomeng Ye and Yu Wang and David Leake and David Crandall and Great Abhieyighan and Mereck McGowan},
booktitle = {IJCAI 2026},
year = {2026}
}