Large Margin Prototypical Network for Few-shot Relation Classification with Fine-grained Features

Miao Fan, Yeqi Bai, Mingming Sun, Ping Li
9/6/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Relation classification (RC) plays a pivotal role in both natural language understanding and knowledge graph completion. It is generally formulated as a task to recognize the relationship between two entities of interest appearing in a free-text sentence. Conventional approaches on RC, regardless of feature engineering or deep learning based, can obtain promising performance on categorizing common types of relation leaving a large proportion of unrecognizable long-tail relations due to insufficient labeled instances for training. In this paper, we consider few-shot learning is of great practical significance to RC and thus improve a modern framework of metric learning for few-shot RC. Specifically, we adopt the large-margin ProtoNet with fine-grained features, expecting they can generalize well on long-tail relations. Extensive experiments were conducted by FewRel, a large-scale supervised few-shot RC dataset, to evaluate our framework: LM-ProtoNet (FGF). The results demonstrate that it can achieve substantial improvements over many baseline approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fan2024large,
  title  = {Large Margin Prototypical Network for Few-shot Relation Classification with Fine-grained Features},
  author = {Miao Fan and Yeqi Bai and Mingming Sun and Ping Li},
  year   = {2024},
  eprint = {2409.04009},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04009v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.04009.svg)](https://codeofpaper.com/paper/2409.04009)

Discussion