Beyond Outcome: Trajectory-Driven Prompt Optimization via Multi-Dimensional Rewards
Abstract
Automatic Prompt Optimization (APO) aims to improve the capabilities of Large Language Models (LLMs), yet existing methods remain limited by their result-oriented nature. Training-free approaches often converge to suboptimal prompts, while training-based methods suffer from reward sparsity and lack supervision of the optimization process. More importantly, both paradigms focus on obtaining the final prompt rather than learning the prompt optimization process itself. To address this limitation, we propose ProPO, a trajectory-driven Process learning framework for Prompt Optimization guided by multi-dimensional composite rewards. Specifically, ProPO introduces a historical trajectory reflection mechanism that leverages successful and failed optimization experiences for effective exploration. Concurrently, we adopt adaptive rubric rewards to provide fine-grained supervision and alleviate reward sparsity. More importantly, we design a novel Process Logic Reward that explicitly supervises the consistency of the optimization process. Extensive experiments demonstrate that ProPO, integrated with GRPO, establishes new state-of-the-art performance. Notably, ProPO achieves a remarkable 71.11% accuracy on the highly complex AIME-2026 task and an absolute gain of +25.70% over the zero-shot baseline on Subjectivity Classification (Subj). Furthermore, empirical analyses reveal that our multi-dimensional reward mechanism provides finer-grained and denser supervision signals, enabling the model to learn the prompt optimization process itself and generate higher-quality prompts.