Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SCAR: Data Selection via Style Consistency-Aware Response Ranking for Efficient Instruction-Tuning of Large Language Models

About

Recent studies emphasize that manually ensuring a consistent response style and maintaining high data quality in training sets can significantly improve the performance of fine-tuned Large Language Models (LLMs) while reducing the number of training examples needed. However, the precise definition of style and the relationship between style, data quality, and LLM performance remains unclear. This research identifies two key stylistic elements in responses: linguistic form and instructional surprisal. We find that, among training data of comparable quality, higher consistency in these response elements leads to better LLM performance. Inspired by this, we introduce Style Consistency-Aware Response Ranking (SCAR), which automatically prioritizes instruction-response pairs in the training set based on their response stylistic consistency. By selecting the most style-consistent examples, using only 0.7% of the full dataset in the best case, the fine-tuned LLMs can match or even surpass the performance of models trained on the entire dataset in coding and open-ended question-answering benchmarks. Code and data are available at https://github.com/zhuang-li/SCAR .

Zhuang Li, Yuncheng Hua, Thuy-Trang Vu, Haolan Zhan, Lizhen Qu, Gholamreza Haffari• 2024

Related benchmarks

TaskDatasetResultRank
Code GenerationHumanEval (test)
Pass@175
506
Code GenerationMBPP (test)
Pass@170.63
298
Function-level Code GenerationHumanEval+ augmented (test)
Pass@170.73
57
Function-level Code GenerationMBPP+ augmented (test)
Pass@157.67
56
ReasoningBBH, GSM8K
BBH Score31.52
30
General CapabilityBBH, GSM8K, MMLU, TruthfulQA, HumanEval, MBPP
Average Score25.14
30
KnowledgeMMLU, TruthfulQA
MMLU32.29
30
CodingHumanEval, MBPP
HumanEval Score17.68
30
Instruction TuningAlpaca GPT4
Reasoning75.22
20
Instruction TuningWizardLM
Reasoning Score73.65
20
Showing 10 of 11 rows

Other info

Follow for update