Introduction
Relation Extraction (RE) is a fundamental task in natural language processing, aimed at identifying the semantic relationship between two entities within a sentence. Despite the success of large-scale pre-trained models, recent research reveals a significant flaw: these models often rely on "entity bias" or "shortcuts." Instead of comprehending the linguistic context, models memorize superficial correlations between specific entities and relations. For instance, if a training set frequently associates "Bill" and "Washington" with the relation born_in, the model may incorrectly predict this relation even when the text describes Bill as the governor of Washington.
This paper addresses these challenges by introducing DREB (Debiased Relation Extraction Benchmark) and MixDebias, a training framework designed to force models to prioritize contextual understanding over entity-based shortcuts.
The DREB Benchmark
Existing debiased datasets often suffer from two primary issues: distribution bias and a lack of naturalness. Previous methods frequently altered the frequency of relation types (e.g., reducing "no_relation" samples), allowing models to achieve higher scores simply by adjusting prediction thresholds rather than improving understanding. Furthermore, random entity swapping often results in nonsensical sentences that do not reflect real-world language.
To overcome these hurdles, the authors developed DREB using a sophisticated "query and replace" strategy powered by Wikidata. The pipeline ensures high-quality data through a dual-evaluator system:
- Bias Evaluator: A neural network that attempts to predict relations using only entity mentions. If the relation is too easily guessed without context, the sample is rejected.
- PPL Evaluator: A GPT-2 based system that calculates the perplexity of the generated sentence to ensure linguistic naturalness.
Crucially, DREB maintains the exact relation distribution of the original datasets (TACRED, TACREV, and Re-TACRED), providing a rigorous test of a model's true generalization capabilities.
MixDebias: A Hybrid Training Approach
To improve model robustness, the authors propose MixDebias, which integrates data-level and model-level debiasing techniques:
- Regularized Debias (RDA): This data-level approach uses an "EntityDict" to swap entities during training. A Kullback-Leibler (KL) divergence loss is applied to ensure the model produces consistent probability distributions regardless of the specific entity names, emphasizing the importance of context.
- Causal Debias (CDA): At the model level, CDA uses causal inference to estimate the "bias effect"—the prediction the model would make based solely on entities. By subtracting this bias during training, the model is encouraged to focus on the "contextual effect."
Results and Discussion
The evaluation reveals a stark reality: state-of-the-art models like LUKE and IRE experience performance drops of 30% to 50% when tested on DREB, confirming their heavy reliance on shortcuts. However, MixDebias significantly mitigates this. On the TACRED version of DREB, the LUKE baseline's F1 score improved from 44.40 to 62.44 when trained with MixDebias.
Importantly, this improvement does not come at the cost of performance on standard, biased data. MixDebias maintains or slightly improves scores on original test sets while drastically boosting generalization. The authors also introduced the Bias Mitigation Efficiency (BME) metric to quantify this balance, where MixDebias consistently outperformed other debiasing baselines.
Conclusion
This work highlights the fragility of current RE models and provides a robust framework for developing more generalized systems. By combining a naturally debiased benchmark with a hybrid training method, the authors demonstrate that models can be steered away from "lazy" shortcut learning toward genuine linguistic comprehension. Future work may extend this dual-level debiasing approach to address other forms of shortcut learning, such as syntactic or structural biases.
Summary updated