Training state-of-the-art Automatic Speech Recognition (ASR) systems is a resource-intensive endeavor. Modern architectures, such as the Recurrent Neural Network Transducer (RNN-T), are typically trained on thousands of hours of audio, leading to significant financial costs and a substantial carbon footprint. To address this, researchers have proposed Partitioned Gradient Matching (PGM), a distributable data subset selection algorithm designed to put these models on a "data diet" without sacrificing performance.
The Challenge of Scaling Data Subset Selection
Data Subset Selection (DSS) aims to identify the most informative fraction of a dataset to reduce training time. While effective in computer vision, DSS faces two primary hurdles in ASR:
- Memory Constraints: ASR models like RNN-T have massive memory footprints. While a single-instance gradient for an image model might be ~0.02 MB, an RNN-T gradient can exceed 4 MB. Storing gradients for a full dataset like Librispeech 100H requires over 100 GB of memory, which is prohibitive for most hardware.
- Sequential Bottlenecks: Most adaptive DSS algorithms are sequential, preventing them from leveraging multi-GPU setups. This makes the selection process itself a bottleneck that can negate the time saved during training.
Partitioned Gradient Matching (PGM)
PGM overcomes these challenges by making the selection process both memory-efficient and distributable. Instead of matching the gradient of the entire dataset at once, PGM employs a "divide and conquer" strategy.
Key Methodological Innovations
- Data Partitioning: The training data is divided into $D$ partitions, allowing gradient matching to be performed independently and in parallel across multiple GPUs.
- Orthogonal Matching Pursuit (OMP): Within each partition, PGM finds a subset of mini-batches whose weighted gradients best approximate the gradient of the full partition (or a validation set).
- Last-Layer Approximation: To manage memory usage, PGM utilizes gradients only from the Joint Network layer of the RNN-T, which fuses audio and text representations.
- Robustness Mode: By matching training gradients to a clean validation set gradient, PGM intelligently filters out noisy or corrupted data points during selection.
Experimental Results
The authors evaluated PGM on several benchmarks, including Librispeech (100H and 960H) and a "Noisy Librispeech" variant. The results demonstrate that PGM achieves significant training speedups with minimal impact on accuracy.
Key Findings
- Efficiency: PGM achieved 3x to 6x speedups in training time. On Librispeech 960H, using only 30% of the data, PGM achieved a Word Error Rate (WER) of 4.58%, compared to 4.21% for the full dataset.
- Energy Savings: The approach can double energy efficiency (measured via GPU core consumption) while incurring less than a 5% relative error increase.
- Noise Robustness: In scenarios where 30% of the data was noisy, PGM (30% subset) achieved a 10.7 WER, significantly outperforming the Random-Subset baseline (11.33 WER) and approaching the performance of training on the full noisy dataset.
- Diversity: Theoretical and empirical analysis showed that PGM selects more diverse and informative points across training rounds compared to random selection.
Conclusion
Partitioned Gradient Matching (PGM) provides a scalable and robust framework for data subset selection in ASR. By enabling distributed selection and focusing on informative gradients, it significantly reduces the compute and energy requirements of training large-scale models. Future work may extend this logic to other architectures like CTC or apply it to the compute-intensive pre-training phase of self-supervised learning models.
Summary updated