Introduction
Self-supervised learning (SSL) has significantly advanced speech processing by enabling models to leverage vast quantities of unlabeled audio. Autoregressive Predictive Coding (APC) is a prominent method that trains models to predict future audio frames based on past context, yielding high-quality representations for downstream tasks like speech recognition. However, the internal mechanisms of APC—specifically why next-frame prediction captures phonetic or speaker-specific information—remain largely a "black box." Furthermore, quantifying the information density within these models is challenging.
This paper introduces Vector-Quantized Autoregressive Predictive Coding (VQ-APC), which incorporates a vector quantization (VQ) bottleneck to control and analyze information flow. By forcing the model to be "forgetful" through a discrete representation, the authors investigate which acoustic features the model prioritizes under capacity constraints.
Methodology
The VQ-APC architecture modifies the standard APC framework by inserting a quantization layer between recurrent layers.
The model consists of:
- Base Model: A multi-layer Gated Recurrent Unit (GRU) that processes acoustic features (log Mel spectrograms) to predict a future frame $n$ steps ahead.
- VQ Layer: A vector quantization layer maps continuous hidden vectors to a finite set of "codes" from a learned codebook.
- Differentiable Training: To overcome the non-differentiable nature of discrete code selection, the authors employ the Gumbel-Softmax with a straight-through estimator, allowing joint optimization of the codebook and RNN weights.
- Capacity Control: By varying the codebook size (ranging from 64 to 2048 codes), the internal "bit rate" is precisely limited, forcing the model to retain only the most critical information for its predictive task.
Experimental Setup
Models were pre-trained on the LibriSpeech corpus (360-hour "clean" subset). To evaluate the learned representations, "probing" tasks were conducted on the Wall Street Journal (WSJ) corpus:
- Phonetic Classification: Mapping frames to 42 English phones.
- Speaker Classification: Identifying the speaker from a pool of 259 individuals.
Results and Discussion
The introduction of the VQ bottleneck revealed several key insights into the nature of self-supervised speech representations.
Quantization as a Regularizer
Surprisingly, the VQ bottleneck serves as an effective regularizer. A VQ-APC model with a codebook size of 512 achieved a Phone Error Rate (PER) of 28.4%, outperforming the unconstrained APC model (33.3%). This suggests that quantization encourages the model to discard low-level noise in favor of robust phonetic patterns.
The Information Hierarchy
As the bottleneck capacity is reduced (smaller codebook size), a clear hierarchy emerges. While the Phone Error Rate (PER) increases sharply as capacity drops, the Speaker Error Rate remains remarkably stable. This indicates that the model prioritizes speaker and channel characteristics over fine-grained phonetic details when forced to compress information.
Emergent Phonetic Units
Visualizations of VQ code indices against actual English phones show that codes in higher network layers correspond closely to specific phonemes. This emergence occurs without any supervised labels during training. The optimal phonetic representation was found when the VQ layer was placed at the final (third) GRU layer, suggesting that the network requires depth to abstract raw acoustics into phonetic concepts.
Conclusion
VQ-APC demonstrates that discrete bottlenecks not only improve the interpretability of self-supervised speech models but also enhance their performance by acting as a regularizer. While the model naturally prioritizes speaker identity, it can learn sophisticated phonetic representations given sufficient depth and an appropriately sized codebook (optimally 512 in this study).
Future work may address training instabilities associated with multi-layer quantization and explore whether these emergent phonetic units are consistent across diverse languages, including tonal languages.
Reference: Chung, Y.-A., Tang, H., & Glass, J. (2020). Vector-Quantized Autoregressive Predictive Coding. Proc. Interspeech 2020, 3760-3764.
Summary updated