Introduction
Traditional speech processing often relies on surface-level features like log Mel spectrograms. While effective, these features do not explicitly encode high-level information such as phonetic content or speaker identity. Supervised learning can extract these representations but requires extensive labeled data and may discard information irrelevant to the specific training task. This paper introduces Autoregressive Predictive Coding (APC), an unsupervised method designed to learn generic speech representations from unlabeled data by predicting future spectral frames.
Methodology
APC is inspired by autoregressive language models in natural language processing, adapted for continuous speech signals. The model employs a multi-layer unidirectional LSTM with residual connections.
Objective Function
Given a sequence of 80-dimensional log Mel spectrogram frames up to time $t$, the model is tasked with predicting the frame at time $t + n$. The optimization uses a simple L1 loss (mean absolute error) between the predicted frame and the ground truth.
The choice of the prediction horizon $n$ is critical. Predicting the immediate next frame ($n=1$) allows the model to exploit local signal smoothness without learning deeper structures. By increasing $n$ (e.g., $n=3$ or $n=5$), the model is forced to capture more global, meaningful phonetic structures to minimize prediction error.
Experimental Setup
The models were pre-trained on the 360-hour subset of the LibriSpeech corpus. Evaluation focused on two downstream tasks to assess the quality and transferability of the learned representations:
- Phone Classification: Evaluated on the Wall Street Journal (WSJ) and TIMIT datasets using a linear classifier.
- Speaker Verification: Evaluated on TIMIT using a standard speaker-pair verification setup.
Results and Discussion
Phone Classification Performance
APC significantly outperforms both raw Mel features and contrastive methods. As shown in Figure 4, the APC model achieves a Phone Error Rate (PER) of 33.5% on WSJ, compared to 50.0% for raw Mel features and 42.1% for the best Contrastive Predictive Coding (CPC) variant.
The results highlight a "sweet spot" for the prediction horizon; for phone classification, $n=3$ (approximately 30ms ahead) typically yields the best performance. Furthermore, even when raw Mel features are processed by a multi-layer perceptron (MLP), they fail to reach the linear separability provided by APC features.
Speaker Verification and Layer Specialization
In speaker verification tasks, APC features demonstrate superior performance over traditional baselines. The model achieved an Equal Error Rate (EER) as low as 3.43%, outperforming the i-vector baseline (6.64%) and CPC (5.00%).
An important finding is the specialization of different layers within the deep APC model. Lower layers tend to focus on local signal properties, making them highly effective for speaker identity tasks. Conversely, upper layers capture more abstract structures, proving more beneficial for phonetic classification. This hierarchical representation mirrors observations in large-scale NLP models.
Conclusion
Autoregressive Predictive Coding provides a simple yet powerful framework for unsupervised speech representation learning. By replacing complex contrastive objectives with a straightforward regression task, APC achieves state-of-the-art results in phonetic and speaker-related downstream tasks. The model's ability to generalize across datasets like LibriSpeech, WSJ, and TIMIT underscores its potential as a robust feature extractor for diverse speech applications.
Summary updated