Inference-Aware Prompt Optimization for Aligning Black-Box Large Language Models
Not on the map. Why?
Abstract (arXiv)
Prompt optimization methods have demonstrated significant effectiveness in aligning black-box large language models (LLMs). In parallel, inference scaling strategies such as Best-of-N Sampling and Majority Voting have likewise been shown to improve alignment and performance by trading additional computation for better output. However, existing prompt optimization approaches are inference strategy agnostic; that is, they optimize prompts without accounting for the inference strategy. This constitutes a significant methodological gap, as our empirical and theoretical analysis reveals a strong interdependence between these two paradigms. Moreover, we find that user preferences regarding trade-offs among multiple objectives and inference budgets substantially influence the choice of prompt and inference configuration. To address this gap, we introduce a novel unified framework named IAPO (Inference-Aware Prompt Optimization) that jointly optimizes the prompt and inference scale, while being aware of the inference budget and different task objectives. We then develop a fixed-budget training algorithm for IAPO, called PSST (Prompt Scaling via Sequential Trimming), and establish finite-budget guarantees on the error probability. Finally, we evaluate the effectiveness of PSST on six tasks, including multi-objective text generation and reasoning, and demonstrate the critical role of incorporating inference-awareness in aligning black-box LLMs using prompt optimization.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 28 references that are in the map. First posted on arXiv 8 Aug 2025.
Builds on
16 of 28 references.
References · 16
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2020Learning to summarize from human feedbackcited by 2,588
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2024Rewards-in-Context: Multi-objective Alignment of Foundation Models with Dynamic Preference Adjustmentcited by 175
- 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
- 2024BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Samplingcited by 121
- 2024BOND: Aligning LLMs with Best-of-N Distillationcited by 76
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
4 more
- 2024GenARM: Reward Guided Generation with Autoregressive Reward Model for Test-time Alignmentcited by 54
- 2024Efficient Prompt Optimization Through the Lens of Best Arm Identificationcited by 37
- 2025Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignmentcited by 18
- 2024MORL-Prompt: An Empirical Analysis of Multi-Objective Reinforcement Learning for Discrete Prompt Optimizationcited by 16
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025DiffPO: Diffusion-styled Preference Optimization for Efficient Inference-Time Alignment of Large Language Models
- 2026Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPO
- 2025AdaBoN: Adaptive Best-of-N Alignment
- 2023Batch Prompting: Efficient Inference with Large Language Model APIs
- 2024Dynamic Rewarding with Prompt Optimization Enables Tuning-free Self-Alignment of Language Models
- 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
- 2024Large Language Models Prompting With Episodic Memory
- 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers