TempFlow-GRPO: When Timing Matters for GRPO in Flow Models

2508.04324v1 cs.CV 2025-08-09
Авторы:

Xiaoxuan He, Siming Fu, Yuke Zhao, Wanli Li, Jian Yang, Dacheng Yin, Fengyun Rao, Bo Zhang

Резюме на русском

**Резюме** Повышение качества текстово-красочных моделей возможно благодаря reinforcement learning (RL), но его интеграция с подходами, основанными на градиентных течениях (Flow), сталкивается с оптимизационными проблемами. Основная причина — временная неразличимость решений в процессе генерации, что приводит к неэффективному использованию стохастических шагов и снижению качества. В статье предлагается TempFlow-GRPO — новая структура RL-фреймворка для градиентных течений, которая учитывает временную структуру генерации. Ее основные инновации: (i) механизм подразбиения траекторий, который распределяет кредит принятым решениям в ключевых моментах генерации, и (ii) весовая схема, адаптирующая оптимизацию политики в зависимости от возможности исследования в каждом такте. Эти изменения обеспечивают более точное настройка политики, учитывая влияние каждого такта на результирующую картинку. В результате TempFlow-GRPO превосходит современные модели по human preference alignment и результатам на текстово-красочных бенчмарках.

Abstract

Recent flow matching models for text-to-image generation have achieved remarkable quality, yet their integration with reinforcement learning for human preference alignment remains suboptimal, hindering fine-grained reward-based optimization. We observe that the key impediment to effective GRPO training of flow models is the temporal uniformity assumption in existing approaches: sparse terminal rewards with uniform credit assignment fail to capture the varying criticality of decisions across generation timesteps, resulting in inefficient exploration and suboptimal convergence. To remedy this shortcoming, we introduce \textbf{TempFlow-GRPO} (Temporal Flow GRPO), a principled GRPO framework that captures and exploits the temporal structure inherent in flow-based generation. TempFlow-GRPO introduces two key innovations: (i) a trajectory branching mechanism that provides process rewards by concentrating stochasticity at designated branching points, enabling precise credit assignment without requiring specialized intermediate reward models; and (ii) a noise-aware weighting scheme that modulates policy optimization according to the intrinsic exploration potential of each timestep, prioritizing learning during high-impact early stages while ensuring stable refinement in later phases. These innovations endow the model with temporally-aware optimization that respects the underlying generative dynamics, leading to state-of-the-art performance in human preference alignment and standard text-to-image benchmarks.

Ссылки и действия