[Paper Review] Classifying Variable-Length Audio Files with All-Convolutional Networks and Masked Global Pooling
This paper proposes an all-convolutional neural network with masked global pooling for classifying variable-length audio files in acoustic scene classification and domestic audio tagging tasks. It processes raw STFT features without fully connected layers or dropout, achieving 84.5% accuracy (vs. 72.5% baseline) and 0.17 equal error rate (vs. 0.21 baseline), demonstrating superior performance through end-to-end feature learning and adaptive pooling for variable-length inputs.
We trained a deep all-convolutional neural network with masked global pooling to perform single-label classification for acoustic scene classification and multi-label classification for domestic audio tagging in the DCASE-2016 contest. Our network achieved an average accuracy of 84.5% on the four-fold cross-validation for acoustic scene recognition, compared to the provided baseline of 72.5%, and an average equal error rate of 0.17 for domestic audio tagging, compared to the baseline of 0.21. The network therefore improves the baselines by a relative amount of 17% and 19%, respectively. The network only consists of convolutional layers to extract features from the short-time Fourier transform and one global pooling layer to combine those features. It particularly possesses neither fully-connected layers, besides the fully-connected output layer, nor dropout layers.
Motivation & Objective
- To address the challenge of classifying variable-length audio files in acoustic scene classification and domestic audio tagging.
- To improve upon baseline systems using hand-crafted features by leveraging end-to-end deep learning on STFT representations.
- To eliminate fully connected layers and dropout, relying solely on convolutional layers and global pooling for regularization and efficiency.
- To develop a robust, parameter-efficient architecture that generalizes across diverse audio durations without input truncation or zero-padding.
Proposed method
- The network processes the magnitude of the short-time Fourier transform (STFT) as input, using a 25 ms Hann window with 15 ms hop size.
- It employs a stack of 1D convolutional layers with kernel size 3 and stride 2 to downsample temporal dimensions, replacing traditional pooling layers.
- A masked global average pooling layer aggregates features across time, dynamically adapting to input length by ignoring padded regions.
- The network uses ReLU activation after each convolutional layer and avoids fully connected layers, reducing parameters and training time.
- Feature standardization is applied across the dataset to normalize input features to zero mean and unit variance.
- The architecture is trained end-to-end on raw STFT inputs without hand-crafted features like MFCCs, focusing on learned filter banks.
Experimental results
Research questions
- RQ1Can an all-convolutional network with masked global pooling outperform traditional baselines in acoustic scene classification on variable-length audio?
- RQ2How effective is masked global pooling in handling variable-length audio inputs without input truncation or zero-padding?
- RQ3Does removing fully connected layers and dropout still yield strong generalization in audio classification tasks?
- RQ4To what extent does preserving the full 44.1 kHz sampling rate improve performance compared to downsampling to 16 kHz?
- RQ5Can end-to-end learning on STFT features surpass systems based on hand-crafted features like MFCCs?
Key findings
- The network achieved 84.5% average accuracy on four-fold cross-validation for acoustic scene classification, representing a 12 percentage point improvement over the 72.5% baseline.
- For domestic audio tagging, the network achieved an equal error rate (EER) of 0.17, a 19% relative improvement over the baseline EER of 0.21.
- The model outperformed the baseline on all but two acoustic scenes—cafe/restaurant and residential area—where the baseline performed better.
- The most challenging scene for the network was 'park', with a recognition rate of 13.9%, matching the baseline performance.
- The network showed particular strength in recognizing 'office' and 'metro station' scenes, achieving 100% accuracy in some folds.
- Child speech was the easiest audio tag to recognize (EER 0.06), while adult male speech was the most difficult (EER 0.20), and the network struggled with broadband noise and video game/TV tags despite their strong baseline performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.