TL;DR
When building interpretable machine learning models for high-stakes decisions, there is rarely just one "right" explanation for the data—there is usually a whole crowd of equally accurate models, known as a Rashomon set. This paper introduces GRAM, an algorithm that uncovers a structurally diverse menu of near-optimal Generalized Additive Models (GAMs). Instead of locking domain experts into a single fixed set of features, GRAM efficiently explores thousands of feature combinations, giving practitioners genuinely different, actionable alternatives without sacrificing accuracy.
What Problem Does This Paper Address?
Imagine handing a doctor an interpretable predictive model. They inspect it, spot a weird quirk in how it handles patient age, and ask you to tweak it. Because standard algorithms return just one model, every request triggers a tedious retraining loop—an "interaction bottleneck."
The Rashomon set paradigm fixes this by finding all near-optimal models upfront, letting experts browse and pick one that fits domain constraints. This works particularly well with Generalized Additive Models (GAMs), which break predictions down into simple 2D graphs (shape functions) showing how each individual feature—discretized into step-like bins—affects the outcome.
However, finding the full Rashomon set for sparse GAMs is combinatorially explosive. Previous state-of-the-art work made this tractable by locking in a single "support set" (a fixed selection of active feature bins) and wiggling the continuous weights inside an ellipsoid. While clever, that approach only captures one narrow slice of reality:
Notice how all the red curves above jump at the exact same horizontal thresholds? That means you miss out on equally accurate models that rely on completely different features or thresholds. Brute-forcing every possible subset of thousands of binned features is impossible, so how do we efficiently sample across structurally distinct models?
Methods
The authors propose GRAM (GAM Rashomon-Sets via Adaptive MCMC), which reframes the hunt for good feature subsets as Bayesian posterior inference, and then intentionally bends the rules to maximize diversity.
Here is how GRAM blends standard building blocks with novel tricks:
- Diversity-Biased Metropolis-Hastings (Novel): GRAM walks through the space of support sets using Markov-Chain Monte Carlo (MCMC), scoring candidates via a Laplace approximation. Crucially, the authors inject a diversity penalty directly into the acceptance ratio—measuring things like Jaccard feature distance or monotonicity entropy (whether models disagree on a feature's trend going up, down, or neither). This deliberately breaks standard MCMC detail-balance to push the search toward unexplored model structures, while a strict Rashomon bound check ensures bad models never sneak in.
- Adaptive Proposals & Smoothness Guidance (Novel): An adaptive proposal distribution learns on the fly whether swapping, adding, or removing features yields better acceptances. Meanwhile, a smoothness prior guides the chain away from jagged, hard-to-read step jumps.
- Single-Coordinate Fine-Tuning (Novel): Re-fitting logistic regression at every MCMC step is slow. The authors prove mathematically that when swapping two highly correlated features, optimizing only the new feature's weight gets you nearly the exact same loss—allowing GRAM to skip full re-solves most of the time.
- Growing Ellipsoids (Standard): Once GRAM collects diverse support sets, it uses prior work's convex optimization method to grow a local ellipsoid around each one, sampling valid GAMs from the union of all ellipsoids.
Datasets
No new benchmarks were introduced. The authors evaluated GRAM on 10 established tabular datasets: Compas, FICO, NIJ Recidivism, Covertype, MGH, Student, Wine, Heart, Adult, and Spambase. Continuous and categorical features were heavily binarized into candidate thresholds, creating massive search pools often numbering in the thousands of binary features.
Key Insights and Ideas
- Variable importance is way more fluid than single-support sets suggest: A feature that looks completely indispensable in one model slice might be totally absent in another equally accurate GAM. By jumping across support sets, GRAM captures true structural multiplicity:
- Breaking MCMC fidelity is a feature, not a bug: Normally, MCMC aims to faithfully reproduce a probability distribution. Here, sacrificing detail-balance via a diversity term turns a posterior sampler into an active exploration engine—without hurting model quality, since every accepted model still has to clear the accuracy bar.
- Correlation is a computational shortcut: Proving that coordinate-descent suboptimality scales with $(1 - \rho^2)$ (where $\rho$ is feature correlation) turns redundant, correlated tabular bins from a nuisance into a massive runtime speedup.
Key Results
- Superior Structural Diversity: Tested across 40
(dataset, tolerance)configurations against five baselines (including beam-search swapping, bootstrapping, and single ellipsoids), GRAM won the most configurations on 3 out of 4 diversity metrics: Monotonicity Entropy ($31.6 \pm 1.9$ wins), Jaccard Support Diversity ($29.4 \pm 3.6$), and Prediction Hamming Distance ($16.4 \pm 2.7$), coming in second on $L_1$ weight distance. - 100% Coverage: Unlike random-support baselines that struggled to find valid models (achieving $<6\%$ coverage), GRAM produced valid multi-model Rashomon sets in 100% of runs.
- 2–3x Speedup: Lowering the correlation threshold to trigger single-coordinate fine-tuning made GRAM 2 to 3 times faster than full logistic regression re-solving.
- Rapid Space Coverage: When clustering a massive run of $10^5$ sampled models into $K=100$ clusters, just the first 5% (5,000 models) generated by GRAM already covered 74.6% to 100% of the clusters across all 10 datasets.
Limitations and Future Work
- Speed vs. Sampler Efficiency Tradeoff: While aggressive single-coordinate fine-tuning slashes runtime by 2–3x, the authors note that overusing it can shrink the size of the resulting Rashomon set and reduce the efficiency of the MCMC sampler (requiring periodic full re-solves every 50 steps to prevent drift).
- Real-World Human-AI Collaboration: While GRAM successfully generates mathematically diverse model menus, the authors leave studying how domain experts actually interact with and select from this newfound diversity in real-world, high-stakes settings to future work.
Summary updated