Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CRAFT: Cost-aware Refinement And Front-aware Tuning of Prompts

About

Prompts tuned for accuracy often grow long, raising inference cost on every model call. The best accuracy-cost trade-off depends on the task and the budget, so prompt optimization is a search over the Pareto front of accuracy and prompt-token cost rather than for one prompt. The usual shortcut, collapsing the objectives into a weighted sum, fixes the trade-off weight before search and often recovers only a narrow region of the front, a failure we call scalarization collapse. We present CRAFT (Cost-aware Refinement And Front-aware Tuning), a Pareto-front prompt optimizer that treats target-LLM validation calls as the scarce resource and allocates them to candidates near the optimistic candidate front. Each round, complementary accuracy-oriented and cost-oriented generators propose edits, Pareto-gap acquisition spends the per-round validation budget, and NSGA-II retention keeps a spread-out population. Across six classification and reasoning benchmarks, CRAFT's retained fronts reach both high-accuracy and low-cost regions, while accuracy-only, cost-only, and weighted-sum baselines each concentrate in narrower regions. The accuracy-cost trade-off becomes a post-search choice, not a pre-search weight.

Shanu Kumar, Shubhanshu Khandelwal, Akhila Yesantarao Venkata, Parag Agrawal, Yova Kementchedjhieva, Manish Gupta• 2026

Related benchmarks

TaskDatasetResultRank
Prompt OptimizationBT
Best Score62
8
Prompt OptimizationDQA
Best Score77.7
8
Prompt OptimizationFF
Best Score91.4
8
Prompt OptimizationST
Best Score68.4
8
Prompt OptimizationGoE
Best Performance37.5
8
Prompt OptimizationCJ
Best Score74.2
8
Showing 6 of 6 rows

Other info

Follow for update