TL;DR
This paper introduces a novel neural Named-Entity Recognition (NER) model designed to train on multiple datasets with completely different or overlapping tag-sets (heterogeneous tag-sets). By embedding a user-defined tag hierarchy directly into the network, the model learns to predict fine-grained tags and natively maps them to any target tag-set at inference time. This approach eliminates the need for messy, heuristic post-processing conflict resolution and consistently outperforms standard multi-task learning and independent model baselines.
What Problem Does This Paper Address?
In real-world NLP applications, we often want to combine multiple datasets to train a robust Named-Entity Recognition (NER) model. However, these datasets frequently use entirely different annotation guidelines. For instance, one medical dataset might tag a piece of text broadly as a Location, while another splits it into Street and City. Alternatively, a team might want to extend an existing dataset by annotating only a new tag (like Date) in a new batch of documents to save annotation effort.
Standard approaches struggle with these heterogeneous tag-sets:
- Naive Concatenation: Treating missing labels as negative examples confuses the model.
- Independent Models or Multi-Task Learning (MTL): Training separate tagging layers for each dataset creates a massive headache at test time. If one model predicts an entity is a
Nameand another predicts it is aLocation, you face a "tagging collision" that must be resolved using ad-hoc, error-prone post-processing heuristics.
The authors address this gap by leveraging a known hypernym hierarchy (a directed acyclic graph of tag relationships) to unify training across disparate tag-sets.
Methods
The core architecture builds on the standard state-of-the-art BiLSTM-CRF model for NER (shown in Figure 2).
Instead of maintaining separate tagging layers for each dataset like a traditional multi-task setup (shown in Figure 3), the proposed Tag Hierarchy Model ($M_{Hier}$) introduces a single, shared tagging layer that operates exclusively on the most fine-grained tags in the hierarchy.
Key innovations include:
- Hierarchy Extension with 'Other' Tags: To ensure that a parent tag's semantics are perfectly covered by its children, the model automatically expands the provided hierarchy. It introduces specific fine-grained negative tags (e.g.,
Age-Other,FG-Other) to capture "all the rest" semantics, as illustrated in Figure 4. - Distant Supervision Loss: Because the training datasets only provide coarse or partial labels, there is no direct supervision for the fine-grained tags. The authors design a loss function that treats coarse labels as distant supervision. It sums the probabilities of all possible fine-grained tag sequences that logically "agree" with the coarse gold labels, calculated efficiently using the Forward-Backward algorithm.
- Collision-Free Inference: At test time, the model predicts a single sequence of fine-grained tags and simply traverses up the hierarchy graph until it hits the desired target tag-set.
Datasets
The authors evaluated their approach across two distinct domains:
- Medical Domain (De-identification): Used to remove private health information. Datasets included I2B2-2006, I2B2-2014, and the PhysioNet golden set. These datasets feature varying granularities of overlapping tags (e.g.,
Hospitalvs.Location). - News Domain: Standard benchmarks CoNLL-2003 and OntoNotes-v5.
Key Insights and Ideas
- Moving Resolution into the Loss Function: The primary "aha moment" is that resolving tag conflicts shouldn't happen after prediction. By forcing the neural network to optimize globally over a shared fine-grained space during training, the model inherently learns how the datasets complement or restrict one another.
- The Multi-Task Learning Pitfall: The experiments revealed that standard Multi-Task Learning (MTL) often degrades performance compared to independent models in this setting. Because MTL maintains separate CRF layers, it fails to share parameter representations at the decision level, leading to high collision rates.
- Robustness Across Domains: When extending a base dataset with an out-of-domain dataset (e.g., mixing news and medical data), the hierarchy model proved significantly more resilient to performance drops than the baselines.
Key Results
The models were evaluated using micro-averaged F1 scores.
- Tag-Set Extension: In experiments simulating selective annotation (adding a single tag from an external dataset), $M_{Hier}$ consistently outperformed both independent models and MTL.
- High-Collision Scenarios: The performance gap widened dramatically in favor of $M_{Hier}$ in complex cases where the baselines encountered more than 100 token collisions during post-processing.
- Full Tag-Set Integration: When completely merging the training data of I2B2'06 and I2B2'14, $M_{Hier}$ maintained pristine performance on their respective native test sets. Crucially, on the unseen PhysioNet dataset—which required utilizing the combined knowledge of both training sets—$M_{Hier}$ achieved a 6% relative improvement in F1 over the best single-dataset model, while the other combination baselines suffered severe performance degradation.
Limitations and Future Work
- Cross-Domain Blending: While robust, the model still faces challenges when blending highly divergent domains (like news and clinical notes) due to underlying vocabulary and stylistic shifts.
- Inference Complexity: Finding the absolute mathematically optimal target sequence by summing all fine-grained paths is NP-hard. As a result, the authors relied on a simpler hierarchy-traversal heuristic during inference. They note that exploring tractable, exact decoding alternatives remains an open avenue for future research.
Summary updated