mlsanityData to 7 Oct 2026

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

arXiv 2201.11576 ↗First posted 27 Jan 2022cs.CL cs.AIcited by 8

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  8. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
  11. 2016Matching Networks for One Shot Learningcited by 2,246
  12. 2015A large annotated corpus for learning natural language inferencecited by 1,837
27 more
  1. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  2. 2016HyperNetworkscited by 1,003
  3. 2018On First-Order Meta-Learning Algorithmscited by 1,003
  4. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  5. 2018Taskonomy: Disentangling Task Transfer Learningcited by 631
  6. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  7. 2018Conditional Neural Processescited by 421
  8. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  9. 2018Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfacescited by 376
  10. 2017Meta Networkscited by 268
  11. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
  12. 2019Task2Vec: Task Embedding for Meta-Learningcited by 197
  13. 2020LEEP: A New Measure to Evaluate Transferability of Learned Representationscited by 182
  14. 2019Fast and Flexible Multi-Task Classification Using Conditional Neural Adaptive Processescited by 131
  15. 2020Exploring and Predicting Transferability across NLP Taskscited by 126
  16. 2019Transferability and Hardness of Supervised Classification Taskscited by 125
  17. 2019Learning and Evaluating General Linguistic Intelligencecited by 78
  18. 2019Induction Networks for Few-Shot Text Classificationcited by 64
  19. 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
  20. 2019MultiQA: An Empirical Investigation of Generalization and Transfer in Reading Comprehensioncited by 60
  21. 2017Identifying beneficial task relations for multi-task learning in deep neural networkscited by 59
  22. 2019Few-shot Text Classification with Distributional Signaturescited by 58
  23. 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57
  24. 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
  25. 2019Learning to Forget for Meta-Learningcited by 35
  26. 2020Fairness and Robustness in Invariant Learning: A Case Study in Toxicity Classificationcited by 32
  27. 2020DEPARA: Deep Attribution Graph for Deep Knowledge Transferabilitycited by 18

Built on by

Cited by year

Citing papers per year: 2022: 7; 2023: 0; 2024: 0; 2025: 1.

8 papers.