Papers › PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMs

PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMs

29 Oct 2025NeurIPSarXiv:2510.25808added by Syntology

Jaewon Chu, Seunghun Lee, Hyunwoo J. Kim

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models (LLMs) have achieved remarkable success across diverse domains, due to their strong instruction-following capabilities. This has led to increasing interest in optimizing instructions for black-box LLMs, whose internal parameters are inaccessible but widely used due to their strong performance. To optimize instructions for black-box LLMs, recent methods employ white-box LLMs to generate candidate instructions from optimized soft prompts. However, white-box LLMs often map different soft prompts to the same instruction, leading to redundant queries. While previous studies regarded this many-to-one mapping as a structure that hinders optimization efficiency, we reinterpret it as a useful prior knowledge that can accelerate the optimization. To this end, we introduce PREimage-informed inSTruction Optimization (PRESTO), a novel framework that leverages the preimage structure of soft prompts for efficient optimization. PRESTO consists of three key components: (1) score sharing, which shares the evaluation score with all soft prompts in a preimage; (2) preimage-based initialization, which selects initial data points that maximize search space coverage using preimage information; and (3) score consistency regularization, which enforces prediction consistency within each preimage. By leveraging preimages, PRESTO achieves the effect of effectively obtaining 14 times more scored data under the same query budget, resulting in more efficient optimization. Experimental results on 33 instruction optimization tasks demonstrate the superior performance of PRESTO. Code is available at https://github.com/mlvlab/PRESTO

PaperPDFCode 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="2510.25808")

Code

Syntology Ran 2 of 20 code samples harvested from 1 repository linked to this paper; 18 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

By repository: found in paper text by Syntology: 20 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mlvlab/PRESTO found in paper text by SyntologyMIT report

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

20 samples harvested; 2 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.

2ran · our draft was wrong
18unverified

Licence: 0 of the 20 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 mlvlab/PRESTO. “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.

get_query mlvlab/PRESTO/Induction/automatic_prompt_engineer/generate.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 71e7c70faf29eeee · report
get_simple_prompt_gen_template mlvlab/PRESTO/Induction/automatic_prompt_engineer/ape.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 7f64a5a312597651 · report
compute_pairwise_distances mlvlab/PRESTO/Induction/experiments/group_init.py found in paper text by Syntology unverified MIT (permissive) · 54a01589a9986a91 · report
create_split mlvlab/PRESTO/Induction/automatic_prompt_engineer/data.py found in paper text by Syntology unverified MIT (permissive) · 45e36251f3ce30f3 · report
dispatch_openai_requests mlvlab/PRESTO/Induction/automatic_prompt_engineer/llm.py found in paper text by Syntology unverified MIT (permissive) · c5362131706391ce · report
evaluate_prompts mlvlab/PRESTO/Induction/automatic_prompt_engineer/evaluate.py found in paper text by Syntology unverified MIT (permissive) · 9482586da5ffae93 · report
find_instruction_by_embedding mlvlab/PRESTO/Induction/experiments/run_neural_bandits.py found in paper text by Syntology unverified MIT (permissive) · a1b40d6e869a8f1f · report
get_em_score mlvlab/PRESTO/Induction/experiments/evaluation/instruction_induction/utility.py found in paper text by Syntology unverified MIT (permissive) · 8ce226c0bcf25c54 · report
get_eval_method mlvlab/PRESTO/Induction/automatic_prompt_engineer/evaluate.py found in paper text by Syntology unverified MIT (permissive) · 0c411a4f76c7ad8a · report
get_f1_score mlvlab/PRESTO/Induction/experiments/evaluation/instruction_induction/utility.py found in paper text by Syntology unverified MIT (permissive) · 808b015d44c5a6ca · report
get_query mlvlab/PRESTO/Induction/experiments/evaluation/instruction_induction/exec_accuracy.py found in paper text by Syntology unverified MIT (permissive) · 9475219c55847f4d · report
get_query_for_test mlvlab/PRESTO/Induction/experiments/evaluation/instruction_induction/exec_accuracy.py found in paper text by Syntology unverified MIT (permissive) · 1234b906d7281cd2 · report
linear_rampup mlvlab/PRESTO/Induction/experiments/LlamaForMLPRegression.py found in paper text by Syntology unverified MIT (permissive) · c5fbe85a81a540d2 · report
median_heuristic mlvlab/PRESTO/Induction/experiments/group_init.py found in paper text by Syntology unverified MIT (permissive) · e5b1507763dcab0c · report
model_from_config mlvlab/PRESTO/Induction/automatic_prompt_engineer/llm.py found in paper text by Syntology unverified MIT (permissive) · 5e6fa6db2e25e3b1 · report
normalize_prediction mlvlab/PRESTO/Induction/experiments/evaluation/instruction_induction/utility.py found in paper text by Syntology unverified MIT (permissive) · d743b4d4da5336f3 · report
rbf_kernel mlvlab/PRESTO/Induction/experiments/group_init.py found in paper text by Syntology unverified MIT (permissive) · 8f8d6fbf5fb316d4 · report
simple_config mlvlab/PRESTO/Induction/automatic_prompt_engineer/config.py found in paper text by Syntology unverified MIT (permissive) · c974b8fb4e952424 · report
subsample_data mlvlab/PRESTO/Induction/automatic_prompt_engineer/data.py found in paper text by Syntology unverified MIT (permissive) · 01ed101f1dc9de50 · report
update_config mlvlab/PRESTO/Induction/automatic_prompt_engineer/config.py found in paper text by Syntology unverified MIT (permissive) · cef07a073378dd0c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.25808, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

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