Introduction
In real-world Named-Entity Recognition (NER) applications, data is often fragmented across multiple datasets with inconsistent labeling schemes. For instance, one legacy dataset might label entities as Person or Organization, while a newer dataset uses more granular labels like First Name, Last Name, and Company. This creates the heterogeneous tag-set problem, where models struggle to learn from diverse sources simultaneously.
Standard approaches like Multi-Task Learning (MTL) or training independent models often fail to resolve "collisions"—conflicting predictions for the same token—without brittle, hand-written heuristic rules. Furthermore, these models lack an inherent understanding of the relationships between labels, such as the fact that a Street is a specific type of Address and a broader Location.
Methodology
The authors propose the Tag Hierarchy Model ($M_{Hier}$), which integrates hierarchical knowledge directly into the neural network's architecture and loss function. The core innovation is a shift from predicting dataset-specific tags to predicting a sequence of "fine-grained" tags ($T^{FG}$) that represent the most specific units in a global Directed Acyclic Graph (DAG).
Hierarchy-Aware Learning
To handle training data that only provides "coarse" labels (e.g., a label for Location without specifying City or Street), the model employs a specialized hierarchy-aware loss function. This function calculates the probability of all possible fine-grained sequences that are consistent with the provided coarse label, treating the coarse data as a form of distant supervision. The underlying architecture is a BiLSTM-CRF utilizing both GloVe word-level and character-level embeddings, with the CRF layer operating on the unified fine-grained tag space.
Experimental Setup
The model was evaluated across two distinct domains:
- Medical (De-identification): Utilizing I2B2-2006, I2B2-2014, and the PhysioNet golden set. These datasets require masking sensitive patient information but vary significantly in their tagging granularity for dates, names, and locations.
- News: Utilizing CoNLL-2003 and OntoNotes-v5, which are standard benchmarks with differing levels of detail in their tagging schemes.
Key Results and Insights
The hierarchical approach demonstrated significant advantages over traditional multi-tasking and independent model baselines:
- Superior Tag-set Extension: In experiments designed to extend existing tag-sets (e.g., adding specific
Locationsubtypes), $M_{Hier}$ achieved an F1 score of 0.854, outperforming independent models (0.810) and MTL (0.802). - Robustness to Collisions: The performance gap was most evident in scenarios with high label conflicts (over 100 collisions), where the hierarchical model consistently resolved ambiguities that tripped up other methods.
- Zero-Shot Performance: On the unseen
Physiodataset, which required synthesizing tags from different training sources, $M_{Hier}$ achieved a 0.760 F1, representing a 6% relative improvement over the best single-dataset model.
Conclusion and Future Work
By baking hierarchical relationships into the learning process, $M_{Hier}$ eliminates the need for messy post-processing and improves robustness across domains. However, the model currently requires manual hierarchy construction, which involves expert labor. Future research may explore automated hierarchy induction and more efficient inference approximations to handle the NP-hard complexity of finding the absolute most likely sequence over complex target tag-sets.
Summary updated