Skip to content
AI.info

Papers

RL Post-Training in Diffusion Transformers Is Activation Steering

RL post-training (for example with Flow-GRPO or DanceGRPO) reliably improves text rendering, compositional accuracy and human preference scores in diffusion transformers, and it does so by updating…

The paper’s first page · arXiv:2611.26627
arXiv
2611.26627 · Preprint · not peer-reviewed
Published
2026-11-19
Authors
Tuna Han Salih Meral, Kaan Oktay, Alec Helbling, Atakan Kara, Duen Horng Chau, Pinar Yanardag

In plain words

RL post-training (for example with Flow-GRPO or DanceGRPO) reliably improves text rendering, compositional accuracy and human preference scores in diffusion transformers, and it does so by updating model weights. Because those weights act on each token's input differently, the resulting activation changes are input-dependent, which seems necessary for prompt-specific skills like drawing requested words.

AI summary

Overview

Research area: Generative computer vision — specifically reinforcement learning (RL) post-training of diffusion transformers for image and video generation, and mechanistic interpretability of what RL actually changes inside those models.

Technical level: Intermediate to Advanced. The paper assumes familiarity with diffusion/flow-matching models, LoRA adapters, classifier-free guidance, and policy-gradient methods such as GRPO. The core idea, however, is expressible in plain language.

Scope: The paper tests whether the gains from RL post-training of image and video diffusion transformers can be reproduced by a small, input-independent set of constant vectors added to a frozen base model's activations.

What This Paper Is About

RL post-training (for example with Flow-GRPO or DanceGRPO) reliably improves text rendering, compositional accuracy and human preference scores in diffusion transformers, and it does so by updating model weights. Because those weights act on each token's input differently, the resulting activation changes are input-dependent, which seems necessary for prompt-specific skills like drawing requested words. The authors ask whether that input dependence is actually needed, by freezing every pretrained weight and adding a fixed set of "steering vectors" — identical for every prompt, token and sampling seed — to the block outputs.

Key Contributions

  1. Fixed steering vectors recover most of RL's gain. The authors show that constant vectors, fitted with no reward in the objective, recover most of the reward gain of eight RL-tuned models — six image models and two video models — including two that were fully fine-tuned.
  2. Velocity matching beats averaging. Fitting the vectors to match the RL-tuned model's predicted velocity recovers far more of the gain than simply adding the RL model's average activation change (the standard mean-difference baseline in activation steering).
  3. RL on the vectors alone exceeds weight-based RL. Running Flow-GRPO on a frozen SD3.5-M with only the steering vectors trainable, initialized at zero, produces larger reward gains than the OCR-tuned and PickScore-tuned checkpoints, and images rated on par with theirs in a user study.
  4. A mechanistic account of how a constant shift becomes prompt-specific. On SD3.5-M the gain concentrates in the conditional guidance pass, the early sampling steps and the text stream, and it reaches the image through what image tokens read from text tokens in joint attention — the same route the RL-tuned models use.

Main Findings

  • Parameter efficiency: On SD3.5-M, the full set of 188 steering vectors holds 0.29M parameters (288,768), 65× fewer than the 18.8M-parameter rank-32 LoRA that Flow-GRPO trains, i.e. 1.5% of its size.
  • Image recovery rates: Across six RL-tuned image models the fitted vectors recover 90.0%–96.3% of the reward gain. Per-model shares in Table 1: 90.8% [89.8, 91.7] (SD3.5-M, Flow-GRPO, LoRA, PickScore, 2,048 prompts), 95.2% [94.4, 96.1] (PickScore without KL), 94.4% [90.8, 97.9] (OCR, 1,018 prompts), 95.9% [92.0, 99.7] (GenEval, 553 prompts × 4 seeds), 90.0% [88.9, 91.1] (FLUX.1-dev, PickScore), 96.3% [95.5, 97.2] (FLUX.1-dev, DanceGRPO, full fine-tune, HPSv2.1).
  • Video recovery rates: 111.9% [106.5, 118.0] on Wan2.1-1.3B (HPSv3) and 89.8% [76.2, 105.6] on Wan2.2-5B via VBVR-Pro (rule-based reward). The vectors are fitted on 33-frame clips and evaluated unchanged on 81-frame clips; on Wan2.1 they exceed the RL-tuned model's own gain.
  • Averaging misses the gain: The mean-difference baseline s_mean recovers only 61.0%, 70.8%, 21.5%, 12.2%, 64.7%, 79.0%, 59.3% and 60.8% on the same eight models. On OCR, the component of the fitted vector orthogonal to the averaged one keeps 96% of the gain (+0.312 of +0.325).
  • RL from the reward alone works: With only the vectors trainable under Flow-GRPO, they reach 104.6% [102.1, 107.3] of the OCR-tuned model's gain and 103.6% [102.0, 105.1] of the PickScore-tuned model's. In a user study (50 test prompts, 25 raters) images win 60%–65% against the base model and 50%–52% against the RL-tuned models.
  • Beating the base model where it fails: On 146 GenEval prompts the base model fails at three seeds, it succeeds on 14.9% at the held-out seed, and the GenEval vectors recover 97.7% of the +0.641 gain. Of prompt-seed pairs the base fails and the RL model solves, the vectors solve 91.4% (GenEval) and 75.3% (OCR), against 93.3% and 71.6% for the RL model at a new seed.
  • Effects beyond the training reward: The PickScore vectors reproduce gains on HPSv2.1 (+0.0393 vs +0.0407) and ImageReward (+0.400 vs +0.388), and reproduce side effects: color energy 0.542 vs 0.550, empty-prompt diversity 0.847 vs 0.850, within-prompt diversity 0.522 vs 0.517. A fitted global color/tone transform recovers only 8% of the PickScore gain.
  • No advantage from input dependence at equal size: A same-size LoRA fitted identically shows no detected advantage — the paired 95% interval of the difference includes zero on SD3.5-M, VBVR-Pro and FLUX.1-dev; on Wan2.1 the same-size LoRA recovers 69.7% versus 111.9% for steering vectors.
  • Supervised fine-tuning is different: Steering vectors fall short of DreamBooth LoRAs, recovering 68%–83% of identity gain for six fictional people and 73%–95% of subject-similarity gain for four public LoRAs, and a same-size LoRA recovers more.
  • Where the gain lives: Vectors fitted only to the conditional pass, the early step bin and the text stream — 35,328 parameters, 12% of the full set and 0.19% of the rank-32 LoRA — recover 89.5% of the OCR gain and 73.7% of the PickScore gain.
  • The route to the image: Replacing the text keys and values that image queries read with the unsteered base model's keeps only 20.5% (OCR) and 10.5% (PickScore) of the vectors' gain, and the RL-tuned models keep 26.4% and 24.5% under the same intervention. Resetting what text tokens read from image tokens preserves at least 84.4% of all four gains. On PickScore, replacing what text tokens read from other text tokens leaves 43.8% (vectors) and 40.9% (RL-tuned), versus 93.6% and 89.6% on OCR.
  • Cheap to fit: Fitting takes at most 17 H100 GPU-hours per image model and 70 per video model; at inference the cost is one vector addition per block output.
  • Scope caveat: All eight RL-tuned models use policy gradients; six public RL-tuned video models were evaluated and only two gained on the evaluated reward with a 95% interval above zero. Preference optimization and reward backpropagation remain untested.

