NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Relation-Oriented Clustering Method for Open Relation Extraction

Jun Zhao, Tao Gui, Qi Zhang, Yaqian Zhou

Abstract

Open Relation Extraction (OpenRE) aims to discover novel relationships from unlabeled text. Traditional methods using pre-trained language models like BERT often fail to align semantically similar relations due to syntactic noise. We present RoCORE (Relation-Oriented Clustering), a framework that utilizes labeled data to learn a relation-specific embedding space. By combining center loss and reconstruction loss, RoCORE maps entity pairs into a "relation-friendly" space, enabling more accurate clustering of novel relations. Experimental results on FewRel and TACRED demonstrate significant improvements over state-of-the-art methods, reducing error rates by up to 29%.

1. Introduction

In Information Extraction, Open Relation Extraction (OpenRE) is the task of discovering new types of relationships between entities (e.g., "founded by," "is the CEO of") from massive, unlabeled corpora. The current standard is to use high-dimensional embeddings from models like BERT and cluster them. However, there is a fundamental "alignment" problem: BERT embeddings are too rich. They capture syntax, grammar, and surface-level word overlaps.

As a result, a clustering algorithm might group "Bill Gates was the CEO of Microsoft" and "Microsoft was founded by Bill Gates" separately because their sentence structures differ, even though they are semantically related. Conversely, it might group two sentences just because they both mention "Microsoft," even if the relations are different.

The alignment problem in standard encoders where semantically similar relations have high Euclidean distances.

The authors of this paper address this by asking: How can we force our model to ignore the "noise" of general linguistics and focus specifically on relational semantics?

2. Methodology

The proposed framework, RoCORE (Relation-Oriented Clustering for Open Relation Extraction), operates in three iterative steps to refine the representation of entity pairs.

The three-step RoCORE framework for relation-oriented clustering.

2.1 Entity Pair Encoding

The process begins by using a pre-trained BERT model to generate initial representations of entity pairs within their sentential contexts. These high-dimensional vectors serve as the raw input for the subsequent mapping.

2.2 Relation-Oriented Clustering Module

This is the core innovation of RoCORE. A non-linear mapping projects the BERT vectors into a lower-dimensional "relational semantic space." Two key loss functions guide this projection:

  • Center Loss: Labeled data (pre-defined relations) is used to "pull" instances of the same relation toward a central point (centroid), creating tight clusters for known relations.
  • Reconstruction Loss: To prevent the model from collapsing all vectors into a single point, a decoder attempts to reconstruct the original BERT vector from the lower-dimensional one. This ensures the new space retains essential relational information.

2.3 Iterative Joint Training

Once the space is "relation-oriented," K-means is applied to generate pseudo-labels for the unlabeled data. The model is then trained using a joint objective: standard cross-entropy for known relations and a contrastive loss (pairwise KL-divergence) for novel relations. This iterative process allows the model to gradually refine its representations and correct noisy pseudo-labels.

3. Experimental Setup

The model was evaluated on two widely used benchmarks:

  • FewRel: A human-annotated dataset with 80 relation types. The authors used 64 for pre-training (known) and 16 for the "open" discovery task.
  • TACRED: A large-scale dataset covering 41 relation types. They used 30 for pre-training and 11 for discovery.

4. Results and Discussion

RoCORE outperformed all previous unsupervised and semi-supervised baselines, such as SelfORE and RSN, by a wide margin. On FewRel, it achieved an $F_1$ score of 0.796, compared to 0.709 for the previous best BERT-based method. On TACRED, it reached an $F_1$ of 0.860, up from 0.834. Overall, the method reduced the error rate by 29.2% on FewRel and 15.7% on TACRED.

4.1 Key Insights

  • Labeled Data as a Prior: Even if novel relations differ from pre-defined ones, the linguistic patterns of relations are somewhat universal. Training on known relations creates a "lens" that filters for relational cues across all text.
  • The Necessity of Reconstruction: Without reconstruction loss, the semantic space tends to collapse, losing the nuances required to distinguish between similar but distinct novel relations.
  • Cross-Domain Robustness: The model demonstrated strong performance when transferred across domains (e.g., Wikipedia to News), suggesting that the learned "relational lens" is highly generalizable.

5. Conclusion

RoCORE effectively bridges the gap between linguistic features and relational semantics in OpenRE. While it significantly improves performance, it currently assumes the number of novel clusters is known and depends on high-quality labeled data for initialization. Future work will explore automatic cluster estimation and incremental discovery of relations as they appear over time.

Summary updated

BibTeX
@inproceedings{zhao2021relation,
  author = {Jun Zhao and Tao Gui and Qi Zhang and Yaqian Zhou},
  title = {{A Relation-Oriented Clustering Method for Open Relation Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.765},
}
Figure