[Paper Review] Annotating the Tweebank Corpus on Named Entity Recognition and Building NLP Models for Social Media Analysis
This paper introduces Tweebank-NER, a new English Named Entity Recognition (NER) corpus annotated on Tweebank V2, a high-quality Universal Dependencies treebank for Twitter. It trains state-of-the-art NLP models using Stanza and BERTweet, achieving SOTA performance in POS tagging and dependency parsing, and releases the dataset, models, and an off-the-shelf Twitter NLP pipeline called Twitter-Stanza for future research.
Social media data such as Twitter messages ("tweets") pose a particular challenge to NLP systems because of their short, noisy, and colloquial nature. Tasks such as Named Entity Recognition (NER) and syntactic parsing require highly domain-matched training data for good performance. To date, there is no complete training corpus for both NER and syntactic analysis (e.g., part of speech tagging, dependency parsing) of tweets. While there are some publicly available annotated NLP datasets of tweets, they are only designed for individual tasks. In this study, we aim to create Tweebank-NER, an English NER corpus based on Tweebank V2 (TB2), train state-of-the-art (SOTA) Tweet NLP models on TB2, and release an NLP pipeline called Twitter-Stanza. We annotate named entities in TB2 using Amazon Mechanical Turk and measure the quality of our annotations. We train the Stanza pipeline on TB2 and compare with alternative NLP frameworks (e.g., FLAIR, spaCy) and transformer-based models. The Stanza tokenizer and lemmatizer achieve SOTA performance on TB2, while the Stanza NER tagger, part-of-speech (POS) tagger, and dependency parser achieve competitive performance against non-transformer models. The transformer-based models establish a strong baseline in Tweebank-NER and achieve the new SOTA performance in POS tagging and dependency parsing on TB2. We release the dataset and make both the Stanza pipeline and BERTweet-based models available "off-the-shelf" for use in future Tweet NLP research. Our source code, data, and pre-trained models are available at: \url{https://github.com/social-machines/TweebankNLP}.
Motivation & Objective
- To address the lack of a unified, high-quality training corpus combining NER and syntactic annotations for Twitter text.
- To improve NLP performance on noisy, informal social media text by creating a domain-matched dataset and training specialized models.
- To develop and release an accessible, off-the-shelf NLP pipeline (Twitter-Stanza) for Twitter NLP tasks, supporting both traditional and transformer-based models.
- To evaluate the performance of Stanza, FLAIR, spaCy, and BERTweet on core Twitter NLP tasks including NER, POS tagging, and dependency parsing.
Proposed method
- Annotated named entities in Tweebank V2 using Amazon Mechanical Turk, following Universal Dependencies guidelines for consistency.
- Measured annotation quality through inter-annotator agreement metrics, ensuring reliability of the new Tweebank-NER corpus.
- Fine-tuned the Stanza NLP pipeline on Tweebank-NER for tokenization, lemmatization, POS tagging, dependency parsing, and NER.
- Trained and compared BERTweet-based models against non-transformer models to assess performance gains on Twitter-specific NLP tasks.
- Released the Tweebank-NER dataset, pre-trained Stanza models, and BERTweet-based models via GitHub for open access and reuse.
- Evaluated model performance across multiple NLP tasks using standard metrics, including F1 scores for NER and accuracy for POS and parsing.
Experimental results
Research questions
- RQ1What is the quality of the named entity annotations in Tweebank-NER, as measured by inter-annotator agreement?
- RQ2How well do existing NER models trained on non-Twitter data generalize to the Tweebank-NER corpus?
- RQ3How does the Stanza pipeline compare to other NLP frameworks (e.g., FLAIR, spaCy) on core Twitter NLP tasks?
- RQ4What performance gains do transformer-based models (e.g., BERTweet) achieve over non-transformer models on Twitter NLP tasks?
Key findings
- The Tweebank-NER corpus achieved high inter-annotator agreement, confirming the reliability of the human-annotated named entity labels.
- The Stanza tokenizer and lemmatizer achieved state-of-the-art performance on Tweebank-NER, outperforming existing tools on Twitter-specific text.
- The Stanza NER tagger, POS tagger, and dependency parser achieved competitive performance against non-transformer models, demonstrating strong generalization on noisy Twitter text.
- Transformer-based models, particularly BERTweet, established a new state-of-the-art in POS tagging and dependency parsing on Tweebank-NER, surpassing non-transformer baselines.
- The released Twitter-Stanza pipeline and pre-trained models are available off-the-shelf, enabling immediate use in future Twitter NLP research.
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.