mlsanityData to 14 Oct 2026

Transductive Learning for Textual Few-Shot Classification in API-based Embedding Models

arXiv 2310.13998 ↗First posted 21 Oct 2023cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Proprietary and closed APIs are becoming increasingly common to process natural language, and are impacting the practical applications of natural language processing, including few-shot classification. Few-shot classification involves training a model to perform a new classification task with a handful of labeled data. This paper presents three contributions. First, we introduce a scenario where the embedding of a pre-trained model is served through a gated API with compute-cost and data-privacy constraints. Second, we propose a transductive inference, a learning paradigm that has been overlooked by the NLP community. Transductive inference, unlike traditional inductive learning, leverages the statistics of unlabeled data. We also introduce a new parameter-free transductive regularizer based on the Fisher-Rao loss, which can be used on top of the gated API embeddings. This method fully utilizes unlabeled data, does not share any label with the third-party API provider and could serve as a baseline for future research. Third, we propose an improved experimental setting and compile a benchmark of eight datasets involving multiclass classification in four different languages, with up to 151 classes. We evaluate our methods using eight backbone models, along with an episodic evaluation over 1,000 episodes, which demonstrate the superiority of transductive inference over the standard inductive setting.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 73 of its 98 references that are in the map. First posted on arXiv 21 Oct 2023.

Builds on

73 of 98 references.

References · 73

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  9. 2020Scaling Laws for Neural Language Modelscited by 6,586
  10. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  11. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  12. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
38 more
  1. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  2. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  3. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  4. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  5. 2016Matching Networks for One Shot Learningcited by 2,255
  6. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  7. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  8. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  9. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  10. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  11. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  12. 2020Meta-Learning in Neural Networks: A Surveycited by 950
  13. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  14. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  15. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  16. 2020Beyond English-Centric Multilingual Machine Translationcited by 561
  17. 2021Datasets: A Community Library for Natural Language Processingcited by 530
  18. 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 486
  19. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  20. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  21. 2021MetaICL: Learning to Learn In Contextcited by 454
  22. 2020AdapterHub: A Framework for Adapting Transformerscited by 444
  23. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
  24. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
  25. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  26. 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 386
  27. 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
  28. 2021True Few-Shot Learning with Language Modelscited by 344
  29. 2018How to train your MAMLcited by 309
  30. 2018Meta-Transfer Learning for Few-Shot Learningcited by 306
  31. 2019A Baseline for Few-Shot Image Classificationcited by 298
  32. 2018Learning to Propagate Labels: Transductive Propagation Network for Few-shot Learningcited by 211
  33. 2019A Constructive Prediction of the Generalization Error Across Scalescited by 210
  34. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  35. 2021Meta-learning via Language Model In-context Tuningcited by 164
  36. 2017Learning Discrete Representations via Information Maximizing Self-Augmented Trainingcited by 149
  37. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  38. 2020The Multilingual Amazon Reviews Corpuscited by 143

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 4.

4 papers.