Interpretable Mixture of Experts

Aya Abdelsalam Ismail, Sercan O Arik, Jinsung Yoon, Ankur Taly, Soheil Feizi, Tomas Pfister

Abstract

The need for reliable model explanations is prominent for many machine learning applications, particularly for tabular and time-series data as their use cases often involve high-stakes decision making. Towards this goal, we introduce a novel interpretable modeling framework, Interpretable Mixture of Experts (IME), that yields high accuracy, comparable to 'black-box' Deep Neural Networks (DNNs) in many cases, along with useful interpretability capabilities. IME consists of an assignment module and a mixture of experts, with each sample being assigned to a single expert for prediction. We introduce multiple options for IME based on the assignment and experts being interpretable. When the experts are chosen to be interpretable such as linear models, IME yields an inherently-interpretable architecture where the explanations produced by IME are the exact descriptions of how the prediction is computed. In addition to constituting a standalone inherently-interpretable architecture, IME has the premise of being integrated with existing DNNs to offer interpretability to a subset of samples while maintaining the accuracy of the DNNs. Through extensive experiments on 15 tabular and time-series datasets, IME is demonstrated to be more accurate than single interpretable models and perform comparably with existing state-of-the-art DNNs in accuracy. On most datasets, IME even outperforms DNNs, while providing faithful explanations. Lastly, IME's explanations are compared to commonly-used post-hoc explanations methods through a user study -- participants are able to better predict the model behavior when given IME explanations, while finding IME's explanations more faithful and trustworthy.

Introduction

In high-stakes domains like healthcare, finance, and retail, the opacity of state-of-the-art Deep Neural Networks (DNNs) poses a significant barrier to trust and adoption. While simple models like linear regression offer transparency, they often lack the capacity to capture complex, non-linear patterns in large-scale tabular and time-series data. Current solutions frequently rely on "post-hoc" explanation methods (e.g., SHAP or LIME), which approximate model behavior after the fact but can be unfaithful to the actual decision-making process. The Interpretable Mixture of Experts (IME) framework addresses this by creating models that are inherently interpretable—where the explanation is the model itself—without sacrificing predictive performance.

Methodology

The core of the IME framework is a Mixture of Experts (MoE) architecture. Instead of a single monolithic model, IME employs an Assignment Module (a router) that directs each data sample to a specific Expert for prediction.

Architectural variants of IME based on the interpretability of the assignment module and the experts.

As shown in Figure 1, the framework supports several configurations:

  1. Standalone IME (S-IME): All experts are interpretable models (e.g., Linear Regression or Soft Decision Trees). The assignment module can be either interpretable (S-IME$_i$) or a DNN (S-IME$_d$).
  2. Hierarchical IME (H-IME): A hybrid approach where the router assigns "easy" samples to interpretable experts and "hard" samples to a pre-trained black-box DNN. This allows for a tunable trade-off between global accuracy and the percentage of samples that receive transparent explanations.

To optimize these models, the authors introduced novel training objectives, including Expert Diversity Loss to encourage specialization, Utilization Loss to ensure all experts are effectively used, and Smoothness Loss for time-series data to maintain stable explanations over time.

Key Insights and Results

Evaluated across 15 diverse datasets, IME consistently matched or exceeded the performance of black-box models like LSTMs, Transformers, and Gradient Boosted Trees (XGBoost, CatBoost).

The Accuracy-Interpretability Trade-off

A key finding is the "40% Rule": in tasks like the Rossmann retail sales prediction, approximately 40% of samples could be handled by simple interpretable experts with no loss in accuracy compared to a full DNN. This suggests that many real-world data points do not require the complexity of a black box.

Performance trade-off curves for H-IME variants, showing RMSE as a function of the percentage of samples assigned to interpretable experts.

As illustrated in Figure 5, H-IME allows practitioners to choose their desired level of interpretability. Even when 100% of samples are assigned to interpretable experts (S-IME), the model often maintains competitive RMSE compared to pure black-box baselines (MLP).

Faithfulness and Trust

In a user study comparing IME's inherent explanations to SHAP, participants were 27% more accurate at predicting model behavior when using IME. Furthermore, 87% of participants found IME's explanations more trustworthy, as they represent the exact mathematical logic used for the prediction rather than a post-hoc approximation.

Conclusion

IME bridges the gap between accuracy and transparency for structured data. By partitioning the data space into specialized "neighborhoods" handled by simple experts, it achieves high performance while remaining faithful to its explanations. While currently focused on tabular and time-series data, future research will explore extending this hierarchical routing logic to unstructured domains like computer vision and natural language processing.

Summary updated

BibTeX
@article{ismail2023interpretable,
  author = {Aya Abdelsalam Ismail and Sercan O Arik and Jinsung Yoon and Ankur Taly and Soheil Feizi and Tomas Pfister},
  title = {{Interpretable Mixture of Experts}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=DdZoPUPm0a},
}
Figure