Data-Efficient Finetuning Using Cross-Task Nearest Neighbors
Not on the map. Why?
Abstract (arXiv)
Obtaining labeled data to train a model for a task of interest is often expensive. Prior work shows training models on multitask data augmented with task descriptions (prompts) effectively transfers knowledge to new tasks. Towards efficiently building task-specific models, we assume access to a small number (32-1000) of unlabeled target-task examples and use those to retrieve the most similar labeled examples from a large pool of multitask data augmented with prompts. Compared to the current practice of finetuning models on uniformly sampled prompted multitask data (e.g.: FLAN, T0), our approach of finetuning on cross-task nearest neighbors is significantly more data-efficient. Using only 2% of the data from the P3 pool without any labeled target-task data, our models outperform strong baselines trained on all available data by 3-30% on 12 out of 14 datasets representing held-out tasks including legal and scientific document QA. Similarly, models trained on cross-task nearest neighbors from SuperNaturalInstructions, representing about 5% of the pool, obtain comparable performance to state-of-the-art models on 12 held-out tasks from that pool. Moreover, the models produced by our approach also provide a better initialization than single multitask finetuned models for few-shot finetuning on target-task data, as shown by a 2-23% relative improvement over few-shot finetuned T0-3B models on 8 datasets.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 39 of its 65 references that are in the map. First posted on arXiv 1 Dec 2022.
Builds on
39 of 65 references.
References · 39
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2017Billion-scale similarity search with GPUscited by 2,477
27 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 565
- 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 475
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
- 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
- 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
- 2020Exploring and Predicting Transferability across NLP Taskscited by 126
- 2021What to Pre-Train on? Efficient Intermediate Task Selectioncited by 62
- 2022Unsupervised Cross-Task Generalization via Retrieval Augmentationcited by 42
- 2021Few-Shot Text Classification with Triplet Networks, Data Augmentation, and Curriculum Learningcited by 35
- 2021An Empirical Comparison of Instance Attribution Methods for NLPcited by 35
- 2022ORCA: Interpreting Prompted Language Models via Locating Supporting Data Evidence in the Ocean of Pretraining Datacited by 34
- 2022kNN-Prompt: Nearest Neighbor Zero-Shot Inferencecited by 27
Built on by
Citing papers per year: 2023: 8; 2024: 6; 2025: 10; 2026: 2.
26 papers.
Sort:
By area:
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 288
- 2025Act Only When It Pays: Efficient Reinforcement Learning for LLM Reasoning via Selective Rolloutscited by 108
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2023Maybe Only 0.5% Data is Needed: A Preliminary Exploration of Low Training Data Instruction Tuningcited by 56
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Taskscited by 53
- 2025Large-Scale Data Selection for Instruction Tuningcited by 34
- 2023SeqGPT: An Out-of-the-box Large Language Model for Open Domain Sequence Understandingcited by 18
- 2023Data Management For Training Large Language Models: A Surveycited by 17
- 2024SMART: Submodular Data Mixture Strategy for Instruction Tuningcited by 16
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMscited by 14
- 2023Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Datacited by 13
- 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approachcited by 13
14 more
- 2023TaskWeb: Selecting Better Source Tasks for Multi-task NLPcited by 11
- 2024Compute-Constrained Data Selectioncited by 10
- 2025Winning the Pruning Gamble: A Unified Approach to Joint Sample and Token Pruning for Efficient Supervised Fine-Tuningcited by 8
- 2025Merge to Mix: Mixing Datasets via Model Mergingcited by 7
- 2023DEFT: Data Efficient Fine-Tuning for Pre-Trained Language Models via Unsupervised Core-Set Selectioncited by 6
- 2024Instruction Matters: A Simple yet Effective Task Selection for Optimized Instruction Tuning of Specific Taskscited by 6
- 2025Slow-Fast Policy Optimization: Reposition-Before-Update for LLM Reasoningcited by 4
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selectioncited by 2
- 2025Data-Efficient Hate Speech Detection via Cross-Lingual Nearest Neighbor Retrieval with Limited Labeled Datacited by 2
- 2025Understanding Task Transfer in Vision-Language Modelscited by 2
- 2026Beyond Variance: Prompt-Efficient RLVR via Rare-Event Amplification and Bidirectional Pairingcited by 2
- 2026Unified Data Selection for LLM Reasoningcited by 2
- 2024Threshold Filtering Packing for Supervised Fine-Tuning: Training Related Samples within Packscited by 1
- 2025Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behaviorcited by 0
- 2026Unified Data Selection for LLM Reasoning21 May 2026
- 2026Beyond Variance: Prompt-Efficient RLVR via Rare-Event Amplification and Bidirectional Pairing3 Feb 2026
- 2025Understanding Task Transfer in Vision-Language Models24 Nov 2025
- 2025Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior16 Oct 2025
- 2025Slow-Fast Policy Optimization: Reposition-Before-Update for LLM Reasoning5 Oct 2025
- 2025Winning the Pruning Gamble: A Unified Approach to Joint Sample and Token Pruning for Efficient Supervised Fine-Tuning28 Sep 2025
- 2025Act Only When It Pays: Efficient Reinforcement Learning for LLM Reasoning via Selective Rollouts2 Jun 2025
- 2025Merge to Mix: Mixing Datasets via Model Merging21 May 2025
- 2025Data-Efficient Hate Speech Detection via Cross-Lingual Nearest Neighbor Retrieval with Limited Labeled Data20 May 2025
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection8 May 2025
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Example29 Apr 2025
- 2025Large-Scale Data Selection for Instruction Tuning3 Mar 2025
14 more
- 2024Compute-Constrained Data Selection21 Oct 2024
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMs29 Sep 2024
- 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approach28 Sep 2024
- 2024Threshold Filtering Packing for Supervised Fine-Tuning: Training Related Samples within Packs18 Aug 2024
- 2024Instruction Matters: A Simple yet Effective Task Selection for Optimized Instruction Tuning of Specific Tasks25 Apr 2024
- 2024SMART: Submodular Data Mixture Strategy for Instruction Tuning13 Mar 2024
- 2023Data Management For Training Large Language Models: A Survey4 Dec 2023
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Tasks1 Nov 2023
- 2023DEFT: Data Efficient Fine-Tuning for Pre-Trained Language Models via Unsupervised Core-Set Selection25 Oct 2023
- 2023In-context Pretraining: Language Modeling Beyond Document Boundaries16 Oct 2023
- 2023SeqGPT: An Out-of-the-box Large Language Model for Open Domain Sequence Understanding21 Aug 2023
- 2023TaskWeb: Selecting Better Source Tasks for Multi-task NLP22 May 2023
- 2023Maybe Only 0.5% Data is Needed: A Preliminary Exploration of Low Training Data Instruction Tuning16 May 2023
- 2023Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Data1 Feb 2023
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 288
- 2025Act Only When It Pays: Efficient Reinforcement Learning for LLM Reasoning via Selective Rolloutscited by 108
- 2025Slow-Fast Policy Optimization: Reposition-Before-Update for LLM Reasoningcited by 4
- 2026Beyond Variance: Prompt-Efficient RLVR via Rare-Event Amplification and Bidirectional Pairingcited by 2
- 2026Unified Data Selection for LLM Reasoningcited by 2
- 2026Unified Data Selection for LLM Reasoning21 May 2026
- 2026Beyond Variance: Prompt-Efficient RLVR via Rare-Event Amplification and Bidirectional Pairing3 Feb 2026
- 2025Slow-Fast Policy Optimization: Reposition-Before-Update for LLM Reasoning5 Oct 2025
- 2025Act Only When It Pays: Efficient Reinforcement Learning for LLM Reasoning via Selective Rollouts2 Jun 2025
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Example29 Apr 2025
- 2025Understanding Task Transfer in Vision-Language Modelscited by 2
- 2025Understanding Task Transfer in Vision-Language Models24 Nov 2025
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2023Maybe Only 0.5% Data is Needed: A Preliminary Exploration of Low Training Data Instruction Tuningcited by 56
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Taskscited by 53
- 2025Large-Scale Data Selection for Instruction Tuningcited by 34
- 2023SeqGPT: An Out-of-the-box Large Language Model for Open Domain Sequence Understandingcited by 18
- 2023Data Management For Training Large Language Models: A Surveycited by 17
- 2024SMART: Submodular Data Mixture Strategy for Instruction Tuningcited by 16
- 2023Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Datacited by 13
- 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approachcited by 13
- 2023TaskWeb: Selecting Better Source Tasks for Multi-task NLPcited by 11
- 2024Compute-Constrained Data Selectioncited by 10
- 2025Merge to Mix: Mixing Datasets via Model Mergingcited by 7
12 most cited of 18 All 18 (JSON)
- 2025Rewriting History: A Recipe for Interventional Analyses to Study Data Effects on Model Behavior16 Oct 2025
- 2025Merge to Mix: Mixing Datasets via Model Merging21 May 2025
- 2025Data-Efficient Hate Speech Detection via Cross-Lingual Nearest Neighbor Retrieval with Limited Labeled Data20 May 2025
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection8 May 2025
- 2025Large-Scale Data Selection for Instruction Tuning3 Mar 2025
- 2024Compute-Constrained Data Selection21 Oct 2024
- 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approach28 Sep 2024
- 2024Threshold Filtering Packing for Supervised Fine-Tuning: Training Related Samples within Packs18 Aug 2024
- 2024Instruction Matters: A Simple yet Effective Task Selection for Optimized Instruction Tuning of Specific Tasks25 Apr 2024
- 2024SMART: Submodular Data Mixture Strategy for Instruction Tuning13 Mar 2024
- 2023Data Management For Training Large Language Models: A Survey4 Dec 2023
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Tasks1 Nov 2023
12 newest of 18 All 18 (JSON)