[Paper Review] A Unified Transformer-based Framework for Duplex Text Normalization
This paper proposes a unified Transformer-based framework that jointly performs text normalization (TN) and inverse text normalization (ITN) using a single duplex model with task-specific prefixes. By combining a sequence tagging head and a sequence-to-sequence normalizer with data augmentation, the framework achieves state-of-the-art performance on English and Russian public datasets and over 95% sentence-level accuracy on an internal English conversational dataset without fine-tuning.
Text normalization (TN) and inverse text normalization (ITN) are essential preprocessing and postprocessing steps for text-to-speech synthesis and automatic speech recognition, respectively. Many methods have been proposed for either TN or ITN, ranging from weighted finite-state transducers to neural networks. Despite their impressive performance, these methods aim to tackle only one of the two tasks but not both. As a result, in a complete spoken dialog system, two separate models for TN and ITN need to be built. This heterogeneity increases the technical complexity of the system, which in turn increases the cost of maintenance in a production setting. Motivated by this observation, we propose a unified framework for building a single neural duplex system that can simultaneously handle TN and ITN. Combined with a simple but effective data augmentation method, our systems achieve state-of-the-art results on the Google TN dataset for English and Russian. They can also reach over 95% sentence-level accuracy on an internal English TN dataset without any additional fine-tuning. In addition, we also create a cleaned dataset from the Spoken Wikipedia Corpora for German and report the performance of our systems on the dataset. Overall, experimental results demonstrate the proposed duplex text normalization framework is highly effective and applicable to a range of domains and languages
Motivation & Objective
- To address the technical and maintenance overhead of deploying separate models for text normalization (TN) and inverse text normalization (ITN) in production systems.
- To unify TN and ITN into a single neural framework that reduces system heterogeneity and complexity.
- To improve generalization and performance across diverse domains and languages using data augmentation and shared representation learning.
- To demonstrate the effectiveness of the framework on public datasets (English, Russian) and a newly created German dataset from Spoken Wikipedia.
- To integrate the framework into NeMo, an open-source conversational AI toolkit, for broader adoption.
Proposed method
- A dual-encoder architecture where a Transformer-based tagger identifies semiotic spans (e.g., numbers, dates, URLs) in input text using BIO-style labeling with task indicators.
- A task-indicating prefix (e.g., 'TN' or 'ITN') is appended to each input sequence to enable the same model to perform both TN and ITN.
- A sequence-to-sequence normalizer, based on T5 or mT5, processes only the identified spans, transforming them into their normalized forms (e.g., '72' → 'seventy two').
- A simple yet effective data augmentation strategy is applied to improve robustness and generalization, especially for rare or out-of-domain examples.
- The framework uses distilled versions of pre-trained models (e.g., distilled RoBERTa, mT5) for efficiency and scalability across languages.
- The system is trained end-to-end on both TN and ITN instances simultaneously, enabling joint optimization and shared representation learning.
Experimental results
Research questions
- RQ1Can a single neural model effectively handle both text normalization and inverse text normalization tasks?
- RQ2How does the use of task-specific prefixes affect model performance and generalization across languages?
- RQ3To what extent does data augmentation improve zero-shot or few-shot performance on unseen domains?
- RQ4Can a unified framework outperform specialized simplex models (TN-only or ITN-only) in terms of accuracy and maintainability?
- RQ5How well does the framework generalize to low-resource or domain-shifted data, such as conversational utterances?
Key findings
- The unified duplex system achieves state-of-the-art performance on the Google TN dataset, with 98.25% sentence-level accuracy for English and 93.02% for Russian.
- On an internal English conversational dataset (NLU Assistant), the system achieves over 95% sentence-level accuracy without any fine-tuning, demonstrating strong zero-shot generalization.
- The inclusion of data augmentation consistently improves performance across all languages, except for the English simplex TN-only model, where performance slightly decreases.
- The model makes only 11 unrecoverable errors (0.146%) out of 7,551 test instances in TN, with the majority of errors (7/11) related to URLs and numbers.
- The framework is successfully integrated into NeMo, NVIDIA’s open-source conversational AI toolkit, confirming its practical deployability.
- The proposed framework outperforms or matches specialized simplex models (TN-only and ITN-only) while reducing system complexity and maintenance costs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.