Introduction
Extracting structured relational triples—(subject, relation, object)—from unstructured text is a fundamental task for building Knowledge Graphs. Traditional approaches often suffer from cascading errors and struggle with complex entity overlaps. The BitCoin framework (Bidirectional Tagging and supervised Contrastive learning) addresses these issues by introducing a redundant extraction mechanism and a specialized learning objective designed to capture the nuances of relational proximity.
The Challenges of Relational Triple Extraction
Existing Relation Triple Extraction (RTE) models face three primary hurdles:
- The "Single Point of Failure": Most models follow a sequential tagging process, identifying a subject first and then searching for its related objects. If the initial subject identification fails, all associated triples are lost.
- Overlapping Triples: Real-world text frequently contains Single-Entity Overlap (SEO), where an entity acts as a subject in one triple and an object in another, or Entity-Pair Overlap (EPO), where two entities share multiple relations. Standard models often fail to disambiguate these complex structures.
- Generic Semantic Embeddings: Standard pre-trained models like BERT provide general-purpose features that may not inherently represent the specific relational proximity required to link subjects and objects effectively.
The BitCoin Framework
BitCoin introduces three core innovations to overcome these limitations: a bidirectional tagging decoder, supervised contrastive learning with a penalty term, and a relation prediction module.
Bidirectional Tagging Decoder
Unlike traditional one-way extraction, BitCoin employs two parallel decoding paths: Subject-to-Object ($s \to o$) and Object-to-Subject ($o \to s$). This redundancy acts as a cross-validation mechanism. If the subject-driven path misses an entity, the object-driven path provides a second chance to recover the triple. The final output is the union of the results from both directions, significantly increasing the model's recall.
Supervised Contrastive Learning (SCL) with a Penalty Term
To improve the quality of entity embeddings, BitCoin utilizes Supervised Contrastive Learning. While standard contrastive learning pulls similar items together, BitCoin uses ground-truth labels to pull subjects and their corresponding objects closer in the vector space.
A unique contribution is the inclusion of a penalty term. If a subject and object become too similar, the model loses the ability to distinguish their specific roles. The penalty term ensures they remain close enough to be recognized as related but distinct enough to maintain their identities as subject and object. Furthermore, the loss function is designed to handle "multi-positives," reflecting sentences where one subject is linked to multiple objects.
Relation Prediction Module
The framework explicitly predicts potential relations within a sentence. These predicted relational features are then used to guide the entity taggers, ensuring that the extraction process is aware of the global relational context of the sentence.
Experimental Evaluation
The model was evaluated on two benchmark datasets: NYT (New York Times) and WebNLG. These datasets are standard for testing RTE models, with WebNLG offering particularly complex linguistic structures. The researchers compared BitCoin against 13 strong baselines, including state-of-the-art models like CasRel, TPLinker, and OneRel.
Results and Discussion
BitCoin achieved state-of-the-art performance across all benchmarks. It reached an F1-score of 93.1% on the NYT dataset and 94.4% on WebNLG.
The framework's strength is most evident in complex scenarios. In the Single-Entity Overlap (SEO) category on WebNLG*, BitCoin achieved a 94.9% F1-score, a significant improvement over previous leaders like CasRel (92.2%). The results demonstrate that the bidirectional approach and the refined contrastive loss effectively untangle overlapping relations. Even in information-dense sentences containing five or more triples, BitCoin maintained high precision and recall.
Conclusion
The BitCoin framework demonstrates that redundancy and constrained similarity are powerful tools for relational triple extraction. By moving to a bidirectional tagging scheme and refining entity embeddings through a penalized contrastive loss, BitCoin sets a new standard for accuracy and robustness, particularly in the face of complex entity overlaps. Future work may explore tighter integration between the bidirectional paths and the application of this framework to even larger language models.
Summary updated