Manuscript Offprint

arXiv:2611.04714

Hybrid acoustic and pretrained embedding feature fusion for unmanned aerial vehicle detection using stacking ensemble learning under a leakage-aware evaluation protocol

Zahid Iqbal

Abstract

Introduction: Small multirotor drones produce a characteristic acoustic signature, and microphones offer a low-cost way to detect them for airspace safety and drone-traffic monitoring. 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 from pieces of existing sound collections, so that pieces of the same source can appear in both training and test data.

Materials and methods: 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 environmental 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 are combined by a stacking ensemble.

Results: Under the grouped protocol, the two-view stack reached a mean accuracy of 95.29% (standard deviation 1.62 percentage points over 15 test folds), a specificity of 98.29% and an area under the receiver operating characteristic curve of 0.990, and it classified 98.78% of unseen ESC-50 source clips correctly as non-drone. The random split overstated accuracy by 1.89 to 3.22 percentage points for the four models compared. Adding YAMNet embeddings to the hand-crafted view raised accuracy by 1.11 percentage points (higher in 12 of 15 folds and lower in none). 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 processed one clip in 51.0 ms on a single CPU thread.

Conclusions: 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.

Keywords: unmanned aerial vehicle detection; acoustic sensing; feature selection; mRMR; ReliefF; NSGA-II; YAMNet; stacking ensemble; data leakage; grouped cross-validation

1. Introduction

Small unmanned aerial vehicles (UAVs) have become inexpensive and easy to fly, and they are used for inspection, mapping, delivery and recreation. Their growing number in low-altitude airspace, near airports and over public events has made automatic drone detection a practical need for airspace safety and traffic monitoring. Radar, radio-frequency monitoring, cameras and

Preprint

microphones have all been applied to the task. Acoustic sensing is attractive because the motors and rotors of a multirotor produce a stable harmonic signature [1], microphones are cheap, and sound does not depend on lighting or a clear line of sight [2].

Acoustic drone detectors fall into two broad families. The first trains deep networks on time-frequency representations such as log-mel spectrograms or Mel-frequency cepstral coefficients (MFCCs). Djurek et al. showed that quadcopter sound carries harmonic structure that changes with the flight regime [1], and Dumitrescu et al. developed an acoustic system for UAV detection [2]. Al-Emadi et al. recorded the DroneAudioDataset and compared deep network architectures for drone detection and identification [3], and later enlarged the data with generative adversarial networks [4]. Casabianca and Zhang combined several deep networks by late fusion [5], and Cabrera-Ponce et al. detected nearby UAVs with a microphone array carried on board a UAV [6].

The second family computes a compact set of clip-level descriptors and applies classical learners. Tian and Yu recognised UAVs in outdoor areas in real time with a Random Forest algorithm [7], Wang et al. used engineered acoustic features to detect whether a UAV carries a payload [8], and Tejera-Berengue et al. analysed how distance and environmental conditions affect machine-learning detectors [9]. The same pattern of compact descriptors, feature selection and tree-based ensembles is common in other sensing and data-analysis tasks, for example machine-learning systems built on wearable sensor data for continuous healthcare monitoring [10] and the classification of malicious accounts on the Ethereum network with information-gain selection and gradient-boosted trees [11]. Ensemble models have also been used to handle strongly imbalanced classes in industrial inspection, for example in wafer defect classification [12], which parallels the class-weighted configuration studied here. Deep models reach high accuracy but need more data and computation; descriptor-based models are cheap and interpretable but depend on the choice of features. Acoustic detection is also often combined with other modalities: deep learning on radio-frequency signals has been used for end-to-end detection and identification [13], and Frid et al. fused radio-frequency and acoustic features [14]. The present study stays within the acoustic modality and fuses two views of the same signal.

Because descriptor-based detectors depend on their features, the selection step matters. Minimum-redundancy maximum-relevance (mRMR) selection adds features with high mutual information with the class and low redundancy with features already chosen [15], whereas ReliefF scores features by how well they separate near neighbours of different classes [16, 17]. Evolutionary multi-objective search, typically with NSGA-II [18], treats selection as a trade-off between error and subset size [19], and population-based search more generally has been applied to optimisation problems in dynamic environments [20]. At the same time, networks pretrained on large audio corpora such as AudioSet [21] now provide general-purpose embeddings at little cost. YAMNet [22] is a MobileNetV1-style network [23] trained with supervision on the 521 AudioSet classes, and its 1024-dimensional penultimate activations are used as transferable embeddings [22, 24]. Because it was not trained for drone sounds, we measure whether it adds information to a well-chosen set of hand-crafted descriptors.

A second question concerns evaluation. Public drone audio datasets are often distributed as short clips cut from a few longer recordings, and their non-drone class is often assembled from existing sound collections. When such clips are split at random, pieces of one recording or of one source sound fall on both sides of the split, and test accuracy then rewards recognising a recording rather than detecting a drone. Leakage of this kind is a known cause of over-optimistic results across machine-learning research [25]. Shulman recently grouped the drone clips of the DroneAudioDataset by recording session and the non-drone clips by their source, and reported lower scores under grouped cross-validation than under file-level grouping [26]. The binary task of this dataset [3] is a clear case: 96.4% of its 10,372 non-drone clips are one-second pieces of the 2,000 clips of the ESC-50 dataset [27], and its 1,332 drone clips come from 257 five-second chunks of only 7 recordings. ESC-50 therefore cannot act as an independent test set for models trained on this dataset, and random splits overstate performance for both classes.

Zahid Iqbal

Preprint

This paper revisits hybrid feature selection and two-view feature fusion for acoustic drone detection under an evaluation protocol that keeps every source on one side of each split. It compares a random split with a grouped protocol on identical test clips for every model, measures how the split affects specificity on unseen ESC-50 sources, and combines the protocol with feature-selection and fusion experiments. The study makes five contributions. First, we define a leakage-aware protocol for the DroneAudioDataset binary task that groups drone clips by recording chunk and non-drone clips by their source clip, following the official ESC-50 folds, and we measure side by side how much a random split inflates accuracy and ESC-50 specificity (Section 3.1). Second, we combine mRMR and ReliefF in a hybrid filter selection, with an ablation against each filter and against the full feature set and a selection-frequency analysis over 15 test folds (Section 3.2). Third, a multi-objective search with NSGA-II maps the trade-off between error and the number of features (Section 3.2). Fourth, a two-view stacking ensemble [28] of Random Forest [29] and XGBoost [30] learners on hand-crafted descriptors and YAMNet embeddings is evaluated with a fusion ablation, paired exact McNemar tests [31] with Holm correction [32], and bootstrap confidence intervals (Section 3.3). Fifth, a per-class analysis identifies the ESC-50 sounds most often mistaken for a drone, and single-thread CPU latency and model size are measured (Section 3.4).

References (45)