Papers › SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-Reflection

SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-Reflection

26 Feb 2024arXiv:2402.16705archive 2025-07-28

Liangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li, Ziyi Wang, Baotian Hu, Min Zhang

Instruction tuning (IT) is crucial to tailoring large language models (LLMs) towards human-centric interactions. Recent advancements have shown that the careful selection of a small, high-quality subset of IT data can significantly enhance the performance of LLMs. Despite this, common approaches often rely on additional models or data, which increases costs and limits widespread adoption. In this work, we propose a novel approach, termed SelectIT, that capitalizes on the foundational capabilities of the LLM itself. Specifically, we exploit the intrinsic uncertainty present in LLMs to more effectively select high-quality IT data, without the need for extra resources. Furthermore, we introduce a curated IT dataset, the Selective Alpaca, created by applying SelectIT to the Alpaca-GPT4 dataset. Empirical results demonstrate that IT using Selective Alpaca leads to substantial model ability enhancement. The robustness of SelectIT has also been corroborated in various foundation models and domain-specific tasks. Our findings suggest that longer and more computationally intensive IT data may serve as superior sources of IT, offering valuable insights for future research in this area. Data, code, and scripts are freely available at https://github.com/Blue-Raincoat/SelectIT.

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="2402.16705")

Code

Syntology Ran 7 of 16 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

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

blue-raincoat/selectit officialmentioned in paperpytorch 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

16 samples harvested; 7 ran; 0 honoured the contract we drafted; 9 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.

2ran · our draft was wrong
1ran · fixture could not drive it
4ran
9unverified

Licence: 16 of the 16 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 blue-raincoat/selectit. “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.

construction_rps blue-raincoat/selectit/self_reflection/token_level.py official repository ran · our draft was wrong no licence file found · pointer only · ccc3a0c10e2aab36 · report
construction_rps Blue-Raincoat/SelectIT/self_reflection/model_level.py official repository ran no licence file found · pointer only · 977b7a1df6a88a60 · report
create_prompt_with_llama2_chat_format Blue-Raincoat/SelectIT/eval/eval/templates.py official repository ran no licence file found · pointer only · 5637030b6f66a7c5 · report
create_prompt_with_olmo_chat_format Blue-Raincoat/SelectIT/eval/eval/templates.py official repository ran no licence file found · pointer only · 45e2cc1022c95249 · report
create_prompt_with_tulu_chat_format Blue-Raincoat/SelectIT/eval/eval/templates.py official repository ran no licence file found · pointer only · 661a1d8a5c30c318 · report
encode_with_messages_format Blue-Raincoat/SelectIT/eval/open_instruct/finetune.py official repository ran · our draft was wrong no licence file found · pointer only · 97229c97d4273595 · report
rating blue-raincoat/selectit/self_reflection/model_level.py official repository ran · fixture could not drive it no licence file found · pointer only · 5d450db4741b3ef3 · report
dispatch_openai_chat_requesets Blue-Raincoat/SelectIT/eval/eval/dispatch_openai_requests.py official repository unverified no licence file found · pointer only · dcad9ac62979ca49 · report
dispatch_openai_prompt_requesets Blue-Raincoat/SelectIT/eval/eval/dispatch_openai_requests.py official repository unverified no licence file found · pointer only · 71e4259026911444 · report
encode_with_messages_format Blue-Raincoat/SelectIT/eval/open_instruct/dpo_tune.py official repository unverified no licence file found · pointer only · 254ab4972fe2c4e2 · report
encode_with_prompt_completion_format Blue-Raincoat/SelectIT/eval/open_instruct/finetune.py official repository unverified no licence file found · pointer only · 119cad9954acc960 · report
generate_completions Blue-Raincoat/SelectIT/eval/eval/utils.py official repository unverified no licence file found · pointer only · cdbcc01805fac313 · report
get_acceptance_results Blue-Raincoat/SelectIT/eval/human_eval/compute_metrics.py official repository unverified no licence file found · pointer only · 3db002d1cc62db4b · report
get_comparison_results Blue-Raincoat/SelectIT/eval/human_eval/compute_metrics.py official repository unverified no licence file found · pointer only · 8eb7a7a7cfdb631c · report
get_next_word_predictions Blue-Raincoat/SelectIT/eval/eval/utils.py official repository unverified no licence file found · pointer only · d134c88af0236263 · report
score_completions Blue-Raincoat/SelectIT/eval/eval/utils.py official repository unverified no licence file found · pointer only · d029fa02758da921 · 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