The Rashomon Set: Why Two “Equally Good” Models Can Tell You Completely Different Stories
From the publisher’s feed, collected in the ZeroLabs newsroom.
The “Best Model” Isn’t Always the Most Trustworthy ExplanationImage generated by the authorImagine you’re in a Quarterly Business Review meeting and a stakeholder asks you what’s driving customer churn. You run your churn prediction model and the answer appears to be straightforward: tenure. The outcome is clear and the feature importance seems convincing, so you confidently put the statement “Tenure is the biggest driver of churn” in your presentation.But here’s the uncomfortable part that many overlook. If you retrain the same model on a slightly different sample of your data, it might tell you a completely different story. Suddenly, support ticket sentiment could become the most important driver instead of tenure. The accuracy and F1 score will essentially be unchanged, yet the explanation will be flipped. And unless you know to look for it, you probably will not notice, because the metric you’re using to evaluate the model performance says nothing about whether the explanation itself is stable.I used to think feature importance was a solid fact, but I noticed it varied each time I retrained the model. That rabbit hole led me straight to the idea of the “Rashomon Set”, which means that several models can fit the same data just as well but tell different stories. Most of us train different models, whether it is Random Forest, XGBoost, or Logistic Regression. We then pick the one with the highest AUC or lowest RMSE and treat its feature importance as if it were the definitive explanation. In reality, though, it’s often just one possible explanation out of many.I think this is one of the biggest mistakes people make in model interpretability and explanation. We treat feature importance as evidence, even though it’s often just an artifact of a single training run. Given that, which model would you trust? The honest answer is that, based on accuracy alone, you have no good reason to prefer one model over the other.What is a Rashomon set?Most real-world datasets don’t have one best model. Instead, there are often dozens of models with different algorithms, regularization strengths, random seeds, or even completely different structures, that all perform almost identically and land within a rounding error of each other in terms of accuracy. Yet they can completely disagree about which variables matter most and why they’re making their predictions. This group of models that all perform equally well is called the Rashomon set, a term first introduced by statistician Leo Breiman and later formalized by Cynthia Rudin and collaborators. The name comes from Akira Kurosawa’s 1950 film Rashomon, in which four witnesses describe the same event in four contradictory yet equally believable ways. The facts haven’t changed, only the perspective has shifted.Choosing “the best model” doesn’t necessarily answer the question. It only tells you which version of the story you’re choosing to believe. This is also not a vague statistical edge case. It regularly occurs in real-world machine learning applications. Whether you’re predicting customer churn, fraud, credit risk, or lifetime value, you’ll often come across multiple models that perform equally well but explain their predictions differently. This is especially common when features are even slightly correlated, which is true for most real-world datasets.This used to be easier to overlook.Most teams aren’t hand-picking models anymore. They are outsourcing model selection to automation. Someone kicks off an AutoML job, waits twenty minutes and then ships whichever model edges out the rest by 0.2%. That’s efficient but it also means the model explaining your data is often whichever configuration happened to edge out the others by a fraction of a percentage point on a validation set. I’ve built enough predictive models to know how easy it is to accept the winner at face value. If one model beats the others by even a fraction of a percent, that’s usually the one we keep. We rarely pause to ask whether its explanation is meaningful or just the one this particular training run happened to produce.However, model interpretability is no longer a nice-to-have feature. In many industries, it’s a compliance requirement. Regulated industries need to explain what’s driving a credit decision, an insurance premium, or a churn intervention, and therefore, “the model said so” no longer holds up anymore. If the explanation you present depends on a coin flip you didn’t realize you were making, that’s worth understanding before it becomes someone else’s problem whether an auditor’s, a regulator’s, or a customer’s.Watching it happen: two models, one dataset, opposite storiesWe’ll train two identical models on the same dataset. They’ll achieve nearly identical F1 scores, yet tell completely different stories about what’s driving churn. One says tenure drives churn, whereas the other says support ticket sentiment does. They both are technically correct, however, neither represents the truth and each is simply one plausible explanation.Real-world churn data makes this easy to trigger, because tenure and support ticket sentiment are rarely independent. Unhappy customers tend to both leave sooner and file worse tickets. These are two visible symptoms of the same underlying problem. So I simulated that relationship directly: one latent “at-risk” signal, with tenure and sentiment as two noisy, correlated (r = 0.83) proxies for it.Then I trained the same model type (L1-regularized logistic regression) twice, on two different bootstrap resamples of the training data. There’s no different algorithm and no cherry-picking, but just the ordinary variation you’d get from a different train/ validation split or a different week’s data pull.# Importing the required packagesimport numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression from sklearn.preprocessing import StandardScaler from sklearn.metrics import f1_score # Simulate churn data where tenure and ticket sentiment are two correlated (~0.83) proxies for the same underlying risk.np.random.seed(7)n = 4000# Creating a latent "true" churn-risk factor as an array of random numbers that follow a normal distribution.risk = np.random.normal(0, 1, n)# Tenure: a noisy proxy for risk (lower tenure = higher risk)tenure_months = -risk + np.random.normal(0, 0.45, n)# Sentiment: a second, independently-noisy proxy for the same risksupport_ticket_sentiment = -risk + np.random.normal(0, 0.45, n)# Irrelevant feature: monthly bill amount, unrelated to churnmonthly_charges = np.random.normal(70, 20, n)# Irrelevant feature: login count in the last 30 daysnum_logins_30d = np.random.poisson(15, n)# Converting latent risk into a churn probability via a logistic curvechurn_prob = 1 / (1 + np.exp(-(risk - 0.1)))# Drawing the actual binary churn outcome (0/1) from that probabilitychurn = np.random.binomial(1, churn_prob)# Assembling all features and the target into one dataframedf = pd.DataFrame({ "tenure_months": tenure_months, "support_ticket_sentiment": support_ticket_sentiment, "monthly_charges": monthly_charges, "num_logins_30d": num_logins_30d,})# Pearson correlation between the two featurescorrelation = df["tenure_months"].corr(df["support_ticket_sentiment"])print(f"Correlation between tenure and sentiment: {correlation:.3f}")# full correlation matrix across all featuresprint(df.corr()) # Standardizing all features so coefficients are comparableX = pd.DataFrame(StandardScaler().fit_transform(df), columns=df.columns) # Target vector: whether the customer churnedy = churn # Splitting data into train (70%) and test (30%) setsX_train, X_test, y_train, y_test = train_test_split( X, y, test_size=0.3, random_state=1, stratify=y )# Training the same model on two different bootstrap resamplesdef fit_bootstrap_model(seed): idx = np.random.RandomState(seed).choice(len(X_train), len(X_train), replace=True) # draw a resample (same size, with replacement) Xb, yb = X_train.iloc[idx], y_train[idx] # build the resampled training set from those indices model = LogisticRegression(penalty="l1", solver="liblinear", C=0.3, random_state=seed) # L1 penalty forces sparse, competing coefficients model.fit(Xb, yb) return model model_a = fit_bootstrap_model(seed=12) # Model A: trained on bootstrap resample #1model_b = fit_bootstrap_model(seed=10) # Model B: trained on bootstrap resample #2# F1 scores on the test setsf1_a = f1_score(y_test, model_a.predict(X_test)) f1_b = f1_score(y_test, model_b.predict(X_test)) print(f"Model A F1: {f1_a:.3f}") print(f"Model B F1: {f1_b:.3f}") # Each model's coefficients, sorted by magnitude and what each model says drives churncoefs_a = pd.Series(model_a.coef_[0], index=X.columns).sort_values(key=abs, ascending=False) coefs_b = pd.Series(model_b.coef_[0], index=X.columns).sort_values(key=abs, ascending=False) print(coefs_a) print(coefs_b)Output:Model A F1: 0.638Model B F1: 0.643Model A coefficients:tenure_months: -0.577support_ticket_sentiment: -0.330Model B coefficients:support_ticket_sentiment: -0.551tenure_months: -0.400Let’s start with the F1 scores: 0.638 versus 0.643. They’re essentially identical. That’s not a meaningful difference and it’s the kind of gap you’d wave away as noise in any real evaluation. Now, let’s look at the coefficients. Model A tells one story: customers churn because they’re new. Model B tells another: they churn because they’re unhappy with support. Neither story is wrong. The data simply can’t distinguish between them. Despite using the same data, the same model family, and the same evaluation metric, they reach opposite conclusions.Why this happens?The mechanism is simpler than it may seem. By applying L1 regularization, correlated features end up competing for importance. If two features are carrying almost identical information, the optimizer has no basis for choosing one over the other and is merely attempting to minimize the total magnitude of the coefficients while satisfying the loss function. Since small differences in the training data can cause the competition to go one way or the other, there is no principled reason for it to land consistently on the same side.I’ve seen one churn model recommend investing in customer success because tenure dominated the coefficients. Two weeks later, retraining on fresh data shifted almost all of that importance into support interactions. The model performance barely changed. What changed was the recommendation. Both models generalize just as well as each other. The F1 score gives no indication that the recommendation itself could flip depending on which bootstrap sample happened to get used.And this isn’t unique to these models. Any time a single model gets pulled out of a tied field and its feature importances get reported as ground truth, you might be reporting an artifact of that specific fit, and not a real signal in your data. Essentially, you’re reporting whichever story the training sample and random seed happened to produce.Now, the example we saw above has an obvious limitation. I engineered the correlation between tenure and sentiment deliberately, and I used L1 regularization specifically because it’s known to split credit unstably between correlated features. A model with L2 regularization or a tree ensemble might show a smaller effect. It isn’t that every pair of models will disagree this dramatically. It’s that the possibility exists whenever correlated features are present, and a single accuracy or F1 score will never reveal it.What can we do about it?A single model’s importance ranking can’t be trusted on its own. The fix is less about finding a better model and more about changing what gets measured.The first thing I look at now is feature correlation. It helps to catch the problem earlier, before fitting the model. If two features are running at 0.8 or above, that’s the root cause, not the model. In this case, either combine them into one composite signal (a PCA component, or a domain-informed “customer distress score”) or switch to Elastic Net instead of pure L1. It combines the regularization strengths of both L1 (Lasso) and L2 (Ridge) methods, prevents overfitting and is particularly useful when there are highly correlated features to shrink those features together rather than arbitrarily picking a winner.Instead of trusting a single model’s feature importance, sample the Rashomon set. Fit several models with different bootstraps, seeds, regularization strengths, or different algorithms entirely, then keep the ones that land within some tolerance of the best F1, and look at the range of importance each feature gets across that set. If your top predictors keep reshuffling or a feature swings from dominant to barely-used while accuracy barely changes, you’re standing inside a Rashomon set. That range is the honest answer because the data simply can’t tell you which feature matters more. The size of the range isn’t the only thing that matters. Watch what happens to it as you widen the Rashomon set. If the same feature stays important across reasonable tolerance levels, that’s evidence of a stable explanation. If the ranking changes dramatically, that instability is part of the result, not something to hide by choosing a narrower band. This is essentially what Aaron Fisher, Cynthia Rudin, and Francesca Dominici formalized as “Model Class Reliance” in their 2019 paper reporting a plausible range of importance instead of a single clean number.I almost never trust SHAP from a single model anymore. If the explanation changes every time the training sample changes, that’s telling me something important. The same instability appears in SHAP and permutation importance. Averaging them across many equivalent models gives a much more reliable picture than interpreting a single model. If attributions for a feature swing wildly across otherwise equivalent models, that’s a sign to flag it as unstable instead of presenting it as a clean driver.If the business decision actually hinges on which one it is, don’t model your way out, instead run an experiment. Sometimes none of this fully resolves the question, and that’s fine. It means the question isn’t really a modeling question anymore. If a business decision genuinely hinges on which of two correlated features is the real driver, don’t try to model your way out of it. Observational importance can’t distinguish correlated proxies from each other; only an intervention can. If leadership needs to choose between funding retention outreach or fixing the support queue, the more honest move is an A/B test, not a fancier model.And when you report importance, make sure to include the caveat from the start, rather than adding it on later. Here is an example: “Tenure and support sentiment are highly correlated (r = 0.83) and both plausible drivers. Our models split credit between them depending on the training sample. We recommend treating this as one ‘at-risk’ signal rather than attributing causality to either individually, or running a targeted experiment before allocating budget based on this”.Where this leaves you?We spend far too much time debating which model is the “best” and almost no time asking whether the explanation will survive retraining. If retraining changes the story, the problem isn’t your model. It’s that your data doesn’t contain enough information to answer the question you’re asking.Accuracy tells you a model works. It says nothing about why. And when several models work equally well, “why” might depend entirely on which one you happened to pick. The fix isn’t a better single model. It’s abandoning the habit of treating one model’s feature importance as settled fact. That habit breaks down wherever correlated features exist, and in customer analytics, that’s almost everywhere. Which is why you should be more careful before you put “Feature X drives Outcome Y” in a presentation.Next time a model hands you a clean, confident driver of churn, don’t just check its accuracy. Retrain it on a different sample and see if the story holds. If it doesn’t, you haven’t found a bug, you’ve found the edge of what your data can actually tell you, and that’s worth knowing before it ends up in someone else’s decision.The Rashomon Set isn’t a modeling problem but more of an information problem. The models disagree because the data can’t distinguish between two competing explanations. Once you see the problem as one of information rather than modeling, the recommendations start to make more sense. You’re no longer searching for the ‘right’ model, you’re trying to understand what the data can and cannot tell you.Reference:Fisher, A., Rudin, C., & Dominici, F. (2019). All Models are Wrong, but Many are Useful: Learning a Variable’s Importance by Studying an Entire Class of Prediction Models Simultaneously. Journal of Machine Learning Research, 20(177), 1–81.The Rashomon Set: Why Two “Equally Good” Models Can Tell You Completely Different Stories was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.