Inconsistent Few-Shot Relation Classification via Cross-Attentional Prototype Networks with Contrastive Learning
Hongru Wang, Zhijing Jin, Jiarun Cao, Gabriel Pui Cheong Fung, Kam-Fai, Wong

TL;DR
This paper introduces a new task called inconsistent few-shot relation classification, addressing training-testing discrepancies in class and sample numbers, and proposes ProtoCACL, a novel model that outperforms existing methods under these conditions.
Contribution
The paper defines the inconsistent few-shot RC task and proposes ProtoCACL, a cross-attention contrastive learning approach that enhances robustness and discrimination in representations.
Findings
ProtoCACL outperforms state-of-the-art models under inconsistent N and K settings.
Models can perform better with less data in the inconsistent setting.
Guidelines for selecting N and K under different scenarios are provided.
Abstract
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., -way) and number of labeled data per class (i.e., -shot) during training vs. testing. In this work, we define a new task, \textit{inconsistent few-shot RC}, where the model needs to handle the inconsistency of and 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 and inconsistent settings, owing to its more robust and discriminate representations.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Multimodal Machine Learning Applications · Topic Modeling
MethodsContrastive Learning
