prompt selection
SPROUT: Predicting Objective-Grounded Prompt Utility for Efficient Text-to-Image Preference Tuning
Hu, Kangping, Mehra, Akshay, Mussmann, Stephen
Preference tuning of text-to-image diffusion models spends most of its compute generating candidate images, yet training prompts are typically sampled uniformly at random, wasting compute generating images that provide too little signal for model alignment. To best utilize the available compute, we study prompt selection, where at each iteration we identify the most useful prompts for preference tuning. We separate prompt selection into a utility score, an estimator of that utility score, and batch selection. Within this framework, we propose Selection by PRedicting Objective-grounded UTility (SPROUT). The utility score is predicted on every prompt in the pool, including unseen prompts, by a text-only model, refit after every iteration on all utilities observed so far. A randomized acceptance rule then turns these predictions into a batch, so no images are generated beyond those used for training. For direct group preference optimization (DGPO), the objective-grounded utility is the norm of the gradient that the objective produces from a prompt's group of images. Fine-tuning Stable Diffusion 1.5 with DGPO on GenEval, SPROUT matches the final score of uniform sampling in about 44% of the iterations and improves the area under the learning curve with respect to both uniform sampling and CGPO, a recent variance-based prompt sampler. The efficiency gains hold under four held-out reward models never used in training, and the ranking of methods carries over to DPG-Bench and T2I-CompBench++.
Small Generalizable Prompt Predictive Models Can Steer Efficient RL Post-Training of Large Reasoning Models
Qu, Yun, Wang, Qi, Mao, Yixiu, Zou, Heming, Jiang, Yuhang, Liu, Weijie, Bai, Clive, Yang, Kai, Chen, Yangkun, Yang, Saiyong, Ji, Xiangyang
Reinforcement learning enhances the reasoning capabilities of large language models but often involves high computational costs due to rollout-intensive optimization. Online prompt selection presents a plausible solution by prioritizing informative prompts to improve training efficiency. However, current methods either depend on costly, exact evaluations or construct prompt-specific predictive models lacking generalization across prompts. This study introduces Generalizable Predictive Prompt Selection (GPS), which performs Bayesian inference towards prompt difficulty using a lightweight generative model trained on the shared optimization history. Intermediate-difficulty prioritization and history-anchored diversity are incorporated into the batch acquisition principle to select informative prompt batches. The small predictive model also generalizes at test-time for efficient computational allocation. Experiments across varied reasoning benchmarks indicate GPS's substantial improvements in training efficiency, final performance, and test-time efficiency over superior baseline methods.
Efficient Multi-objective Prompt Optimization via Pure-exploration Bandits
Li, Donghao, Shi, Chengshuai, Ou, Weijuan, Shen, Cong, Yang, Jing
Early results show that zero-shot (Radford et al., 2019) and few-shot prompting (Brown et al., 2020) with a small number of examples can elicit strong performance from frozen models. More recently, chain-ofthought (CoT) prompting (Wei et al., 2022; Kojima et al., 2022; Zhang et al., 2023) has further unlocked step-by-step reasoning, matching or even surpassing task-specific fine-tuning on several complex benchmarks. Prompting has also become foundational across adjacent areas, including retrieval-augmented generation (RAG) (Kang et al., 2024), text-to-image generation (Brade et al., 2023; Mo et al., 2024), and jailbreak analysis and defenses (Yan et al., 2024; Mehrotra et al., 2024; Xu & Parhi, 2025). Generally speaking, prompt engineering comprises manual prompt design, in which experts craft prompts through intuition and iteration, and automatic prompt optimization, in which algorithms search the prompt space systematically. Examples of the latter include evolutionary search for highperforming prompts (Guo et al., 2024); gradient-based methods such as AutoPrompt and APO (Shin et al., 2020; Pryzant et al., 2023); reinforcement learning approaches that cast prompt construction as sequential decision making (Deng et al., 2022); and methods that use an LLM itself as the optimizer (Cheng et al., 2024; Tang et al., 2025). Despite their algorithmic differences, these methods share a core challenge: prompt selection, i.e., given a finite candidate prompt set X and a limited evaluation budget B, how should one allocate queries to identify the prompts that maximize task performance? Prior work on prompt selection spans Bayesian optimization (Chen et al., 2024; Sabbatella et al., 2024), discrete search (Hu et al., 2024), and bandit formulations (Shi et al., 2024; Lin et al., 2024b;a; Kong et al., 2025). Despite these advances, existing methods predominantly optimize a single objective (e.g., task accuracy), leaving broader trade-offs among multiple objectives largely addressed.
Residual SODAP: Residual Self-Organizing Domain-Adaptive Prompting with Structural Knowledge Preservation for Continual Learning
Oh, Gyutae, Bae, Jungwoo, Shin, Jitae
Continual learning (CL) suffers from catastrophic forgetting, which is exacerbated in domain-incremental learning (DIL) where task identifiers are unavailable and storing past data is infeasible. While prompt-based CL (PCL) adapts representations with a frozen backbone, we observe that prompt-only improvements are often insufficient due to suboptimal prompt selection and classifier-level instability under domain shifts. We propose Residual SODAP, which jointly performs prompt-based representation adaptation and classifier-level knowledge preservation. Our framework combines $α$-entmax sparse prompt selection with residual aggregation, data-free distillation with pseudo-feature replay, prompt-usage--based drift detection, and uncertainty-aware multi-loss balancing. Across three DIL benchmarks without task IDs or extra data storage, Residual SODAP achieves state-of-the-art AvgACC/AvgF of 0.850/0.047 (DR), 0.760/0.031 (Skin Cancer), and 0.995/0.003 (CORe50).
Can Prompt Difficulty be Online Predicted for Accelerating RL Finetuning of Reasoning Models?
Qu, Yun, Wang, Qi, Mao, Yixiu, Hu, Vincent Tao, Ommer, Björn, Ji, Xiangyang
Recent advances have witnessed the effectiveness of reinforcement learning (RL) finetuning in enhancing the reasoning capabilities of large language models (LLMs). The optimization process often requires numerous iterations to achieve satisfactory performance, resulting in high computational costs due to the need for frequent prompt evaluations under intensive LLM interactions and repeated policy updates. Appropriate online prompt selection methods reduce iteration steps by prioritizing informative prompts during training, while the pipeline's reliance on exhaustive prompt evaluation and subset selection for optimization still incurs substantial computational overhead due to frequent LLM inference calls. Distinguished from these direct evaluate-then-select schemes, this work investigates iterative approximate evaluation for arbitrary prompts and introduces Model Predictive Prompt Selection (MoPPS), a Bayesian risk-predictive framework that online estimates prompt difficulty without requiring costly LLM interactions. Technically, MoPPS models each prompt's success rate as a latent variable, performs streaming Bayesian inference, and employs posterior sampling in a constructed multi-armed bandit machine, enabling sample efficient and adaptive prompt selection. Extensive experiments across mathematics, planning, and vision-based geometry tasks show that MoPPS reliably predicts prompt difficulty and accelerates training with significantly reduced LLM rollouts. Our code is available at https://github.com/thu-rllab/MoPPS.
Vector Quantization Prompting for Continual Learning
Continual learning requires to overcome catastrophic forgetting when training a single model on a sequence of tasks. Recent top-performing approaches are prompt-based methods that utilize a set of learnable parameters (i.e., prompts) to encode task knowledge, from which appropriate ones are selected to guide the fixed pre-trained model in generating features tailored to a certain task. However, existing methods rely on predicting prompt identities for prompt selection, where the identity prediction process cannot be optimized with task loss. This limitation leads to sub-optimal prompt selection and inadequate adaptation of pre-trained features for a specific task. Previous efforts have tried to address this by directly generating prompts from input queries instead of selecting from a set of candidates. However, these prompts are continuous, which lack sufficient abstraction for task knowledge representation, making them less effective for continual learning. To address these challenges, we propose VQ-Prompt, a prompt-based continual learning method that incorporates Vector Quantization (VQ) into end-to-end training of a set of discrete prompts. In this way, VQ-Prompt can optimize the prompt selection process with task loss and meanwhile achieve effective abstraction of task knowledge for continual learning. Extensive experiments show that VQ-Prompt outperforms state-of-the-art continual learning methods across a variety of benchmarks under the challenging class-incremental setting.
Directed Information $γ$-covering: An Information-Theoretic Framework for Context Engineering
We introduce \textbf{Directed Information $γ$-covering}, a simple but general framework for redundancy-aware context engineering. Directed information (DI), a causal analogue of mutual information, measures asymmetric predictiveness between chunks. If $\operatorname{DI}_{i \to j} \ge H(C_j) - γ$, then $C_i$ suffices to represent $C_j$ up to $γ$ bits. Building on this criterion, we formulate context selection as a $γ$-cover problem and propose a greedy algorithm with provable guarantees: it preserves query information within bounded slack, inherits $(1+\ln n)$ and $(1-1/e)$ approximations from submodular set cover, and enforces a diversity margin. Importantly, building the $γ$-cover is \emph{query-agnostic}: it incurs no online cost and can be computed once offline and amortized across all queries. Experiments on HotpotQA show that $γ$-covering consistently improves over BM25, a competitive baseline, and provides clear advantages in hard-decision regimes such as context compression and single-slot prompt selection. These results establish DI $γ$-covering as a principled, self-organizing backbone for modern LLM pipelines.