Improving Data Driven Inverse Text Normalization using Data Augmentation

Laxmi Pandey, Debjyoti Paul, Pooja Chitkara, Yutong Pang, Xuedong Zhang, Kjell Schubert, Mark Chou, Shu Liu, Yatharth SarafarXiv 2022 · DOI

Abstract

Inverse Text Normalization (ITN) is the critical task of converting spoken-form transcripts into formatted written text. Traditional rule-based systems struggle with scalability, while neural models often suffer from a lack of diverse training data. This paper introduces a robust data augmentation technique that generates realistic spoken-form variations from raw text, significantly improving ITN accuracy. By utilizing a specialized augmentation engine and a lightweight multitask Bi-LSTM encoder, the researchers achieved a 14.4% overall accuracy gain and a 170% improvement for complex entities like fractions, all within a model footprint of less than 2MB.

Introduction

When a voice assistant processes a command like "set a timer for twenty twenty," it must disambiguate between the year 2020, the time 20:20, or a vision score of 20/20. This process, known as Inverse Text Normalization (ITN), is essential for readable and actionable ASR outputs.

Historically, ITN relied on hand-written Finite State Transducers (FSTs), which are difficult to maintain. While neural networks offer better contextual handling, they require vast amounts of "spoken-written" pairs. Standard Text Normalization (TN) systems typically generate only a single "perfect" spoken form (e.g., "one hundred twenty three"), failing to capture the natural variability of human speech (e.g., "one twenty three" or "one two three"). This "data scarcity" of realistic variations leads to poor model performance in real-world scenarios.

Methodology

The proposed solution consists of two primary components: a Data Augmentation Engine and a specialized ITN Model architecture.

Data Augmentation Engine

The augmentation pipeline (Figure 1) moves beyond standard TN by generating multiple spoken variations for numeric entities. It identifies numeric "chunks" in raw text, applies rewrite rules to expand them into various spoken strings, and reinserts these variations into the original sentence context. This process produced 22.6x more diverse data than conventional methods, effectively bridging the "diversity gap."

Data Augmentation Pipeline: Extracting numeric entities and generating multiple spoken-form variations.

ITN Model Architecture

To ensure efficiency for on-device deployment, the researchers utilized a Bi-LSTM encoder-only architecture rather than a heavy sequence-to-sequence model. As shown in Figure 2, the model features five specific classification heads:

  • Rewrite: Identifies the entity type (e.g., Cardinal, Currency).
  • Prepend: Determines if a prefix symbol (like '$') is required.
  • Space: Decides if a leading space is necessary.
  • Post-Start/Post-End: Markers for grouping words during post-processing.
ITN Model Architecture: A Bi-LSTM encoder with five multitask classification heads for efficient on-device processing.

This architecture results in a model smaller than 2MB, making it ideal for local execution on mobile devices.

Datasets and Training

The training process leveraged three distinct data sources:

  1. Source Domain Data: 110 million de-identified English social media posts used for the augmentation process.
  2. Target Domain Data: ~50,000 human-annotated sentences from dictation and virtual assistant domains.
  3. General Domain Data: Transcripts from the Fischer English corpus used to initialize the model's embedding layer.

Analysis revealed a significant domain mismatch; spoken forms in social media data overlapped with target assistant data by only ~26.8%. This underscored the necessity of pre-training on augmented data followed by fine-tuning on in-domain data.

Results and Key Insights

The model trained with augmented data demonstrated substantial performance gains over the baseline:

  • Overall Accuracy: Increased from 27.15% to 31.08% (14.44% relative gain).
  • Cardinal Numbers: Improved by 19.99%.
  • Fractions: Achieved a massive 170.59% improvement (from 5.96% to 16.14%), highlighting the system's ability to handle rare, complex numeric surfaces.

The study confirms that data diversity is a primary driver of model robustness. By targeting "long-tail" numeric surfaces through augmentation, the model avoids over-fitting to "perfect" speech patterns.

Conclusion

This research demonstrates that a data-driven approach, powered by intelligent augmentation, can significantly enhance ITN performance without requiring massive language models. Future work will focus on expanding augmentation rules to non-numeric entities (e.g., addresses, names) and extending the methodology to other languages with complex numeric systems, such as German or Hindi.

Summary updated

BibTeX
@misc{pandey2022improving,
  author = {Laxmi Pandey and Debjyoti Paul and Pooja Chitkara and Yutong Pang and Xuedong Zhang and Kjell Schubert and Mark Chou and Shu Liu and Yatharth Saraf},
  title = {{Improving Data Driven Inverse Text Normalization using Data Augmentation}},
  year = {2022},
  eprint = {2207.09674},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.09674},
}
Figure