Contrastive Ecoacoustic Indices: large-scale global soundscape characterization with contrastive inference
Authors/Creators
-
Teytaut, Yann
(Researcher)1, 2, 3, 4, 5
-
Haupert, Sylvain
(Researcher)6, 7, 2, 8
- Dubois, Lorenzo (Annotator)6, 7, 2, 8
-
Crochard, Ludovic
(Researcher)6, 7, 2, 8
-
Azémar, Frédéric
(Data collector)9, 2, 10
- Guevara, Angel G. (Researcher)11, 12, 13
-
Balaresque, Patricia
(Project leader)14, 9, 2, 10
-
Sueur, Jérôme
(Researcher)6, 7, 2, 8
-
1.
Centre de Recherche en Informatique, Signal et Automatique de Lille
-
2.
Centre National de la Recherche Scientifique
-
3.
Université de Lille
-
4.
Centre Inria de l'Université de Lille
-
5.
École Centrale de Lille
-
6.
Centre d'Écologie et des Sciences de la Conservation
-
7.
Muséum national d'Histoire naturelle
-
8.
Sorbonne Université
-
9.
Université de Toulouse
-
10.
IRD, Antenne de Toulouse
- 11. Instituto de Investigación en Biomedicina (Quito, Ecuador)
- 12. Carrera de Medicina (Quito, Ecuador)
- 13. Universidad Central del Ecuador (UCE)
-
14.
Centre de Recherche sur la Biodiversité et l'Environnement
Description
This archive has a companion paper entitled : Contrastive Ecoacoustic Indices: large-scale global soundscape characterization with contrastive inference, Methods in Ecology and Evolution, 2026
Abstract of the paper:
Ecoacoustics mainly aims at monitoring soundscapes by means of non-invasive protocols. Despite the widespread adoption of machine and deep learning techniques, existing ecoacoustic models predominantly rely on supervised learning and, consequently, face two primary limitations: (1) the necessity of annotated data; and (2) the restriction to fixed predefined classes.
In this work, we leverage recent advances in Contrastive Language-Audio Pre-training (CLAP) and envision its first application to large-scale soundscape analysis. As trained on extensive datasets of paired audio and global text descriptions using contrastive learning, CLAP allows computing similarity scores between audio and text prompts without the constraints of predefined categorical lists. This flexibility enables a comprehensive investigation of various elements within the recordings from coarse-grained (e.g., mammals, weather, humans, vehicles) to fine-grained (e.g. dog, rain, speech, airplane) descriptions.
Here, we first conducted a preliminary experiment on a calibration dataset, featuring audio events likely to occur in soundscapes, which is shared with the community and constituted from an online, free sound library. Then, we developed a methodology to define reproducible, bounded, independent, and interpretable Contrastive Ecoacoustic Indices (CEI), which can characterize the prevalence of four primary sound categories in soundscapes — biophony, geophony, anthropophony, and technophony.
We finally computed these new CEI on 9-month field recordings (189,137 1-min excerpts) monitoring both tropical (Ecuador) and temperate (France) soundscapes, portraying an anthropic gradient from protected forests to urban city centers. This experiment reveals clear soundscape patterns associated with human population density suggesting that the CEI could be used in other ecological contexts.}
The archive contains :
- The complete supporting code to extract audio embeddings, compute audio-text similarities and obtain the CEI. Results can be saved into
csvfiles and plotted aspngfigures. - A complete executable
run_cei.sh, encompassing all above-mentioned steps, as well as a Jupyter notebook, showcasing an example of usage, are also included. - Data to run a quick test
Files
cei_package-main.zip
Files
(29.3 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:7327e0e9709eacf21cabefb47aa0b2fb
|
29.3 MB | Preview Download |
Additional details
Funding
- Agence Nationale de la Recherche
- EARSCAPE - Acoustic environmental and individual factors shaping human hearing sensitivity: assessing the relative impact of urban and rural soundscapes ANR-22-CE34-0019
Software
- Repository URL
- https://github.com/ear-team/cei_package
- Programming language
- Python , Jupyter Notebook
- Development Status
- Active