Grad2Task: Improved Few-shot Text Classification Using Gradients for Task Representation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 39 of its 54 references that are in the map. First posted on arXiv 27 Jan 2022.
Builds on
39 of 54 references.
References · 39
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
27 more
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
- 2016HyperNetworkscited by 1,003
- 2018On First-Order Meta-Learning Algorithmscited by 1,003
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2018Taskonomy: Disentangling Task Transfer Learningcited by 631
- 2018Meta-Learning with Latent Embedding Optimizationcited by 476
- 2018Conditional Neural Processescited by 421
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2018Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfacescited by 376
- 2017Meta Networkscited by 268
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
- 2019Task2Vec: Task Embedding for Meta-Learningcited by 197
- 2020LEEP: A New Measure to Evaluate Transferability of Learned Representationscited by 182
- 2019Fast and Flexible Multi-Task Classification Using Conditional Neural Adaptive Processescited by 131
- 2020Exploring and Predicting Transferability across NLP Taskscited by 126
- 2019Transferability and Hardness of Supervised Classification Taskscited by 125
- 2019Learning and Evaluating General Linguistic Intelligencecited by 78
- 2019Induction Networks for Few-Shot Text Classificationcited by 64
- 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
- 2019MultiQA: An Empirical Investigation of Generalization and Transfer in Reading Comprehensioncited by 60
- 2017Identifying beneficial task relations for multi-task learning in deep neural networkscited by 59
- 2019Few-shot Text Classification with Distributional Signaturescited by 58
- 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57
- 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
- 2019Learning to Forget for Meta-Learningcited by 35
- 2020Fairness and Robustness in Invariant Learning: A Case Study in Toxicity Classificationcited by 32
- 2020DEPARA: Deep Attribution Graph for Deep Knowledge Transferabilitycited by 18
Built on by
Citing papers per year: 2022: 7; 2023: 0; 2024: 0; 2025: 1.
8 papers.
- 2022Eliciting and Understanding Cross-Task Skills with Task-Level Mixture-of-Expertscited by 12
- 2022Prototypical Fine-tuning: Towards Robust Performance Under Varying Data Sizescited by 10
- 2025Dual-level Mixup for Graph Few-shot Learning with Fewer Taskscited by 5
- 2022Few-shot Classification with Hypersphere Modeling of Prototypescited by 2
- 2022Disentangling Task Relations for Few-shot Text Classification via Self-Supervised Hierarchical Task Clusteringcited by 2
- 2022Understanding BLOOM: An empirical study on diverse NLP taskscited by 2
- 2022Meta-learning Pathologies from Radiology Reports using Variance Aware Prototypical Networkscited by 0
- 2022Credit Assignment for Trained Neural Networks Based on Koopman Operator Theorycited by 0
- 2025Dual-level Mixup for Graph Few-shot Learning with Fewer Tasks19 Feb 2025
- 2022Credit Assignment for Trained Neural Networks Based on Koopman Operator Theory2 Dec 2022
- 2022Understanding BLOOM: An empirical study on diverse NLP tasks27 Nov 2022
- 2022Prototypical Fine-tuning: Towards Robust Performance Under Varying Data Sizes24 Nov 2022
- 2022Disentangling Task Relations for Few-shot Text Classification via Self-Supervised Hierarchical Task Clustering16 Nov 2022
- 2022Few-shot Classification with Hypersphere Modeling of Prototypes10 Nov 2022
- 2022Meta-learning Pathologies from Radiology Reports using Variance Aware Prototypical Networks22 Oct 2022
- 2022Eliciting and Understanding Cross-Task Skills with Task-Level Mixture-of-Experts25 May 2022