Introduction
Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, yet it remains highly sensitive to domain shifts. While state-of-the-art models achieve high performance on formal, well-structured text like Newswire, their accuracy often degrades significantly when applied to low-resource or noisy domains, such as social media. This degradation is driven by informal grammar, abbreviations, and the rapid evolution of language, often referred to as temporal drift.
Traditional data augmentation techniques, such as synonym replacement or word shuffling, often fail in NER because they can inadvertently alter or destroy entity labels. This paper addresses this gap by proposing a novel cross-domain data augmentation strategy that "translates" annotated text from high-resource source domains into the stylistic "flavor" of low-resource target domains while strictly preserving semantic integrity and label consistency.
Methodology
The core of the proposed approach is a Cross-Domain Autoencoder designed to learn a domain-invariant latent representation. The architecture facilitates the transfer of knowledge from a source domain (e.g., formal news) to a target domain (e.g., Twitter) through several integrated stages.
Sentence Linearization
To prevent the loss of entity labels during the transformation process, the researchers utilize "linearization." Entity labels are inserted directly into the text sequence (e.g., [GPE] Geneva). By treating labels as part of the sequence distribution, the model learns the contextual relationships between entity types and their surrounding tokens.
Model Architecture
As shown in Figure 1, the model employs two primary reconstruction tasks:
- Denoising Reconstruction: The encoder is trained to reconstruct original sentences from versions corrupted by noise (shuffling, dropout, and masking). This ensures the model captures core semantics rather than surface-level patterns.
- Detransforming Reconstruction: This process maps a sentence from the source domain to the target domain and back again. This "cycle" ensures that the generated text adopts the target domain's style (e.g., noise, abbreviations) while retaining the original meaning.
Adversarial Training
A discriminator is employed to enforce domain invariance in the latent space. By training the encoder to fool the discriminator, the model successfully strips away domain-specific stylistic features, leaving a "thought vector" that represents pure semantic content.
Experimental Setup
The study evaluates the method using two major benchmarks:
- Ontonotes 5.0: Covering formal domains including Broadcast News (BN), Magazine (MZ), and Newswire (NW).
- Temporal Twitter: Representing the noisy Social Media (SM) domain.
The researchers tested ten different domain pairs, focusing on using Newswire and Social Media as pivot domains for augmentation.
Results and Discussion
The proposed method consistently outperformed traditional augmentation techniques, including synonym replacement and the DAGA framework, by an average of 8.7% to 10.1% in F1 score.
The Dissimilarity Paradox
An intriguing finding was that the augmentation provided the greatest benefit when the source and target domains were highly dissimilar. For instance, augmenting Newswire with Social Media data (SM → NW) resulted in a +10.10 F1 gain. Conversely, when domains were already similar (e.g., NW → BC), performance gains were marginal or slightly negative. This suggests the model's primary value lies in introducing "hard" variations that the training set lacks.
Efficiency with Limited Data
The model proved remarkably effective even when target domain data was scarce. As illustrated in Figure 2, the addition of generated samples significantly boosts performance. In the NW → SM task, using the augmentation strategy pushed the F1 score from a baseline of 65.25% to 77.59%.
Conclusion
This research demonstrates that cross-domain autoencoders can effectively bridge the gap between formal and noisy text for NER. By linearizing labels and employing adversarial training to isolate style from semantics, the model generates high-quality synthetic data that preserves entity information. Future work will focus on relaxing sequence length constraints and exploring the application of this cross-domain translation approach to other NLP tasks like text classification.
Summary updated