Learnable Time-Frequency Masks for Explaining Time-Series Classifiers
Theresa Dahl Frehr, Francisco Pelayo, Lukas Raad, Alicia García Sanz, Thea Brüsch, Tommy Sonne Alstrøm
Key points
From the paper's conclusion- These results demonstrate that learning explanations directly in time-frequency representations offers a flexible approach to interpreting deep-learning models for time series data.
Abstract
Time-series explainability remains challenging because discriminative information is often encoded in latent frequency or time-frequency features rather than in the raw signal itself. Existing attribution methods typically operate either in the time domain or in a fixed transform domain, limiting their ability to capture salient information across different representations. We propose XACT, a general framework that learns sparse attribution masks over coefficients from arbitrary invertible time-frequency transforms. We evaluate the framework on the STFT, the continuous wavelet transform, and the discrete wavelet transform. In addition, we extend the virtual inspection layer approach from the STFT to both wavelet transforms, enabling LRP to generate explanations in these representations. On a synthetic dataset, XACT produces precise explanations and is less prone to highlighting spurious features than the tested baselines. Across two real-world datasets, XACT produces sparse and structured explanations, although no method performs best across all quantitative evaluation criteria. These results demonstrate that learning explanations directly in time-frequency representations offers a flexible approach to interpreting deep-learning models for time series data.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GRAIL: From Saliency to Semantics in Time-Series ExplanationarXiv · 2026
- Explaining Time Series Forecasting with Horizon-Resolved AttributionarXiv · 2026
- WinoTS: Wavelet-based Self-Distillation for Time Series ModelsarXiv · 2026
- Frequency Selective Neural Networks as a Foundation Architecture for Time Series LearningarXiv · 2026
- TempShap: When and How Much a Feature Matters in Time-Series ForecastingarXiv · 2026
- Explainable time-series forecasting with sampling-free SHAP for TransformersNature Communications · 2026