Beyond the Vote: When Do LLMs Add Value to Retrieval-Based Tabular Classification?
Ziquan Wang, Yuxuan Nie, Jian Ma, Yingjie Li
Key points
From the paper's conclusion- These results characterize when LLM inference adds predictive value beyond distance-weighted voting in retrieval-based tabular ICL.
Abstract
Retrieval-based in-context learning (ICL) enables large language models (LLMs) to predict tabular labels from similar examples, but it remains unclear whether LLM inference improves on direct voting over those same examples. We address this question by comparing four general-purpose LLMs with distance-weighted nearest-neighbor voting (Distance-KNN) using identical retrieved neighbors across 19 tabular classification datasets. With the number of demonstrations fixed, enlarging the retrieval candidate pool improves accuracy for all predictors, yet Distance-KNN achieves the highest mean accuracy at every pool size. More detailed analyses reveal that LLM gains are concentrated where retrieved neighbors exhibit low label consensus and vary across models. These gains further depend on the average feature-space distance to the test query: under low label consensus, some LLMs outperform Distance-KNN in close and intermediate neighborhoods, but all fall behind on average in the most distant group. Complementary experiments on the number of demonstrations, prompt formulation, retrieval representation, and label-balanced demonstration selection largely preserve the overall findings. These results characterize when LLM inference adds predictive value beyond distance-weighted voting in retrieval-based tabular ICL.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LLM knowledge for improved Out-of-Distribution Tabular Prediction - A Cross-Validated Regularisation ApproacharXiv · 2026
- Marginal Response Surface Elicitation for Zero-Label Tabular LearningarXiv · 2026
- VRLLM: Turning LLMs into Powerful Tabular ClassifiersarXiv · 2026
- Definitions, Label Names, or Demonstrations? Auditing What Governs LLM AnnotationarXiv · 2026
- From Prompts to Trees: Effective LLM-Guided Tree Generation for Few-Shot Tabular ClassificationarXiv · 2026
- RAPT: Retrieval-Augmented Post-hoc Thresholding for Multi-Label ClassificationOpen Access Institutional Repository at Robert Gordon University (Robert Gordon University) · 2026