Frequency-Aware Masked Autoencoders for Multimodal Pretraining on Biosignals
Ran Liu, Ellen L. Zippi, Hadi Pouransari, Chris Sandino, Jingping Nie, Hanlin Goh, Erdrin Azemi, Ali Moin
TL;DR
This work tackles robust multimodal pretraining for biosignals under distributional shifts between training and deployment. It introduces bioFAME, a frequency-aware transformer that uses a fixed-size Fourier-based operator to learn representations in frequency space, paired with frequency-maintain latent-space masked autoencoding and a channel-independent design to handle varying modality configurations. Across unimodal and multimodal transfer tasks, bioFAME achieves a notable average improvement of $5.5\%$ over previous state-of-the-art and demonstrates resilience to modality dropout and substitutions, highlighting practical applicability in real-world settings. The approach offers a flexible, efficient path to leveraging multimodal biosignals for generalizable physiological state understanding, with future work focusing on interpretability of learned frequency filters and scaling to high-dimensional sensor arrays.
Abstract
Leveraging multimodal information from biosignals is vital for building a comprehensive representation of people's physical and mental states. However, multimodal biosignals often exhibit substantial distributional shifts between pretraining and inference datasets, stemming from changes in task specification or variations in modality compositions. To achieve effective pretraining in the presence of potential distributional shifts, we propose a frequency-aware masked autoencoder ($\texttt{bio}$FAME) that learns to parameterize the representation of biosignals in the frequency space. $\texttt{bio}$FAME incorporates a frequency-aware transformer, which leverages a fixed-size Fourier-based operator for global token mixing, independent of the length and sampling rate of inputs. To maintain the frequency components within each input channel, we further employ a frequency-maintain pretraining strategy that performs masked autoencoding in the latent space. The resulting architecture effectively utilizes multimodal information during pretraining, and can be seamlessly adapted to diverse tasks and modalities at test time, regardless of input size and order. We evaluated our approach on a diverse set of transfer experiments on unimodal time series, achieving an average of $\uparrow$5.5% improvement in classification accuracy over the previous state-of-the-art. Furthermore, we demonstrated that our architecture is robust in modality mismatch scenarios, including unpredicted modality dropout or substitution, proving its practical utility in real-world applications. Code is available at https://github.com/apple/ml-famae .
