This is an outdated version published on July 5, 2026. Read the most recent version.

An open reproducible framework for CNN-based cetacean vocalization detection in passive acoustic monitoring

List of Authors

  1. Rocco De Marco
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Background

Passive acoustic monitoring (PAM) combined with deep learning is increasingly used to detect cetacean vocalizations. The workflow from raw audio to a trained detector (annotation, segmentation, spectrogram parameterization, image processing, and model evaluation) is rarely documented in sufficient detail to allow other groups to reproduce or compare results. This lack of standardization limits methodological comparability across studies and hinders systematic investigation of how upstream preprocessing choices affect detection performance.

Methods

This article presents ai-pam-pipeline, an open-source six-stage framework that formalizes the complete CNN-based detection workflow, with every parameter defined in a single YAML configuration file ensuring exact experimental reproducibility. The framework separates the methodological structure from its computational implementation, allowing adaptation to different species, vocalization types, or acoustic environments, through configuration alone, without code modification. Validation was conducted on recordings of bottlenose dolphin (Tursiops truncatus) whistles through two complementary experiments: (A) a binary whistle detector trained with controlled environment recordings, and evaluated on an independent open-ocean dataset, and (B) a five-class vocalization classifier demonstrating framework scalability.

Results

The binary detector achieved macro F1 = 0.966 under ten-folds cross-validation on in-domain data. Cross-domain evaluation produced zero false positives across all ten folds (false discovery rate = 0.000) with macro F1 = 0.759, confirming generalization to unseen acoustic conditions without retraining. The multiclass extension achieved macro F1 = 0.843 across five vocalization categories; inter-class confusion between echolocation click trains and burst-pulse sounds reflects biological signal overlap rather than classifier failure.

Conclusions

The framework provides a reproducible and documented baseline for CNN-based cetacean detection in PAM. The complete toolkit is publicly released under the Apache 2.0 license, while the datasets used in this study are made openly available through separate public repositories. Together, these resources enable exact replication of the analyses and support adaptation to new monitoring contexts.

Plain Language Summary

Dolphins and other cetaceans are increasingly monitored by recording the sounds they make underwater, a technique called passive acoustic monitoring. Modern systems use artificial intelligence to automatically detect dolphin whistles in these recordings, but the way each research group prepares its data and trains its models is rarely described in full, which makes results hard to reproduce or compare. This paper introduces ai-pam-pipeline, a freely available software framework that organizes the whole process — from labeling recordings to training and testing a detector — into six clearly defined steps, all controlled by a single settings file. Because every choice is written down in that file, anyone can reproduce the exact same results or adapt the workflow to a different species. We tested the framework on bottlenose dolphin recordings: it detected whistles accurately, and when applied to a completely separate recording made in another ocean, it never produced a false alarm. The framework is openly released so other researchers can build on it.

Corresponding author
Rocco De Marco
Grant information

This project has received funding from the European Commission LIFE Programme under grant agreement No [LIFE19 NAT/IT/000942](project name LIFE DELFI).

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2026 Rocco De Marco (Corresponding Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published

Comments

Authors & roles

Rocco De Marco

1. Institute of Biological Resources and Marine Biotechnology (IRBIM), National Research Council (CNR), Ancona, Largo Fiera della Pesca, 2, 60126, Italy

Roles
Corresponding Author, Conceptualization, Data Curation, Formal Analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – Original Draft Preparation, Writing – Review & Editing

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles