Manuscript Offprint
arXiv:2611.09642NAVE: A Normalized, Adaptive Conformer for Antarctic Whale Vocalization Detection
Matthias Nagl¹, Paul Primus¹, Gerhard Widmer¹,²
¹Institute of Computational Perception, Johannes Kepler University Linz, Austria
²LIT Artificial Intelligence Lab, Linz, Austria
Abstract—Antarctic whale vocalization detection requires temporally localizing call boundaries in long underwater recordings and classifying them into predefined call types. Training reliable machine learning models for this task is difficult due to the variability and sparsity of whale calls in passive acoustic monitoring datasets. These difficulties are further amplified by time-varying noise that can mask whale calls and by site-specific ambient sound characteristics to which a trained model may not generalize. In this work, we present NAVE, a Conformer-based detector that improves whale-call detection via three components. First, its input representation combines per-bin complex mean subtraction, which suppresses constant site-specific ambient sound characteristics, with an additional per-channel energy normalization (PCEN) channel that adapts to temporal variations in the noise floor. Second, a frequency-dynamic stem processes these noise-aware representations with convolutions that adapt across the characteristic frequency bands of the target call types. Third, we use a Conformer backbone with a convolution kernel matched to the duration of the target calls that adds an inductive bias and improves temporal localization. We evaluate NAVE on BioDCASE 2026 Task 2 using leave-one-site-out cross-validation across the validation sites, which approximates deployment on unseen recording sites. A single NAVE model with a tuned per-class threshold exceeds the stronger WhaleVAD-BPN baseline, using no boundary-proposal network and no search over post-processing parameters. A controlled ablation study shows that the normalized front-end and a duration-matched convolutional kernel each contribute substantially to recovering the D downsweep, the hardest class for previous detectors, with the wide kernel giving the largest aggregate gain.
Index Terms—Sound event detection, bioacoustics, PCEN, Conformer, receptive field
1. INTRODUCTION
Passive acoustic monitoring (PAM) provides a non-invasive means of studying Antarctic blue and fin whales, whose wide-ranging movements across remote oceans make direct observation challenging [1, 2]. It produces large volumes of low-signal-to-noise-ratio (SNR) audio whose manual annotation is slow and requires expertise [3]. Automatic detection is therefore valuable but difficult: calls are sparse, conditions vary across sites, and call appearance changes with distance, noise, and instrumentation.
BioDCASE 2026 Task 2 targets automatic detection of Antarctic blue- and fin-whale calls in long PAM recordings. Models must generalize across sites and soundscapes while detecting sparse events, making it a useful benchmark for whale-call sound event detection systems [4, 5]. The task uses strong multi-label annotations: systems predict each call's category and temporal bounds, as shown in Figure 1. Seven call types are grouped by acoustic similarity into three evaluation classes [6]: BMABZ for blue-whale A-, B-, and Z-calls, D for blue- and fin-whale downsweeps, and BP for fin-whale 20 Hz pulses. The development set comes from the Acoustic Trends Blue Fin Library (ATBFL) [5, 7].
Two dataset properties shaped our design. First, calls occupy little of the audio, causing severe temporal imbalance. Even modest false-positive rates can therefore yield many spurious detections, making false-positive control as important as recall. Second, class prevalence

Fig. 1: Spectrogram with whale calls annotated by time-frequency boxes. Each box marks an event's extent and call type: BMABZ, D, or BP.
varies strongly across site-years. D-calls are especially uneven, with most training examples from elephantisland2013 and elephantisland2014, and are the rarest class at the validation sites. D-calls have also remained the main bottleneck for prior detectors, with the lowest per-class F1 under both Whale-VAD and WhaleVAD-BPN [8, 9].
Existing detectors such as Whale-VAD [8] commonly use a CNN-BiLSTM backbone and improve it through output gating or tuned post-processing, as in WhaleVAD-BPN [9]. We ask whether the classification backbone and front-end offer similar opportunities for performance improvements, and present NAVE: a Conformer [10] with a normalized, adaptive front-end and a depthwise convolution matched to call duration. A single NAVE model exceeds WhaleVAD-BPN. Ablations show that the normalized front-end and duration-matched kernel each recover much of the performance on D-calls, although it remains the hardest class. Our contributions are:
- A noise-aware representation combining per-bin complex mean subtraction [8] with a fixed per-channel energy normalization (PCEN) channel [11, 12], substantially improving faint D-call detection.
- A frequency-dynamic stem [13] whose convolutions adapt across class-specific frequency bands instead of sharing one kernel across all frequencies.
- A depthwise Conformer kernel matched to call duration, with an analysis of when further widening stops helping [14].
Code is available at https://github.com/TheFruitGuy/NAVE-SED.
28–29 October 2026, Boston, MA, USA

