Learning Sparse Adversarial Dictionaries for Multi-class Audio Classification

Vaisakh Shaj, Puranjoy Bhattacharya

Introduction

Audio classification—the task of identifying specific sound events like a door slamming or categorizing music genres—remains a significant challenge in signal processing. Real-world audio environments are inherently noisy and often contain overlapping signals, making it difficult for traditional classifiers to distinguish between similar acoustic patterns.

This paper addresses a critical gap in Sparse Representation techniques. While traditional dictionary learning focuses on reconstruction—optimizing a set of "atoms" to represent a signal with minimal error—the features best suited for rebuilding a sound are not necessarily the best for distinguishing it from others. Existing discriminative methods often require a secondary, computationally expensive classification step (e.g., training a Support Vector Machine on dictionary outputs). This research proposes a novel "adversarial" dictionary learning framework where the dictionary itself acts as the classifier by being intentionally trained to poorly represent "off-class" data.

Methodology

The Adversarial Objective Function

The core innovation of this work is the introduction of an Adversarial Loss. When training a dictionary for a specific class (e.g., Class A), the algorithm simultaneously minimizes the reconstruction error for Class A samples and maximizes the reconstruction error for samples from all other classes (the "cross-reconstruction error").

To ensure mathematical stability, the authors addressed the inherent non-convexity of maximizing error through a convexification trick involving eigenvalue shifting. This allows the optimization problem to be solved efficiently using standard block coordinate descent.

Figure 6: Convergence of the objective function across different dictionaries over 12 epochs.

Training Strategies

The authors proposed two primary training strategies. While Algorithm 1 treats all non-target classes as a single aggregate group, Algorithm 2 utilizes a mini-batch approach that updates the dictionary by evaluating each "other" class individually. This granular approach proved significantly more effective at capturing subtle boundaries between highly correlated sounds.

Experimental Setup and Datasets

The model was evaluated on two benchmark audio challenges:

  1. IEEE DCASE 2013: A dataset of everyday office sounds (e.g., ClearThroat, Cough, Doorslam), testing the model's ability to handle highly correlated acoustic events.
  2. GTZAN Music Genre Dataset: A classic benchmark containing 1,000 tracks across 10 genres, used to evaluate the model's performance on complex, long-form audio signals.

Classification is performed by attempting to represent a new sound using every class-specific dictionary. The dictionary yielding the lowest reconstruction error determines the assigned class label.

Key Results and Insights

Quantitative Performance

The Adversarial DL-2 method demonstrated superior performance across both datasets:

  • DCASE 2013: The model achieved 83.02% accuracy in 4-way classification, outperforming standard Reconstructive DL (77.91%) and hybrid models like LC-KSVD + SVM (64.67%).
  • GTZAN: The model reached 78% accuracy, surpassing several deep learning architectures, including Convolutional Neural Networks (72%) and various Deep Belief Network configurations.

Qualitative Analysis

A key finding was the visual difference in the learned atoms. While standard reconstructive training produces "blurred" versions of the training data, adversarial training forces the dictionary to focus on unique, high-detail features that are exclusive to the target class.

Figure 4: Visualization of learned adversarial atoms, showing high-detail discriminative features compared to standard reconstructive atoms.

Discussion and Future Work

The research highlights that "bad is good" in a discriminative context: forcing a dictionary to be intentionally poor at representing foreign data sharpens its internal representation of its own class. This eliminates the need for complex backend classifiers, as the reconstruction error signal itself becomes a robust classification metric.

However, limitations remain. The current model processes audio in discrete windows and does not explicitly model temporal dependencies (how sounds change over time). Future work will explore incorporating temporal dynamics and extending the framework to multi-label classification, where multiple sound events occur simultaneously in a single recording. The authors also suggest that this adversarial dictionary approach may be highly effective for image classification tasks beyond the audio domain.

Summary updated

BibTeX
@inproceedings{shaj2017learning,
  author = {Vaisakh Shaj and Puranjoy Bhattacharya},
  title = {{Learning Sparse Adversarial Dictionaries for Multi-class Audio Classification}},
  booktitle = {ACPR},
  year = {2017},
  doi = {10.1109/acpr.2017.137},
}
Figure