Drone Audio Detection at 95.29%: What a Leakage-Aware Split Changes
On the DroneAudioDataset, splitting pieces of the same recording across train and test inflates accuracy by 1.89 to 3.22 points; under a source-disjoint protocol, a two-view stack of hand-crafted descriptors and YAMNet embeddings reaches 95.29% accuracy and 98.29% specificity at 51.0 ms per clip.
On this page
You have a drone-detection model card quoting 97% accuracy on 11,704 public clips, but the number tells you nothing until you know how those clips were split. Most people assume a high score on a public audio benchmark means the model recognises drones. Paper [1] runs the same four models on the same 11,704 one-second clips under two splits and finds the random one overstates accuracy by 1.89 to 3.22 points — small, but large enough to change what you sign.
Where the 11,704 one-second clips come from
The binary task of DroneAudioDataset holds 11,704 one-second, 16 kHz mono clips [1]. The positive class — the thing you want to detect — has 1,332 drone clips, and they are not 1,332 independent flights: they are one-second pieces of 257 five-second chunks cut from only 7 recordings, labelled Bebop and Membo in the file names and captured indoors. The negative class has 10,372 clips, of which 10,001 are one-second pieces of the 2,000 source clips of the ESC-50 environmental sound set, or 96.4%. Another 70 come from 5 background-noise recordings of Speech Commands, and 301 are silence.
| Subset | Clips | Leakage group used by the grouped split |
|---|---|---|
| Drone (positive) | 1,332 | 257 five-second chunks from 7 recordings |
| Non-drone: ESC-50 pieces | 10,001 | 2,000 ESC-50 source clips (50 classes) |
| Non-drone: Speech Commands noise | 70 | 5 noise recordings |
| Non-drone: silence | 301 | 1 group |
| Total | 11,704 | — |
Those two facts shape the whole evaluation. The positive class rests on 7 recordings, so neighbouring one-second pieces of one recording are acoustically near-identical. The negative class is dominated by ESC-50, where each five-second source clip contributes roughly five pieces. Any split that ignores sources is partly measuring how well a model recognises a recording it has already heard, and paper [1] treats that as the central question rather than a footnote.
Two splits, same models: only the assignment of clips changes
The first arm is a random piece-level split: 80/20, stratified by class, run three times with different seeds. Pieces of one five-second chunk and of one ESC-50 source clip can then land on both sides of the line. This arm reproduces the clip-level evaluation such datasets invite, with the same models and settings as the main protocol, so the only difference between arms is how clips are assigned to the test set.
The second arm is the main protocol, grouped and source-disjoint. ESC-50 pieces keep the official fold of their source clip, so all pieces of a clip always sit in the same fold. Drone pieces are grouped by their 257 five-second chunks, and the chunks of each of the 7 recordings are spread across the five folds so every fold draws a similar number of clips from every recording. Noise sources are assigned as whole recordings and silence as one group. Each fold serves as the test fold once, and the assignment is repeated three times, giving 15 test folds. Test folds held 490 to 644 clips; training pools held 2,020 to 2,174 clips in the 1:1 configuration (B) and 4,040 to 4,348 clips in the 1:3 class-weighted configuration (E).
The direction is unambiguous: the random split overstated accuracy by 1.89 to 3.22 points for the four models compared. Under the grouped protocol, the two-view stack reached a mean accuracy of 95.29% with a standard deviation of 1.62 points over 15 folds, a specificity of 98.29% and an area under the ROC curve of 0.990. Scored at the level of whole source clips, using the mean drone probability of each clip's pieces, 98.78% of unseen ESC-50 sources were correctly labelled non-drone — a far larger and more varied negative set than the balanced folds.
57 descriptors, 1024 embedding dimensions, four base learners
Each one-second clip is first described by 44 baseline features: the mean and standard deviation of 13 MFCCs (26 values), the means of spectral centroid, bandwidth, 85% roll-off and zero-crossing rate (4), the means of 12 chroma bins (12), and the mean and standard deviation of a 128-band log-mel spectrogram (2). Seven spectral-contrast means and six tonnetz dimensions extend that to 57. The families capture different aspects of one sound: MFCCs and log-mel statistics summarise the spectral envelope, the shape measures locate energy across frequency, and chroma, contrast and tonnetz respond to harmonic structure such as rotor blade-passing frequencies.
Selection combines two filters with different criteria. Minimum-redundancy maximum-relevance (mRMR) adds, at each step, the feature with high mutual information with the class and low mutual information with features already chosen. ReliefF scores features by how well they separate near neighbours of different classes. The hybrid subset is the union of each method's top ten, giving 16 to 18 features per fold. A second route, an NSGA-II multi-objective search over binary masks on the 44 baseline descriptors, minimises both the grouped three-fold cross-validation error and the number of selected features with a population of 40 over 40 generations, run on the five folds of the first repeat. Hybrid selection matched the accuracy of all 44 baseline descriptors using 16 to 18 features; NSGA-II kept only 4 to 6 features, at lower accuracy.
The second view comes from YAMNet, a MobileNetV1-style network trained on the 521 AudioSet classes, used frozen: its 1024-dimensional penultimate activations are averaged over 0.96-second windows with a 0.48-second hop to give one vector per clip. Since it was never trained for drone sounds, whether it adds anything is an empirical question. A Random Forest of 200 trees and XGBoost (300 trees, learning rate 0.05, depth 6) are trained on each view, and a logistic-regression meta-learner combines the four out-of-fold probability streams before the base learners are refitted on the full training pool. Adding YAMNet embeddings raised accuracy by 1.11 points, higher in 12 of 15 folds and lower in none.
The headline numbers and the statistics behind them
| Metric | Value | Definition |
|---|---|---|
| Mean accuracy, two-view stack | 95.29% | 15 grouped test folds, SD 1.62 points |
| Specificity | 98.29% | same folds |
| Area under the ROC curve | 0.990 | same folds |
| Unseen ESC-50 source specificity | 98.78% | per source clip, mean of piece probabilities |
| Random-split overstatement | 1.89 to 3.22 points | across the four models |
| Latency per clip | 51.0 ms | one CPU thread, median of 100 clips x 3 |
The statistics are worth copying into your own acceptance criteria. Because training pools of different folds overlap, fold accuracies are not independent, so the proposed stack is compared with each alternative on identical clips using the exact McNemar test, which uses only the clips on which the two models disagree. Predictions are pooled across folds within each repeat, Holm correction controls the family-wise error rate over five comparisons per repeat, and pooled accuracies carry 95% bootstrap confidence intervals from 2,000 resamples [1]. Latency is the median over 100 clips and three repetitions on a single CPU thread.
When this method does not apply
- Aircraft and scene: the positive class is 7 indoor recordings of two quadcopters. The method does not apply unchanged to outdoor, multi-model, long-range or high-wind conditions; the paper makes no such claim.
- Negative composition: 96.4% of negatives are ESC-50 pieces, so behaviour on everyday noise outside ESC-50 is not systematically tested.
- Size of the fusion gain: YAMNet embeddings buy 1.11 points. Real, consistent, but not decisive, and not guaranteed to survive a dataset change.
- Search cost: NSGA-II ran only on the five folds of the first repeat, and its 4-to-6-feature subsets were less accurate, so it is not an equal-cost replacement.
- Scope of the protocol: source-disjoint grouping removes inflation, not every gap between benchmark and deployment. It does not make the test set representative of your site.
Two conclusions hold, and both are blunt: fair benchmarking on this dataset requires a source-disjoint evaluation, and fusing hand-crafted descriptors with pretrained embeddings gives a small but consistent gain at modest computational cost [1]. Everything else is a judgement call about which split produced the 97% you were shown.
