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

Source: [SCAR: Data Selection via Style Consistency-Aware Response Ranking for Efficient Instruction-Tuning of Large Language Models](<https://www.sota2.com/research/paper/68fa79051e209131cea7bbc2>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T04:51:01.219Z

Authors: Zhuang Li, Yuncheng Hua, Thuy-Trang Vu, Haolan Zhan, Lizhen Qu, Gholamreza Haffari

Published: 2024-06-16T10:10:37.000Z

## Abstract

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 .

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Instruction Tuning on Alpaca GPT4](<https://www.sota2.com/research/sota/instruction-tuning-on-alpaca-gpt4.md>): Instruction Tuning; Alpaca GPT4; Reasoning: 75.22.

- [Instruction Tuning on WizardLM](<https://www.sota2.com/research/sota/instruction-tuning-on-wizardlm.md>): Instruction Tuning; WizardLM; Reasoning Score: 73.65.

- [Reasoning on BBH, GSM8K](<https://www.sota2.com/research/sota/reasoning-on-bbh-gsm8k.md>): Reasoning; BBH, GSM8K; BBH Score: 31.52.

- [Instruction Tuning on CoT](<https://www.sota2.com/research/sota/instruction-tuning-on-cot.md>): Instruction Tuning; CoT; Reasoning Score: 66.05.

- [General Capability on BBH, GSM8K, MMLU, TruthfulQA, HumanEval, MBPP](<https://www.sota2.com/research/sota/general-capability-on-bbh-gsm8k-mmlu-truthfulqa-humaneval-mbpp.md>): General Capability; BBH, GSM8K, MMLU, TruthfulQA, HumanEval, MBPP; Average Score: 25.14.

- [Knowledge on MMLU and TruthfulQA](<https://www.sota2.com/research/sota/knowledge-on-mmlu-and-truthfulqa.md>): Knowledge; MMLU, TruthfulQA; MMLU: 32.29.

- [Coding on HumanEval, MBPP](<https://www.sota2.com/research/sota/coding-on-humaneval-mbpp.md>): Coding; HumanEval, MBPP; HumanEval Score: 17.68.

- [Code Generation on HumanEval+ augmented (test)](<https://www.sota2.com/research/sota/code-generation-on-humaneval-plus-augmented-test.md>): Function-level Code Generation; HumanEval+ augmented (test); Pass@1: 70.73.

- [Function-level Code Generation on MBPP+ augmented (test)](<https://www.sota2.com/research/sota/function-level-code-generation-on-mbpp-plus-augmented-test.md>): Function-level Code Generation; MBPP+ augmented (test); Pass@1: 57.67.

- [Code Generation on MBPP (test)](<https://www.sota2.com/research/sota/code-generation-on-mbpp-test.md>): Code Generation; MBPP (test); Pass@1: 70.63.

- [Code Generation on HumanEval (test)](<https://www.sota2.com/research/sota/code-generation-on-humaneval-test.md>): Code Generation; HumanEval (test); Pass@1: 75.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2406.10882>)

[PDF](<https://arxiv.org/pdf/2406.10882.pdf>)
