Abstract
Named Entity Recognition (NER) often suffers from performance degradation when applied to domains different from the training data. This paper proposes a novel Parameter Generation Network that leverages unlabeled language modeling (LM) as a bridge for unsupervised domain adaptation. By decomposing model parameters into shared meta-parameters, task-specific embeddings, and domain-specific embeddings, the system can generate weights for target-domain NER even without labeled target data. Experimental results on biomedical and technical datasets demonstrate state-of-the-art performance and significant improvements in low-resource scenarios.
Introduction
Named Entity Recognition (NER) is a fundamental task in natural language processing, yet models are notoriously brittle when shifting domains. A model trained on news articles often fails in biomedical or technical contexts where both the entities (e.g., gene names vs. politician names) and the linguistic structures differ significantly. While domain adaptation is a standard solution, most existing methods require expensive, hand-labeled data in the target domain. This research addresses the labeled resource limitation by utilizing the massive amounts of raw, unlabeled text available in any domain to facilitate unsupervised adaptation.
Methodology
Parameter Generation Network
The core innovation is a Parameter Generation Network that moves beyond simple parameter sharing. Instead of static weights, the model decomposes the parameters ($\theta$) of its BiLSTM core into three distinct components:
- Meta Parameters ($W$): General knowledge shared across all tasks and domains.
- Task Embeddings ($I_t$): Specific vectors for NER versus Language Modeling (LM).
- Domain Embeddings ($I_d$): Specific vectors for the Source (e.g., News) versus Target (e.g., Biomedical) domains.
Using a 3rd-order tensor contraction, the model dynamically assembles the specific weights needed for a given task in a specific domain.
The "Bridge" Strategy
The model is trained on four tasks simultaneously: supervised NER in the source domain, and unsupervised LM in both source and target domains. Because the LM and NER tasks share the same Domain Embedding, the model learns the unique linguistic patterns of the target domain through raw text and applies that knowledge to the NER task. This allows the model to "guess" the parameters for NER in a new domain ($\theta_{tgt,ner}$) even in a zero-shot setting with no labeled target examples.
Datasets
The framework was evaluated on several benchmarks:
- Source: CoNLL-2003 (English news).
- Target (Biomedical): BioNLP13PC and BioNLP13CG.
- Target (Tech): The authors introduced CBS SciTech News, a dataset of 620 manually labeled articles and nearly 400,000 unlabeled sentences. This benchmark tests standard entity types (Person, Org) within highly specialized technical contexts like "SpaceX" or "Bitcoin."
Key Results and Insights
Performance Gains
In supervised settings, the model achieved an F1-score of 85.54 on BioNLP13PC, outperforming previous state-of-the-art transfer learning methods. The model's strength is most apparent in "nearly unsupervised" scenarios with very few labels, where it showed a 20.5% F1-score improvement over baseline models. On the CBS SciTech dataset, it achieved a 73.59 F1-score, surpassing ELMo-based baselines (70.85).
LM as a Universal Translator
By contrasting LM in different domains, the model identifies how sentence structures vary. This helps it recognize that a word in a specific medical context is likely an entity, even if that word was never seen in the labeled source data. Furthermore, modularizing parameters into task and domain embeddings prevents "negative transfer," where domain-specific traits might otherwise interfere with general task logic.
Conclusion
This parameter decomposition approach provides a robust framework for cross-domain NER. By leveraging unlabeled data through language modeling, the model effectively bridges the gap between disparate domains. Future work includes scaling the framework to multiple domains simultaneously, exploring cross-lingual transfer, and optimizing the computational efficiency of tensor contractions in larger transformer-based architectures.
Summary updated