A Multi-task Approach for Named Entity Recognition in Social Media Data

Gustavo Aguilar, Suraj Maharjan, Adrián Pastor López-Monroy, Thamar Solorio

Abstract

Named Entity Recognition (NER) in social media is hindered by "noisy" text, including slang, typos, and non-standard grammar. We present a multi-task neural network architecture that jointly learns entity segmentation and categorization. By combining character-level CNNs for orthographic encoding, word-level Bidirectional LSTMs for contextual embeddings, and a Conditional Random Field (CRF) layer for sequential inference, our model achieves state-of-the-art results. The system ranked first in the WNUT-2017 shared task, demonstrating significant robustness in processing informal user-generated content.

Introduction

Traditional NER systems, while effective on formal text like news articles, often fail when applied to social media data. Platforms like Twitter are characterized by "noisy" text where users frequently ignore capitalization, use non-standard abbreviations (e.g., "2moro"), and make spelling errors. Furthermore, social media often contains "emerging" entities—new products or slang—that are absent from standard training sets.

The authors address these challenges by developing a model that focuses on underlying patterns of entity appearance rather than simple memorization. The core innovation is the use of Multi-task Learning (MTL) to leverage binary segmentation as an auxiliary task, helping the model generalize better in noisy environments.

Methods

The proposed architecture is a hybrid neural model designed to capture features at multiple granularities. The model simultaneously performs two tasks: entity segmentation (identifying if a token is part of an entity) and entity categorization (classifying the entity type). This dual objective acts as a regularizer, forcing shared layers to learn more robust features.

The multi-task neural network architecture integrates character, word, and lexical features for joint segmentation and classification.

Key Components

  • Orthographic Encoding & CNNs: To handle spelling variations, characters are mapped to broad classes (e.g., "3rd" to "ncc"). A CNN then processes these to learn word "shapes." Global Average Pooling is used to capture extensive feature map information.
  • Contextual Embeddings & BLSTM: Word-level information is processed using a Bidirectional LSTM. The model incorporates pre-trained embeddings from 400 million tweets and Part-of-Speech (POS) tags to capture linguistic context.
  • Lexical Features: Dense feature vectors derived from external gazetteers (pre-defined entity lists) are included to improve precision for well-known names.
  • CRF Inference Layer: A Conditional Random Field (CRF) layer sits atop the network to ensure that the predicted tag sequences are logically consistent (e.g., preventing an "Inside" tag from following an "Outside" tag).

Results

The model was evaluated on the WNUT-2017 shared task dataset. It utilized 400-dimensional Twitter embeddings and external gazetteers to enhance performance. The approach achieved first place in the competition, outperforming other participants in both Entity and Surface F1-scores.

Performance comparison of participants in the WNUT-2017 shared task, highlighting the top-ranking performance of the UH-RiTUAL model.

The model reached an Entity F1-score of 41.86% and a Surface F1-score of 40.24%. Category-specific analysis showed high performance on "Person" (71.36% F1) and "Location" (60.53% F1) tags. However, performance was lower for "Creative-work" (9.68% F1) and "Product" (22.45% F1), likely due to the extreme linguistic diversity within these categories.

Conclusion and Future Work

The multi-task approach proves effective for NER in noisy domains. By treating segmentation as a hint for categorization, the model learns to better identify entity boundaries even amidst informal language.

Current limitations include boundary errors (e.g., including articles like "The"), confusion with conjunctions, and sensitivity to inconsistent capitalization. Future research will focus on better distinguishing between informal abbreviations and actual entities, and improving generalization for highly variable entity types like creative works.

Summary updated

BibTeX
@inproceedings{aguilar2017multi,
  author = {Gustavo Aguilar and Suraj Maharjan and Adrián Pastor López-Monroy and Thamar Solorio},
  title = {{A Multi-task Approach for Named Entity Recognition in Social Media Data}},
  booktitle = {NUT @ EMNLP},
  year = {2017},
  doi = {10.18653/v1/w17-4419},
}
Figure