Evaluating the fairness of task-adaptive pretraining on unlabeled test data before few-shot text classification
Not on the map. Why?
Abstract (arXiv)
Few-shot learning benchmarks are critical for evaluating modern NLP techniques. It is possible, however, that benchmarks favor methods which easily make use of unlabeled text, because researchers can use unlabeled text from the test set to pretrain their models. Given the dearth of research on this potential problem, we run experiments to quantify the bias caused by pretraining on unlabeled test set text instead of on unlabeled, independently drawn text. Controlled few-shot and zero-shot experiments on 25 classification tasks and 3 language models -- BERT, GPT-2, and Mistral 7B -- do not find evidence of overoptimism. Furthermore, we demonstrate the importance of repeated subsampling when studying few-shot text classification, and recommend that few-shot learning benchmarks include multiple training folds. Code and data are available at https://github.com/kddubey/pretrain-on-test/.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 27 of its 55 references that are in the map. First posted on arXiv 30 Sep 2024.
Builds on
27 of 55 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
15 more
- 2020Revisiting Few-sample BERT Fine-tuningcited by 238
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 196
- 2018Decoupling Strategy and Generation in Negotiation Dialoguescited by 162
- 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
- 2023Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarkscited by 142
- 2022Efficient Few-Shot Learning Without Promptscited by 137
- 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 137
- 2021FLEX: Unifying Evaluation for Few-Shot NLPcited by 67
- 2021I Wish I Would Have Loved This One, But I Didn't -- A Multilingual Dataset for Counterfactual Detection in Product Reviewscited by 45
- 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
- 2020Hierarchical Pre-training for Sequence Labelling in Spoken Dialogcited by 36
- 2021Causal Direction of Data Collection Matters: Implications of Causal and Anticausal Learning for NLPcited by 21
- 2015Twitter Sentiment Analysis: Lexicon Method, Machine Learning Method and Their Combinationcited by 11
- 2019On the cross-validation bias due to unsupervised pre-processingcited by 5
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Fair Text Classification via Transferable Representations10 Mar 2025