Skip to main content
QUICK REVIEW

[Paper Review] Adapting Sequence to Sequence models for Text Normalization in Social Media

Ismini Lourentzou, Kabir Manghnani|arXiv (Cornell University)|Apr 12, 2019
Natural Language Processing TechniquesComputer Science18 citations
TL;DR

This paper proposes a hybrid word-character sequence-to-sequence model for social media text normalization that combines a word-level encoder-decoder with a character-level model trained on adversarial examples to improve robustness to noisy, informal text. The model outperforms existing neural architectures and achieves state-of-the-art performance without external knowledge, effectively handling misspellings, abbreviations, and phonetic substitutions in user-generated content.

ABSTRACT

Social media offer an abundant source of valuable raw data, however informal writing can quickly become a bottleneck for many natural language processing (NLP) tasks. Off-the-shelf tools are usually trained on formal text and cannot explicitly handle noise found in short online posts. Moreover, the variety of frequently occurring linguistic variations presents several challenges, even for humans who might not be able to comprehend the meaning of such posts, especially when they contain slang and abbreviations. Text Normalization aims to transform online user-generated text to a canonical form. Current text normalization systems rely on string or phonetic similarity and classification models that work on a local fashion. We argue that processing contextual information is crucial for this task and introduce a social media text normalization hybrid word-character attention-based encoder-decoder model that can serve as a pre-processing step for NLP applications to adapt to noisy text in social media. Our character-based component is trained on synthetic adversarial examples that are designed to capture errors commonly found in online user-generated text. Experiments show that our model surpasses neural architectures designed for text normalization and achieves comparable performance with state-of-the-art related work.

Motivation & Objective

  • To address the challenge of text normalization in informal, noisy social media text where standard NLP tools fail due to out-of-vocabulary (OOV) words and non-standard forms.
  • To overcome limitations of existing methods that rely on string similarity or local classification by incorporating contextual information through neural sequence-to-sequence models.
  • To develop a robust, end-to-end trainable model that handles diverse linguistic variations such as slang, abbreviations, phonetic substitutions, and punctuation errors.
  • To improve normalization performance without relying on external lexicons or pre-existing dictionaries, especially for rare or emerging OOV forms.

Proposed method

  • A hybrid encoder-decoder architecture is used, with a word-level component for in-vocabulary (IV) tokens and a character-level component for out-of-vocabulary (OOV) or noisy forms.
  • The character-level model is trained on synthetic adversarial examples designed to mimic common errors in social media text, such as misspellings, number substitutions, and vowel elongations.
  • Attention mechanisms are applied at both word and character levels to capture long-range dependencies and context-sensitive normalization decisions.
  • The model uses a joint training strategy where the word-level decoder attends to the output of the character-level encoder for OOV tokens.
  • Adversarial training data is generated by applying common noise patterns (e.g., '2morrow' → 'tomorrow') to standard words to simulate real-world user errors.
  • The system is evaluated using standard metrics like BLEU and exact match, with human evaluation to assess correctness beyond strict token alignment.

Experimental results

Research questions

  • RQ1Can a hybrid word-character sequence-to-sequence model effectively handle diverse and complex forms of informal text normalization in social media?
  • RQ2How does incorporating contextual information through attention mechanisms improve normalization accuracy compared to local or string-based methods?
  • RQ3To what extent can adversarially generated training data enhance model robustness to unseen OOV and noisy word forms?
  • RQ4Does the proposed model achieve performance comparable to state-of-the-art systems without relying on external lexicons or linguistic resources?
  • RQ5How do normalization decisions vary in cases where meaning preservation is ambiguous, such as with emphasis or capitalization?

Key findings

  • The proposed hybrid model (HS2S) achieves superior performance compared to standard neural sequence-to-sequence models designed specifically for text normalization.
  • The model performs comparably to state-of-the-art systems in the literature, even without using external knowledge sources like slang dictionaries or pre-trained embeddings.
  • The character-level component significantly improves handling of OOV and noisy forms, especially for abbreviations, phonetic substitutions, and misspellings.
  • Despite some target annotations being incomplete or incorrect, the model correctly normalizes several tokens that were left unnormalized in the gold standard, indicating strong generalization.
  • The model demonstrates robustness to various noise types, including punctuation errors, vowel elongations, and acronym expansions, with minimal reliance on external linguistic resources.
  • Human evaluation confirms that the model produces semantically correct and contextually appropriate normalizations, even in ambiguous cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.