Novel Relation Detection: Discovering Unknown Relation Types via Multi-Strategy Self-Supervised Learning

Qingbin Liu, Yin Kung, Yanchao Hao, Dianbo Sui, Siyuan Cheng, Xi Chen, Ningyu Zhang, Jiaoyan Chen

TL;DR

Researchers have introduced M3S (Multi-Strategy Self-Supervised Learning), a framework designed for Novel Relation Detection (NRD). Unlike traditional models that force unknown relations into known categories, M3S generates synthetic "pseudo-unknown" data to train a classifier that can explicitly identify novel relations. This approach significantly improves the ability of AI to handle real-world, open-ended data.

The Challenge of the "Unknown"

In Natural Language Processing, Relation Extraction (RE) typically follows a "closed-world assumption." Models are trained on a fixed set of relations and struggle when encountering something new. For instance, if a model knows the relation directed by but encounters "Westworld was nominated for an Empire Award," it might incorrectly classify it as winner or directed by due to surface-level similarities (e.g., both involve films and people). This is known as shallow semantic similarity.

Conventional vs. Novel Relation Extraction

The goal of Novel Relation Detection is to maintain high accuracy on known relations while correctly flagging and grouping all out-of-scope (OOS) relations into a single "novel" class. This allows developers to collect OOS data and update the model systematically.

The M3S Framework: Simulating the Unknown

The core innovation of this paper is M3S, which addresses the lack of labeled OOS data during training by creating synthetic outliers. The framework uses a BERT encoder to extract features and then applies three distinct self-supervised strategies to generate "pseudo-OOS" samples:

  1. Convex Combination: Blends feature vectors from two different known relations to create a hybrid that occupies the "no-man's-land" between known categories.
  2. Regional Replacement: Swaps a continuous segment of features between two samples, simulating a sentence with familiar components but a novel overall meaning.
  3. Irregular Replacement: Randomly swaps individual dimensions across feature vectors to create diverse, non-standard feature patterns.
M3S Model Architecture and Strategies

By training on these synthetic examples alongside original features, the model learns to draw tighter boundaries around known classes, treating the "novel" category as an additional $(K+1)$-th class during a single training pass.

Experimental Setup and Results

The authors evaluated M3S on two new benchmarks: FewRel-NRE and TACRED-NRE, where a percentage of relations (10%, 20%, or 30%) were held out as "novel" during testing to simulate real-world conditions.

  • Superior Performance: M3S consistently outperformed state-of-the-art baselines. On the TACRED-NRE-20% task, it achieved a Novel F1-score of 47.47%, a significant jump over the next best method, GDA (40.91%).
  • Robustness: Ablation studies confirmed that combining all three synthesis strategies provides the most robust results, as each strategy covers different types of potential OOS data.
  • Efficiency: M3S is a single-pass training method, avoiding the need for complex threshold tuning or secondary validation sets common in other OOS detection techniques.

Conclusion and Future Directions

M3S demonstrates that "the unknown" can be effectively simulated to improve model reliability. By forcing models to look beyond shallow semantic cues, M3S creates more robust boundaries for known relations. Future work will explore more advanced fusion techniques for synthetic data and methods to automatically cluster detected novel relations into specific new categories for easier model updates.

Summary updated

BibTeX
@inproceedings{liu2023novel,
  author = {Qingbin Liu and Yin Kung and Yanchao Hao and Dianbo Sui and Siyuan Cheng and Xi Chen and Ningyu Zhang and Jiaoyan Chen},
  title = {{Novel Relation Detection: Discovering Unknown Relation Types via Multi-Strategy Self-Supervised Learning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.211},
}
Figure