Skip to content

Combining GRPO policy gradients with prompt optimization for language model programsComposing Policy Gradients and Prompt Optimization for Language Model Programs

arXiv· arXiv:2508.04660· CAIS· Noah Ziems, Dilara Soylu, Lakshya A Agrawal, Isaac Miller, Liheng Lai, Chen Qian, Kaiqiang Song, Meng Jiang, Dan Klein, Matei Zaharia, Karel D'Oosterlinck, Christopher Potts, Omar Khattab·Indexed by this site · 27 days ago· Originally publishedAI updates
AI summary

Combining GRPO with automatic prompt optimization in language model programs improved average accuracy on classification, multi-hop search and privacy-preserving delegation tasks by 11% over post-trained language models and by 5% over prompt optimization alone. The authors call this combination a first empirical finding; the main variant, multi-module GRPO, builds groups from module-level calls, and trajectory-level grouping is another instance. Multi-module GRPO has been open-sourced in the DSPy library.

Read originalCAIS