Inconsistent Few-Shot Relation Classification via Cross-Attentional Prototype Networks with Contrastive Learning

10/13/2021
by   Hongru Wang, et al.
0

Standard few-shot relation classification (RC) is designed to learn a robust classifier with only few labeled data for each class. However, previous works rarely investigate the effects of a different number of classes (i.e., N-way) and number of labeled data per class (i.e., K-shot) during training vs. testing. In this work, we define a new task, inconsistent few-shot RC, where the model needs to handle the inconsistency of N and K between training and testing. To address this new task, we propose Prototype Network-based cross-attention contrastive learning (ProtoCACL) to capture the rich mutual interactions between the support set and query set. Experimental results demonstrate that our ProtoCACL can outperform the state-of-the-art baseline model under both inconsistent K and inconsistent N settings, owing to its more robust and discriminate representations. Moreover, we identify that in the inconsistent few-shot learning setting, models can achieve better performance with less data than the standard few-shot setting with carefully-selected N and K. In the end of the paper, we provide further analyses and suggestions to systematically guide the selection of N and K under different scenarios.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/10/2019

Prototype Propagation Networks (PPN) for Weakly-supervised Few-shot Learning on Category Graph

A variety of machine learning applications expect to achieve rapid learn...
research
04/26/2020

MICK: A Meta-Learning Framework for Few-shot Relation Classification with Little Training Data

Few-shot relation classification describes a circumstance where a model ...
research
10/17/2022

HCL-TAT: A Hybrid Contrastive Learning Method for Few-shot Event Detection with Task-Adaptive Threshold

Conventional event detection models under supervised learning settings s...
research
05/31/2019

Subspace Networks for Few-shot Classification

We propose subspace networks for the problem of few-shot classification,...
research
11/24/2022

Few-shot Object Detection with Refined Contrastive Learning

Due to the scarcity of sampling data in reality, few-shot object detecti...
research
11/19/2020

Hybrid Consistency Training with Prototype Adaptation for Few-Shot Learning

Few-Shot Learning (FSL) aims to improve a model's generalization capabil...
research
05/04/2021

End-to-end One-shot Human Parsing

Previous human parsing models are limited to parsing humans into pre-def...

Please sign up or login with your details

Forgot password? Click here to reset