Chirp-Compensated Multitaper Spectra for Frequency-Modulated Animal Calls

A standard audio feature pipeline assumes that every sound in a 20–30 ms window holds a constant pitch. Bird chirps, whistles and sung vibrato do not. Within one frame their energy smears across neighbouring frequencies, and features built on that frame, such as mel-frequency cepstral coefficients, describe a blurred version of the call. MFCCs are the compact spectral-envelope summary that most audio classifiers consume. Two well-developed signal-processing tools each fix half of this problem. The first is multitaper spectral estimation: the same frame is analysed through several mutually orthogonal window shapes and the resulting spectra are averaged, which cuts noise without heavy smoothing. It still assumes constant frequency, so it averages several copies of the same smear. The second is demodulation: estimate how fast the frequency is sweeping (the "frequency slope"), then multiply the signal by the opposite sweep so the component looks stationary, much like panning a camera to follow a moving car. Demodulation removes the smearing bias, but its slope estimate is noisy and becomes unstable in broadband noise.

The proposal rests on the observation that these two failure modes are complementary. The approximately independent spectra produced by the tapers give several noisy views from which to estimate the frequency slope, and a denoised slope estimate is exactly what demodulation lacks. Once the frame has been de-chirped, multitapering is back in the regime its theory covers. We propose to build this joint estimator, measure whether it keeps the variance benefit of multitapering and the bias benefit of demodulation at the same time, and test whether it improves MFCC-based few-shot bioacoustic detection. As a secondary question, we test whether it improves call-count estimates obtained with an unbinned extended maximum-likelihood fit, a counting method borrowed from particle physics.

Core Claim

We claim three things. First, estimating the frequency slope jointly across the $K$ taper spectra reduces its variance enough to remove most of the 2–3 dB noise penalty that demodulation carries. Second, applying the tapers to the de-chirped frame removes the peak flattening that plain multitapering suffers under frequency modulation. Third, MFCCs computed from the resulting spectrum carry a sharper envelope and an explicit, low-noise slope feature, and a fixed downstream few-shot detector exploits both.

What is new is the coupling between the two methods. Each has been used alone in front of the problem. Multitapering has been placed in front of MFCCs only under a stationarity assumption. Demodulation has only been used with a single window for sinusoidal resynthesis. Nobody has used the tapers to stabilise the slope estimate, and nobody has fed a demodulated spectrum into a mel filterbank.

Where This Sits

Two lines of work supply the method. What Else is New Than the Hamming Window? Robust MFCCs for Speaker Recognition via Multitapering replaced the Hamming window with Thomson, multipeak and sine-weighted tapers before the mel filterbank. On NIST 2002 speaker verification this lowered equal error rate from 9.66% to 8.13% on clean speech and from 16.41% to 14.63% at −10 dB factory noise, with 4–8 tapers best. That study also constrains our design. Its analysis states that higher-order tapers widen the main lobe, so larger $K$ trades variance for resolution. Its speech material also never stresses the constant-frequency assumption, which is exactly what we attack.

Roebel's three papers supply the demodulation machinery:

The combined results are bias reductions of 2–30 dB (Hanning) and about 10 dB (Gaussian), and 3–9.3 dB lower residual on a vibrato tenor. The same papers also motivate our work by documenting the weaknesses. The method pays a 2–3 dB noise penalty, it produces extreme slope values on transients or unresolved peaks, and it costs roughly 8–10 times a plain interpolated FFT.

Surrey System for DCASE 2022 Task 5 supplies the application regime and the strongest downstream competitor. It builds a segment-level prototypical metric learner on per-channel energy normalisation (PCEN) plus delta-MFCC inputs and reports 68.74% F-measure on the Task 5 validation set, against 29.5% for the official baseline. Its front end uses conventional stationary windows, so our front end can be swapped in while everything else stays fixed.

The counting component draws on unbinned extended maximum-likelihood fits:

All three work in physics and none touches audio. The main risk they document, and which constrains our design, is a biased yield when the assumed signal or background densities are wrong.

Research Program

The estimator. For each frame and each strong spectral peak, we compute the interpolated-FFT slope estimate on every one of the $K$ taper spectra. We then combine the estimates as $\hat D = \sum_j \alpha_j \hat D_j$, where $\hat D_j$ is the slope from taper $j$ and the weights $\alpha_j$ favour low-order, better-concentrated tapers.

  • Expected variance gain. Because the taper spectra have approximately uncorrelated errors, the variance of $\hat D$ should fall roughly as $1/K_{\text{eff}}$. Here $K_{\text{eff}}$ is the effective number of independent tapers implied by the weights. The rate follows from averaging nearly independent estimates. Taper broadening will erode it at large $K$, and measuring where the erosion sets in is part of the study.
  • Refinement. We refine $\hat D$ with Roebel's three-point search. This time it maximises the multitaper-averaged peak amplitude rather than a single-window amplitude.
  • Demodulation step. For demodulation we use the time-domain form, multiplying the frame by $e^{-i\pi \hat D t^2}$ within a sub-band around the peak. Every taper can then be applied to the same de-chirped segment. This sidesteps the need for taper-specific frequency-domain kernels, although Roebel notes that time-domain interpolation of kernels is itself unstudied, so we also test it.
  • Harmonic calls. For harmonic calls we share one fundamental slope across harmonics, scaled by harmonic number.

