paper-with-me

홈 › Papers

Grad2Task: Improved Few-shot Text Classification Using Gradients for Task Representation

2022-01-27 · NeurIPS 2021 12 · Jixuan Wang, Kuan-Chieh Wang, Frank Rudzicz, Michael Brudno

Large pretrained language models (LMs) like BERT have improved performance in many disparate natural language processing (NLP) tasks. However, fine tuning such models requires a large number of training examples for each target task. Simultaneously, many realistic NLP problems are "few shot", without a sufficiently large training set. In this work, we propose a novel conditional neural process-based approach for few-shot text classification that learns to transfer from other diverse tasks with rich annotation. Our key idea is to represent each task using gradient information from a base model and to train an adaptation network that modulates a text classifier conditioned on the task representation. While previous task-aware few-shot learners represent tasks by input encoding, our novel task representation is more powerful, as the gradient captures input-output relationships of a task. Experimental results show that our approach outperforms traditional fine-tuning, sequential transfer learning, and state-of-the-art meta learning approaches on a collection of diverse few-shot tasks. We further conducted analysis and ablations to justify our design choices.

📄 PDF Abstract BibTeX arXiv:2201.11576

Code (1)

jixuan-wang/grad2task 공식 구현 pytorch

Tasks

Few-Shot Text ClassificationMeta-Learningtext-classificationText ClassificationTransfer Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Weight Decay 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Zero-shot Relation Classification as Textual Entailment

2018-11-01 · WS 2018 11 · Abiola Obamuyide, Andreas Vlachos

We consider the task of relation classification, and pose this task as one of textual entailment. We show that this formulation leads to several advantages, including the ability to (i) perform zero-shot relation classif…

ClassificationGeneral ClassificationKnowledge Base PopulationNatural Language Inference+7

Revisiting Local Descriptor for Improved Few-Shot Classification

2021-03-30 · Jun He, Richang Hong, Xueliang Liu, Mingliang Xu 외

Few-shot classification studies the problem of quickly adapting a deep learner to understanding novel classes based on few support images. In this context, recent research efforts have been aimed at designing more and mo…

ClassificationDecision MakingGeneral Classification

Label Agnostic Pre-training for Zero-shot Text Classification

2023-05-25 · Christopher Clarke, Yuzhao Heng, Yiping Kang, Krisztian Flautner 외

Conventional approaches to text classification typically assume the existence of a fixed set of predefined labels to which a given text can be classified. However, in real-world applications, there exists an infinite lab…

Classificationtext-classificationText ClassificationZero-shot Generalization+1

Improving Few-Shot Image Classification Using Machine- and User-Generated Natural Language Descriptions

2022-07-07 · Findings (NAACL) 2022 7 · Kosuke Nishida, Kyosuke Nishida, Shuichi Nishioka

Humans can obtain the knowledge of novel visual concepts from language descriptions, and we thus use the few-shot image classification task to investigate whether a machine learning model can have this capability. Our pr…

DecoderFew-Shot Image Classificationimage-classificationImage Classification

The Benefits of Label-Description Training for Zero-Shot Text Classification

2023-05-03 · Lingyu Gao, Debanjan Ghosh, Kevin Gimpel

Pretrained language models have improved zero-shot text classification by allowing the transfer of semantic knowledge from the training data in order to classify among specific label sets in downstream tasks. We propose …

Classificationdomain classificationtext-classificationText Classification+3