paper-with-me

Papers

SmallToLarge (S2L): Scalable Data Selection for Fine-tuning Large Language Models by Summarizing Training Trajectories of Small Models

2024-03-12 · Yu Yang, Siddhartha Mishra, Jeffrey N Chiang, Baharan Mirzasoleiman

Despite the effectiveness of data selection for large language models (LLMs) during pretraining and instruction fine-tuning phases, improving data efficiency in supervised fine-tuning (SFT) for specialized domains poses significant challenges due to the complexity of fine-tuning data. To bridge this gap, we introduce an effective and scalable data selection method for SFT, SmallToLarge (S2L), which leverages training trajectories from small models to guide the data selection for larger models. We demonstrate through extensive experiments that S2L significantly improves data efficiency in SFT for mathematical problem-solving, reducing the training data to just 11% of the original MathInstruct dataset (Yue et al., 2023) to match full dataset performance while outperforming state-of-the-art data selection algorithms by an average of 4.7% across 6 in- and out-domain evaluation datasets. Remarkably, selecting only 50K data for SFT, S2L achieves a 32.7% accuracy on the most challenging MATH (Hendrycks et al., 2021) benchmark, improving Phi-2 (Li et al., 2023b) by 16.6%. In clinical text summarization on the MIMIC-III dataset (Johnson et al., 2016), S2L again outperforms training on the full dataset using only 50% of the data. Notably, S2L can perform data selection using a reference model 40x smaller than the target model, proportionally reducing the cost of data selection.

📄 PDF Abstract BibTeX arXiv:2403.07384

Code (1)

bigml-cs-ucla/s2l 공식 구현 pytorch

Tasks

MathMathematical Problem-SolvingText Summarization

Methods 이 논문이 사용한 방법론

SFT Shrink and Fine-Tune, or SFT, is a type of distillation that avoids explicit distillation by copying parameters to a student student model and then fine-tuning.…

Similar Papers 제목 키워드 기반

Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approach

2024-09-28 · Dongyue Li, Ziniu Zhang, Lu Wang, Hongyang R. Zhang

We study the problem of fine-tuning a language model (LM) for a target task by optimally using the information from $n$ auxiliary tasks. This problem has broad applications in NLP, such as targeted instruction tuning and…

Sketchy Moment Matching: Toward Fast and Provable Data Selection for Finetuning

2024-07-08 · Yijun Dong, Hoang Phan, Xiang Pan, Qi Lei

We revisit data selection in a modern context of finetuning from a fundamental perspective. Extending the classical wisdom of variance minimization in low dimensions to high-dimensional finetuning, our generalization ana…

RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection

2025-05-08 · Yixin Yang, Qingxiu Dong, Linli Yao, Fangwei Zhu 외

Data selection for instruction tuning is crucial for improving the performance of large language models (LLMs) while reducing training costs. In this paper, we propose Refined Contribution Measurement with In-Context Lea…

In-Context LearningInductive Bias

Parameter Efficient Tuning Allows Scalable Personalization of LLMs for Text Entry: A Case Study on Abbreviation Expansion

2023-12-21 · Katrin Tomanek, Shanqing Cai, Subhashini Venugopalan

Abbreviation expansion is a strategy used to speed up communication by limiting the amount of typing and using a language model to suggest expansions. Here we look at personalizing a Large Language Model's (LLM) suggesti…

Language ModelingLanguage ModellingRetrievalRetrieval-augmented Generation

LowRA: Accurate and Efficient LoRA Fine-Tuning of LLMs under 2 Bits

2025-02-12 · Zikai Zhou, Qizheng Zhang, Hermann Kumbong, Kunle Olukotun

Fine-tuning large language models (LLMs) is increasingly costly as models scale to hundreds of billions of parameters, and even parameter-efficient fine-tuning (PEFT) methods like LoRA remain resource-intensive. We intro…

parameter-efficient fine-tuningQuantization