all projects

Course Project

Audio Classification using AudioSet

Rijul Dahiya1, Grishma Deshmukh1, Ansh Kumar Sharma1

1New York University
Read paper

Abstract

Audio classification is challenging due to the unstructured and diverse nature of sound events. In this study, we employ BEATs, a prominent self-supervised learning algorithm, to evaluate the effectiveness of large pre-trained models as feature extractors. We investigate various machine learning approaches, from simple models like logistic regression to advanced deep learning architectures such as GRU. We further compare performance across different BEATs layers as features and contrast these with traditional feature extraction techniques. Experiments on a subset of AudioSet (AS-20K) demonstrate that features from pre-trained models and deeper layers consistently outperform conventional methods.

Key Contributions

Method

Audio clips are processed through the BEATs self-supervised model, and activations from various transformer layers are extracted as fixed features. Multiple classifiers, logistic regression, SVM, GRU, and CNN, are trained on these features. Traditional features (MFCC, Mel-spectrogram) serve as baselines. Evaluation is performed on AS-20K using mean average precision (mAP).

Results — feature layer

MAP by which BEATs layer supplies the features. Performance climbs sharply with depth: last-layer features are roughly 7× better than first-layer for the MLP and 60× for the LSTM.

LayerMLPCNNRNNLSTMGRU
First0.05440.06980.01070.00600.0128
Middle0.17820.14660.01660.05070.1150
Last0.39120.33200.19610.35720.3810

Results — classifier and reduction

Figures

Figure 1. Flowchart depicting all steps from raw audio to evaluation, preprocessing, BEATs feature extraction, classifier training, and metric computation.
Figure 1. Flowchart depicting all steps from raw audio to evaluation, preprocessing, BEATs feature extraction, classifier training, and metric computation.
Figure 2. Distribution of samples across AudioSet classes in the AS-20K subset used for evaluation.
Figure 2. Distribution of samples across AudioSet classes in the AS-20K subset used for evaluation.
Figure 3. Label co-occurrence matrix, showing correlations between audio event categories in the dataset.
Figure 3. Label co-occurrence matrix, showing correlations between audio event categories in the dataset.

Full paper