Improving Text Normalization via Unsupervised Model and Discriminative Reranking

Chen Li, Yang LiuStudent Research Workshop @ ACL 2014

Abstract

Text normalization for social media is challenging due to the high variability of informal language and the scarcity of labeled data. This paper proposes a two-stage approach: an unsupervised method to discover normalization pairs using surface and semantic similarity, followed by a discriminative reranking strategy to ensemble multiple systems. The combined approach significantly outperforms individual models and previous state-of-the-art systems at both word and sentence levels.

Introduction

Social media platforms like Twitter are filled with "noisy" text—abbreviations, misspellings, and slang (e.g., "snd" for "sound," "gl" for "girl"). Standard Natural Language Processing (NLP) tools, typically trained on formal corpora, often fail to process this data accurately. Text normalization aims to map these informal tokens to their standard forms. However, the task faces two major hurdles: the high cost of creating labeled datasets for supervised learning and the inherent limitations of any single normalization technique (e.g., spell checkers vs. machine translation).

Methodology

Unsupervised Corpus-based Similarity (UCS)

Instead of relying solely on labeled pairs, the authors leverage a massive unlabeled Twitter corpus to identify potential normalization candidates. They calculate a similarity score between an "Out-of-Vocabulary" (OOV) word and a dictionary word by integrating:

  • Visual/Surface Similarity: Based on longest common character sequences.
  • Semantic Similarity: Utilizing word2vec (Continuous Bag-of-Words) embeddings. This allows the model to link tokens like "bday" and "birthday" because they appear in similar contexts, even if their character-level similarity is low.
  • Frequency Weighting: A log-term frequency weight to prioritize common standard words.

Discriminative Reranking

Normalization is framed as a "candidate selection" problem. The outputs of five distinct systems—including the UCS model, character-level Machine Translation (MT), and a CRF-based sequence labeler—are aggregated. A Maximum Entropy (MaxEnt) model then reranks these candidates using features such as source system identity, language model probabilities (unigram and trigram), and character-level features (e.g., matching first/last letters).

For sentence-level normalization, Viterbi decoding is employed to find the optimal sequence of candidates across an entire message, incorporating contextual information via a trigram language model.

Experimental Setup

The proposed methods were evaluated on several datasets:

  • Data 1 & 2: Evaluation sets with 558 and 3,962 token pairs from Twitter.
  • Data 3: A training set of 2,333 unique pairs for supervised sub-systems.
  • Data 4: The "Edinburgh Twitter corpus" (~10 million messages) for training embeddings and language models.

Results and Discussion

Word-Level Performance

The reranking approach consistently outperformed individual systems across all metrics. On "Data 1," the best single system achieved approximately 61.8% accuracy, while the reranker reached 77.14%.

Table 1: Performance of individual systems and the reranking approach on Data 1 and Data 2.

Sentence-Level Performance

By incorporating sentence-level context through Viterbi decoding, the system achieved a state-of-the-art accuracy of 86.91% on Data 1, significantly improving upon previous benchmarks.

Table 2: Comparison of word-level and sentence-level accuracy across different system configurations.

Key Insights

  • Semantic Context is Crucial: Word embeddings bridge the gap where string similarity fails (e.g., "gl" to "girl"). Ablation studies showed that removing semantic similarity significantly degrades performance.
  • Ensemble Synergy: Different systems have complementary strengths. The discriminative reranker effectively balances these strengths dynamically.
  • Efficiency: Using complex features like trigram probabilities during reranking (on a small n-best list) is computationally efficient compared to using them during initial candidate generation.

Conclusion

This work demonstrates that combining unsupervised distributional semantics with a discriminative ensemble approach provides a robust solution for social media text normalization. Future work could integrate OOV detection into the pipeline and explore more advanced "pairwise and link reranking" strategies to better model dependencies between multiple informal words in a single sentence.

Summary updated

BibTeX
@inproceedings{li2014improving,
  author = {Chen Li and Yang Liu},
  title = {{Improving Text Normalization via Unsupervised Model and Discriminative Reranking}},
  booktitle = {Student Research Workshop @ ACL},
  year = {2014},
  doi = {10.3115/v1/p14-3012},
}
Figure