TL;DR
This paper investigates the impact of audio repetition in training data on Kiswahili Automatic Speech Recognition (ASR) performance. They found that increasing repetition up to a 1:8 sentence-to-audio ratio improves performance, but degrades at 1:16, suggesting an optimal balance. Additionally, data augmentation techniques like frequency and time masking offer modest improvements, providing practical guidance for ASR practitioners working with low-resource languages.
What Problem Does This Paper Address?
State-of-the-art Automatic Speech Recognition (ASR) models, particularly end-to-end (E2E) systems, are notoriously data-hungry, requiring massive amounts of transcribed speech for training. Crowd-sourced datasets like Mozilla Common Voice (MCV) aim to address this by collecting speech data from many volunteers. However, this approach can lead to an imbalance where a single sentence is recorded multiple times by different speakers, resulting in high audio-to-text repetition ratios. The paper questions how much of this repetition is beneficial before it starts to harm model performance, and whether data augmentation can mitigate this issue or further improve accuracy, especially for under-resourced languages like Kiswahili where data scarcity is a significant challenge.
Methods
The researchers conducted two main experiments using the Kiswahili Common Voice dataset.
Experiment 1: Repetition Trade-off They systematically varied the sentence-to-audio recording ratio in the training set, creating subsets with ratios of 1:1, 1:2, 1:4, 1:8, and 1:16. This allowed them to observe how Word Error Rate (WER) and Character Error Rate (CER) changed as repetition increased. They used the Coqui AI Speech-to-Text (STT) toolkit, which incorporates an N-gram language model, and performed hyperparameter tuning to establish optimal settings.
Experiment 2: Data Augmentation Building on the findings from Experiment 1, they used the 1:4 ratio setting as a baseline. They then applied various data augmentation techniques to the audio recordings:
- Pitch augmentation: Modifies the pitch of the audio.
- Tempo augmentation: Adjusts the playback speed.
- Frequency mask: Sets frequency intervals to zero, simulating background noise.
- Time mask: Sets time intervals to zero, simulating silence or interference.
These augmentations were applied at different percentages (25%, 50%, 75%) of the dataset to assess their impact on performance.
Datasets
The primary dataset used in this study is the Kiswahili Common Voice (MCV) dataset. This dataset, collected through crowd-sourcing, contains approximately 134,653 Kiswahili sentences and over 700,000 audio clips, totaling 1,081 hours of audio data from over 1,454 speakers. The paper notes that a significant portion of this data was unvalidated, and they focused on using validated data for their experiments. They also mention the existence of specific subsets for demographic evaluation, developed in collaboration with linguists.
Key Insights and Ideas
- The "sweet spot" for repetition: More data isn't always better. There's a point where increased repetition of the same sentence, even by different speakers, can lead to overfitting and performance degradation. The study identifies 1:8 as a potentially optimal ratio for Kiswahili.
- Repetition can be beneficial, up to a point: The initial increase in repetition (from 1:1 to 1:8) actually improved ASR performance. This suggests that for low-resource languages, leveraging multiple recordings of the same sentence can be a viable strategy to increase the effective size of the training data.
- Data augmentation offers marginal gains: While data augmentation techniques can provide small improvements, they don't drastically alter performance. This implies that the inherent quality and diversity of the original data, even with repetition, play a significant role.
- Context matters for augmentation: The effectiveness of different augmentation techniques varies. For instance, frequency and time masking showed consistent improvements, while pitch augmentation had a surprisingly negative impact in one scenario. This highlights the need for careful selection of augmentation strategies based on the specific language and dataset characteristics.
Key Results
- Repetition:
- Increasing the sentence-to-audio ratio from 1:1 to 1:8 led to a steady decline in both WER and CER, indicating improved model performance.
- At a ratio of 1:16, performance began to degrade, with WER and CER increasing.
- Data Augmentation (using the 1:4 baseline):
- Frequency mask: Consistently led to improvements in CER, with the largest being up to 2.4%.
- Time mask: Showed improvements of up to 4.2% in CER when 25% and 75% of the data was augmented, but a decrease at 50%.
- Tempo augmentation: Led to an improvement of up to 3.36% in CER when 50% of the data was augmented.
- Pitch augmentation: Showed a significant decrease in performance (-224.42%) when 25% of the data was augmented, suggesting it can be detrimental if not applied carefully.
Limitations and Future Work
Limitations: * The study was conducted on a single language (Kiswahili) and a single dataset (MCV). The generalizability of the findings to other languages and datasets is not yet established. * A significant portion of the MCV Kiswahili data remained unvalidated, and the study primarily used validated data, potentially limiting the scope of the findings. * The paper acknowledges that the suitability of WER and CER as metrics is contested.
Future Work: * Explore data selection methods to identify and potentially eliminate redundancies in speech and text data, and to enable better targeted data collection for low-resource languages. * Encourage continued community efforts to validate the large amount of unutilized data. * Scale up experiments to additional languages and datasets to assess the generalizability of the findings. * Investigate how the developed system performs when evaluated on speech from different Kiswahili dialects and variants.
Summary updated