paper-with-me

홈 › Papers

The Best Instruction-Tuning Data are Those That Fit

2025-02-06 · Dylan Zhang, Qirun Dai, Hao Peng

High-quality supervised fine-tuning (SFT) data are crucial for eliciting strong capabilities from pretrained large language models (LLMs). Typically, instructions are paired with multiple responses sampled from other LLMs, which are often out of the distribution of the target model to be fine-tuned. This, at scale, can lead to diminishing returns and even hurt the models' performance and robustness. We propose GRAPE, a novel SFT framework that accounts for the unique characteristics of the target model. For each instruction, it gathers responses from various LLMs and selects the one with the highest probability measured by the target model, indicating that it aligns most closely with the target model's pretrained distribution; it then proceeds with standard SFT training. We first evaluate GRAPE with a controlled experiment, where we sample various solutions for each question in UltraInteract from multiple models and fine-tune commonly used LMs like LLaMA3.1-8B, Mistral-7B, and Qwen2.5-7B on GRAPE-selected data. GRAPE significantly outperforms strong baselines, including distilling from the strongest model with an absolute gain of up to 13.8%, averaged across benchmarks, and training on 3x more data with a maximum performance improvement of 17.3%. GRAPE's strong performance generalizes to realistic settings. We experiment with the post-training data used for Tulu3 and Olmo-2. GRAPE outperforms strong baselines trained on 4.5 times more data by 6.1% and a state-of-the-art data selection approach by 3% on average performance. Remarkably, using 1/3 of the data and half the number of epochs, GRAPE enables LLaMA3.1-8B to surpass the performance of Tulu3-SFT by 3.5%.

📄 PDF Abstract BibTeX arXiv:2502.04194

Code (0)

등록된 구현이 없습니다.

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 제목 키워드 기반

How Important is Domain Specificity in Language Models and Instruction Finetuning for Biomedical Relation Extraction?

2024-02-21 · Aviv Brokman, Ramakanth Kavuluru

Cutting edge techniques developed in the general NLP domain are often subsequently applied to the high-value, data-rich biomedical domain. The past few years have seen generative language models (LMs), instruction finetu…

Few-Shot LearningRelationRelation ExtractionSpecificity

Comparison Visual Instruction Tuning

2024-06-13 · Wei Lin, Muhammad Jehanzeb Mirza, Sivan Doveh, Rogerio Feris 외

Comparing two images in terms of Commonalities and Differences (CaD) is a fundamental human capability that forms the basis of advanced visual reasoning and interpretation. It is essential for the generation of detailed …

Instruction FollowingNovelty DetectionVisual Reasoning

Instruction Following without Instruction Tuning

2024-09-21 · John Hewitt, Nelson F. Liu, Percy Liang, Christopher D. Manning

Instruction tuning commonly means finetuning a language model on instruction-response pairs. We discover two forms of adaptation (tuning) that are deficient compared to instruction tuning, yet still yield instruction fol…

Instruction FollowingLanguage ModelingLanguage ModellingRecipe Generation

Maybe Only 0.5% Data is Needed: A Preliminary Exploration of Low Training Data Instruction Tuning

2023-05-16 · Hao Chen, Yiming Zhang, Qi Zhang, Hantao Yang 외

Instruction tuning for large language models (LLMs) has gained attention from researchers due to its ability to unlock the potential of LLMs in following instructions. While instruction tuning offers advantages for facil…

Multilingual Instruction Tuning With Just a Pinch of Multilinguality

2024-01-03 · Uri Shaham, Jonathan Herzig, Roee Aharoni, Idan Szpektor 외

As instruction-tuned large language models (LLMs) gain global adoption, their ability to follow instructions in multiple languages becomes increasingly crucial. In this work, we investigate how multilinguality during ins…

Cross-Lingual TransferInstruction Following