Abstract
This paper introduces a simple yet highly effective baseline for sentence-level Relation Extraction (RE) that achieves state-of-the-art results by optimizing how entity information is presented to Pre-trained Language Models (PLMs). By utilizing punctuation-based "typed entity markers" and evaluating on refined datasets, the authors demonstrate that standard PLMs are significantly more capable at relation extraction than previously believed, achieving a 91.1% F1 score on the Re-TACRED benchmark.
Introduction
Sentence-level Relation Extraction (RE) involves identifying the relationship between two entities within a sentence (e.g., identifying ORG:FOUNDED_BY in "Bill Gates founded Microsoft"). Despite the dominance of Pre-trained Language Models (PLMs) like BERT and RoBERTa, performance in this field appeared to have plateaued. The authors argue that this perceived limit is due to suboptimal entity representation methods and the use of noisy benchmarks like the original TACRED dataset, which contains approximately 6.6% noisy labels.
Methodology: Entity Representation
The core contribution of this work is an empirical evaluation of various techniques for representing entities in input text. The authors explored several methods to inject entity spans and types into the model:
- Entity Mask: Replaces entities with their types (e.g.,
[SUBJ-PERSON]). - Entity Marker: Wraps entities in special tokens (e.g.,
[E1] Bill [/E1]). - Typed Entity Marker: Wraps entities in tokens that include Named Entity Recognition (NER) types.
The Punctuation-Based Approach
A key finding was that introducing new, untrained special tokens (like [E1]) can degrade the performance of models like RoBERTa, as the model must learn embeddings for these tokens from scratch. To circumvent this, the authors proposed Typed Entity Marker (punct), which repurposes standard punctuation marks (e.g., @ and #) to denote entity boundaries and types.
As shown in the examples above, the punctuation-based method allows the model to leverage existing token embeddings while clearly demarcating entity information.
Datasets
To account for label noise, the models were evaluated on three versions of the TACRED dataset:
- TACRED: The original benchmark with known noise.
- TACREV: A version with corrected development and test sets.
- Re-TACRED: A fully refined version with clarified definitions and complete re-annotation.
Results and Key Insights
By combining RoBERTa-Large with the punctuation-based typed entity marker, the authors established a new state-of-the-art (SOTA), surpassing complex, knowledge-augmented models like LUKE.
Key Findings:
- Punctuation as a Performance Hack: Reusing existing punctuation bypasses the need for the model to learn new special token embeddings, leading to immediate gains in RoBERTa.
- The Value of Entity Names: Contrary to prior beliefs that masking entity names prevents overfitting, this study shows that models learn vital semantic clues from names and generalize better when they are preserved.
- Impact of Dataset Noise: The authors observed that entity types provided a larger performance boost on noisy datasets (TACRED) than on clean ones (Re-TACRED). This suggests that models may have previously exploited annotation biases in TACRED rather than truly understanding sentence context.
Conclusion
The proposed baseline achieves a massive 91.1% F1 score on Re-TACRED, proving that standard PLMs are highly effective for RE when provided with properly formatted inputs. The authors strongly recommend that future research adopt Re-TACRED as the standard benchmark to avoid the misleading effects of label noise and bias present in earlier versions.
Summary updated