Skip to main content
QUICK REVIEW

[Paper Review] A Deep Neural Network for Audio Classification with a Classifier Attention Mechanism

Haoye Lu, Haolong Zhang|arXiv (Cornell University)|Jun 14, 2020
Music and Audio ProcessingComputer Science23 references10 citations
TL;DR

This paper proposes a novel deep neural network, Classifier-Attention-Based CNN (CAB-CNN), for audio classification that replaces traditional spectrogram preprocessing with an attention mechanism to dynamically select from a list of lightweight, specialized classifiers. By jointly training the entire model end-to-end and reducing classifier complexity, CAB-CNN achieves 95.99% test accuracy on the UT-Podcast corpus, outperforming state-of-the-art methods by over 10% on all metrics.

ABSTRACT

Audio classification is considered as a challenging problem in pattern recognition. Recently, many algorithms have been proposed using deep neural networks. In this paper, we introduce a new attention-based neural network architecture called Classifier-Attention-Based Convolutional Neural Network (CAB-CNN). The algorithm uses a newly designed architecture consisting of a list of simple classifiers and an attention mechanism as a classifier selector. This design significantly reduces the number of parameters required by the classifiers and thus their complexities. In this way, it becomes easier to train the classifiers and achieve a high and steady performance. Our claims are corroborated by the experimental results. Compared to the state-of-the-art algorithms, our algorithm achieves more than 10% improvements on all selected test scores.

Motivation & Objective

  • To address the limitations of spectrogram-based preprocessing in audio classification, which introduces noise and prevents joint optimization.
  • To reduce classifier complexity and improve training stability by using a lightweight, attention-driven selection mechanism.
  • To develop a more robust and accurate audio classification model that outperforms existing deep learning approaches.
  • To enable end-to-end training by eliminating the need for fixed, precomputed spectrograms.

Proposed method

  • The CAB-CNN architecture replaces traditional spectrogram preprocessing with a learnable attention mechanism that selects from a list of simple, specialized classifiers.
  • Each classifier in the list is designed to focus on a small, distinct set of features, reducing model capacity and training complexity.
  • The attention mechanism assigns dynamic weights to classifiers based on input relevance, allowing the model to prioritize the most trustworthy predictions.
  • The entire network is trained end-to-end, enabling joint optimization of feature extraction and classification components.
  • The model uses fully connected layers to implement both the classifiers and the attention mechanism, with no reliance on handcrafted spectrograms.
  • The architecture is evaluated on the UT-Podcast corpus using accent classification as the benchmark task.

Experimental results

Research questions

  • RQ1Can an attention mechanism that selects among multiple lightweight classifiers improve audio classification performance compared to conventional deep networks?
  • RQ2Does eliminating the spectrogram preprocessing step lead to better generalization and reduced noise in audio classification?
  • RQ3Can a model with simpler, specialized classifiers achieve higher accuracy and stability than complex, monolithic networks?
  • RQ4How does the attention-based classifier selection mechanism affect training convergence and robustness across multiple runs?

Key findings

  • CAB-CNN achieves 95.99% test accuracy on the UT-Podcast corpus, representing a more than 10% improvement over state-of-the-art algorithms on all evaluation metrics.
  • The model outperforms existing methods including VGG11 A, ResNet18, and AttentionCNN, with a 93.70% average accuracy across eight parallel tests.
  • The CAB-CNN model demonstrates superior training stability, with minimal performance drop between best and average runs, unlike other models that show large variance.
  • The attention mechanism significantly improves robustness, reducing misclassification errors—such as confusing UK and AU accents—by up to two-thirds compared to baseline models.
  • The model’s performance remains stable even with long input audio, though a slight decline is observed in very long sequences, suggesting room for further optimization.
  • The architecture enables end-to-end training by eliminating the need for fixed spectrogram preprocessing, allowing joint optimization of feature learning and classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.