ContrastNet: A Contrastive Learning Framework for Few-Shot Text Classification

05/16/2023
by   Junfan Chen, et al.
0

Few-shot text classification has recently been promoted by the meta-learning paradigm which aims to identify target classes with knowledge transferred from source classes with sets of small tasks named episodes. Despite their success, existing works building their meta-learner based on Prototypical Networks are unsatisfactory in learning discriminative text representations between similar classes, which may lead to contradictions during label prediction. In addition, the tasklevel and instance-level overfitting problems in few-shot text classification caused by a few training examples are not sufficiently tackled. In this work, we propose a contrastive learning framework named ContrastNet to tackle both discriminative representation and overfitting problems in few-shot text classification. ContrastNet learns to pull closer text representations belonging to the same class and push away text representations belonging to different classes, while simultaneously introducing unsupervised contrastive regularization at both task-level and instance-level to prevent overfitting. Experiments on 8 few-shot text classification datasets show that ContrastNet outperforms the current state-of-the-art models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/24/2023

PESCO: Prompt-enhanced Self Contrastive Learning for Zero-shot Text Classification

We present PESCO, a novel contrastive learning framework that substantia...
research
04/04/2020

Knowledge Guided Metric Learning for Few-Shot Text Classification

The training of deep-learning-based text classification models relies he...
research
06/03/2023

TART: Improved Few-shot Text Classification Using Task-Adaptive Reference Transformation

Meta-learning has emerged as a trending technique to tackle few-shot tex...
research
08/16/2019

Few-shot Text Classification with Distributional Signatures

In this paper, we explore meta-learning for few-shot text classification...
research
12/21/2021

Supervised Graph Contrastive Pretraining for Text Classification

Contrastive pretraining techniques for text classification has been larg...
research
08/30/2023

Towards One-Shot Learning for Text Classification using Inductive Logic Programming

With the ever-increasing potential of AI to perform personalised tasks, ...
research
02/27/2019

Few-Shot Text Classification with Induction Network

Text classification tends to struggle when data is deficient or when it ...

Please sign up or login with your details

Forgot password? Click here to reset