Combining GRPO policy gradients with prompt optimization for language model programsComposing Policy Gradients and Prompt Optimization for Language Model Programs
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.