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. 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 and finance, understanding the reasoning behind a model's decision is often as critical as the decision itself. While Deep Neural Networks (DNNs) dominate performance on structured data (tabular and time-series), their opaque nature poses significant risks. Current solutions typically force a choice between inherently interpretable but low-capacity models (like linear regression) or post-hoc explanation methods (like SHAP or LIME) that only approximate a black-box model's logic. The Interpretable Mixture of Experts (IME) framework addresses this accuracy-interpretability trade-off by creating a model complex enough to be accurate while remaining structurally transparent.
The IME Framework
IME utilizes a Mixture of Experts (MoE) architecture specifically tailored for transparency. The framework consists of two primary components: an Assignment Module (a router that directs samples to specific experts) and a bank of Interpretable Experts (simple models like linear regression or shallow decision trees).
By partitioning the data space, IME allows different simple models to specialize in specific subsets of the data. This "divide and conquer" approach enables the aggregate model to capture complex patterns without sacrificing the interpretability of individual predictions. Because the explanation for any given sample is simply the weights of the active expert, the resulting explanations are 100% faithful to the model's actual logic.
Key Innovations
Hierarchical Assignment (H-IME)
A significant advancement in this framework is the Hierarchical IME (H-IME). In this configuration, a DNN first determines if a sample is "easy" or "hard." Easy samples are routed to an interpretable expert, while hard samples are handled by a high-capacity black-box DNN. This allows practitioners to tune the ratio of interpretable vs. high-accuracy predictions based on their specific needs.
Specialized Loss Functions
To ensure effective training, IME employs several specialized loss functions:
- Diversity Loss: Uses contrastive learning to force experts to specialize in different regions of the data.
- Utilization Loss: Prevents "expert collapse" by ensuring all experts in the bank are utilized across the dataset.
- Error-Based Routing: For time-series data, the assignment module can use the past errors of experts as input, dynamically switching to the most reliable expert for the current context.
Results and Discussion
Evaluated across 15 datasets, IME demonstrated performance on par with or exceeding state-of-the-art DNNs. In time-series forecasting, IME outperformed standard LSTMs and Transformers in 16 out of 24 univariate scenarios.
A key finding is the "Easy Sample Hypothesis": a large portion of real-world data is sufficiently simple to be captured by linear experts. On the Rossmann dataset, for instance, 40% of samples could be handled by interpretable experts with negligible loss in total accuracy. Furthermore, a user study revealed that participants were 69% accurate at predicting model behavior using IME explanations, compared to 42% with SHAP, with 87% of users finding IME more trustworthy.
Conclusion
IME bridges the gap between performance and transparency for structured data. By providing a sliding scale of interpretability and 100% faithful local explanations, it offers a robust alternative to black-box models in sensitive applications. Future work will explore extending these principles to unstructured data types like images and natural language.
Summary updated