🤖 AI Summary
Conventional matched filtering fails to accurately localize cardiac events (e.g., R-waves) in low-SNR physiological signals—such as ear-ECG—due to noise-induced artifacts, especially on resource-constrained edge devices.
Method: We propose a reinforcement learning–based sequential matched filtering framework that reformulates matched filtering as a sequential decision-making process. A policy network adaptively generates interpretable, lightweight filter operation sequences, enabling dynamic noise suppression and target pattern enhancement without compromising computational efficiency. The method integrates domain-specific ECG physiological priors with end-to-end optimization.
Contribution/Results: Evaluated on two real-world ear-ECG datasets, our approach achieves an average 12.3% improvement in F1-score over state-of-the-art methods and maintains robust performance even at −5 dB SNR. It delivers both high detection accuracy for R-wave localization and reliable physiological state classification, while preserving decision interpretability and edge-device suitability.
📝 Abstract
Matched filters are widely used to localise signal patterns due to their high efficiency and interpretability. However, their effectiveness deteriorates for low signal-to-noise ratio (SNR) signals, such as those recorded on edge devices, where prominent noise patterns can closely resemble the target within the limited length of the filter. One example is the ear-electrocardiogram (ear-ECG), where the cardiac signal is attenuated and heavily corrupted by artefacts. To address this, we propose the Sequential Matched Filter (SMF), a paradigm that replaces the conventional single matched filter with a sequence of filters designed by a Reinforcement Learning agent. By formulating filter design as a sequential decision-making process, SMF adaptively design signal-specific filter sequences that remain fully interpretable by revealing key patterns driving the decision-making. The proposed SMF framework has strong potential for reliable and interpretable clinical decision support, as demonstrated by its state-of-the-art R-peak detection and physiological state classification performance on two challenging real-world ECG datasets. The proposed formulation can also be extended to a broad range of applications that require accurate pattern localisation from noise-corrupted signals.