TL;DR
AnchorMoE is an "interpretable-by-construction" framework for multivariate time series classification that builds transparency directly into the model's forward pass. By routing local time-series patches through a specialized Mixture-of-Experts (MoE) architecture constrained by geometric orthogonality and an uncertainty-aware reliability gate, it delivers state-of-the-art classification accuracy while providing exact, human-readable explanations of its decisions.
What Problem Does This Paper Address?
In high-stakes domains like clinical diagnostics and industrial fault detection, deep learning models must not only be accurate but also transparent. If a model predicts equipment failure or patient deterioration, engineers and doctors need to know exactly which temporal segments triggered that decision.
Isolating these signals is notoriously difficult because discriminative features in multivariate time series (MTS) are typically sparse, highly heterogeneous across different variables, and buried under heavy background noise.
To explain these models, practitioners usually rely on post-hoc attribution methods (e.g., Integrated Gradients, SHAP, or perturbation masks). However, these methods are decoupled from the model's actual predictive mechanics, meaning they approximate—and can easily hallucinate—what the model is doing.
An alternative is to build inherently interpretable, "ante-hoc" additive models. While Mixture-of-Experts (MoE) architectures naturally lend themselves to this, standard MoE routing fails for time series. Traditional load-balancing objectives force experts to divide data evenly, compelling them to absorb uninformative background noise and suffer from representation collapse rather than isolating distinct, sparse patterns.
Methods
AnchorMoE solves this by transforming multivariate time series classification into an interpretable-by-design expert-routing problem. The architecture consists of three core components:
- Multi-View Representation Embedding (MVRE): Instead of looking at raw patches in isolation, MVRE extracts a holistic semantic representation for each local patch by fusing three distinct views: temporal morphology (local shape), spectral content (via Fast Fourier Transforms), and global context (how the patch relates to the entire sequence centroid).
- Diversified Posterior-Anchor Routing (DPAR): To prevent experts from learning redundant representations, DPAR calculates a "posterior anchor"—a routing-weighted centroid of all patches assigned to an expert. It then applies a geometric orthogonality constraint ($\mathcal{L}_{\text{orth}}$) that penalizes similarity between these anchors, forcing distinct experts to specialize in unique predictive patterns.
- Reliability-Gated Composition (RGC): To stop background noise from corrupting the final prediction, the RGC evaluates the confidence of each expert's output. It computes a global admission weight ($\pi_p$) via an uncertainty-aware reliability gate, dynamically downscaling or silencing uninformative patches before aggregating them into the final additive logit.
Because the final prediction is a direct summation of these calibrated patch-expert paths, the model's explanation is perfectly homologous to its computation.
Datasets
The authors evaluated AnchorMoE on two distinct suites of datasets:
- UEA Multivariate Time Series Classification Archive: 18 diverse real-world datasets spanning various domains, sequence lengths, and dimensionalities (e.g., CharacterTrajectories, NATOPS, Cricket, Heartbeat).
- Synthetic Benchmarks: Four newly constructed datasets designed with controlled distractors and explicit ground-truth masks to rigorously test evidence localization: Localized-Context, Composition-Context, Distractor, and Multi-Distractor.
Key Insights and Ideas
- No Interpretability Tax: A common assumption in machine learning is that enforcing strict interpretability requires sacrificing predictive power. AnchorMoE turns this on its head by demonstrating that structuring the model to find clean, non-redundant representations actually improves classification performance.
- Architectural Decoupling: Ablation studies revealed a fascinating division of labor within the network. The DPAR component (expert diversity) primarily drives classification accuracy, while the RGC component (reliability gating) is what ensures faithful evidence localization by filtering out background noise.
- Zero-Cost Explanations: Because the patch-level attributions are explicitly computed during the forward pass, extracting explanations requires no additional backward passes or post-hoc perturbations, making the framework highly scalable.
Key Results
Classification Performance
AnchorMoE achieved dominant results across the 18 UEA datasets, securing the lowest average rank against nine strong baselines (including PatchTST, TimesNet, and MPTSNet). It ranked first in 28 out of 36 dataset-metric entries, showing a particularly massive advantage on datasets characterized by localized, non-stationary signals like Cricket (0.995 accuracy vs. FEDformer's 0.449).
Explanation Faithfulness
On synthetic benchmarks, AnchorMoE drastically outperformed post-hoc explainers in localizing true class-defining motifs. In the presence of heavy noise and salient distractors (Multi-Distractor), AnchorMoE maintained high AUPRC and Precision@K, whereas traditional gradient methods degraded to near-random performance.
Limitations and Future Work
While highly effective, the authors note that AnchorMoE’s strictly additive formulation limits its ability to capture higher-order feature interactions between different temporal segments (e.g., if feature A is only meaningful when followed by feature B). Additionally, the aggressive reliability gate can occasionally suppress subtle contextual cues.
The authors suggest that future work will focus on relaxing these additive constraints to capture segment interactions and extending the anchor-routing paradigm to broader domains like industrial anomaly detection and weather forecasting.
Summary updated