Named Entity Recognition (NER) is a cornerstone of natural language processing, essential for identifying names, locations, and organizations within text. However, the traditional reliance on massive, human-labeled datasets creates a significant "data bottleneck." To circumvent this, researchers often turn to Distant Supervision (DS), which uses external knowledge bases or dictionaries to automatically label raw text. While efficient, this approach introduces systematic errors known as "dictionary bias."
Presented at ACL-IJCNLP 2021, this research introduces a novel framework that applies causal inference to strip away these biases, making distantly supervised models significantly more robust and accurate.
The Challenge: Dictionary Bias
Distant supervision relies on the assumption that if a word appears in a dictionary, it is an entity, and if it doesn't, it isn't. This logic is flawed because dictionaries are inherently incomplete, noisy, and ambiguous. These flaws manifest as two primary types of bias:
- Intra-dictionary bias: The model overfits to specific names in a list rather than learning linguistic context. For example, if "Apple" is in the dictionary but "Nvidia" is not, a model might fail to recognize "Nvidia" as an organization even in an identical sentence structure.
- Inter-dictionary bias: The model’s performance and internal representations fluctuate wildly depending on which specific dictionary is used for training, leading to fragility and poor generalization.
As shown in the figure above, dictionaries often cover only a fraction of the actual entities in a dataset, and the choice of dictionary significantly impacts the resulting labels, creating a noisy training signal.
Methodology: Causal Intervention
The authors reframe the NER process using a Structural Causal Model (SCM). In this model, the dictionary ($D$) is identified as a "confounder"—a variable that creates spurious correlations between the input text ($X$) and the entity labels ($Y$). To break these correlations, the paper proposes two specific causal interventions:
1. Backdoor Adjustment (for Intra-bias)
To prevent the model from relying solely on the dictionary, the researchers use backdoor adjustment. They simulate a scenario where the model is exposed to multiple "worlds" by sampling $K$ sub-dictionaries. This forces the model to calculate a de-biased likelihood, prioritizing the underlying causal path (the linguistic context) over simple memorization of the entity list.
2. Causal Invariance Regularizer (for Inter-bias)
To address the fragility caused by different dictionaries, a penalty term is introduced. This regularizer forces the model's internal representations to remain stable regardless of the dictionary used. If the model's understanding of a sentence shifts just because a different dictionary was applied, the regularizer pushes it back toward a consistent, dictionary-independent representation.
Crucially, this framework is model-agnostic. It acts as a "plug-in" that can be integrated into existing DS-NER systems like BOND or PU-Learning to enhance their performance without requiring new architecture.
Experimental Results
The de-biasing method was evaluated on four standard NER benchmarks: CoNLL2003, Twitter2005, Webpage, and Wikigold. The results demonstrated consistent improvements across the board:
- Significant F1 Gains: The method improved F1 scores by an average of 4.91% in Knowledge Base (KB) matching scenarios and 3.18% in String-matching scenarios.
- State-of-the-Art Performance: When applied to the BOND model, the framework achieved a new high of 81.54 F1 on CoNLL2003, surpassing the baseline of 79.83.
- Robustness: The "Inter-dictionary bias" was visibly reduced, with prediction likelihoods becoming much more stable across different training dictionaries.
Conclusion
By treating the dictionary not just as a source of labels but as a source of bias to be mathematically adjusted for, this research provides a powerful tool for low-resource NER. Shifting the model's focus from content (specific names) to context (linguistic patterns) ensures that systems can generalize to new, unseen entities. Future work may extend this causal framework to other distantly supervised tasks, such as Relation Extraction, where similar list-based biases are prevalent.
Summary updated