Hybrid acoustic and pretrained embedding feature fusion for unmanned aerial vehicle detection using stacking ensemble learning under a leakage-aware evaluation protocol
Organizations: Department of Computer Science, Faculty of Computing and Information Technology, University of Gujrat, 50700, Punjab, Pakistan
Abstract
Small multirotor drones produce a characteristic acoustic signature, and microphones offer a low-cost way to detect them. High accuracies have been reported on public drone audio benchmarks, often with random clip-level splits of datasets built from a few long recordings and pieces of existing sound collections, so pieces of one source can appear in both training and test data. We study the binary task of the public DroneAudioDataset (11,704 one-second clips). Its 1,332 drone clips come from 257 five-second chunks of 7 recordings, and 96.4% of its non-drone clips are pieces of the 2,000 clips of the ESC-50 sound dataset. A grouped, source-disjoint protocol (five folds, three repeats) is compared with a random split. Each clip is described by 57 hand-crafted acoustic descriptors, reduced by a hybrid minimum-redundancy maximum-relevance and ReliefF selection or by NSGA-II multi-objective search, and by a 1024-dimensional embedding from the pretrained YAMNet network. Random Forest and XGBoost learners on both views form a stacking ensemble. Under the grouped protocol, the two-view stack reached a mean accuracy of 95.29% (SD 1.62 points over 15 test folds), a specificity of 98.29% and an area under the ROC curve of 0.990, and it correctly classified 98.78% of unseen ESC-50 source clips as non-drone. The random split overstated accuracy by 1.89 to 3.22 points for the four models. Adding YAMNet embeddings to the hand-crafted view raised accuracy by 1.11 points (higher in 12 of 15 folds). Hybrid selection matched the accuracy of all 44 baseline descriptors with 16 to 18 features, and NSGA-II retained 4 to 6 features at lower accuracy. The stack took 51.0 ms per clip on one CPU thread. Source-disjoint evaluation is needed for a fair benchmark on this dataset, and fusing hand-crafted descriptors with pretrained embeddings gives a small but consistent gain at modest computational cost.
Figures & tables
| Subset | Clips | Leakage groups |
| 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 background noise | 70 | 5 noise recordings |
| Non-drone: silence | 301 | 1 group |
| Total | 11,704 |
| Accuracy (%) | ESC-50 specificity (%) | ||||
|---|---|---|---|---|---|
| Model | Random | Grouped | Random | Grouped | |
| RF, hybrid mRMR+ReliefF | 94.92 0.75 | 91.71 3.30 | 3.22 | 96.83 0.46 | 95.68 0.06 |
| XGBoost, hybrid-57 | 96.87 0.39 | 94.50 2.24 | 2.37 | 99.53 0.03 | 98.27 0.15 |
| Stacking: hand-crafted only | 96.55 0.54 | 94.18 2.10 | 2.37 | 99.52 0.15 | 98.45 0.18 |
| Stacking: hand-crafted + YAMNet (proposed) | 97.18 0.50 | 95.29 1.62 | 1.89 | 99.68 0.10 | 98.78 0.10 |
| Model | Acc. | Prec. | Rec. | F1 | Spec. | AUC | ESC-50 spec. |
|---|---|---|---|---|---|---|---|
| Logistic regression, hybrid | 91.12 2.13 | 90.25 2.95 | 92.35 3.48 | 91.23 2.11 | 89.90 3.61 | 0.965 0.016 | 91.12 0.29 |
| 1-D CNN, hybrid | 88.96 3.19 | 88.50 5.43 | 90.13 5.14 | 89.10 2.98 | 87.79 6.69 | 0.957 0.025 | 89.88 1.83 |
| RF, hybrid mRMR+ReliefF | 91.71 3.30 | 94.57 1.96 | 88.57 7.05 | 91.31 3.86 | 94.85 2.07 | 0.981 0.010 | 95.68 0.06 |
| XGBoost, hybrid | 94.10 1.78 | 94.80 1.58 | 93.36 3.84 | 94.03 1.92 | 94.84 1.68 | 0.985 0.009 | 95.50 0.10 |
| Model | Acc. | Prec. | Rec. | F1 | Spec. | AUC | ESC-50 spec. |
|---|---|---|---|---|---|---|---|
| RF, all 44 baseline features | 91.61 2.47 | 94.82 2.57 | 88.12 5.06 | 91.24 2.81 | 95.09 2.63 | 0.981 0.010 | 96.17 0.39 |
| RF, mRMR top-10 | 91.33 2.54 | 92.39 2.69 | 90.15 4.55 | 91.19 2.75 | 92.50 2.92 | 0.973 0.014 | 94.42 0.46 |
| RF, ReliefF top-10 | 90.69 3.65 | 93.42 2.10 | 87.60 7.51 | 90.25 4.22 | 93.78 2.20 | 0.973 0.014 | 94.88 0.23 |
| RF, hybrid mRMR+ReliefF | 91.71 3.30 | 94.57 1.96 | 88.57 7.05 | 91.31 3.86 | 94.85 2.07 | 0.981 0.010 | 95.68 0.06 |
| Fold | Front size | Chosen | Inner-CV acc. | Test acc. | Test AUC | Hybrid | Hybrid test acc. |
|---|---|---|---|---|---|---|---|
| 1 | 10 | 6 | 92.07 | 88.46 | 0.953 | 17 | 92.69 |
| 2 | 12 | 5 | 91.19 | 91.54 | 0.972 | 16 | 94.62 |
| 3 | 10 | 6 | 92.44 | 86.97 | 0.959 | 16 | 92.15 |
| 4 | 10 | 5 | 91.04 | 87.20 | 0.951 | 18 | 90.00 |
| 5 | 10 | 4 | 92.68 | 86.54 | 0.968 | 17 | 87.38 |
| Model | Acc. | Prec. | Rec. | F1 | Spec. | AUC | ESC-50 spec. |
|---|---|---|---|---|---|---|---|
| RF, hybrid-57 | 91.87 3.05 | 97.61 1.02 | 85.86 6.31 | 91.24 3.61 | 97.88 0.95 | 0.987 0.009 | 98.80 0.13 |
| XGBoost, hybrid-57 | 94.50 2.24 | 97.51 0.89 | 91.33 4.46 | 94.26 2.50 | 97.66 0.87 | 0.988 0.009 | 98.27 0.15 |
| RF, YAMNet | 91.98 1.46 | 96.73 1.15 | 86.90 2.77 | 91.53 1.64 | 97.05 1.06 | 0.978 0.010 | 98.25 0.09 |
| XGBoost, YAMNet | 92.38 1.44 | 96.90 0.99 | 87.57 2.82 | 91.97 1.61 | 97.19 0.92 | 0.980 0.010 | 98.58 0.10 |
| Stacking: hand-crafted only | 94.18 2.10 | 97.68 0.95 | 90.52 4.35 | 93.91 2.39 | 97.84 0.94 | 0.988 0.008 | 98.45 0.18 |
| Stacking: YAMNet only | 92.38 1.60 | 97.19 1.03 | 87.29 3.05 | 91.95 1.79 | 97.47 0.94 | 0.979 0.010 | 98.50 0.22 |
| Alternative | acc. (pp), mean SD | Folds won / tied / lost |
|---|---|---|
| Stacking: hand-crafted only | 1.11 1.08 | 12 / 3 / 0 |
| XGBoost, hybrid-57 | 0.80 1.08 | 11 / 1 / 3 |
| Stacking: YAMNet only | 2.91 1.74 | 14 / 0 / 1 |
| RF, hybrid mRMR+ReliefF | 3.59 3.53 | 13 / 0 / 2 |
| XGBoost, hybrid | 1.19 1.55 | 12 / 0 / 3 |
| Repeat 1 | Repeat 2 | Repeat 3 | |||||||
| Alternative | b/c | Holm | b/c | Holm | b/c | Holm | |||
| Stacking: hand-crafted only | 55 / 33 | 0.025 | 0.074 | 55 / 27 | 0.003 | 0.008 | 57 / 19 | 0.001 | 0.001 |
| XGBoost, hybrid-57 | 53 / 40 | 0.213 | 0.213 | 52 / 28 | 0.010 | 0.012 | 48 / 25 | 0.010 | 0.010 |
| Stacking: YAMNet only | 98 / 23 | 0.001 | 0.001 | 114 / 32 | 0.001 | 0.001 | 108 / 34 | 0.001 | 0.001 |
| RF, hybrid mRMR+ReliefF | 151 / 45 | 0.001 | 0.001 | 143 / 47 | 0.001 | 0.001 | 145 / 39 | 0.001 | 0.001 |
| XGBoost, hybrid | 76 / 55 | 0.080 | 0.160 | 95 / 60 | 0.006 | 0.012 | 95 / 48 | 0.001 | 0.001 |
| Model | Repeat 1 | Repeat 2 | Repeat 3 |
|---|---|---|---|
| RF, hybrid mRMR+ReliefF | 91.25 [90.17, 92.34] | 91.55 [90.43, 92.61] | 91.63 [90.61, 92.72] |
| XGBoost, hybrid-57 | 94.74 [93.88, 95.61] | 94.26 [93.36, 95.16] | 94.74 [93.88, 95.61] |
| Stacking: hand-crafted only | 94.41 [93.54, 95.27] | 94.11 [93.21, 95.01] | 94.18 [93.28, 95.08] |
| Stacking: hand-crafted + YAMNet (proposed) | 95.23 [94.41, 96.02] | 95.16 [94.33, 95.98] | 95.61 [94.78, 96.40] |
| Model | Acc. | Prec. | Rec. | F1 | Spec. | AUC | ESC-50 spec. |
|---|---|---|---|---|---|---|---|
| Stacking: hybrid-44 + YAMNet (1:1 data) | 95.52 1.06 | 95.83 1.77 | 95.23 2.10 | 95.50 1.08 | 95.81 1.83 | 0.988 0.008 | 96.73 0.34 |
| Stacking: hybrid-57 + YAMNet (1:1 data) | 95.97 1.70 | 96.45 1.77 | 95.48 2.79 | 95.94 1.75 | 96.46 1.81 | 0.990 0.009 | 96.98 0.35 |
| Stacking: hand-crafted only | 94.18 2.10 | 97.68 0.95 | 90.52 4.35 | 93.91 2.39 | 97.84 0.94 | 0.988 0.008 | 98.45 0.18 |
| Stacking: hand-crafted + YAMNet (proposed) | 95.29 1.62 | 98.19 0.92 | 92.30 3.14 | 95.12 1.76 | 98.29 0.89 | 0.990 0.009 | 98.78 0.10 |
| ESC-50 class | Major group | False-positive rate (%), mean SD |
|---|---|---|
| washing machine | Interior/domestic | 20.00 2.50 |
| rain | Natural soundscapes | 9.17 3.82 |
| vacuum cleaner | Interior/domestic | 5.00 0.00 |
| chainsaw | Exterior/urban | 4.17 1.44 |
| train | Exterior/urban | 4.17 1.44 |
| airplane | Exterior/urban | 3.33 1.44 |
| Major group | False-positive rate (%) |
|---|---|
| Animals | 0.00 |
| Exterior/urban | 2.00 |
| Human non-speech | 0.00 |
| Interior/domestic | 2.58 |
| Natural soundscapes | 1.50 |
| Pipeline | Hand-crafted features | YAMNet | Features (ms) | Classifier (ms) | Total (ms) | Size (MB) | Accuracy (%) |
|---|---|---|---|---|---|---|---|
| RF, hybrid mRMR+ReliefF | 17 | no | 14.43 | 7.06 | 21.49 | 1.68 | 91.71 3.30 |
| RF, NSGA-II subset | 6 | no | 14.43 | 7.02 | 21.45 | 2.15 | 88.14 2.03 a |
| XGBoost, hybrid-57 | 18 | no | 14.43 | 0.24 | 14.67 | 0.69 | 94.50 2.24 |
| Stacking: hand-crafted only | 18 | no | 14.43 | 14.32 | 28.75 | 5.44 | 94.18 2.10 |
| Stacking: hand-crafted + YAMNet (proposed) | 18 | yes | 22.14 | 28.86 | 51.00 | 12.60 | 95.29 1.62 |