English

Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models

Computer Vision and Pattern Recognition 2025-12-18 v1 Machine Learning

Abstract

Group Relative Policy Optimization (GRPO) is a powerful technique for aligning generative models, but its effectiveness is bottlenecked by the conflict between large group sizes and prohibitive computational costs. In this work, we investigate the trade-off through empirical studies, yielding two key observations. First, we discover the reward clustering phenomenon in which many trajectories collapse toward the group-mean reward, offering limited optimization value. Second, we design a heuristic strategy named Optimal Variance Filtering (OVF), and verify that a high-variance subset of trajectories, selected by OVF can outperform the larger, unfiltered group. However, this static, post-sampling OVF approach still necessitates critical computational overhead, as it performs unnecessary sampling for trajectories that are ultimately discarded. To resolve this, we propose Pro-GRPO (Proactive GRPO), a novel dynamic framework that integrates latent feature-based trajectory pruning into the sampling process. Through the early termination of reward-clustered trajectories, Pro-GRPO reduces computational overhead. Leveraging its efficiency, Pro-GRPO employs an "Expand-and-Prune" strategy. This strategy first expands the size of initial sampling group to maximize trajectory diversity, then it applies multi-step OVF to the latents, avoiding prohibitive computational costs. Extensive experiments on both diffusion-based and flow-based models demonstrate the generality and effectiveness of our Pro-GRPO framework.

Keywords

Cite

@article{arxiv.2512.15347,
  title  = {Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models},
  author = {Shiran Ge and Chenyi Huang and Yuang Ai and Qihang Fan and Huaibo Huang and Ran He},
  journal= {arXiv preprint arXiv:2512.15347},
  year   = {2025}
}

Comments

10 pages, 5 figures

R2 v1 2026-07-01T08:29:00.601Z