Fig. 2: Overview of NAVE. A four-channel phase-aware spectrogram (including a fixed PCEN channel) feeds an FDY convolutional stem and a four-block Conformer with a wide depthwise kernel (). A per-class sigmoid head yields frame posteriors that are post-processed into events.
backbone comprising a convolutional feature extractor, a recurrent sequence model, and a per-class frame-level prediction head. It also uses a trigonometric phase-aware spectrogram representation that improves detection of low-frequency baleen-whale calls. WhaleVAD-BPN, our stronger baseline, retains the same acoustic backbone and adds a boundary-proposal network that gates the frame-level posteriors, together with a systematic search over post-processing parameters. Its improvement over Whale-VAD therefore comes from gating the classifier output and tuning post-processing, rather than from the acoustic model itself.
The components used in NAVE have been established in other domains. The Conformer [10] combines self-attention with convolution to model global and local temporal structure jointly. PCEN [11, 12] replaces log compression with adaptive gain control, reducing the influence of slowly varying background noise. Frequency-dynamic convolution (FDY) [13] relaxes the assumption of a single shared kernel across frequency, allowing filters to adapt to different frequency regions. These properties are well suited to faint, band-specific calls embedded in non-stationary noise. NAVE integrates these components for whale-call detection, with a particular focus on the front-end and acoustic backbone.
3. METHOD
This section describes the main components of NAVE: the normalized front-end, the frequency-dynamic stem, the Conformer backbone, training, and post-processing. Figure 2 provides an overview of the complete system.
3.1. Normalized, adaptive front-end
Each recording is divided into fixed-length segments of 30s. For each segment, we compute a short-time Fourier transform (STFT) using a 256-sample Hann window (approximately 1s at the 250 Hz sampling rate) and a 5-sample hop (20 ms). This yields a complex spectrogram with 129 frequency bins. The long analysis window provides the resolution needed for the low-frequency vocalizations of baleen whales.
From the complex spectrogram, we construct a three-channel phase-aware representation. For each frequency bin, the complex-valued mean over time is subtracted within each segment [8]. This removes persistent spectral components while retaining temporally varying call structure. The resulting complex spectrogram is represented by its magnitude and by the cosine and sine of its phase. This trigonometric phase representation follows Whale-VAD [8], where it was shown to improve the detection of low-frequency whale calls.
We append a fourth channel obtained by applying PCEN to the raw magnitude spectrogram [11, 12]. PCEN combines adaptive gain control with compressive nonlinear scaling. For each frequency bin, PCEN estimates the local background energy using an exponential moving average with smoothing coefficient . The input magnitude is then divided by this estimate with gain-control strength
, followed by dynamic-range compression with bias and exponent . This frequency-wise adaptation reduces the influence of slowly varying background energy and increases the contrast of transient events relative to the local noise floor. The PCEN channel is intended particularly to improve sensitivity to faint D-call downsweeps that are partially masked by background noise. It enhances such events before feature extraction, although it may also amplify acoustically similar transients. The resulting four-channel representation is passed to the convolutional stem.
3.2. Frequency-dynamic stem
NAVE's convolutional stem converts the four-channel spectrogram into a per-frame feature sequence, following the overall structure of the Whale-VAD feature extractor [8]. Figure 2 shows the stem as a sequence of purple boxes. A filterbank convolution first maps the 129 input frequency bins to a smaller set of learned frequency bands. A two-layer feature-extraction block then further compresses the frequency axis while increasing the channel dimension, after which a bottleneck convolution reduces the number of channels. Finally, a short stack of depthwise convolutions aggregates information over local time-frequency neighborhoods. The resulting feature map is flattened across the channel and frequency dimensions and projected to the Conformer model width. Across the stem, the frequency axis is reduced from 129 bins to 14, with most of this reduction occurring in the early layers, where detailed frequency information is still available. The time dimension is not downsampled, so both the Conformer and the frame-level head operate at a 20 ms frame rate.
The filterbank convolution and the first convolution of the feature-extraction block use FDY convolution [13]. The remaining layers use standard two-dimensional convolutions. FDY is motivated by the fact that absolute frequency is class-informative for these whale calls, so the same local pattern may require different filters in different frequency bands. FDY represents the effective kernel at each output frequency as a mixture of learned basis kernels, with mixture weights obtained by softmax attention over the temporally averaged input. We apply FDY only in the earliest layers, where the frequency resolution is still high and adaptation to the characteristic bands of the call classes is most useful.
3.3. Conformer backbone and its receptive field
NAVE uses a four-block Conformer encoder [10] as its temporal backbone. Each block contains two feed-forward modules, one before and one after the self-attention and convolution sublayers, following the macaron configuration. The encoder has a model width of 128 and uses four attention heads with rotary positional embeddings [15]. A frame-level linear prediction head maps the encoder output to three class logits at the original temporal resolution of one frame every 20 ms. The complete model contains 2,705,787 parameters.
The convolution module in each Conformer block contains a depthwise temporal convolution whose kernel width determines the
28–29 October 2026, Boston, MA, USA
amount of contiguous local context processed by a single layer. At the 20 ms frame rate, the adopted kernel width of 153 frames corresponds to 3.06 s. Since self-attention already provides global context across the input segment, the purpose of the wide convolution is not to extend the model's temporal reach. Instead, it introduces a fixed, local, translation-equivariant operation over a window long enough to span a whale call, complementing the global and content-dependent interactions learned by self-attention.
Because the convolution is depthwise, increasing its width adds only parameters per block, or approximately 19,600 weights for . The local receptive field can therefore be enlarged with little effect on the total model size. We treat the kernel width as the main architectural variable of the backbone and evaluate it systematically in Section 5.1. Odd kernel widths are used so that symmetric padding preserves the number of frames.
3.4. Training
We optimize the model with RAdam [16], which is designed to reduce the need for learning-rate warmup. The complete training configuration is given in Table 1. Following Whale-VAD [8], we use a masked, weighted binary cross-entropy loss: padded frames are excluded, and the positive term for each class is scaled by , where is the number of positive segments for class and is the total number of positive segments across all three classes. This gives greater weight to the rarer classes. Because calls are sparse, each epoch pairs all positive segments with an equal number of randomly sampled no-call segments, with the negative set resampled at the start of every epoch.
We maintain an exponential moving average (EMA) of the model weights and batch-normalization statistics [17], and use the averaged weights for validation and checkpointing. This stabilizes training against the per-epoch resampling of the negative pool, which can otherwise shift the model's score distributions and the resulting precision–recall trade-off between epochs, particularly for the sparse D-call class. Because we rely on weight averaging, we use a constant learning rate rather than a decaying schedule, as averaging generally benefits from a non-decaying learning rate [17]. At the end of each epoch, the per-class detection thresholds are re-tuned as described in Section 3.5, and the checkpoint is selected according to the resulting F1 score.
3.5. Post-processing
At inference, each recording is divided into overlapping 60 s segments with a 2 s overlap. Frame-level posteriors are averaged in the overlapping regions to produce a single posterior sequence for each class over the full recording. We then convert these sequences into events using the fixed post-processing pipeline of Whale-VAD [8]. The longer 60 s inference segments, compared with the 30 s segments used during training, provide additional context for each prediction.
Each posterior sequence is smoothed with a 0.5 s median filter and thresholded using a class-specific detection threshold. Consecutive events of the same class are merged when separated by less than 0.5 s, and events shorter than 0.5 s or longer than 30 s are discarded. Only the per-class detection thresholds are tuned, using coordinate descent. The smoothing window, merge gap, and duration limits are fixed and shared across all classes.
4. EXPERIMENTAL SETUP
We use the BioDCASE Task 2 development set, drawn from the ATBFL introduced in Section 1. Eight site-years form the training set: ballenyisland2015, casey2014, elephantisland2013, elephantisland2014, greenwich2015, kerguelen2005,
maudrise2014, and rosssea2014. Three site-years form the validation set used for checkpoint selection and threshold tuning: casey2017, kerguelen2014, and kerguelen2015. The training configuration is given in Table 1.
Table 1: Training configuration.
| Hyperparameter | Value |
|---|---|
| Optimizer | RAdam |
| Learning rate | , constant, no warmup |
| Weight decay | |
| Gradient clipping | 1.0 |
| Batch size | 32 |
| Training epochs | 40 |
| Loss | Masked weighted BCE, |
| Segment length | 30 s |
| Negative sampling | 1:1 with positive segments; resampled each epoch |
| Weight averaging | EMA, decay 0.999 |
| Dropout | 0.1 |
| Checkpoint selection | Validation F1 after threshold tuning |
Scores are computed at the event level. Predicted events are matched to the reference annotations using one-dimensional temporal intersection over union (IoU) with a threshold of 0.3. For each of the classes, the resulting true-positive, false-positive, and false-negative counts define precision and recall . We use the primary challenge metric, macro F1, which first averages precision and recall across classes and then computes their harmonic mean:
All results are evaluated using a leave-one-site-out (LOSO) threshold-selection protocol over the three validation site-years. The trained model remains fixed across folds. For each held-out site, the class-specific detection thresholds are selected on the other two sites and then applied to the held-out site. The event counts from the three held-out evaluations are pooled before computing and and the overall F1 in Eq. 1, as in the official evaluation. The baselines instead average precision and recall across folds [9]. Each configuration is trained with five random seeds, and we report the mean and sample standard deviation across seeds.
5. RESULTS
We evaluate NAVE in two stages. Section 5.1 assesses the contribution of each design choice through a controlled ablation, with particular attention to the recovery of D-calls through the normalized front-end and duration-matched kernel. Section 5.2 then compares the resulting single-model system with the published Whale-VAD baselines.
5.1. Development
Table 2 reports the mean per-class F1 across five seeds, together with the mean and sample standard deviation of the overall macro F1. The standard deviation of macro F1 ranges from approximately 0.01 to 0.02. We therefore interpret small differences cautiously and base our conclusions primarily on the larger improvements and their class-wise patterns. The overall ranking of the main design choices is stable across seeds.
The second section of Table 2 adds one component at a time to the Conformer architecture. Adding the FDY stem raises macro F1 from 0.328 to 0.376, driven mainly by BMABZ, with a smaller gain for D-calls and little change for BP. Adding the PCEN channel produces the first substantial gain for D-calls, raising their F1 from 0.155 to 0.269. This improvement comes with a decrease in BMABZ from 0.472 to 0.400, but the gain on D-calls and BP increases the overall
28–29 October 2026, Boston, MA, USA
Table 2: Leave-one-site-out comparison and ablation on the three validation site-years using macro F1 (Eq. 1). The upper block contains the published Whale-VAD baselines [8, 9]; the lower block adds one NAVE component per row, all rows sharing the mean-subtracted Whale-VAD input representation. Five-seed means, with the sample standard deviation of F1 in parentheses.
| System | BMABZ | D | BP | F1 |
|---|---|---|---|---|
| Whale-VAD [8, 9] | 0.628 | 0.126 | 0.315 | 0.377 |
| WhaleVAD-BPN [9] | 0.615 | 0.340 | 0.460 | 0.475 |
| Conformer base | 0.393 | 0.100 | 0.465 | 0.328 (0.019) |
| + FDY stem | 0.472 | 0.155 | 0.479 | 0.376 (0.009) |
| + PCEN channel | 0.400 | 0.269 | 0.507 | 0.399 (0.016) |
| + wide kernel (k=65) | 0.466 | 0.383 | 0.516 | 0.463 (0.009) |
| NAVE (k=153) | 0.547 | 0.438 | 0.518 | 0.518 (0.016) |
| fold-averaged | 0.581 | 0.449 | 0.463 | 0.510 (0.012) |

