Talking Trees: Reasoning-Assisted Induction of Decision Trees for Tabular Data

George Yakushev, Alina Shutova, Ivan Rubachev, Renat Sergazinov, Artem Babenko

Introduction

Predicting outcomes from tabular data is a fundamental task in machine learning. While "tabular foundation models" have recently achieved state-of-the-art performance, they often function as "black boxes"—difficult to interpret, computationally expensive, and resistant to domain-specific constraints like fairness or monotonicity. Conversely, traditional methods like Classification and Regression Trees (CART) offer interpretability and efficiency but lack the "common sense" required to handle small or noisy datasets effectively.

"Talking Trees" introduces Agentic Tree Induction, a framework that leverages reasoning-capable Large Language Models (LLMs) as agents to build, refine, and audit decision trees. By combining an LLM’s prior world knowledge with a specialized toolkit, the framework produces standalone, highly interpretable models that rival black-box methods on small datasets while allowing for natural language steering.

Methodology: Agentic Tree Induction

The core of the approach is a "Thought–Action–Observation" loop, where the LLM iteratively constructs a decision tree rather than generating it in a single pass.

The Agentic Tree Induction loop and the Tree Editing Framework toolkit.

As shown in Figure 1, the agent hypothesizes a split (Thought), executes a Python command to modify the tree (Action), and evaluates the result against training data (Observation). The LLM is equipped with a specialized Python library, the Tree Editing Framework, which includes tools such as:

  • View tree: Inspecting the current structure.
  • Prune/Graft subtree: Removing overfitted branches or replacing nodes with learned structures.
  • Select data: Analyzing specific subsets of samples to refine splits.

Crucially, the LLM is only involved during the training phase. The final output is a standard decision tree, ensuring that inference remains lightweight, requiring no API calls and running in microseconds.

Experimental Setup

The framework was evaluated on TabArena v0.1, a benchmark of 17 supervised datasets (classification and regression) with samples limited to 2,500 to simulate low-resource environments. Specific evaluations for fairness and monotonicity were conducted using the Adult, SchoolPerformance, COMPAS, and Heart datasets.

Key Results and Insights

The agentic approach consistently outperformed both default and tuned CART decision trees across nearly all benchmarks, significantly closing the performance gap with heavy ensembles like XGBoost while maintaining 100% interpretability.

Natural Language Steering and Fairness

One of the most significant advantages of this framework is its "steerability." Users can provide high-level instructions in natural language, such as "prioritize gender neutrality."

Performance and fairness metrics comparing agentic trees (with and without fairness prompts) against standard CART.

As illustrated in Figure 3, simply adding a fairness prompt significantly reduced Statistical Parity and Equal Opportunity differences on the Adult dataset compared to standard baselines, without a substantial loss in ROC AUC. This demonstrates that LLMs can act as "smart" inductive biases, applying domain knowledge to make sensible decisions even when data is scarce.

Robustness and "Cold Start" Scenarios

The authors confirmed that the LLM learns from the training signal rather than memorizing benchmarks through data-shuffling experiments. Furthermore, in "cold start" scenarios where a critical feature was missing from the training data but described in the prompt, the LLM successfully used its prior knowledge to "reserve a spot" for it, outperforming models that ignored the feature entirely.

Conclusion and Future Work

"Talking Trees" demonstrates that LLMs can effectively bridge the gap between interpretable models and high-performance foundation models. While currently optimized for small-to-medium datasets, future work will focus on scaling the observation phase for larger data volumes and exploring "functional splits" where the LLM writes complex mathematical expressions for tree nodes. Although training involves LLM costs, the resulting models provide a unique combination of transparency, performance, and ease of steering for high-stakes applications.

Summary updated

BibTeX
@inproceedings{yakushev2025talking,
  author = {George Yakushev and Alina Shutova and Ivan Rubachev and Renat Sergazinov and Artem Babenko},
  title = {{Talking Trees: Reasoning-Assisted Induction of Decision Trees for Tabular Data}},
  booktitle = {AITD @ EurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=EoSwq57EsZ},
}
Figure