When, how long and how much? Interpretable neural networks for time series regression by learning to mask and aggregate
Abstract Time series extrinsic regression (TSER) aims to predict a continuous target variable from an input time series. It arises in domains such as healthcare, finance, environmental monitoring, and engineering, where both accuracy and interpretability are essential. Despite strong predictive performance, state-of-the-art TSER models typically operate as black boxes, making it difficult to understand which temporal patterns drive their predictions. Post-hoc explanation methods attempt to address this issue but often produce coarse, noisy, or unstable explanations. Inherently interpretable approaches based on additive decompositions or concepts offer an alternative, yet they often require concept supervision, struggle to capture multivariate interactions, and lack expressiveness for complex temporal patterns. To address these limitations, we propose Mask-and-Aggregate Networks for Time Series (MAGNETS), an inherently interpretable neural architecture for TSER. MAGNETS learns a compact set of human-understandable concepts directly from data, without requiring concept annotations. Each concept corresponds to a learned, mask-based aggregation over selected input features, revealing both which features influence the prediction and when they matter. Predictions are expressed as transparent combinations of these concepts, yielding faithful, input-specific explanations by design. Experiments on synthetic and real-world univariate and multivariate TSER datasets show that MAGNETS achieves accuracy comparable to black-box models while substantially outperforming existing interpretable baselines, particularly on tasks involving multivariate feature interactions.
Authors
- Anlei Wei (ORCID: https://orcid.org/0000-0003-1901-4237)
- Florent Forest (ORCID: https://orcid.org/0000-0001-6878-8752)
- Olga Fink (ORCID: https://orcid.org/0000-0002-9546-1488)
Institutions
- International Institute for Management Development (CH)
- École Polytechnique Fédérale de Lausanne (CH)
Publication Details
- Journal
- Data Mining and Knowledge Discovery
- Published
- 2026-09-21
- DOI
- https://doi.org/10.1007/s10618-026-01267-y
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- Monash University