NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Word-level Lexical Normalisation using Context-Dependent Embeddings

Wei Liu, Michael Stewart, Wei Liu 0006, Rachel Cardell-OliverarXiv 2019

Abstract

Lexical Normalisation (LN) is a critical preprocessing step for noisy text data, such as social media posts or industrial logs. While character-level models have traditionally dominated this field due to their ability to handle out-of-vocabulary (OOV) words, this paper demonstrates that word-level models can achieve superior performance when paired with modern context-dependent embeddings. By utilizing a bidirectional GRU architecture and a novel dataset of industrial accident reports, the researchers show that understanding the surrounding context is often more vital for accurate normalization than analyzing a token's internal character structure.

The Challenge of Noisy Data

Lexical Normalisation involves transforming non-standard tokens into their canonical forms (e.g., converting "l" to "left" or "ee" to "employee"). Historically, word-level models were avoided because they could not generate vectors for words not seen during training. Character-level models were the preferred alternative, yet they frequently produce "almost right" but non-existent words. This study investigates whether modern embedding techniques, which generate vectors based on context or sub-word units, can overcome the OOV hurdle and make word-level LN the superior choice.

Methodology

The authors propose a word-level Bi-GRU (Bidirectional Gated Recurrent Unit) architecture designed for sequence labeling.

Architecture of the proposed word-level Bi-GRU model for lexical normalization, illustrating the use of the <SELF> tag for unchanged tokens.

As shown in the figure above, the model takes a sequence of tokens and predicts a corresponding sequence of labels. A key efficiency feature is the <SELF> label, which indicates that a word is already in its canonical form. This drastically reduces the output space the model must learn.

Embedding Strategies

The researchers evaluated several initialization strategies for the embedding layer:

  • Pre-trained Models: ELMo, BERT, Word2Vec, and FastText.
  • Co-occurrence Models: One-hot encoding and TF-IDF.
  • Random Initialization: Distributions including Uniform, Normal, and Cauchy.

Datasets

The model was evaluated across three distinct domains:

  1. US Accidents Dataset (New): 10,000 manually annotated reports from the US Mine Safety and Health Administration, rich in technical jargon (e.g., "xc" for "cross-cut").
  2. Australian Accidents Dataset: 2,322 reports from the Australian mining industry.
  3. Twitter Dataset (WNUT 2015): A standard benchmark known for extreme noise, including hashtags and slang.

Key Insights and Results

Context is King

ELMo consistently outperformed other pre-trained models. Its context-dependent nature allows the model to distinguish between different meanings of the same abbreviation based on the sentence structure (e.g., "l" meaning "left" vs. "liter").

The Cauchy Surprise

In the US Accidents dataset, randomly initialized embeddings using a Cauchy distribution unexpectedly outperformed sophisticated models like BERT. The researchers found that pre-trained models often cluster similar-looking technical terms (like "10'h" and "8'h") too closely in vector space. Randomly initialized embeddings treat these as distinct tokens, preventing the "blurring" effect and improving accuracy in niche domains.

Performance Benchmarks

  • Twitter: The ELMo-based Bi-GRU achieved an F1-score of 0.8252, setting a new high for deep-learning-based LN on the WNUT 2015 dataset.
  • Industrial Data: On the US Accidents dataset, the model reached an F1-score of 0.8562 when paired with dictionary normalization.

Conclusion

This research successfully challenges the dominance of character-level models in lexical normalization. By leveraging context-dependent embeddings and efficient Bi-GRU architectures, word-level models can provide more accurate and contextually relevant normalizations. While the approach is currently limited by its inability to predict labels not seen during training, it represents a significant step forward in processing highly specialized, noisy text data.

Summary updated

BibTeX
@misc{liu2019word,
  author = {Wei Liu and Michael Stewart and Wei Liu and Rachel Cardell-Oliver},
  title = {{Word-level Lexical Normalisation using Context-Dependent Embeddings}},
  year = {2019},
  eprint = {1911.06172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.06172},
}
Figure