Unsupervised feature learning for audio classification using convolutional deep belief networks

Honglak Lee, Peter T. Pham, Yan Largman, Andrew Y. NgNeurIPS 2009

Introduction

This paper marks a foundational moment in audio processing by successfully applying Convolutional Deep Belief Networks (CDBNs) to learn hierarchical features from unlabeled audio data. The authors demonstrate that these automatically learned representations not only mirror biological auditory structures but also consistently outperform or enhance traditional hand-engineered features—like Mel-frequency cepstral coefficients (MFCCs)—across various speech and music classification tasks.

The Problem with Shallow Audio Features

For decades, audio recognition relied heavily on hand-crafted features like MFCCs or raw spectrograms. While effective, these features are fundamentally "shallow." They struggle to capture the complex, hierarchical nature of sound—for instance, how raw frequencies form phonemes, which subsequently form words.

Earlier attempts at unsupervised learning for audio utilized "sparse coding," which successfully produced filters resembling the neurons in a mammal's auditory cortex. However, these methods were limited to a single layer. The core challenge the authors tackle is building a deep, multi-layer architecture capable of learning increasingly complex audio features from scratch, without the need for labeled data.

Methodology: Adapting CDBNs for Audio

The authors adapt the Convolutional Deep Belief Network (CDBN)—an architecture originally designed for images—to the one-dimensional temporal nature of audio.

  • Convolutional Restricted Boltzmann Machines (CRBMs): These serve as the building blocks of the network. By using "convolutional" weights (sharing weights across different time locations), the model efficiently handles high-dimensional data and achieves translation invariance, allowing it to recognize a sound regardless of exactly when it occurs.
  • Probabilistic Max-Pooling: This key addition allows the network to shrink the representation in higher layers, making the learned features more robust to small timing variations.
  • Unsupervised Training: The model is trained greedily, layer-by-layer, using Contrastive Divergence. A sparsity penalty is included to force the network to find the most "essential" features, leading to highly interpretable results.
  • The Pipeline: Raw audio is converted to a spectrogram, processed with PCA whitening to reduce redundancy, and then fed into the CDBN.

Key Insights and Discoveries

Emergent Phonemes

Perhaps the most striking finding is that the unsupervised network "discovered" phonemes entirely on its own. When visualizing the first-layer bases, the authors found they corresponded to specific linguistic units. Vowels appeared as distinct horizontal frequency bands, while fricatives (like the "s" sound) appeared as high-frequency noise.

First-layer bases corresponding to specific phonemes like vowels and fricatives.

The Value of Depth

For tasks like gender classification, the second-layer features performed significantly better than the first. This suggests the second layer learned more abstract, invariant properties of a speaker's voice that aren't immediately obvious in raw frequency shifts.

Comparison of first and second-layer bases for female and male speakers, illustrating the abstraction captured by deeper layers.

Self-Taught Learning Power and Complementary Strengths

The model excels in "low-data" regimes. When only a few labeled examples are available, the features learned from massive amounts of unlabeled data provide a massive performance boost over standard methods. Furthermore, while the CDBN features often beat MFCCs on their own, the best results frequently came from combining both. This indicates that deep learning captures nuances that traditional signal processing might miss, and vice versa.

Key Results

The study utilized three primary datasets: TIMIT (speech), ISMIR 2004 (music genre), and a Classical Music Collection (artist ID). The CDBN approach showed superior performance across the board:

  • Speaker Identification: With only one training utterance per speaker, CDBN L1 achieved 74.5% accuracy, dwarfing the MFCC baseline of 54.4%. When combined with MFCCs and more data, they reached a perfect 100% accuracy.
  • Gender Classification: The second-layer features (CDBN L2) reached 96.7% accuracy, outperforming MFCCs (89.8%).
  • Music Genre Classification: CDBN L1 achieved 73.1%, significantly higher than the RAW (65.8%) or MFCC (68.3%) baselines.
  • Phone Classification: While MFCCs are very strong here, adding CDBN features improved the state-of-the-art accuracy by about 0.7%, a significant margin in this highly optimized field.

Limitations and Future Work

Despite the strong results, the authors noted a few limitations. First is the temporal scale: the second layer didn't help much for phone classification. They hypothesize this is because phonemes exist on a very short time scale that the first layer already captures well; higher layers might be better suited for longer temporal structures like words or sentences.

Additionally, while TIMIT was a standard at the time, scaling these deep approaches to much larger, more diverse datasets is necessary to truly test the limits of unsupervised learning. Finally, training generative models like CDBNs carries a significantly higher computational cost than calculating fixed mathematical features like MFCCs.

Summary updated

BibTeX
@inproceedings{lee2009unsupervised,
  author = {Honglak Lee and Peter T. Pham and Yan Largman and Andrew Y. Ng},
  title = {{Unsupervised feature learning for audio classification using convolutional deep belief networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2009},
}
Figure