Diagnostic-Wise Hybrid Loss for ECG Signals Reconstruction Based on Wavelet Decomposition
ECG denoising requires preserving key diagnostic features while removing noise in both time and frequency domains. Current loss functions struggle to balance global reconstruction with local feature preservation, often causing oversmoothing or frequency distortions. To address these limitations, we propose DiagHuber, an innovative domain knowledge-integrated loss function that uniquely combines multiscale diagnostic localization with adaptive error tolerance. The Diagnostic module implements discrete wavelet decomposition with adaptive coefficient weighting to enhance clinically critical ECG features while attenuating multiscale noise components. Simultaneously, the Huber loss component adaptively adjusts error sensitivity to balance outlier rejection with waveform fidelity. For practical implementation, we develop MAUnet, an attention-enhanced U-Net incorporating Mamba blocks based on state-space models, which achieves real-time processing capabilities (<0.5 seconds per 30-minute ECG recording). Extensive experimental evaluations on datasets contaminated with both synthetic and real-world noise demonstrate DiagHuber's superior performance, achieving a mean signal-to-noise ratio of 16.17 dB on test data, a 15.67% improvement over conventional mean squared error loss. Cross-architecture validation, time-frequency analysis and 12-lead generalization test further confirm the proposed method's robustness to simultaneously suppress broadband noise while meticulously preserving morphological features.
Authors
- Wenzhuo Shi (ORCID: https://orcid.org/0000-0002-5942-062X)
- Mingsen Du (ORCID: https://orcid.org/0000-0002-1663-1136)
- Shoushui Wei (ORCID: https://orcid.org/0000-0001-8054-4400)
- Meng Chen (ORCID: https://orcid.org/0009-0009-3035-9149)
- Yongjian Li (ORCID: https://orcid.org/0009-0003-6163-2140)
- Yali Shi
Institutions
- Shandong University (CN)
- Capital Medical University (CN)
- Beijing Anzhen Hospital (CN)
Publication Details
- Journal
- IEEE Transactions on Instrumentation and Measurement
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tim.2025.3570370
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Shandong Province