Transductive Learning for Textual Few-Shot Classification in API-based Embedding Models
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
38 more
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2020Meta-Learning in Neural Networks: A Surveycited by 950
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2020Beyond English-Centric Multilingual Machine Translationcited by 561
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 486
- 2018Meta-Learning with Latent Embedding Optimizationcited by 476
- 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
- 2021MetaICL: Learning to Learn In Contextcited by 454
- 2020AdapterHub: A Framework for Adapting Transformerscited by 444
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 386
- 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
- 2021True Few-Shot Learning with Language Modelscited by 344
- 2018How to train your MAMLcited by 309
- 2018Meta-Transfer Learning for Few-Shot Learningcited by 306
- 2019A Baseline for Few-Shot Image Classificationcited by 298
- 2018Learning to Propagate Labels: Transductive Propagation Network for Few-shot Learningcited by 211
- 2019A Constructive Prediction of the Generalization Error Across Scalescited by 210
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2021Meta-learning via Language Model In-context Tuningcited by 164
- 2017Learning Discrete Representations via Information Maximizing Self-Augmented Trainingcited by 149
- 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
- 2020The Multilingual Amazon Reviews Corpuscited by 143
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2024: 4.
4 papers.
- 2024On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?cited by 67
- 2024LP++: A Surprisingly Strong Linear Probe for Few-Shot CLIPcited by 60
- 2024EOL: Transductive Few-Shot Open-Set Recognition by Enhancing Outlier Logitscited by 2
- 2024Few-Shot Domain Adaptation for Named-Entity Recognition via Joint Constrained k-Means and Subspace Selectioncited by 0
- 2024Few-Shot Domain Adaptation for Named-Entity Recognition via Joint Constrained k-Means and Subspace Selection30 Nov 2024
- 2024EOL: Transductive Few-Shot Open-Set Recognition by Enhancing Outlier Logits4 Aug 2024
- 2024On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?3 May 2024
- 2024LP++: A Surprisingly Strong Linear Probe for Few-Shot CLIP2 Apr 2024