[Paper Review] Audio Set classification with attention model: A probabilistic perspective
This paper proposes an attention-based deep learning model for audio tagging on the large-scale AudioSet dataset, framing attention as a learnable probability measure over instances within a bag. Using a fully connected neural network with softmax-activated attention, the method achieves an mAP of 0.327, outperforming the Google baseline (0.314) and RNN-based models (0.325) by modeling bag-level classification as the expectation of instance predictions weighted by learned attention scores.
This paper investigates the classification of the Audio Set dataset. Audio Set is a large scale weakly labelled dataset of sound clips. Previous work used multiple instance learning (MIL) to classify weakly labelled data. In MIL, a bag consists of several instances, and a bag is labelled positive if at least one instances in the audio clip is positive. A bag is labelled negative if all the instances in the bag are negative. We propose an attention model to tackle the MIL problem and explain this attention model from a novel probabilistic perspective. We define a probability space on each bag, where each instance in the bag has a trainable probability measure for each class. Then the classification of a bag is the expectation of the classification output of the instances in the bag with respect to the learned probability measure. Experimental results show that our proposed attention model modeled by fully connected deep neural network obtains mAP of 0.327 on Audio Set dataset, outperforming the Google's baseline of 0.314 and recurrent neural network of 0.325.
Motivation & Objective
- To address the challenge of weakly supervised audio tagging on the large-scale AudioSet dataset with 527 classes.
- To improve classification performance beyond existing baselines such as Google's fully connected DNN and RNN-based models.
- To provide a novel probabilistic interpretation of attention mechanisms in the context of multiple instance learning (MIL).
- To explore the effectiveness of different non-negative activation functions (ReLU, sigmoid, softmax) for modeling attention weights.
Proposed method
- Models both the classifier and the attention (probability measure) for each instance using a deep neural network with three fully connected layers, ReLU activation, and dropout.
- Defines the attention weight for each instance in a bag as a normalized, non-negative function of the embedded representation, with softmax yielding the best performance.
- Computes bag-level predictions as the expectation of instance-level predictions weighted by learned attention scores, formalized as E[f_k(x) | p_k(x)] = Σ p_k(x) * f_k(x) over instances in the bag.
- Applies a data balancing strategy to mitigate class imbalance in the weakly labeled AudioSet dataset.
- Uses bottleneck features from a pre-trained model (trained on YouTube-100M) as input, with 128-dimensional PCA-reduced features extracted at 1 per second.
- Employs mean average precision (mAP), AUC, and d-prime as evaluation metrics across all 527 classes.
Experimental results
Research questions
- RQ1Can an attention mechanism modeled as a learnable probability measure improve audio tagging performance on the large-scale AudioSet dataset compared to traditional pooling strategies?
- RQ2How does the choice of non-negative activation function (ReLU, sigmoid, softmax) affect the performance of the attention mechanism in the MIL framework?
- RQ3Does the proposed probabilistic attention model outperform the Google baseline and RNN-based models in terms of mAP and AUC?
- RQ4To what extent does data balancing improve the generalization of the attention model on long-tail class distributions in AudioSet?
- RQ5Can the attention mechanism effectively localize relevant audio events while suppressing background noise, as suggested by its similarity to feature selection?
Key findings
- The proposed attention model with softmax-activated attention achieves an mAP of 0.327, surpassing the Google baseline (0.314) and RNN with average pooling (0.325).
- Using a data balancing strategy improves mAP from 0.275 to 0.296, demonstrating its effectiveness in mitigating class imbalance.
- Among non-negative activation functions, softmax outperforms ReLU and sigmoid, achieving 0.327 mAP, 0.965 AUC, and 2.558 d-prime.
- Average pooling and max pooling perform worse than the proposed attention mechanism, with average pooling achieving 0.296 mAP and max pooling 0.284 mAP.
- The attention mechanism effectively learns to assign higher weights to relevant audio segments, enabling better localization and robustness to background noise.
- The probabilistic interpretation of attention as a learned probability measure provides a principled and interpretable framework for MIL in audio tagging.
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.