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 I. Seltzer, Cynthia Rudin

Abstract

In any given machine learning problem, there may be many models that could explain the data almost equally well. However, most learning algorithms return only one of these models, leaving practitioners with no practical way to explore alternative models that might have desirable properties beyond what could be expressed within a loss function. The Rashomon set is the set of these all almost-optimal models. Rashomon sets can be extremely complicated, particularly for highly nonlinear function classes that allow complex interaction terms, such as decision trees. We provide the first technique for completely enumerating the Rashomon set for sparse decision trees; in fact, our work provides the first complete enumeration of any Rashomon set for a non-trivial problem with a highly nonlinear discrete function class. This allows the user an unprecedented level of control over model choice among all models that are approximately equally good. We represent the Rashomon set in a specialized data structure that supports efficient querying and sampling. We show three applications of the Rashomon set: 1) it can be used to study variable importance for the set of almost-optimal trees (as opposed to a single tree), 2) the Rashomon set for accuracy enables enumeration of the Rashomon sets for balanced accuracy and F1-score, and 3) the Rashomon set for a full dataset can be used to produce Rashomon sets constructed with only subsets of the data set. Thus, we are able to examine Rashomon sets across problems with a new lens, enabling users to choose models rather than be at the mercy of an algorithm that produces only a single model.

Introduction: The Rashomon Effect in Machine Learning

Standard machine learning workflows typically focus on finding a single "optimal" model. However, in many real-world scenarios, multiple models can achieve nearly identical performance. This collection of almost-optimal models is known as the Rashomon set. For practitioners, the existence of this set is an opportunity: if several models are statistically indistinguishable, one might prefer a specific model because it is more interpretable, fairer, or better aligned with domain knowledge.

Until now, finding the complete Rashomon set for complex, non-linear models like decision trees was computationally infeasible. For a simple problem with 10 binary features and a depth of 4, the search space exceeds $10^{20}$ possible trees. Existing methods like BART or Random Forests only sample a tiny fraction of this space, leaving users unaware of the vast majority of high-performing alternatives.

TreeFARMS: Efficiently Mapping the Model Space

To address this, the authors developed TreeFARMS (Trees FAst RashoMon Sets), the first algorithm capable of complete enumeration of the Rashomon set for sparse decision trees. TreeFARMS leverages three core innovations:

  1. Analytical Pruning: By using sophisticated lower bounds, the algorithm can mathematically prove that certain branches of the search space cannot contain any models within the Rashomon threshold, allowing it to discard them instantly.
  2. Model Set (MS) Representation: Instead of storing every tree individually, TreeFARMS uses a hierarchical data structure that groups subproblems. This allows billions of trees to be stored efficiently in memory by sharing common sub-structures.
  3. Feasibility Framing: The problem is reframed from finding a single global minimum to identifying the entire "feasible region" of models meeting a performance threshold.

Experimental Results and the "Sliver" Discovery

The authors evaluated TreeFARMS across 14 diverse datasets, including social data (COMPAS), financial data (FICO), and standard UCI benchmarks. The results revealed a startling reality: traditional baselines only find a "tiny sliver" of the available high-performing models.

TreeFARMS finds orders of magnitude more models than traditional baselines across various datasets.

As shown in the figure above, while baselines like BART or Random Forests (RF) identify only a handful of models, TreeFARMS (purple line) enumerates millions. For the Monk2 dataset, TreeFARMS found $10^8$ distinct trees in under a minute, whereas BART found fewer than 500.

Beyond sheer enumeration power, TreeFARMS is remarkably fast. On the COMPAS dataset, it identified nearly 90,000 trees per second. The algorithm's efficiency allows it to scale across different complexity penalties ($\lambda$) and Rashomon thresholds ($\epsilon$).

TreeFARMS maintains high efficiency across different datasets and parameter settings, finding thousands of trees per second.

Applications and Insights

The ability to view the entire Rashomon set changes how we interpret models:

  • Robust Variable Importance: Instead of looking at feature importance for one tree, we can calculate Model Class Reliance (MCR)—the range of importance for a variable across all good models.
  • Metric Flexibility: A Rashomon set built for accuracy can be queried to find models that also perform well on Balanced Accuracy or F1-score without re-running the search.
  • Structural Diversity: Within the same Rashomon set, one can find extremely simple models (e.g., a single root node) and more complex ones that achieve the same accuracy, giving users the freedom to choose the most intuitive structure.

Conclusion

TreeFARMS moves machine learning away from "black-box" single-model outputs toward a more transparent, user-centric approach. By providing a complete menu of high-performing, interpretable models, it empowers practitioners to make informed choices based on criteria that go beyond simple loss functions. While currently limited to sparse trees with discretized features, this work sets a new precedent for exploring the vast landscape of almost-optimal models.

Summary updated

BibTeX
@inproceedings{xin2022exploring,
  author = {Rui Xin and Chudi Zhong and Zhi Chen and Takuya Takagi and Margo I. 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