Adaptive Meta-learner via Gradient Similarity for Few-shot Text Classification

Tianyi Lei, Honghui Hu, Qiaoyang Luo, Dezhong Peng, Xu Wang
9/10/2022
cs.CL

Official code: Tianyi-Lei/Adaptive-Meta-learner-via-Gradient-Similarity-for-Few-shot-Text-Classification (3 stars, Python, last commit 2022-09-07).

Abstract

Few-shot text classification aims to classify the text under the few-shot scenario. Most of the previous methods adopt optimization-based meta learning to obtain task distribution.

Show full abstract

However, due to the neglect of matching between the few amount of samples and complicated models, as well as the distinction between useful and useless task features, these methods suffer from the overfitting issue. To address this issue, we propose a novel Adaptive Meta-learner via Gradient Similarity (AMGS) method to improve the model generalization ability to a new task. Specifically, the proposed AMGS alleviates the overfitting based on two aspects: (i) acquiring the potential semantic representation of samples and improving model generalization through the self-supervised auxiliary task in the inner loop, (ii) leveraging the adaptive meta-learner via gradient similarity to add constraints on the gradient obtained by base-learner in the outer loop. Moreover, we make a systematic analysis of the influence of regularization on the entire framework. Experimental results on several benchmarks demonstrate that the proposed AMGS consistently improves few-shot text classification performance compared with the state-of-the-art optimization-based meta-learning approaches.

View on arXivView PDF

Code Implementations(1)

Similar Papers

Cite this paper

@article{lei2022adaptive,
  title  = {Adaptive Meta-learner via Gradient Similarity for Few-shot Text Classification},
  author = {Tianyi Lei and Honghui Hu and Qiaoyang Luo and Dezhong Peng and Xu Wang},
  year   = {2022},
  eprint = {2209.04702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04702}
}

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/2209.04702.svg)](https://codeofpaper.com/paper/2209.04702)

Discussion