Papers › LEAD: Iterative Data Selection for Efficient LLM Instruction Tuning

LEAD: Iterative Data Selection for Efficient LLM Instruction Tuning

12 May 2025arXiv:2505.07437archive 2025-07-28

Xiaotian Lin, Yanlin Qi, Yizhang Zhu, Themis Palpanas, Chengliang Chai, Nan Tang, Yuyu Luo

Instruction tuning has emerged as a critical paradigm for improving the capabilities and alignment of large language models (LLMs). However, existing iterative model-aware data selection methods incur significant computational overhead, as they rely on repeatedly performing full-dataset model inference to estimate sample utility for subsequent training iterations, creating a fundamental efficiency bottleneck. In this paper, we propose LEAD, an efficient iterative data selection framework that accurately estimates sample utility entirely within the standard training loop, eliminating the need for costly additional model inference. At its core, LEAD introduces Instance-Level Dynamic Uncertainty (IDU), a theoretically grounded utility function combining instantaneous training loss, gradient-based approximation of loss changes, and exponential smoothing of historical loss signals. To further scale efficiently to large datasets, LEAD employs a two-stage, coarse-to-fine selection strategy, adaptively prioritizing informative clusters through a multi-armed bandit mechanism, followed by precise fine-grained selection of high-utility samples using IDU. Extensive experiments across four diverse benchmarks show that LEAD significantly outperforms state-of-the-art methods, improving average model performance by 6.1%-10.8% while using only 2.5% of the training data and reducing overall training time by 5-10x.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.07437")

Code

Syntology Ran 3 of 21 code samples harvested from 1 repository linked to this paper; 18 have no recorded run. Of those that ran: 3 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

HKUSTDial/LEAD officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 3 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran
18unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from HKUSTDial/LEAD. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_prompt_with_llama2_chat_format HKUSTDial/LEAD/src/eval/templates.py official repository ran MIT (permissive) · 5637030b6f66a7c5 · report
create_prompt_with_olmo_chat_format HKUSTDial/LEAD/src/eval/templates.py official repository ran MIT (permissive) · 45e2cc1022c95249 · report
create_prompt_with_tulu_chat_format HKUSTDial/LEAD/src/eval/templates.py official repository ran MIT (permissive) · 661a1d8a5c30c318 · report
assign_dataset_task_ids HKUSTDial/LEAD/src/offline/clustering.py official repository unverified MIT (permissive) · 45c349e9550f0ef9 · report
calculate_cosine_similarity HKUSTDial/LEAD/src/online/utilityChange.py official repository unverified MIT (permissive) · 0228778589332787 · report
calculate_param_changes HKUSTDial/LEAD/src/online/utilityChange.py official repository unverified MIT (permissive) · 2f2560c89f620a6b · report
categorical_draw HKUSTDial/LEAD/src/online/exp3.py official repository unverified MIT (permissive) · 6cf648b17d975e07 · report
dispatch_openai_chat_requesets HKUSTDial/LEAD/src/eval/dispatch_openai_requests.py official repository unverified MIT (permissive) · 64d6138fb03f75c7 · report
dispatch_openai_prompt_requesets HKUSTDial/LEAD/src/eval/dispatch_openai_requests.py official repository unverified MIT (permissive) · 5bbc896a72379511 · report
encode_with_messages_format HKUSTDial/LEAD/src/online/template.py official repository unverified MIT (permissive) · 1d1694af124350b8 · report
encode_with_messages_format_wo_conv HKUSTDial/LEAD/src/online/template.py official repository unverified MIT (permissive) · 7289ececedcd890f · report
encode_with_prompt_completion_format HKUSTDial/LEAD/src/online/template.py official repository unverified MIT (permissive) · 57148174b9cdbbea · report
generate_completions HKUSTDial/LEAD/src/eval/utils.py official repository unverified MIT (permissive) · cdbcc01805fac313 · report
get_model_params_vector HKUSTDial/LEAD/src/online/utilityChange.py official repository unverified MIT (permissive) · 298ba0aff249df55 · report
get_next_word_predictions HKUSTDial/LEAD/src/eval/utils.py official repository unverified MIT (permissive) · d134c88af0236263 · report
get_perplexity_and_embedding_part_text HKUSTDial/LEAD/src/offline/difficulty_score.py official repository unverified MIT (permissive) · 652eac296628dd5e · report
get_perplexity_and_embedding_whole_text HKUSTDial/LEAD/src/offline/difficulty_score.py official repository unverified MIT (permissive) · e6e19cb6234cc995 · report
load_data HKUSTDial/LEAD/src/offline/clustering.py official repository unverified MIT (permissive) · 30348ef4ac1d9f07 · report
load_data HKUSTDial/LEAD/src/offline/difficulty_score.py official repository unverified MIT (permissive) · 157e4633d9e5ccce · report
perform_clustering HKUSTDial/LEAD/src/offline/clustering.py official repository unverified MIT (permissive) · ead339ee380ea819 · report
retry_on_exception HKUSTDial/LEAD/src/eval/utils.py official repository unverified MIT (permissive) · 83f3d617be77562f · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections