PhysioWave: A Multi-Scale Wavelet-Transformer for Physiological Signal Representation

Yanlong Chen, Mattia Orlandi, Pierangelo Maria Rapa, Simone Benatti, Luca Benini, Yawei Li

Introduction

Physiological signals, such as electrocardiograms (ECG) and electromyograms (EMG), are fundamental to modern clinical diagnostics and human-computer interaction. However, these signals are notoriously difficult to process due to their non-stationary nature, low signal-to-noise ratios, and the presence of artifacts like baseline drift. Traditional deep learning approaches often struggle to balance temporal resolution with spectral depth.

PhysioWave introduces a novel wavelet-based Transformer architecture designed specifically to overcome these hurdles. By combining an adaptive wavelet decomposition front-end with a frequency-guided masking strategy, PhysioWave establishes a highly efficient foundation model capable of outperforming generic time-series models ten times its size.

The Challenge of Physiological Signal Representation

Standard time-domain methods frequently overlook rich spectral information, while fixed-window frequency methods, such as the Fourier Transform, often lose temporal precision during rapid signal changes (e.g., a sudden heartbeat or muscle contraction). Furthermore, standard self-supervised learning techniques—like the random masking used in Natural Language Processing (NLP)—are often ineffective for biosignals. Randomly dropping segments can inadvertently delete critical, fleeting events or simply mask redundant noise, leading to suboptimal feature learning.

Methodology

PhysioWave addresses these limitations by merging traditional signal processing principles with modern Transformer architectures through four key innovations:

1. Learnable Wavelet Decomposition

Instead of utilizing fixed, hand-engineered filters, PhysioWave employs an Adaptive Wavelet Selector. This component dynamically mixes standard wavelet bases (such as 'db6' or 'sym4') to generate custom low-pass and high-pass filters tailored to each specific channel. This process effectively separates the signal into multi-resolution frequency bands, allowing the model to learn task-specific filtering strategies directly from the raw data.

2. Frequency-guided Masking (FgM)

To improve pretraining efficiency, the authors developed Frequency-guided Masking. Rather than masking patches at random, the model calculates the spectral energy of each patch using a Fast Fourier Transform (FFT). It then preferentially masks high-energy patches—those containing the most informative signal components. This forces the Transformer backbone to reconstruct critical information from the surrounding context, creating a more rigorous "information bottleneck."

3. Transformer Backbone

The multi-band features are processed through a Transformer encoder utilizing Rotary Positional Embeddings (RoPE). This is followed by a lightweight decoder tasked with reconstructing the masked patches, ensuring the model captures both local spikes and long-term fluctuations.

4. Multi-Modal Fusion

For tasks involving multiple sensors, PhysioWave uses a modular approach. The authors freeze pretrained, modality-specific encoders and apply a lightweight fusion layer. This layer dynamically learns weights to prioritize the most reliable sensor signals for a given task.

Experimental Setup and Datasets

The model was pretrained on massive open-access corpora to ensure robustness:

  • ECG Pretraining: Approximately 182 GB of data, including MIMIC-IV-ECG and MedalCare-XL.
  • EMG Pretraining: Approximately 823 GB of data, including NinaPro and EMG2Pose.

Downstream evaluation spanned diverse benchmarks, including the PTB-XL dataset for arrhythmia classification, the EPN-612 dataset for hand gesture recognition, and the DEAP dataset for emotion recognition.

Key Insights and Results

Efficiency and Performance

PhysioWave demonstrates remarkable efficiency, often described as a "David vs. Goliath" scenario. The 37-million parameter PhysioWave-ECG model achieved a 66.7% F1 score and 94.6% AUROC on the PTB-XL dataset, surpassing the performance of the 13-billion parameter ECG-Chat model. Similarly, PhysioWave-EMG reached 94.5% accuracy on the EPN-612 gesture dataset, significantly outperforming larger generic models like MOMENT (385M parameters).

Clinical Interpretability

Beyond raw metrics, PhysioWave offers clinical relevance. GradCAM visualizations indicate that the model focuses on physiologically significant regions. For instance, when identifying ST-segment depression, the model’s attention maps align with the post-QRS intervals—the exact regions human cardiologists analyze for diagnosis.

Adaptive Filtering

Mathematical analysis of the learned wavelet filters revealed that the model occasionally "breaks" traditional mathematical constraints, such as the zero-mean requirement for wavelets. This suggests the model prioritizes empirical physiological realities, such as tracking muscle fatigue or baseline shifts, over theoretical elegance.

Conclusion

PhysioWave represents a significant step forward in physiological signal processing by proving that domain-specific architectural choices—like learnable wavelets and energy-driven masking—can outperform massive, general-purpose models. While currently utilizing separate foundation models for different modalities, future work aims to expand this framework into a truly universal, multi-modal biosignal system capable of interpreting any combination of sensor data simultaneously.

Summary updated

BibTeX
@inproceedings{chen2025physiowave,
  author = {Yanlong Chen and Mattia Orlandi and Pierangelo Maria Rapa and Simone Benatti and Luca Benini and Yawei Li},
  title = {{PhysioWave: A Multi-Scale Wavelet-Transformer for Physiological Signal Representation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ayR2JfRYRS},
}
Figure