# IMFACT: Counterfactual Explanations for Time Series via Intrinsic Mode Function Substitution

arXiv: https://arxiv.org/abs/2608.04777 · HTML: https://mlsanity.com/paper/2608.04777/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 13 of its 25 references that are in the map.
- First posted on arXiv 5 Aug 2026.

## Builds on (most cited first, 13 of 13)

- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR](https://mlsanity.com/paper/1711.00399/) (2017)
- [A Survey Of Methods For Explaining Black Box Models](https://mlsanity.com/paper/1802.01933/) (2018)
- [The UCR Time Series Archive](https://mlsanity.com/paper/1810.07758/) (2018)
- [If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniques](https://mlsanity.com/paper/2103.01035/) (2021)
- [Instance-based Counterfactual Explanations for Time Series Classification](https://mlsanity.com/paper/2009.13211/) (2020)
- [aeon: a Python toolkit for learning from time series](https://mlsanity.com/paper/2406.14231/) (2024)
- [Visual Explanations with Attributions and Counterfactuals on Time Series Classification](https://mlsanity.com/paper/2307.08494/) (2023)
- [MASCOTS: Model-Agnostic Symbolic COunterfactual explanations for Time Series](https://mlsanity.com/paper/2503.22389/) (2025)
- [What-If Explanations Over Time: Counterfactuals for Time Series Classification](https://mlsanity.com/paper/2603.27792/) (2026)
- [Interactive Counterfactual Generation for Univariate Time Series](https://mlsanity.com/paper/2408.10633/) (2024)
- [Counterfactual Explanations for Time Series Should be Human-Centered and Temporally Coherent in Interventions](https://mlsanity.com/paper/2512.14559/) (2025)
- [Towards plausibility in time series counterfactual explanations](https://mlsanity.com/paper/2603.08349/) (2026)

## Abstract (arXiv)

Oscillatory signals, such as vibration, carry class-discriminative information in specific frequency bands; perturbing them in raw feature space for counterfactual analysis easily destroys their temporal structure and produces physically implausible results. In this work, we introduce IMFACT (IMF-based counterfACTuals), a model-agnostic framework for generating plausible counterfactual explanations for time series classifiers that operates in the decomposition space of Empirical Mode Decomposition. An input signal is split into Intrinsic Mode Functions (IMFs), and selected IMFs are progressively substituted with those of a Nearest Unlike Neighbour (NUN) until the classifier flips to the target class. We evaluate six IMF-selection strategies and a multi-NUN cycling extension on two UCR benchmarks (FaultDetectionA, FruitFlies). The variance-based strategy with three NUNs outperforms two prominent baseline techniques on reliability and plausibility metrics, while cycling across three NUNs yields the best proximity across both datasets.
