NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Summarize-Exemplify-Reflect: Data-driven Insight Distillation Empowers LLMs for Few-shot Tabular Classification

Yifei Yuan, Yifei Yuan 0002, Jiatong Li, Weijia Zhang, Mohammad Aliannejadi, Evangelos Kanoulas, Renjun Hu · DOI

Introduction

Tabular classification is a fundamental task in machine learning, traditionally dominated by tree-based ensemble models like XGBoost. However, these models typically require substantial labeled data to achieve high performance. While Large Language Models (LLMs) have revolutionized few-shot learning in natural language processing, they often struggle with structured tabular data. This difficulty arises because tables lack the natural language context LLMs were pre-trained on, often leading models to rely on superficial pattern matching rather than logical reasoning.

The InsightTab Framework

To address these challenges, we present InsightTab, a framework that bridges the gap between traditional machine learning and LLM reasoning. InsightTab uses a "collaborative" approach, employing XGBoost as a structural scaffold to help an LLM distill raw data into natural language insights. The framework is built on three core pillars:

  1. Divide-and-Conquer (Groupwise Rule Summarization): InsightTab uses the leaves of a decision tree (XGBoost) to group similar data points. A high-capacity "Summarizer LLM" then analyzes these groups to generate human-readable rules (e.g., "Higher education levels generally correlate with earning >$50K").
  2. Easy-First (Ranking and Exemplification): Using prediction entropy from the XGBoost model, the framework identifies the "easiest" training samples. These high-confidence examples are selected as in-context demonstrations for the final prompt.
  3. Reflective Learning: The system identifies "hard" examples where current rules fail. These incorrect predictions are fed back to the Summarizer LLM to refine and add nuance to the existing rule set, mimicking a human student learning from mistakes.
Overview of the InsightTab pipeline, illustrating the three core strategies: divide-and-conquer, easy-first, and reflective learning.

Experimental Evaluation

InsightTab was evaluated across nine diverse public datasets, including Bank, California Housing, and Income prediction. The framework demonstrated significant improvements over both traditional ML baselines and existing LLM-based tabular methods like TabLLM and SumBoost.

In few-shot scenarios (e.g., 16 to 128 samples), InsightTab consistently achieved higher F1 scores. Notably, using the open-source Mistral-7B model, InsightTab reached an average F1 score of 64.8% on 16-shot tasks, substantially outperforming standard XGBoost (52.5%) and TabLLM (55.6%).

Performance comparison (F1 score) of InsightTab against baselines across varying few-shot training sizes.

Key Insights and Robustness

  • Semantic Reasoning vs. Pattern Matching: Traditional LLM methods are often sensitive to column order. InsightTab is highly robust to shuffled columns, proving that its distilled rules allow the model to learn semantic relationships rather than just memorizing text positions.
  • Handling Class Imbalance: On datasets with heavy class imbalance, standard LLMs often bias toward the majority class. InsightTab's explicit rules force the model to recognize minority class triggers, leading to more balanced performance.
  • The Power of Simplicity: The authors found that simple, one-to-one feature-label rules are more effective for LLM reasoning than complex, multi-feature logic, which can confuse the predictor model.
  • Open-Source Success: Interestingly, InsightTab performed better with Mistral-7B than with GPT-3.5-turbo, suggesting that certain open-source architectures are particularly well-suited for structured, iterative reasoning tasks.

Conclusion

InsightTab demonstrates that distilling tabular data into natural language insights significantly empowers LLMs for few-shot classification. By combining the structural strengths of XGBoost with the semantic reasoning of LLMs, the framework provides a robust solution for data-scarce environments. While the multi-stage distillation process adds some initial computational cost, the resulting gains in accuracy and robustness make it a compelling approach for modern tabular data challenges.

Summary updated

BibTeX
@misc{yuan2025summarize,
  author = {Yifei Yuan and Yifei Yuan and Jiatong Li and Weijia Zhang and Mohammad Aliannejadi and Evangelos Kanoulas and Renjun Hu},
  title = {{Summarize-Exemplify-Reflect: Data-driven Insight Distillation Empowers LLMs for Few-shot Tabular Classification}},
  year = {2025},
  eprint = {2508.21561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.21561},
}
Figure