Lune

ACL2026Top-tier venue

Gradient-Guided Multi-Judge Prompt Optimization

Chenzhuo Zhao, Xinda Wang, Pu Zhao, Yue Huang, Junting Lu, Ziqian Liu, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang

Abstract

Automatic prompt optimization is a practical alternative to fine-tuning for adapting large language models (LLMs), yet existing approaches often trade off signal quality against computational cost. Methods that rely on generative feedback can be informative but expensive to scale, while sampling-based optimization typically requires many evaluations and exhibits high variance. Even loss-driven prompt optimization remains limited by costly segment attribution that scales with prompt length and by overfitting to a single evaluator, which weakens transfer across model families and domains. We propose Gradient-guided Multi-judge Prompt Optimization (GMPO), a scalable framework that improves both efficiency and robustness. GMPO uses a firstorder gradient approximation to score segment importance in a continuous masking direction, requiring only one forward and one backward pass. GMPO further employs a generate multi-judge design in which candidate prompt edits are proposed by a generator and selected using cross-entropy losses aggregated from multiple lightweight judge models, reducing evaluator bias and improving generalization. Experiments across math, reasoning, instruction-following evaluation, and safety robustness benchmarks demonstrate consistent gains with substantially lower optimization overhead. Our code is available at https://github.com/cyzcz/GMPO . * "X days have passed since [date]" today = [date] plus X days → -Always explicitly state what "today" is before proceeding → 3. PARSE TEMPORAL RELATIONSHIPS -Understand directional phrases: * "before" means subtract days * "after" means add days * "since" typically means counting forward from a past date → -Be precise about whether events are described relative to "today" or to other dates → 4. PERFORM DATE CALCULATIONS -Use correct month lengths:

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Take a Step Back: Evoking Reasoning via Abstraction in Large Language Models cites Large Language Models as Optimizers
  • On the Worst Prompt Performance of Large Language Models cites Large Language Models as Optimizers
  • Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars cites Large Language Models as Optimizers
  • Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars cites RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on11

  1. Large Language Models as OptimizersChengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu et al.ICLR 2024 · 817 citations
  2. Take a Step Back: Evoking Reasoning via Abstraction in Large Language ModelsHuaixiu Steven Zheng, Swaroop Mishra, Xinyun Chen, Heng-Tze Cheng et al.ICLR 2024 · 216 citations
  3. RLPrompt: Optimizing Discrete Text Prompts with Reinforcement LearningMingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang et al.EMNLP 2022 · 141 citations
  4. On the Worst Prompt Performance of Large Language ModelsBowen Cao, Deng Cai, Zhisong Zhang, Yuexian Zou et al.NeurIPS 2024 · 65 citations
  5. Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of ExemplarsZhaoxuan Wu, Xiaoqiang Lin, Zhongxiang Dai, Wenyang Hu et al.NeurIPS 2024 · 44 citations

Related papers

  1. PMPO: Probabilistic Metric Prompt Optimization for Small and Large Language ModelsChenzhuo Zhao, Ziqian Liu, Xinda Wang, Junting Lu et al.EMNLP Findings 2025
  2. Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model OptimizersXinyu Tang, Xiaolei Wang, Wayne Xin Zhao, Siyuan Lu et al.AAAI 2025 · 36 citations
  3. GReaTer: Gradients Over Reasoning Makes Smaller Language Models Strong Prompt OptimizersSarkar Snigdha Sarathi Das, Ryo Kamoi, Bo Pang, Yusen Zhang et al.ICLR 2025
  4. DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning PerspectiveDengyun Peng, Yuhang Zhou, Qiguang Chen, Jinhao Liu et al.EMNLP Findings 2025 · 2 citations
  5. PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based SamplingYongchao Chen, Jacob Arkin, Yilun Hao, Yang Zhang et al.EMNLP 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines