[Paper Review] DeepNorm-A Deep Learning Approach to Text Normalization
This paper proposes DeepNorm, a hybrid deep learning model that combines gradient-boosted classification with a sequence-to-sequence RNN to improve text normalization accuracy. By using predicted semiotic class labels as context for the sequence model, it achieves 97.62% test accuracy on a Kaggle dataset with limited computational resources, outperforming baseline RNNs and approaching Google's state-of-the-art results despite reduced training time and hardware constraints.
This paper presents an simple yet sophisticated approach to the challenge by Sproat and Jaitly (2016)- given a large corpus of written text aligned to its normalized spoken form, train an RNN to learn the correct normalization function. Text normalization for a token seems very straightforward without it's context. But given the context of the used token and then normalizing becomes tricky for some classes. We present a novel approach in which the prediction of our classification algorithm is used by our sequence to sequence model to predict the normalized text of the input token. Our approach takes very less time to learn and perform well unlike what has been reported by Google (5 days on their GPU cluster). We have achieved an accuracy of 97.62 which is impressive given the resources we use. Our approach is using the best of both worlds, gradient boosting - state of the art in most classification tasks and sequence to sequence learning - state of the art in machine translation. We present our experiments and report results with various parameter settings.
Motivation & Objective
- To address the challenge of text normalization in TTS and ASR systems, where context-dependent token normalization is difficult.
- To improve normalization accuracy by incorporating semiotic class prediction as contextual input to a sequence-to-sequence model.
- To reduce training time and resource usage compared to prior large-scale RNN-based approaches, such as Google's 5-day GPU training.
- To investigate the impact of model architecture, vocabulary size, and sequence length on normalization performance across diverse token types.
- To identify failure modes in normalization, particularly for rare or complex classes like VERBATIME and ELECTRONIC, and propose improvements.
Proposed method
- A two-stage pipeline: first, a gradient-boosted classifier (XGBoost) predicts the semiotic class of each input token.
- The predicted class label is concatenated with the input token and fed into an encoder-decoder RNN architecture for sequence-to-sequence normalization.
- The model uses attention mechanisms and is trained with Adam optimizer and learning rate decay over 10 epochs.
- Vocabulary size is limited to 100,000 tokens due to GPU memory constraints, affecting performance on low-frequency classes.
- Encoder input sequence length is constrained, limiting the model’s ability to handle long tokens like URLs or complex phone numbers.
- The model is fine-tuned with hyperparameters such as encoder/decoder layer count and number of hidden units, with performance evaluated on a 600,000-sample test set.
Experimental results
Research questions
- RQ1Can combining a strong classifier with a sequence-to-sequence model improve text normalization accuracy compared to end-to-end RNNs?
- RQ2How does the inclusion of predicted semiotic class labels as context affect normalization performance across different token types?
- RQ3To what extent do vocabulary size and encoder sequence length limit model performance on rare or long-form tokens?
- RQ4How does model accuracy vary across semiotic classes such as DATE, CARDINAL, DIGIT, TELEPHONE, MONEY, VERBATIME, and ELECTRONIC?
- RQ5Can a lightweight model trained on limited hardware achieve performance comparable to large-scale models like Google’s?
Key findings
- The model achieved a test accuracy of 97.62% on a 600,000-sample test set, demonstrating strong performance with minimal computational resources.
- The model performed best on DATE, CARDINAL, and DIGIT classes, correctly normalizing 2016 as 'twenty sixteen' or 'two thousand and sixteen' with high consistency.
- Performance degraded significantly on VERBATIME and ELECTRONIC classes, with accuracy dropping due to limited vocabulary size and short encoder context windows.
- Increasing the number of encoder units improved accuracy, while increasing the number of layers had minimal impact.
- The model struggled with long sequences (e.g., 40+ character tokens), often generating irrelevant characters or missing words, indicating limitations in context retention.
- The authors conclude that a stronger classifier—potentially using LSTM instead of XGBoost—could further improve results, especially for rare or complex token types.
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.