Papers › Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt...

Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Tasks

1 Nov 2023arXiv:2311.00288archive 2025-07-28

Po-Nien Kung, Fan Yin, Di wu, Kai-Wei Chang, Nanyun Peng

Instruction tuning (IT) achieves impressive zero-shot generalization results by training large language models (LLMs) on a massive amount of diverse tasks with instructions. However, how to select new tasks to improve the performance and generalizability of IT models remains an open question. Training on all existing tasks is impractical due to prohibiting computation requirements, and randomly selecting tasks can lead to suboptimal performance. In this work, we propose active instruction tuning based on prompt uncertainty, a novel framework to identify informative tasks, and then actively tune the models on the selected tasks. We represent the informativeness of new tasks with the disagreement of the current model outputs over perturbed prompts. Our experiments on NIV2 and Self-Instruct datasets demonstrate that our method consistently outperforms other baseline strategies for task selection, achieving better out-of-distribution generalization with fewer training tasks. Additionally, we introduce a task map that categorizes and diagnoses tasks based on prompt uncertainty and prediction probability. We discover that training on ambiguous (prompt-uncertain) tasks improves generalization while training on difficult (prompt-certain and low-probability) tasks offers no benefit, underscoring the importance of task selection for instruction tuning.

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

Code

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

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

pluslabnlp/active-it officialmentioned in papermentioned on GitHubpytorch 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

13 samples harvested; 11 ran; 0 honoured the contract we drafted; 2 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.

11ran
2unverified

Licence: 13 of the 13 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 pluslabnlp/active-it. “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.

exact_match_score pluslabnlp/active-it/ActiveIT/src/compute_metrics.py official repository ran no licence file found · pointer only · e168ce39d04b76f1 · report
get_id_to_label_dict pluslabnlp/active-it/ActiveIT/src/ni_dataset.py official repository ran no licence file found · pointer only · 92f078bd17e5c0c2 · report
get_row_column pluslabnlp/active-it/ActiveIT/utils.py official repository ran fingerprinted no licence file found · pointer only · fb39453511d8515b · report
get_uncertainty_mean_var pluslabnlp/active-it/ActiveIT/taskmap.py official repository ran no licence file found · pointer only · a1c9c2c64ca67704 · report
get_uncertainty_mean_var_bald pluslabnlp/active-it/ActiveIT/taskmap.py official repository ran no licence file found · pointer only · e893d4c0d181ae60 · report
is_cls pluslabnlp/active-it/ActiveIT/utils.py official repository ran no licence file found · pointer only · ec2c295ce69f340a · report
normalize_answer pluslabnlp/active-it/ActiveIT/src/compute_metrics.py official repository ran fingerprinted no licence file found · pointer only · 52a9f448d8cbd82a · report
parse_PI_uncertainty pluslabnlp/active-it/ActiveIT/my_scripts/TLAL/TLAL_utils.py official repository ran no licence file found · pointer only · 5323425f1ca6d514 · report
plot_line_graph_var pluslabnlp/active-it/ActiveIT/utils.py official repository ran no licence file found · pointer only · 9198407e11ebfe48 · report
random_drop_word pluslabnlp/active-it/ActiveIT/src/ni_dataset.py official repository ran no licence file found · pointer only · 031234703877c2b7 · report
split_cls_gen pluslabnlp/active-it/ActiveIT/my_scripts/TLAL/TLAL_utils.py official repository ran no licence file found · pointer only · 99dc5cfaa39d6239 · report
get_selected_tasks pluslabnlp/active-it/ActiveIT/taskmap.py official repository unverified no licence file found · pointer only · b4f50dd0af01fdd5 · report
load_file pluslabnlp/active-it/ActiveIT/my_scripts/write_cls_split_into_tasks.py official repository unverified no licence file found · pointer only · 44fc237ca08b7b18 · report

Tasks

InformativenessOut-of-Distribution GeneralizationZero-shot Generalization

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