This paper, presented at ACL 2023, addresses the complexities of Fine-grained Chinese Named Entity Recognition (FG-CNER) by moving away from traditional "one-hot" label paradigms and embracing the inherent relationships within hierarchical categories.
Introduction
Named Entity Recognition (NER) is a fundamental NLP task. However, as the field moves toward "fine-grained" recognition, the number of potential labels increases significantly. In Chinese NER (CNER), this is further complicated by the lack of explicit word boundaries and the unique structural nature of characters.
The core issue identified by the authors is label exclusivity. Traditional models treat labels as mutually exclusive one-hot vectors. For instance, if a model predicts "Person-Singer" for an entity that is actually a "Person-Actor," a standard loss function penalizes that mistake as severely as a prediction of "Location-City." This approach ignores the shared "Person" parent category. Furthermore, the field has lacked a high-quality, large-scale dataset reflecting the hierarchical nature of real-world entities.
Methodology: The SoftFiNE Framework
The authors propose SoftFiNE, a novel framework designed to exploit hierarchical relationships through two major innovations: relevance-aware soft labels and entity augmentation.
1. Relevance-Aware Soft Labels
Instead of binary 0/1 targets, the model utilizes a custom scoring function to calculate the "closeness" between labels based on their hierarchical structure. By counting "missed levels" and "wrong sub-labels," the model assigns a similarity score. This allows the system to learn that a "near miss" within the same branch of the hierarchy is preferable to a total category error, leading to a smoother optimization landscape.
2. Entity Augmentation & KL-Divergence
To enhance robustness, the framework creates an "augmented" version of the input sentence where entity characters are replaced by their BIOES segmentation tags (e.g., replacing a specific name with "B-I-E"). The model then employs KL-Divergence to force the BERT encoder to produce similar features for both the original and augmented sentences. This strategy encourages the model to rely on contextual and structural cues rather than simply memorizing specific entity strings.
Datasets and the FiNE Benchmark
The paper introduces FiNE, currently the largest open-source hierarchical CNER dataset. It consists of 30,000 sentences from 27 domains, containing 67,651 entities across 54 flattened hierarchical categories.
In addition to FiNE, the authors evaluated their method on three established benchmarks:
- OntoNotes 4.0: A standard coarse-grained CNER dataset.
- Weibo: A social media-based CNER dataset.
- Resume: A dataset consisting of Chinese resumes.
Key Results and Insights
SoftFiNE achieved state-of-the-art (SOTA) performance across all tested datasets:
- On FiNE: It achieved an F1-score of 73.04, outperforming the standard BERT baseline (72.26) and other specialized hierarchical models.
- Generalization: It set new SOTA records on OntoNotes 4.0 (83.32 F1), Weibo (73.18 F1), and Resume (96.89 F1).
Ablation studies confirmed that both soft labeling and the augmentation strategy independently boosted performance, with their combination providing the strongest results, particularly in improving precision. Interestingly, the authors found that for hierarchical labels, a simple Softmax often outperformed the traditionally preferred Conditional Random Field (CRF) decoder, suggesting that the hierarchical structure itself provides sufficient sequence constraints.
Limitations and Future Work
Despite its success, the FiNE dataset exhibits a "long tail" distribution where some categories have significantly fewer samples. Additionally, the relevance scoring function introduces hyperparameters that currently require manual tuning. Future research may explore automated loss ratio balancing and dynamic label relevance scoring to further streamline the training process.
Summary updated