NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sentence-Select: Large-Scale Language Model Data Selection for Rare-Word Speech Recognition

W. Ronny Huang, Cal Peyser, Tara N. Sainath, Ruoming Pang, Trevor D. Strohman, Shankar Kumar

Abstract

Modern end-to-end (E2E) Automatic Speech Recognition (ASR) systems often struggle with "rare words"—the long tail of language that includes specific entities, technical terms, and infrequent vocabulary. While large-scale text-only datasets can theoretically improve performance on these words, their sheer size and domain mismatch often lead to training inefficiencies and performance degradation on common queries. This paper introduces "Sentence-Select," a data selection pipeline that reduces training data size by 53x while achieving up to a 24% relative reduction in Word Error Rate (WER) for rare words. By combining soft log downsampling, targeted acoustic filtering, and contrastive selection, the proposed method enhances the recognition of rare entities without compromising general performance.

Introduction

Automatic Speech Recognition (ASR) has reached high levels of accuracy for common phrases, yet the "long tail" remains a significant challenge. Smart assistants frequently fail on rare proper nouns or specialized vocabulary because these terms are underrepresented in the acoustic training data. To compensate, researchers often use massive text-only datasets (e.g., search logs) to train external Language Models (LMs) that are then integrated with the ASR system.

However, these text datasets present three primary obstacles:

  1. Scale: Datasets containing hundreds of billions of sentences are computationally expensive to process.
  2. Distributional Bias: Search logs are "heavy-headed," dominated by a small set of extremely frequent queries (e.g., "weather," "YouTube") that drown out rare word signals.
  3. Domain Mismatch: The way users type (e.g., URLs, shorthand) differs significantly from how they speak.

The Sentence-Select Pipeline

To address these challenges, the researchers developed the Sentence-Select pipeline, a three-pronged strategy to curate a high-quality, compact training set from a raw corpus of 213 billion anonymized search queries.

1. Soft Log Downsampling

Naive deduplication—simply removing all but one instance of a repeated query—can be too aggressive, stripping away the natural linguistic patterns the model needs to learn. Sentence-Select employs a "soft log" function. This method preserves the natural distribution for most words but applies logarithmic scaling to extremely frequent "head" queries. This effectively "clips" the top of the distribution, preventing common queries from dominating the gradient during training while maintaining a representative sample of natural language.

2. Rare Acoustic Unigram Filtering

To bridge the gap between text and audio, the pipeline identifies "rare acoustic unigrams"—words that appear frequently in text logs but are rarely encountered in the 290-million-sentence acoustic training set. The pipeline prioritizes sentences containing these specific words, ensuring the LM provides the necessary linguistic context for terms the acoustic model is unlikely to have mastered.

3. Contrastive Data Selection

To resolve domain mismatch, the authors utilize contrastive scoring based on perplexity. By comparing the likelihood of a sentence under a "voice-like" model versus a "general-text" model, the pipeline filters out entries that do not resemble spoken language (such as URLs or fragments). Only sentences that align with the target voice-search domain are retained.

Experimental Results

Efficiency and Accuracy

The Sentence-Select pipeline reduced the initial 213-billion-sentence corpus to approximately 4 billion sentences—a 53x reduction in data volume. Despite this massive reduction, the resulting LM significantly outperformed the baseline trained on the full, unselected corpus. On the "TAIL" evaluation set (curated for difficult, low-frequency words), the model achieved a 24% relative WER reduction.

Generalization and Fusion

Crucially, these gains on the long tail did not come at the cost of general performance; the Word Error Rate on standard voice search (VS) remained stable. The study also highlighted that "Shallow Fusion"—incorporating the LM during the initial beam search—is significantly more effective for rare word recognition than "rescoring" (applying the LM after the ASR has generated its top hypotheses).

Real-World Impact

Side-by-side human evaluations on live voice traffic confirmed the quantitative findings. The data-selected model demonstrated a superior ability to transcribe rare entities accurately (e.g., correctly identifying "Konigsberg TV" where the baseline might default to the more common "Chromecast TV").

Discussion and Limitations

The researchers identified a "sweet spot" in frequency distribution: the primary gains in rare-word recognition stem from mitigating excessively frequent sentences rather than simply increasing the volume of rare data.

However, some limitations remain. The model occasionally showed an over-eagerness to emit rare words, a phenomenon attributed to the unidirectional nature of the LM. Because the model only looks at preceding context, the first word of a sentence remains particularly difficult to predict. Furthermore, while the method improved most rare categories, "Rare Proper Nouns" (RPN) showed less pronounced improvement, suggesting that names and places may require even more specialized filtering or augmentation strategies.

Conclusion

Sentence-Select demonstrates that for large-scale ASR, more data is not always better. By intelligently downsampling the "head" of the distribution and filtering for domain relevance and acoustic rarity, researchers can build LMs that are both more efficient to train and significantly more capable of handling the complexities of the long tail of human speech.

Summary updated

BibTeX
@inproceedings{huang2022sentence,
  author = {W. Ronny Huang and Cal Peyser and Tara N. Sainath and Ruoming Pang and Trevor D. Strohman and Shankar Kumar},
  title = {{Sentence-Select: Large-Scale Language Model Data Selection for Rare-Word Speech Recognition}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-10820},
}
Figure