Make Still Further Progress: Chain of Thoughts for Tabular Data Leaderboard

Qile Zhou, Siyang Liu, Han-Jia Ye · DOI · OpenReview

TL;DR

This paper introduces "Chain of Tabular Thoughts" (CoT²), a novel method that empowers Large Language Models (LLMs) to excel at tabular data prediction. By constructing a rich "tabular context" from neighboring data points and external model predictions, and guiding the LLM through a structured reasoning process, CoT² achieves state-of-the-art performance without relying on textual descriptions, thus enhancing privacy and applicability.

What Problem Does This Paper Address?

Tabular data is ubiquitous in machine learning, yet building high-performing models for it is challenging. The performance of standard models like gradient boosted trees and neural networks varies greatly across datasets, often requiring expert tuning and ensemble strategies. While LLMs have shown promise in other domains, their application to tabular data is hindered by their insensitivity to numerical values, lack of textual descriptions, and limitations with long feature sets. This paper aims to bridge this gap by enabling LLMs to act as expert decision-makers for tabular data, even when semantic information is scarce or unavailable.

Methods

The core innovation is the Chain of Tabular Thoughts (CoT²) framework. It addresses three key challenges:

  1. Tabular Context Construction: Instead of relying on textual descriptions, CoT² creates a context for each target instance by:
  2. Identifying nearest neighbors using a re-weighted distance metric that prioritizes important features.
  3. Incorporating predictions from a diverse set of pre-trained external tabular models (e.g., XGBoost, LightGBM, MLP).
  4. Including basic dataset metadata like label frequencies.
  5. Chain of Tabular Thoughts (CoT²): This is a structured reasoning process designed to guide LLMs through multi-step analysis, mimicking an expert's thought process. For classification tasks, it involves:
  6. Well-performing Model Selection: Identifying models that generalize well based on training and validation accuracies.
  7. Outlier Identification: Detecting neighbors whose true labels are consistently mispredicted by well-performing models.
  8. Suitable Model Selection: Choosing models that are best suited for the local neighborhood after outlier removal.
  9. Final Prediction: Synthesizing information from non-outlier neighbors and selected models to make a final prediction.
  10. Selective LLM Usage: To mitigate high inference costs, CoT² employs a strategy to only invoke the LLM for "hard" instances where external models disagree, while "easy" instances with high consensus are handled without LLM processing.

Datasets

The primary benchmark used for evaluation is the TinyBench2 Benchmark Suite, a curated subset of 45 tabular datasets designed to represent diverse task types (binary classification, multiclass classification, regression) and varying dataset characteristics. This suite is chosen for its ability to provide a robust and fair evaluation of tabular learning methods while being computationally manageable.

Key Insights and Ideas

  • LLMs as "Competition Experts": The paper frames LLMs not as direct predictors, but as intelligent ensembling agents that can synthesize information from multiple sources like human experts.
  • Context is King, Even for Tabular Data: The success of CoT² hinges on constructing a rich, informative tabular context that compensates for the lack of explicit textual descriptions.
  • Structured Reasoning Unlocks Numerical Capabilities: The "Chain of Tabular Thoughts" is crucial for enabling LLMs to perform nuanced reasoning over numerical data, a known weakness.
  • Privacy-Preserving Potential: By avoiding raw features and textual descriptions, CoT² offers a path to using LLMs on sensitive tabular data.
  • Anonymity Can Improve Performance: Interestingly, anonymizing the names of external models in the context led to improved performance, suggesting LLMs might have biases towards certain model names.

Key Results

  • CoT² significantly outperforms well-tuned baselines and standard ensemble techniques across a wide range of tabular datasets.
  • On the TinyBench2 benchmark, CoT² achieved the best average ranking among all tested methods.
  • The method demonstrated improvements for various LLMs, including GPT-3.5, GPT-40, and Deepseek-v3, indicating the robustness of the CoT² approach.
  • The selective LLM usage strategy significantly reduces computational overhead by bypassing LLM inference for easy instances.

Limitations and Future Work

  • LLM Inference Cost: While selective usage mitigates this, LLM inference remains more computationally intensive than traditional methods for easy cases.
  • Dependence on External Models: The performance of CoT² is inherently tied to the quality and diversity of the external models used to construct the context.
  • Future Work: The authors suggest exploring more sophisticated context construction methods, investigating LLM architectures specifically designed for tabular data, and further optimizing the selective LLM usage strategy.

Summary updated

Abstract

Tabular data, a fundamental data format in machine learning, is predominantly utilized in various competitions and real-world applications. Gradient-boosted decision trees and neural networks have been extensively researched for tabular data prediction. However, the effectiveness of these tabular models can vary significantly across different datasets, requiring specialized expert knowledge to achieve the best performance on each dataset's leaderboard. Large Language Models (LLMs) have demonstrated remarkable capabilities in various tasks. Despite their success in text and image domains, the recent application of LLMs to tabular data has been limited due to LLMs' insensitivity to numerical values, the scarcity of textual descriptions, and insufficient context length caused by the abundance of tabular features. We propose a well-designed context that overcomes the aforementioned challenges, thereby activating LLMs' in-context learning ability on a wide range of tabular data. In particular, for each target instance, we construct a context based on the combination of the target instance, its neighbors, and external models. For this tabular context, we emulate the thought process of a competition expert and design a novel Chain of Tabular Thoughts (CoT$^2$) approach. CoT$^2$ transforms the prediction task constructed on our context into multiple steps, enabling LLMs to gain enhanced numerical reasoning ability on tabular data. By incorporating the tabular context and the CoT$^2$ into the prompt, LLMs can predict accurately and interpretably. Without using the datasets' textual description, CoT$^2$ surpasses ensemble baselines and other LLM-based methods that utilize semantic information.
BibTeX
@inproceedings{zhou2025make,
  author = {Qile Zhou and Siyang Liu and Han-Jia Ye},
  title = {{Make Still Further Progress: Chain of Thoughts for Tabular Data Leaderboard}},
  booktitle = {FMSD @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=zvdGNxL07g},
}
Figure