Recalibration. Roebel's slope-coefficient formulas are derived for Hanning and Gaussian windows, so the relation from peak coefficients to slope must be recalibrated numerically for Slepian tapers. This is a concrete engineering task, and we treat it as a first deliverable.

The feature. The de-chirped multitaper spectrum goes through the usual mel filterbank, log compression and discrete cosine transform. We also append the per-frame slope $\hat D$ and a confidence value, defined as the spread of the $\hat D_j$ across tapers, as extra features. The spread doubles as a fall-back switch. When the tapers disagree, which happens on transients and overlapping peaks where Roebel reports instability, the frame reverts to plain multitapering.

Counting. Candidate call detections become continuous events carrying a detector score, duration and slope. An extended likelihood of the form given in the physics papers is then fitted per recording. The signal density is estimated from the five labelled shots, and the background density from unlabelled stretches of the same recording. The fit returns an estimated number of calls with an uncertainty.

Baselines

Naive reference point. Hamming-window MFCCs with deltas, fed to the same detector. This shows what the problem looks like when nothing is done.

Existing multitaper front end. The multitaper MFCCs of Kinnunen et al., sweeping $K$ from 4 to 8 as that paper recommends. This is the strongest existing variance-reduction front end and the natural thing to try first.

Existing demodulation front end. Roebel's single-window demodulation (2008) placed in front of the mel filterbank. This baseline is itself new as a feature, but it is the obvious one-ingredient version.

Key ablation. Demodulation followed by multitapering, but with the slope estimated from a single window only. This isolates our central claim that pooling across tapers is what stabilises the slope. If this ablation matches the full method, the coupling adds nothing, and we will report that.

Strongest downstream system. Liu et al., with its reported 68.74% validation F-measure on DCASE 2022 Task 5. For a fair comparison we retrain their architecture from scratch for every front end. The segment length, prototype construction, post-processing and random seeds stay fixed, and each front end gets the same hyperparameter budget of window length and $K$, chosen on the same validation split. We first require our reimplementation of their system to reproduce a figure near 68.74%. We count a front end as beating it if the gain over our reproduced system exceeds the seed-to-seed spread across five seeds. We also require that the gain concentrates in the classes with the strongest frequency modulation.

Counting baseline. The number of detections that survive Liu-style thresholding. No reported result was found on Lacuna for call-count error on DCASE Task 5, so we will establish that number ourselves.

Why not just…?

Why not just shorten the analysis window? A shorter window makes the sweep within a frame smaller, but it widens every peak in proportion to one over the window length. Closely spaced harmonics then merge, and multitapering widens peaks further. Roebel's vibrato results (2007; Parameter estimation for linear AM/FM sinusoids using frequency domain demodulation) show that demodulation keeps long windows and still cuts residual error by up to 9 dB. We include window length in every baseline's tuning budget, so if short windows alone close the gap on the detection benchmark, the data will show it.

Why not just rely on delta-MFCCs and a learned detector to absorb the smearing? This is the real threat. Deltas capture change between frames, not the sweep inside a frame, but a network with PCEN inputs might learn around the blur anyway, and Liu et al. already do well. Our response is the controlled swap described above, plus a stratified analysis of results by measured modulation rate. If gains do not grow with modulation rate, the proposal's downstream claim fails, even if the synthetic bias results hold.

Why not just demodulate with a single window, as Roebel does? Roebel's own results report a 2–3 dB noise penalty and unstable slopes under interference (2006; Estimation of partial parameters for non stationary sinusoids, 2008), and field recordings are noisy. The single-window-slope ablation tests directly whether taper pooling is needed.

Why not just count thresholded detections instead of fitting an extended likelihood? For clean recordings, thresholding may well suffice. The physics evidence (D'Amico et al.) is that continuous weighting helps most at low signal-to-noise, so we expect any gain only in noisy recordings. We report results stratified by signal-to-noise and check the calibration of the fitted uncertainty intervals.

Proposed Experiments

Synthetic benchmark. We start with the linear AM/FM sinusoid benchmark used by Roebel, extended to harmonic stacks and to white and factory noise from NOISEX-92 across a range of signal-to-noise ratios. We measure:

  • bias and variance of the amplitude, frequency and slope estimates;
  • mel-band energy error against the energy of the noiseless signal;
  • run time relative to a plain interpolated FFT, since Roebel's cost of 8–10 times sets the reference.

Decisive check 1: noise penalty. At low signal-to-noise, the joint estimator should have slope variance below the single-window demodulator's, eliminating most of the 2–3 dB penalty.

Decisive check 2: chirp bias. At high slope, it should show peak-amplitude bias well below plain multitapering.

No reported result was found on Lacuna for slope-estimation variance under multitapering, so both curves are new measurements.

Transfer checks. On DCASE 2022 Task 5 we run the baselines and ablation described above. We report F-measure overall and by modulation-rate stratum, and call-count error for the extended-likelihood fit. Its coverage is validated by injecting known numbers of synthetic chirps into real background audio. As a sanity check that the front end does no harm on nearly stationary material, we also rerun the NIST 2002 plus NOISEX-92 speaker verification protocol, where the joint estimator should match Kinnunen's 8.13% and 14.63% equal error rates rather than degrade them.

What would falsify the proposal. The idea fails if taper-pooled slopes are no better than single-window slopes at low signal-to-noise. It also fails if detection gains do not track modulation rate.