Fig. 3: Effect of the depthwise kernel width on per-class and macro F1 for the full PCEN+FDY architecture using 60 s inference segments. Points show the mean, error bars one standard deviation, over at least three seeds. Macro F1 rises sharply up to approximately k = 65 and then enters a broad upper plateau, from which the adopted k = 153 (dashed) is taken.
F1 from 0.376 to 0.399. PCEN's gain control tracks the background over roughly 0.8 s (s = 0.025 at a 20 ms hop), so it normalizes sustained BMABZ tonals toward the floor while shorter D and BP calls outrun it.
Introducing the wide depthwise kernel gives the largest single improvement in the ablation. At k = 65, all three classes improve and macro F1 rises from 0.399 to 0.463. Increasing the kernel width further to the adopted value of k = 153 raises macro F1 to 0.518, with further gains for BMABZ and D-calls.
Figure 3 examines the effect of kernel width in more detail while holding the remainder of the architecture and training procedure fixed. Macro F1 rises considerably up to approximately k = 65, corresponding to a temporal span of about 1.3 s, and then varies across a broad upper plateau. The improvement beyond k = 65 is driven primarily by BMABZ, whose performance generally increases with kernel width. BP is comparatively insensitive to widening, while D-call performance improves over the narrowest kernels but fluctuates within the seed variation across the upper range.
These class-wise trends are consistent with a relationship between receptive field size and call duration: widening helps until the kernel spans a call, so BMABZ, which contains the longest calls, keeps gaining, whereas the shorter BP calls already perform strongly with narrow kernels. We adopt k = 153, corresponding to 3.06 s of local temporal context. It improves macro F1 by 0.026 over k = 129, better on all five paired seeds (paired t-test, p = 0.036). Several kernels on the upper plateau lie within the seed variation, so k = 153 is
not necessarily optimal, but it is a well-supported choice from the best-performing region.
We attribute the improved detection of D-calls to both the front-end and the backbone: in Table 2 the PCEN channel and the wide kernel each contribute a large, comparable gain. D-calls nevertheless remain the weakest of the three classes, and the kernel sweep shows diminishing returns once the local receptive field is sufficiently wide. This suggests that further gains are more likely to come from richer or learned input representations and additional labeled sites than from increased backbone capacity.
5.2. Generalization and comparison
Table 2 compares NAVE with the two Whale-VAD baselines under the leave-one-site-out protocol of Section 4. Both baselines are reported in [9] under three-fold cross-validation over the same validation site-years and with the same macro F1 metric, though that work averages precision and recall across folds where we pool event counts. A single NAVE model reaches a pooled macro F1 of 0.518 (0.016) over five seeds, above both baselines, including WhaleVAD-BPN at 0.475. All five seeds exceed this baseline, with the lowest reaching 0.502. Using the baselines' aggregation, which averages precision and recall across the three folds rather than pooling counts, NAVE reaches 0.510, so it leads under either convention.
NAVE reaches this with a single forward pass and class-specific thresholds, without the boundary-proposal stage or post-processing search of WhaleVAD-BPN. The gain is driven by D-calls, raised from 0.340 to 0.449, while BP is essentially unchanged (0.463 against 0.460) and BMABZ falls modestly (0.581 against 0.615). A redesigned front-end and acoustic backbone can therefore outperform a stronger pipeline built around the fixed CNN-BiLSTM model.
6. CONCLUSION
We presented NAVE, a single Conformer-based detector for Antarctic blue- and fin-whale calls with a normalized, adaptive front-end. Under leave-one-site-out cross-validation, NAVE outperforms both Whale-VAD and WhaleVAD-BPN using a single forward pass and class-specific detection thresholds, without a boundary-proposal stage or post-processing search. Its advantage is driven primarily by improved detection of D-calls, which benefit from both the front-end and the duration-matched kernel, and outweighs a modest reduction on BMABZ.
Two directions follow from these results. First, D-call performance improves substantially with both the normalized front-end and the duration-matched kernel, but remains the weakest once the receptive field is sufficiently wide. Since the preferred kernel widths also broadly reflect call duration, a natural next step is to introduce class-specific modeling throughout the system, for example through a multi-resolution front-end combined with class-specific receptive fields. Second, bridging the gap between held-out cross-validation and deployment at genuinely unseen sites will likely require explicit cross-site adaptation, such as stronger front-end normalization, test-time adaptation, and additional labeled data from a broader range of sites.
7. ACKNOWLEDGMENT
We thank Florian Schmid and Tobias Morocutti for helpful discussions, and Christiaan Geldenhuys for his correspondence and for releasing Whale-VAD, an inspiration for the Conformer developed here. The LIT AI Lab is supported by the Federal State of Upper Austria.
28–29 October 2026, Boston, MA, USA
REFERENCES
[1] J. G. Cooke, “Balaenoptera musculus,” The IUCN Red List of Threatened Species, 2018, erratum published in 2019.
[2] —, “Balaenoptera physalus,” The IUCN Red List of Threatened Species, 2018.
[3] K. A. Kowarski and H. Moors-Murphy, “A review of big data analysis methods for baleen whale passive acoustic monitoring,” Marine Mammal Science, vol. 37, no. 2, pp. 652–673, 2021.
[4] L. Jean-Labadye et al., “BioDCASE 2025 task 2: Development set,” Zenodo, 2025, version 1 (Erratum).
[5] B. S. Miller, K. M. Stafford et al., “An open access dataset for developing automated detectors of Antarctic baleen whale sounds and performance evaluation of two commonly used detectors,” Scientific Reports, vol. 11, no. 1, p. 806, 2021.
[6] E. Schall, I. I. Kaya, E. Debusschere, P. Devos, and C. Parcerisas, “Deep learning in marine bioacoustics: A benchmark for baleen whale detection,” Remote Sensing in Ecology and Conservation, vol. 10, no. 5, pp. 642–654, 2024.
[7] B. S. Miller et al., “An annotated library of underwater acoustic recordings for testing and training automated algorithms for detecting Antarctic blue and fin whale sounds,” Australian Antarctic Data Centre, 2020, version 1.
[8] C. Geldenhuys, G. Tonitz, and T. Niesler, “Whale-vad: Whale vocalisation activity detection,” in Proceedings of the 10th Workshop on Detection and Classification of Acoustic Scenes and Events (DCASE 2025), Barcelona, Spain, October 2025, pp. 165–169.
[9] C. M. Geldenhuys, G. Tonitz, and T. R. Niesler, “Whalevad-bpn: Improving baleen whale call detection with boundary proposal networks and post-processing optimisation,” 2025. [Online]. Available: https://arxiv.org/abs/2510.21280
[10] A. Gulati, J. Qin, C.-C. Chiu, N. Parmar, Y. Zhang, J. Yu, W. Han, S. Wang, Z. Zhang, Y. Wu, and R. Pang, “Conformer: Convolution-augmented transformer for speech recognition,” in Proc. Interspeech, 2020, pp. 5036–5040.
[11] V. Lostanlen, J. Salamon, M. Cartwright, B. McFee, A. Farnsworth, S. Kelling, and J. P. Bello, “Per-channel energy normalization: Why and how,” IEEE Signal Processing Letters, vol. 26, no. 1, pp. 39–43, 2019.
[12] Y. Wang, P. Getreuer, T. Hughes, R. F. Lyon, and R. A. Saurous, “Trainable frontend for robust and far-field keyword spotting,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2017, pp. 5670–5674.
[13] H. Nam, S.-H. Kim, B.-Y. Ko, and Y.-H. Park, “Frequency dynamic convolution: Frequency-adaptive pattern recognition for sound event detection,” in Proc. Interspeech, 2022, pp. 2763–2767.
[14] W. Luo, Y. Li, R. Urtasun, and R. Zemel, “Understanding the effective receptive field in deep convolutional neural networks,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 29, 2016.
[15] J. Su, M. Ahmed, Y. Lu, S. Pan, W. Bo, and Y. Liu, “Ro-Former: Enhanced transformer with rotary position embedding,” Neurocomputing, vol. 568, p. 127063, 2024.
[16] L. Liu, H. Jiang, P. He, W. Chen, X. Liu, J. Gao, and J. Han, “On the variance of the adaptive learning rate and beyond,” in International Conference on Learning Representations (ICLR), 2020.
[17] P. Izmailov, D. Podoprikhin, T. Garipov, D. Vetrov, and A. G. Wilson, “Averaging weights leads to wider optima and better
generalization,” in Conference on Uncertainty in Artificial Intelligence (UAI), 2018.