Entity Concept-enhanced Few-shot Relation Extraction

Shan Yang, Yongfei Zhang, Guanglin Niu, Qinghua Zhao, Shiliang Pu

TL;DR

ConceptFERE is a new framework that boosts few-shot relation extraction by incorporating concise entity concepts (e.g., identifying "Microsoft" as a company) rather than relying solely on plain text or noisy long-form descriptions. By using a specialized attention mechanism to select the right concept and a fusion module to blend it with sentence context, the model achieves state-of-the-art results on the FewRel benchmark, particularly in challenging 1-shot scenarios.

What Problem Does This Paper Address?

Relation Extraction (RE) is the task of identifying the relationship between two entities in a sentence (e.g., recognizing that "Microsoft" was founded by "Bill Gates"). While standard RE models thrive on massive datasets, they struggle with "few-shot" scenarios (FSRE)—situations where only a handful of examples exist for a specific relation. This is common in specialized fields like medicine or public security.

Existing FSRE methods usually fall into two camps:

  1. Plain Text Models: These rely only on the sentence provided. With limited data, they often lack the "background knowledge" to make accurate predictions.
  2. External Knowledge Models: These try to help by bringing in entity descriptions from sources like Wikidata. However, these descriptions are often long, noisy, and difficult for a model to parse effectively.

The authors argue that concepts—concise, abstract labels like "company" or "entrepreneur"—provide a "Goldilocks" level of information: more informative than plain text, but cleaner and more focused than long descriptions.

Methods

The authors propose ConceptFERE (Entity CONCEPT-enhanced FEw-shot Relation Extraction). The architecture consists of several clever components designed to handle the mismatch between sentence data and conceptual data:

  • Concept Retrieval: The model pulls multiple potential concepts for an entity from a database (like Microsoft’s Concept Graph). For example, "Microsoft" might be associated with "company," "vendor," and "client."
  • Concept-Sentence Attention Module: Not every concept is relevant to every sentence. This module calculates the semantic similarity between the sentence and each candidate concept. It uses a projection matrix to bring sentence and concept embeddings into the same semantic space and a "01-GATE" to filter out irrelevant concepts.
  • Self-Attention Based Fusion Module: Once the best concept is selected, the model needs to integrate it with the actual words in the sentence. This module performs word-level semantic fusion, ensuring the concept provides a strong clue for the final relation classifier.
Figure 1: Structure diagram of ConceptFERE model.

Datasets

The model was evaluated on FewRel, the standard large-scale benchmark for few-shot relation extraction. FewRel contains 100 relations and 70,000 instances extracted from Wikipedia. Following standard practice, the authors split the data into 50 relations for training, 14 for validation, and 16 for testing.

Key Insights and Ideas

  • Abstraction is a Feature, Not a Bug: Concepts are more abstract than specific text descriptions. This higher level of abstraction helps the model generalize better to new, unseen relations—the core challenge of few-shot learning.
  • Contextual Selection is Critical: An entity can be many things. As shown in the paper's examples, knowing that "Microsoft" is a company and "Bill Gates" is an entrepreneur narrows down the possible relations to a small set (like "founder" or "CEO") while eliminating nonsensical ones like "educated at."
  • Bridging Semantic Gaps: Sentence embeddings (often from BERT) and concept embeddings (often from Skip-gram on knowledge graphs) live in different "worlds." The use of a projection matrix and self-attention fusion is essential to make these two types of data talk to each other effectively.

Key Results

ConceptFERE outperformed all state-of-the-art baselines on the FewRel test set.

  • 1-Shot Performance: In the most difficult "5-way 1-shot" scenario (choosing between 5 relations with only 1 example each), ConceptFERE achieved an accuracy of 89.21%.
  • Comparison: This represents a 4.45% gain over the previous best model using external descriptions (TD-Proto) and a 6.64% gain over the best plain-text model (BERT-PAIR).
  • Ablation Studies: The authors proved that their specific modules were doing the heavy lifting. Removing the fusion module caused accuracy to drop from 89.21% to 83.11%, highlighting that simply "adding" concepts isn't enough—you have to fuse them intelligently.
Accuracies (%) of different models on test set.

Limitations and Future Work

The primary limitation noted was hardware-related: due to GPU memory constraints, the authors were only able to test the full ConceptFERE model in 1-shot scenarios, though they provided results for a "Simple" version in 5-shot scenarios.

For future work, the authors aim to incorporate more explicit commonsense knowledge, specifically looking at the possible relations between the concepts themselves to further refine the model's predictive power.

Summary updated

BibTeX
@inproceedings{yang2021entity,
  author = {Shan Yang and Yongfei Zhang and Guanglin Niu and Qinghua Zhao and Shiliang Pu},
  title = {{Entity Concept-enhanced Few-shot Relation Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-short.124},
}
Figure