SelfORE is a self-supervised framework designed for Open Relation Extraction (OpenRE), enabling the extraction of triplets from text without pre-defined relation labels. By integrating a BERT-based encoder with an iterative bootstrapping loop of adaptive clustering and relation classification, SelfORE learns high-quality relational features, outperforming existing unsupervised and distant-supervised baselines.
The Challenge of Open Relation Extraction
Traditional Relation Extraction (RE) models operate in a "closed-world" setting, requiring extensive human-annotated data for a fixed set of relations. This approach fails to scale to the dynamic nature of open-domain text where new relations emerge constantly. Open Relation Extraction (OpenRE) seeks to discover relations automatically but faces two primary challenges: the discriminative gap in unsupervised methods, which often lack strong signals for feature refinement, and the difficulty of pre-determining the exact number of relations ($K$) in a dataset.
Methodology
SelfORE addresses these challenges through a three-stage iterative pipeline that bridges the gap between unsupervised clustering and supervised classification:
- Contextualized Relation Encoder: The model utilizes a pretrained BERT engine to identify entity pairs within a sentence. It extracts the hidden states of special entity tokens to create a vector representation of the relationship.
- Adaptive Clustering: Instead of rigid clustering, SelfORE employs a soft-assignment approach based on the Student’s t-distribution. This makes the model less sensitive to the initial choice of $K$ and allows it to focus on high-confidence assignments while filtering noise.
- Relation Classification & Bootstrapping: Cluster assignments serve as "pseudo-labels" to train a classifier. Crucially, the loss from this classification is backpropagated to fine-tune the BERT encoder, creating a virtuous cycle where better features lead to better clusters.
Experimental Results
The model was evaluated on three large-scale datasets: NYT+FB (New York Times aligned with Freebase), T-REx SPO (Wikipedia with explicit surface-form relations), and T-REx DS (Wikipedia with implied relations).
SelfORE consistently outperformed competitive baselines like UIE and rel-LDA across all metrics. On the NYT+FB dataset, it achieved a $B^3$ F1 score of 49.1, a significant improvement over UIE-BERT's 41.5. It also showed a 7.7% improvement in Adjusted Rand Index (ARI), indicating that its discovered clusters align much more closely with real-world ground truth.
Robustness to Cluster Count
A key strength of SelfORE is its stability regarding the initial number of clusters ($K$). In sensitivity tests, the model's performance remained nearly flat even when the initial $K$ was varied from 10 to 1250, effectively solving the "unknown $K$" problem inherent in open-domain discovery.
Conclusion and Future Work
SelfORE demonstrates that self-supervision can effectively fine-tune large language models for relational tasks without gold labels. While the model excels at grouping similar relations, it does not yet automatically generate perfect human-readable labels for these clusters. Future research may explore handling non-binary relations and improving automatic naming heuristics for discovered relation types.
Summary updated