Methodology in Plain English

The authors start from publicly released RL-tuned checkpoints — the base model, plus whatever RL did to it. Rather than studying the weight change, they define a much simpler intervention: at every transformer block output, add one fixed vector to every token, in both the image and text streams. The vectors are separated by which guidance pass is running (conditional or unconditional) and by a coarse split of the sampling schedule into two step bins (boundary τ = 0.75 on SD3.5-M's shifted schedule, with N = 40 sampling steps). Nothing else varies — not the prompt, not the seed, not the token.

To choose the vectors they run a regression: take the RL-tuned model's own final samples, re-noise them to a random noise level, and fit the vectors so that the steered frozen model predicts the same velocity as the RL-tuned model. Crucially, no reward model appears in this objective, and no sampling is needed during fitting because the training states are cached. They compare against a training-free baseline that just averages the RL model's activation change, and against a same-size LoRA fitted with the identical loss and number of updates, to isolate whether input dependence buys anything.

They then go further and run Flow-GRPO with the base model frozen and only the steering vectors trainable, starting from zero, so that RL must express everything it learns as a constant shift. Finally they perform ablations — fitting vectors only to one guidance pass, one stream, or one step bin, and substituting specific attention keys and values at inference — to trace how a constant ends up producing prompt-specific images.

Why This Matters

The paper reframes what RL post-training does in visual generators: rather than teaching new input-dependent skills, policy-gradient RL appears to steer a frozen generator toward outputs it could already produce. That is a substantial claim about how these models should be post-trained and evaluated.

Real-world applications:

  • Cheap post-training and model distribution: Adapters that are 1.5% the size of a rank-32 LoRA and cost one vector addition per block could ship as small, swappable "capability packs" for a shared frozen base model.
  • Text rendering in generated images: Strong gains on OCR accuracy translate to more reliable signage, posters, product mockups and UI imagery where spelled-out words must be correct.
  • Controllable video generation: The same intervention transfers to video models and to different clip lengths, relevant to advertising and previsualization pipelines.
  • Safety and style control: Because the effect lives in a small, inspectable set of vectors, steering for style, tone or suppression could be audited and rolled back more easily than a fine-tuned weight set.

Industry relevance: teams that post-train diffusion models currently pay for full or LoRA fine-tuning plus reward-model inference. If a handful of constant vectors captures most of the reward gain, post-training becomes dramatically cheaper to compute, store and serve, and multiple reward-specific vector sets can be swapped at inference over one frozen backbone.

Future Directions

  • Whether input-dependent transformations are ever needed. The authors explicitly leave open whether optimizing these rewards benefits from new input-dependent transformations at all, or whether current RL methods simply cannot learn them.
  • Beyond policy gradients. All eight RL-tuned models studied use policy gradients, so preference optimization and reward backpropagation through the sampler remain untested against the constant-shift account.
  • Explaining the shortfall versus supervised fine-tuning. Steering vectors recover only 68%–83% and 73%–95% of DreamBooth gains, so what supervised fine-tuning adds beyond a constant shift is unresolved.
  • Transferring vectors across models and rewards. Whether one model's fitted vectors or an RL-trained vector set transfers to another base model, resolution or reward is not established, despite the observed robustness to resolution (512 to 768 and 1024 px), sampling steps and CFG scale.

Target Audience

Researchers and engineers working on diffusion transformer post-training, RLHF/RLAIF for generative models, and mechanistic interpretability of generative networks. It is also valuable for practitioners who deploy image or video generators and want a cheaper alternative to LoRA fine-tuning, and for anyone reasoning about what reward optimization actually changes inside a large generative model.

Authors’ abstract

Reinforcement learning (RL) post-training substantially improves the visual quality, text rendering, and compositional accuracy of diffusion transformers. Because capabilities such as rendering requested text or composing multiple objects are inherently prompt-dependent, a natural hypothesis is that improving them requires learning complex, input-dependent transformations. To isolate how much of these gains an input-independent shift explains, we probe each RL-tuned model…

The full abstract on arXiv
Read the original paper