[KongchangAI]
Concept距离加权KNN / 距离加权最近邻投票器

Distance-KNN

An instance-based learning algorithm that finds the K nearest neighbors of a query sample in feature space and predicts by distance-weighted inverse voting. It requires no training and is often used as a strong baseline for tabular classification.

Timeline (last 90 days)

Oct 22

This study compared the tabular classification performance of 4 general-purpose LLMs and distance-weighted KNN (Distance-KNN) across 19 tabular classification datasets.

Unverified50%
Oct 22

The experiments used a controlled-variable design: for each test sample, the same retriever was used to obtain neighbors, and the exact same neighbors were used respectively as demonstrations for the LLM and as input to Distance-KNN.

Unverified50%
Oct 22

At every retrieval pool size setting, Distance-KNN had the highest average accuracy.

Unverified50%
Oct 22

From the global average, LLM reasoning did not surpass distance-weighted voting (Distance-KNN) on the tabular classification task.

Unverified50%
Oct 22

Under the premise of low label consensus, some LLMs can surpass Distance-KNN in the near-neighbor and medium-distance neighborhoods, but in the farthest-distance group all LLMs lag on average.

Unverified50%
Oct 22

Supplementary experiments on the number of demonstrations, prompt wording, retrieval representation and label-balanced demonstration selection largely preserved the main conclusions: the KNN average advantage is robust, and LLM gains are concentrated in low-consensus, near-distance scenarios.

Unverified50%
Oct 22

For engineers building tabular classification systems, when retrieval quality is guaranteed and neighbor labels are consistent, Distance-KNN is a simpler and on-average more accurate baseline, and one should not default to assuming LLM reasoning is better.

Unverified50%
Oct 22

Distance-KNN is a training-free classical instance-based learning algorithm that performs tabular classification through distance-weighted voting and is often used as a strong baseline.

Unverified50%

All Facts (8)

Unverified

This study compared the tabular classification performance of 4 general-purpose LLMs and distance-weighted KNN (Distance-KNN) across 19 tabular classification datasets.

50%
Unverified

The experiments used a controlled-variable design: for each test sample, the same retriever was used to obtain neighbors, and the exact same neighbors were used respectively as demonstrations for the LLM and as input to Distance-KNN.

50%
Unverified

At every retrieval pool size setting, Distance-KNN had the highest average accuracy.

50%
Unverified

From the global average, LLM reasoning did not surpass distance-weighted voting (Distance-KNN) on the tabular classification task.

50%
Unverified

Under the premise of low label consensus, some LLMs can surpass Distance-KNN in the near-neighbor and medium-distance neighborhoods, but in the farthest-distance group all LLMs lag on average.

50%
Unverified

Supplementary experiments on the number of demonstrations, prompt wording, retrieval representation and label-balanced demonstration selection largely preserved the main conclusions: the KNN average advantage is robust, and LLM gains are concentrated in low-consensus, near-distance scenarios.

50%
Unverified

For engineers building tabular classification systems, when retrieval quality is guaranteed and neighbor labels are consistent, Distance-KNN is a simpler and on-average more accurate baseline, and one should not default to assuming LLM reasoning is better.

50%
Unverified

Distance-KNN is a training-free classical instance-based learning algorithm that performs tabular classification through distance-weighted voting and is often used as a strong baseline.

50%

Source Articles