The Reward Was in Your Data All Along: Correcting Flow Matching with Discriminator-Guided RL
Abstract
Discriminator-Guided Reinforcement Learning (DRL) addresses alignment issues in score- and flow-matching models by using a pretrained representation space discriminator as an optimal reward signal, improving both visual fidelity and semantic quality without human preferences.
Score- and flow-matching models often rely on preference-based reinforcement learning for two purposes: aligning with subjective preferences and, surprisingly, recovering properties such as visual realism and coherent object structure that matching-based training is intended to learn from the data itself. We argue that this reflects a structural mismatch. Matching losses measure ell_2 regression error on the velocity or score field under training-time marginals, a proxy poorly aligned with the visual and semantic properties that determine sample quality at inference. Given a reward aligned with these properties, RL sidesteps the mismatch by evaluating the model on its own samples and following the reward landscape directly. The challenge is to obtain such a reward without relying on human preferences, which are expensive and conflate data realism with annotator inclinations. We propose Discriminator-Guided RL (DRL). DRL trains a discriminator to separate data from base-model samples in a pretrained representation space and uses its logit as the reward in KL-regularized RL. The pretrained space restricts the discriminator to perceptually meaningful directions, and the logit estimates the log-likelihood ratio between data and model, which is the optimal reward for targeting the data distribution. Across SiT, JiT, REPA, and RAE, DRL reduces guidance-free FID (e.g., 9.38 to 2.62 on SiT) and semantic-space FD (e.g., 88.2 to 19.3 on DINOv3 for SiT), with consistent gains across all backbones, and improves human-preference rewards without training on them. It also yields a better Pareto frontier between preference reward and image fidelity under subsequent preference-based post-training, increasing alignment while reducing low-level artifacts such as oversaturation and excessive brightness.
Community
TLDR: The paper argues that RL helps flow models because rewards provide a more aligned optimization landscape than flow matching for many aspects of the data, like perceptual features. It turns this into a method by training a discriminator in SSL feature space and using its logit as a reward. This improves FID/feature-space FD, boosts held-out preference rewards without training on them, and helps later preference-based RL. It is validated on SiT, REPA, JiT, and RAE.
Cool paper. The framing that standard matching losses are just poor proxies for visual and semantic quality is a compelling way to explain why we’ve been leaning so hard on preference RL for things that should theoretically be captured by the data itself.
I'm curious if the discriminator needs to be updated continuously during the RL phase to keep the reward landscape stable, or if it stays fixed once it learns to separate the base-model samples from the data?
I made a podcast on it with ResearchPod, it makes it easy to get the key concepts on the go:
https://researchpod.app/episode/cef8c502-cc21-426b-b36a-98c70ca18cc1
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper