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

Exploring the Whole Rashomon Set of Sparse Decision Trees

Rui Xin, Chudi Zhong, Zhi Chen, Takuya Takagi, Margo Seltzer, Cynthia Rudin

Overview

Most machine learning algorithms return a single "optimal" model, but in reality, there are often many different models that perform almost equally well—a phenomenon known as the Rashomon effect. This paper introduces TreeFARMS, the first method to completely enumerate the entire set of almost-optimal sparse decision trees. This allows users to choose models based on criteria like fairness, interpretability, or domain intuition without sacrificing accuracy.

The Challenge: Beyond a Single Optimal Model

In many real-world applications, such as healthcare or criminal justice, we don't just want a model that is accurate; we want one that is "right" for the context. However, standard algorithms act as "black boxes" that hand us one solution. If that solution uses a sensitive variable or is too complex to explain, practitioners are often stuck.

The Rashomon set is the collection of all models in a hypothesis space that perform within a small margin (e.g., 1%) of the best possible model. For simple linear models, finding this set is manageable. But for decision trees, the search space is astronomical—even a tree with a depth of 4 and 10 binary features has over $10^{20}$ possible configurations. Until now, it was considered computationally impossible to find every good tree in such a massive, non-linear space.

TreeFARMS: Enumerating the Rashomon Set

The authors present TreeFARMS (Trees FAst RashoMon Sets), which builds upon the GOSDT (Generalized and Scalable Optimal Sparse Decision Trees) framework. Its efficiency comes from two main innovations:

  1. Analytical Pruning Bounds: The algorithm uses sophisticated mathematical bounds to prove that large "neighborhoods" of the search space cannot possibly contain a model within the Rashomon set. This allows the algorithm to safely ignore billions of suboptimal trees.
  2. The "Model Set" (MS) Data Structure: Storing millions or billions of trees would normally exceed a computer's memory limits. TreeFARMS uses a specialized hierarchical data structure that exploits the fact that many different trees share the same subtrees and the same discrete loss values. This allows for memory-efficient storage and fast querying or sampling.

Evaluation Datasets

The authors evaluated TreeFARMS on a variety of real-world datasets known for needing interpretable or fair solutions:

  • UCI Repository: Car Evaluation, Congressional Voting Records, Monk2, and Iris.
  • Criminal Justice: The COMPAS recidivism dataset.
  • Finance: The FICO credit risk dataset.
  • Surveys: Four "coupon" datasets (Bar, Coffee House, Cheap/Expensive Restaurants) and a Penguin dataset.

Key Insights

  • Baselines Barely Scratch the Surface: Popular methods like Random Forests or Bayesian trees (BART) only find a tiny fraction of the Rashomon set. For example, on the Monk2 dataset, BART found only 488 distinct good trees, while TreeFARMS found $10^8$ (one hundred million).
Comparison of TreeFARMS against baselines on Monk2, COMPAS, and Bar datasets
  • Model Class Reliance (MCR): By having the whole set, researchers can calculate "Variable Importance" more honestly. Instead of saying "Feature X is important for this model," they can say "Feature X is important for every good model in the set."
  • Metric Flexibility: A Rashomon set built for simple accuracy actually "contains" the Rashomon sets for other metrics like Balanced Accuracy or F1-score. This means you can train once for accuracy and then filter the results for the metric you actually care about.
  • Robustness: The authors proved that the best models on a full dataset are usually still among the best models even if you remove a small subset of the data, showing that these sparse trees are surprisingly stable.

Results

  • Enumeration Power: On the COMPAS dataset, with a 15% threshold, TreeFARMS identified a staggering $10^{12}$ (one trillion) trees.
  • Speed: TreeFARMS finds trees at a dramatically faster rate than baselines. In the time it takes a standard sampling method to find a few thousand trees, TreeFARMS can represent millions.
  • User Control: The paper demonstrates that you can find trees that minimize "Balanced Accuracy" or "F1-score" by simply searching through the pre-computed Rashomon set, often finding models that perform better on these specific metrics than the "optimal" accuracy-based model.

Limitations and Future Directions

  • Model Capacity: TreeFARMS is designed for sparse binary decision trees. While these are highly interpretable, they have limited capacity compared to deep neural networks for high-dimensional data like images.
  • Data Bias: The authors note that TreeFARMS models inherit any flaws or biases present in the training data. While it gives you the choice to pick a fairer model, it doesn't automatically fix biased data.
  • Causality: The models found are predictive, not necessarily causal. Users should not assume that a split in a tree represents a true cause-and-effect relationship in the real world.
  • Future Directions: The authors suggest customizing the tool for specific domain applications where "human-in-the-loop" model selection is critical.

Summary updated

BibTeX
@inproceedings{xin2022exploring,
  author = {Rui Xin and Chudi Zhong and Zhi Chen and Takuya Takagi and Margo Seltzer and Cynthia Rudin},
  title = {{Exploring the Whole Rashomon Set of Sparse Decision Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=WHqVVk3UHr},
}
Figure