EvoMorph: Counterfactual Explanations for Continuous Time-Series Extrinsic Regression Applied to Photoplethysmography
Mesut Ceylan, Alexis Tabin, Patrick Langer, Elgar Fleisch, Filipe Barata
TL;DR
EvoMorph tackles the need for trustworthy explanations in TSER on wearable PPG signals by generating multiple physiology-consistent counterfactuals. It casts counterfactual generation as a multi-objective optimization problem solved by NSGA-III, using a morphology-aware descriptor set $\oldsymbol{\phi}(x)$ and coherent edit operators to produce diverse, plausible trajectories that move predictions toward a user-specified interval $\hat{\mathcal{Y}}=[y-\delta, y+\delta]$. The framework introduces a decomposition of objectives into $ ext{O}_{ ext{morph}}$, $ ext{O}_{ ext{maxgrad}}$, and $ ext{O}_{ ext{out}}$, enabling stable, on-distribution counterfactuals while preserving waveform morphology. A case study demonstrates that CFE dispersion approximates epistemic uncertainty similarly to bootstrap ensembles and correlates with data density, supporting uncertainty-aware model auditing. Across three PPG datasets, EvoMorph yields diverse, physiologically plausible CFEs that augment interpretability and provide practical insights into model reliability for clinical time-series analysis.
Abstract
Wearable devices enable continuous, population-scale monitoring of physiological signals, such as photoplethysmography (PPG), creating new opportunities for data-driven clinical assessment. Time-series extrinsic regression (TSER) models increasingly leverage PPG signals to estimate clinically relevant outcomes, including heart rate, respiratory rate, and oxygen saturation. For clinical reasoning and trust, however, single point estimates alone are insufficient: clinicians must also understand whether predictions are stable under physiologically plausible variations and to what extent realistic, attainable changes in physiological signals would meaningfully alter a model's prediction. Counterfactual explanations (CFE) address these "what-if" questions, yet existing time series CFE generation methods are largely restricted to classification, overlook waveform morphology, and often produce physiologically implausible signals, limiting their applicability to continuous biomedical time series. To address these limitations, we introduce EvoMorph, a multi-objective evolutionary framework for generating physiologically plausible and diverse CFE for TSER applications. EvoMorph optimizes morphology-aware objectives defined on interpretable signal descriptors and applies transformations to preserve the waveform structure. We evaluated EvoMorph on three PPG datasets (heart rate, respiratory rate, and oxygen saturation) against a nearest-unlike-neighbor baseline. In addition, in a case study, we evaluated EvoMorph as a tool for uncertainty quantification by relating counterfactual sensitivity to bootstrap-ensemble uncertainty and data-density measures. Overall, EvoMorph enables the generation of physiologically-aware counterfactuals for continuous biomedical signals and supports uncertainty-aware interpretability, advancing trustworthy model analysis for clinical time-series applications.
