Language Agnostic Data-Driven Inverse Text Normalization

Szu-Jui Chen, Debjyoti Paul, Yutong Pang, Peng Su, Xuedong Zhang

Abstract

Inverse Text Normalization (ITN) is the task of converting spoken-form strings into formatted written text (e.g., "twenty twenty" to "2020"). This paper presents a language-agnostic framework developed by researchers from Meta AI and UT Dallas to address the lack of labeled ITN data for non-English languages. By leveraging an enhanced English text-normalization engine and Neural Machine Translation (NMT) to distill knowledge into other languages, the authors create a single multilingual model. This approach significantly improves performance for low-resource languages like Kazakh and Afrikaans, demonstrating the effectiveness of synthetic data generation and cross-lingual knowledge transfer.

Introduction

When an Automatic Speech Recognition (ASR) system processes speech, it often produces a raw transcript of spoken words. Converting these words into a readable, formatted version—such as changing "six fifteen" to "6:15"—is known as Inverse Text Normalization (ITN). Traditionally, ITN has relied on hand-crafted, rule-based systems which are difficult to scale and maintain across multiple languages.

Data-driven approaches offer more flexibility but require large parallel datasets of spoken and written sentence pairs. Such datasets are scarce for English and virtually non-existent for many other languages. This research addresses two primary challenges: the chronic scarcity of labeled data and the inherent ambiguity in how numerical entities are spoken (e.g., "quarter past six" vs. "six fifteen").

Methodology

The proposed framework utilizes a two-step data augmentation pipeline to train a unified multilingual ITN model without requiring native labeled data for every target language.

Data Augmentation and Internationalization

The process begins with an Enhanced English Text Normalization (TN) system. Unlike standard TN systems that produce a single spoken version of a number, this enhanced system generates all likely variations. For an input like "$1.20$," it might produce "one dollar twenty cents," "one point two zero dollars," and "a dollar twenty cents." This variety increases data diversity by 22x.

To extend this to other languages, the authors employ NMT-Based Internationalization. English spoken-written pairs are passed through a Neural Machine Translation (NMT) model, effectively "translating" the ITN task into target languages such as French, Spanish, or Kazakh.

The data augmentation and internationalization pipeline, showing the extraction of numerical entities and their translation into multiple spoken forms across different languages.

Model Architecture

The researchers trained a single multilingual Sequence-to-Sequence (Seq2Seq) model on 12 languages simultaneously. They compared LSTM and Transformer architectures, finding that an LSTM-based model performed better for this specific task, likely due to the smaller model size constraints necessary for on-device deployment.

The Sequence-to-Sequence architecture used for ITN, featuring an encoder-decoder structure that maps spoken input to formatted written output.

Datasets and Evaluation

Training data was sourced from the OpenSubtitles and TED2020 corpora, filtered for sentences containing numerical entities. Evaluation was conducted on two distinct sets:

  1. Dictation Testset: 6,810 human-annotated English pairs translated into other languages.
  2. Caption Testset: A "wild" dataset from video captions containing complex mathematical expressions and measures.

Key Results and Insights

The multilingual approach yielded significant gains, particularly for low-resource languages. For Kazakh (kk), a monolingual model achieved only 0.03% accuracy, whereas the 12-language multilingual model reached 37.69%.

Key insights include:

  • Script Sharing: Multilingual training is most effective when languages share a script (e.g., Russian and Kazakh both using Cyrillic).
  • Knowledge Distillation: Using NMT to generate training data acts as a form of knowledge distillation, allowing the model to learn mappings even if translations are imperfect.
  • Robustness: Training on a multitude of spoken variations makes the model significantly more robust to non-standard speech patterns.
  • Efficiency: Decoupling ITN from the main ASR system reduced the Word Error Rate (WER) by over 10% and improved the Real-Time Factor (RTF) by 8%.

Conclusion

This work demonstrates that a data-driven, language-agnostic approach to ITN can overcome data scarcity through intelligent augmentation and translation. While the model currently struggles with complex mathematical domains not present in the training data, it provides a scalable path forward for multilingual ASR systems. Future work will focus on further reducing model size for on-device use and refining data augmentation to capture more native linguistic nuances.

Summary updated

BibTeX
@inproceedings{chen2023language,
  author = {Szu-Jui Chen and Debjyoti Paul and Yutong Pang and Peng Su and Xuedong Zhang},
  title = {{Language Agnostic Data-Driven Inverse Text Normalization}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-2066},
}
Figure