GRAM: Spatial general-purpose audio representations for real-world environments
Goksenin Yuksel, Marcel van Gerven, Kiki van der Heijden
TL;DR
GRAM introduces a multi-channel masked autoencoder to learn spatial audio representations from binaural and Ambisonics inputs, addressing limitations of existing models in reverberant, noisy real-world environments. By simulating 85,000 realistic sound scenes with SoundSpaces 2.0 and training with a mixed real-world/dry data pipeline, GRAM achieves state-of-the-art performance on HEAR and NatHEAR benchmarks and demonstrates strong SELD transfer in RealSELD. The model preserves spatial cues such as ILD and IV and uses a patch-based MAE with local-global attention to reconstruct masked spectrogram patches, enabling localization and scene analysis tasks. The NatHEAR and RealSELD benchmarks provide a standardized platform for evaluating spatial audio embeddings in both simulated and real-world environments. Overall, GRAM advances robust, spatially-aware foundation models for real-world acoustic scenes and enables efficient transfer to real recordings.
Abstract
Audio foundation models learn general-purpose audio representations that facilitate a wide range of downstream tasks. While the performance of these models has greatly increased for conventional single-channel, dry audio clips, their success in real-world acoustic environments with reverberation and noise is limited. Furthermore, most audio foundation models ignore the spatial dimension of real-world acoustic environments, ruling out tasks involving sound localization. To address these limitations, we propose GRAM: a general-purpose real-world audio model that employs a multi-channel masked autoencoder to efficiently learn spatial audio representations. We evaluated GRAM and other audio foundation models in a standardized manner on high-quality simulations of naturalistic, spatial acoustic environments as well as recordings of real-world environments and release these two complementary benchmark task suites: NatHEAR and RealSELD. Our results demonstrate that GRAM outperforms all state-of-the-art self-supervised audio foundation models on NatHEAR and the clean, single-channel version HEAR, while using only a fraction of the training data. GRAM also shows state-of-the-art localization performance in simulated environments and generalizes efficiently to real-world recordings in RealSELD. Taken together, GRAM presents a significant advance toward robust spatial audio foundation models for real-world environments.
