Bioacoustic raw-audio transformer effectively and efficiently encodes mixed sample rate data
Marius Faiß, Ariana Strandburg-Peshkin, Marie A. Roch, Julian C. Schäfer-Zimmermann
Key points
From the paper's conclusion- Experiments were performed using a transformer model, animal2vec, and a custom dataset with various sample rates and species covering a broad frequency range.
- The model natively compensated for perceived time stretch in the receptive field induced by varying sample rates, with no effect on performance compared to upsampling.
- This opens up possibilities of training powerful models on broad bioacoustic datasets and creating more generalizable tools for bioacousticians.
Abstract
Deep learning has been widely adopted in the field of bioacoustics, enabling behavioral and ecological research into many sound producing animals through the use of specially designed and trained models. So-called foundational models can generalize to novel species or tasks, but require larger and more diverse training datasets. But the broad range of frequencies that animals produce poses a problem: bioacoustic datasets are recorded at various sample rates to capture different frequency ranges. Combining these data to train generalist models becomes exceedingly costly the wider the frequency range is expanded with high resolution data, becoming untenable for bioacousticians. To approach this problem, we performed experiments using a state-of-the-art transformer model, animal2vec, and a custom dataset consisting of recordings with various sample rates and species whose vocalizations cover a broad frequency range. We designed a positional encoding that provides inductive information about the sample rate, but found that the model is natively able to compensate for the perceived time stretch in the receptive field induced by varying sample rates, with no effect on performance compared to the standard approach of upsampling. This opens up new possibilities of training powerful models on broad bioacoustic datasets and the creation of more generalizable tools for bioacousticians.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Experiments were performed using a transformer model, animal2vec, and a custom dataset with various sample rates and species covering a broad frequency range.
- The model natively compensated for perceived time stretch in the receptive field induced by varying sample rates, with no effect on performance compared to upsampling.
- This opens up possibilities of training powerful models on broad bioacoustic datasets and creating more generalizable tools for bioacousticians.
Readers' thoughts
No reader thoughts yet.
Related papers
- animal2vec and MeerKAT: A self‐supervised transformer for rare‐event raw audio input and a large‐scale reference dataset for bioacousticsMethods in Ecology and Evolution · 2025
- Foundation models for bioacoustics – A comparative reviewEcological Informatics · 2026
- Neural Representations, Natural Connections: What Transfers From Human Speech Foundation Models to Animal Vocalizations?arXiv · 2026
- CallCleaner: Lightweight Bioacoustic Denoising from an Audio Foundation ModelarXiv · 2026
- SongMAE: A bioacoustic encoder for birdsongbioRxiv · 2026
- BEANS-Next and ROOTS: Broadening Audio-Language Capabilities for BioacousticsarXiv · 2026