REALM: Regime-Switching, Explainable, and Activation-Induced Linear Models
Organizations: Department of Statistics, The Pennsylvania State University, University Park, PA 16802 USA · H. Milton Stewart School of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, GA 30332 USA
Abstract
Deep ReLU networks are piecewise-affine mappings that partition the input space into cells, each characterized by a distinct activation pattern. This structure motivates fitting a local linear model within each cell to preserve predictive accuracy while improving interpretability. The challenge is to identify regimes that are stable, data-adaptive, and easy to explain. We propose REALM, a mixture of linear models whose regimes are induced by neural activation patterns. Because the number of activation cells in a deep neural network (DNN) can grow rapidly with depth, we first distill a deep teacher into a wide, shallow student network (WSSN), then binarize and cluster its hidden-layer activations to define the regimes and fit a linear model within each regime. Since the regimes are discovered from internal structure, the router does not carry the predictive burden. To make regime assignment interpretable, we train a multiclass logistic regression, the explanatory gate, to reproduce the regime assignments. The two-level structure is interpretable at both stages in terms of raw tabular or learned convolutional features: the gate identifies features that determine regime assignments, while the linear models identify features that drive predictions within each regime. We analyze an idealized setting that illustrates a trade-off between partition complexity and stability: as the number of regimes grows, finer partitions can improve approximation but may reduce regime-assignment stability. Experiments on tabular and image datasets show that REALM achieves competitive predictive performance relative to other DNN-guided mixture surrogates and inherently interpretable models while producing stable regime-level explanations.
Figures & tables
| Bike Sharing | Cal. Housing | Covertype | MNIST | Flowers | CIFAR-10 | |
| Train / validation / test | 64/16/20% | 64/16/20% | 64/16/20% | 48k/12k/10k | 2,569/550/551 | 45k/5k/10k |
| Batch size | 256 | 256 | 512 | 300 | 32 | 200 |
| Learning rate (teacher) | ||||||
| Learning rate (Stage 1) | ||||||
| Learning rate (Stages 2–3) | ||||||
| Representation dimension | 19 | 8 | 54 | 2,304 | 384 | 384 |
Interpretable ML
Interpretable machine learning develops models and explanations that make predictions, evidence, and decision processes understandable to people.
See all 297 papers