cs.LGOct 7, 2026

From Prompts to Trees: Effective LLM-Guided Tree Generation for Few-Shot Tabular Classification

Authors: Yue Qiu, Zekang Du, Yiqun Diao, Bingsheng He, Qinbin Li

Organizations: School of Computer Science and Technology, Huazhong University of Science and Technology · School of Computing, National University of Singapore

Abstract

While Large Language Models (LLMs) possess rich world knowledge and impressive generalization capabilities, their direct application to tabular data classification is hindered by high inference costs and limited interpretability. In contrast, decision trees are fast and transparent but often underperform in low-data regimes. In this work, we propose a novel framework that bridges these paradigms by distilling LLM knowledge into interpretable decision trees under a few-shot learning setting. Instead of directly prompting the LLM to generate full trees, which is often unstable and inefficient, we develop a three-stage paradigm that prompts the LLM to generate rules and organize the rules into a tree. Experiments on multiple real-world tabular datasets demonstrate that our method achieves superior accuracy and interpretability with significantly lower prompting overhead compared to existing baselines.

Figures & tables

Appendix figures & tables33 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LLMTabBench: Evaluating LLMs on Binary Tabular Classification From Zero to Few Shots

    May 23, 2026Daria Grushina, Kseniia Kuvshinova, Alina Kostromina +3Zero-Shot LearningLLM Evaluation

  2. TabSHAP

    Apr 22, 2026Aryan Chaudhary, Prateek Agarwal, Tejasvi AlladiFeature AttributionSHAP Feature Attribution