Lune

AAAI2022Top-tier venue

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

Junfan Chen, Richong Zhang, Yongyi Mao, Jie Xu

Abstract

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 task-level 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Effective Structured Prompting by Meta-Learning and Representative Verbalizer cites A Simple Framework for Contrastive Learning of Visual Representations
  • Effective Structured Prompting by Meta-Learning and Representative Verbalizer cites What Makes for Good Views for Contrastive Learning?
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Supervised Contrastive Learning cites What Makes for Good Views for Contrastive Learning?
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
  • Graph Contrastive Learning with Augmentations cites A Simple Framework for Contrastive Learning of Visual Representations
  • What Makes for Good Views for Contrastive Learning? cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Effective Structured Prompting by Meta-Learning and Representative VerbalizerWeisen Jiang, Yu Zhang, James T. KwokICML 2023 · 21 citations
  2. Boosting Few-Shot Text Classification via Distribution EstimationHan Liu, Feng Zhang, Xiaotong Zhang, Siyang Zhao et al.AAAI 2023 · 19 citations
  3. TART: Improved Few-shot Text Classification Using Task-Adaptive Reference TransformationShuo Lei, Xuchao Zhang, Jianfeng He, Fanglan Chen et al.ACL 2023 · 16 citations
  4. Distractor Generation in Multiple-Choice Tasks: A Survey of Methods, Datasets, and EvaluationElaf Alhazmi, Quan Sheng, Wei Emma Zhang, Munazza Zaib et al.EMNLP 2024 · 15 citations
  5. Performance-Guided LLM Knowledge Distillation for Efficient Text Classification at ScaleFlavio Di Palo, Prateek Singhi, Bilal FadlallahEMNLP 2024 · 12 citations

Builds on12

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
  4. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  5. What Makes for Good Views for Contrastive Learning?Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan et al.NeurIPS 2020 · 1,631 citations

Related papers

  1. ProtAugment: Intent Detection Meta-Learning through Unsupervised Diverse ParaphrasingThomas Dopierre, Christophe Gravier, Wilfried LogeraisACL 2021
  2. Exploring Task Difficulty for Few-Shot Relation ExtractionJiale Han, Bo Cheng, Wei LuEMNLP 2021 · 74 citations
  3. Few-shot Text Classification with Distributional SignaturesYujia Bao, Menghua Wu, Shiyu Chang, Regina BarzilayICLR 2020 · 183 citations
  4. On the Importance of Distractors for Few-Shot ClassificationRajshekhar Das, Yu-Xiong Wang, José M. F. MouraICCV 2021 · 36 citations
  5. SELP: A Semantically-Driven Approach for Separated and Accurate Class Prototypes in Few-Shot Text ClassificationWenxin Liang, Tingyu Zhang, Han Liu, Feng ZhangACL Findings 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines