arXiv

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

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

Abstract:

Optimizing prompts for peak accuracy frequently results in extended sequences, which significantly increases inference expenses with each model interaction. Because the ideal balance between performance and expenditure varies depending on the specific task and available budget, prompt optimization should be viewed as a search across the Pareto front of accuracy versus prompt-token cost, rather than the identification of a single optimal prompt. A common but flawed approach involves collapsing these dual objectives into a weighted sum. This method locks in the trade-off weight prior to the search process, typically yielding only a limited segment of the Pareto front—a deficiency we term "scalarization collapse."

To address this, we introduce CRAFT (Cost-aware Refinement And Front-aware Tuning), an optimizer designed to navigate the Pareto front. CRAFT regards validation calls to the target Large Language Model as a limited resource, strategically distributing them among candidate prompts situated near the optimistic candidate front. In every iteration, distinct generators focused on accuracy and cost respectively suggest modifications. The process utilizes a Pareto-gap acquisition function to manage the validation budget allocated per round, while NSGA-II retention mechanisms ensure the population remains diverse and well-spread.

Evaluations across six benchmarks covering classification and reasoning tasks demonstrate that CRAFT’s retained fronts successfully encompass both high-accuracy and low-cost areas. In contrast, baseline methods relying on accuracy-only, cost-only, or weighted-sum objectives tend to cluster within much narrower segments of the solution space. Consequently, CRAFT transforms the accuracy-cost trade-off from a pre-defined weight into a decision made after the search is complete.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

Dimon and SpaceX Executives to Pitch IPO to Clients
Bloomberg

Dimon and SpaceX Executives to Pitch IPO to Clients

JPMorgan Chase CEO Jamie Dimon and SpaceX executives are pitching IPO details to clients.

Financial Times

Europe is finally flexing its innovation muscles

The EU’s new tech sovereignty package signals a positive shift from defensive regulation to proactive innovation, markin...

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries
Bloomberg

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries

Apollo’s Zelter expects high-grade debt sales to surpass US Treasuries. He anticipates investment-grade debt outperformi...

EU Insurance Watchdog Warns on Loan Risks
Bloomberg

EU Insurance Watchdog Warns on Loan Risks

EIOPA warns insurers to closely monitor loan risks, though initial reports lack specific details on the nature or scope ...

Glazer Family Members Said to Study Manchester United Stake Sale
Bloomberg

Glazer Family Members Said to Study Manchester United Stake Sale

Reports indicate the Glazer family is evaluating a potential sale of their Manchester United stake, with family members ...

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines
Bloomberg

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines

Ares’ Blair Jacobson argues that private credit headlines misrepresent reality, highlighting a disconnect between media ...