HARBOUR: A non-neural harmonic learner with exact case-based explanations and calibrated rejection for tabular data
Abstract
Research hypothesis: A non-neural learner built from screened Neumann potentials on a graph of training records (HARBOUR) can give exact case-based explanations, detect inputs from unseen classes as well as strong combined baselines, and learn from few labels when labels are chosen by a rule derived from a discrete trace Poincaré inequality, while staying close in accuracy to tree ensembles and tabular neural networks. What the data are: Code, raw experiment results and analysis scripts for the article “HARBOUR: A non-neural harmonic learner with exact case-based explanations and calibrated rejection for tabular data”. No new primary data are included. The eleven benchmark datasets (NSL-KDD, UNSW-NB15, Heart disease, Diabetes 130-US, Dry Bean, Covertype, Dermatology, Soybean, ann-thyroid, Satimage, Pendigits) are public; the included script downloads them and checks their SHA-256 checksums. How the data were gathered: Experiments ran on Google Colab (NVIDIA T4 GPU). HARBOUR was compared with logistic regression, k-NN, random forest, XGBoost, MLP, ResNet and FT-Transformer, each with the same budget of eight tuned configurations. Each line of results/r2_.jsonl stores one run and the metrics of every method (macro-F1, balanced accuracy, calibration error, unseen-class AUROC, selective risk, running time). E1E2/E1E2v2: main benchmark of six datasets with shift and unknown-class splits. E2C: five confirmation datasets, run after the decision criteria were fixed. E3: label efficiency. E4: explanations. E5: ablations. E8: running time. Notable findings: On the confirmation datasets, HARBOUR’s rejection rule reached a mean AUROC of 0.879 for held-out classes, the highest of 21 scores and level with XGBoost plus nearest-neighbour distance (0.876). Its attributions were exact, faithful under refitting and about 287 times faster than KernelSHAP. Theory-guided label selection improved macro-F1 (p < 1e-9). HARBOUR was about 0.025 macro-F1 below random forest, XGBoost and an MLP. Its limits are dependence on the input distance and over-rejection under covariate shift. How to use: The README maps each file to the article. The analysis folder rebuilds every table and figure from the results folder in a few minutes without re-running models. Class HARBOUR2 in the code is the model of the article; class HARBOUR has the same classifier with an earlier rejection rule, used for comparison. notebook/HARBOUR_reproduce.ipynb repeats all experiments. Licences: code MIT, results CC BY 4.0.