Manuscript Offprint

arXiv:2611.26627

RL Post-Training in Diffusion Transformers Is Activation Steering

Tuna Han Salih Meral, Kaan Oktay, Alec Helbling, Atakan Kara, Duen Horng Chau, Pinar Yanardag

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 with a deliberately simple parameterization: a fixed set of steering vectors added to the block outputs of the frozen base model. On SD3.5-M, these vectors hold 65×\times fewer parameters than the RL-tuned LoRA (0.29M against 18.8M). We fit them to match the velocity predictions of public RL-tuned checkpoints, with no reward in the objective. Although the vectors are identical for every prompt, token, and sampling seed, they recover 90.0–96.3% of the reward gains of six RL-tuned image models, and 89.8% and 111.9% on two RL-tuned video models. Initialized at zero and trained with online RL, the vectors alone exceed the reward gains of weight-based RL on text rendering (OCR) and human preference (PickScore) on SD3.5-M. A constant shift thus suffices for most of the gain of policy-gradient RL post-training: without new input-dependent transformations, it steers the pretrained generator toward what it can already compute.

Figure

Figure 1: A constant shift of a frozen base model recovers 90.0% to 96.3% of the RL reward gain on six image models. Base + s\mathbf{s} adds the same steering vectors, sOCR\mathbf{s}_{\mathrm{OCR}} or sPickScore\mathbf{s}_{\mathrm{PickScore}}, to the frozen Base SD3.5-M for every prompt, token and seed. Each set (0.29M parameters, against 18.8M in the rank-32 LoRA) is fitted to its RL-tuned model with no reward in the objective. Each triplet shares one prompt and starting noise.

Figure

Figure 2: The steering vectors add the same vector to every token of every prompt. Block ℓ\ell on two text-rendering prompts, with a linear layer W\mathbf{W}, token inputs zi\mathbf{z}_{i} and zj\mathbf{z}_{j}, and block outputs hi\mathbf{h}_{i} and hj\mathbf{h}_{j}. Base + s\mathbf{s} adds the same s\mathbf{s} (black) to every token of both prompts; s\mathbf{s} changes only with the block, guidance pass, step bin and stream. In the RL-tuned model, the weight change gives each input its own shift, ΔWzi≠ΔWzj\Delta\mathbf{W}\mathbf{z}_{i}\neq\Delta\mathbf{W}\mathbf{z}_{j} (gray). In block ℓ\ell, s\mathbf{s} is one vector and ΔW\Delta\mathbf{W} a matrix: on SD3.5-M, all 188 vectors together hold 0.29M parameters, 65×\times fewer than the RL-tuned LoRA’s 18.8M.

1 Introduction

Reinforcement learning (RL) post-training [5, 14, 37, 71, 73] improves text rendering [37], compositional accuracy [19, 23] and human preference scores [26, 66, 41, 69] in image and video diffusion transformers [13, 6, 63]. These improvements are typically obtained by updating the model’s weights, either through parameter-efficient adapters such as LoRA [22] or through full fine-tuning [71]. Although the update ΔW\Delta\mathbf{W} is fixed after training, the updated weights W+ΔW\mathbf{W}+\Delta\mathbf{W} act on each token’s input, so different prompts and tokens produce different activation changes. This flexibility seems natural for visual generation, where the words to render and the objects to compose change with every prompt. But is this input dependence actually necessary to obtain the gains of RL post-training?

Surprisingly, we find that most of the reward improvement of a diverse collection of RL-tuned image and video generators can be reproduced by freezing every pretrained weight and adding a small set of fixed steering vectors to the model’s activations. We fit these vectors to match the velocity predictions of each RL-tuned model, with no reward in the objective; simply averaging the activation changes that RL induces recovers far less of the gain. For a given RL-tuned model, the same vectors are used for every prompt, every sampling seed, and every token (Fig. 2). In total, they have 1.5% of the parameters of a rank-32 LoRA on SD3.5-M, and they do not depend on the requested text, objects, or composition. Yet they can make the frozen generator render requested phrases, satisfy compositional constraints and improve preference scores much as its RL-tuned counterpart does (Figs. 1 and 5). On six RL-tuned image models spanning SD3.5-M and FLUX.1-dev, multiple RL algorithms, LoRA and full fine-tuning, and rewards including PickScore, HPSv2.1, OCR, and GenEval, these fixed activation shifts recover 90.0–96.3% of the RL reward gain. The result extends to video: on two RL-tuned video generators, the same intervention recovers 89.8% and 111.9% of the gain.

We next ask whether RL can learn such constant shifts directly from the reward in diffusion transformers. We freeze the generator and run Flow-GRPO [37] with only the steering vectors trainable, starting from zero. The trained vectors reach 104.6% and 103.6% of the gains of the OCR-tuned and PickScore-tuned SD3.5-M models, so RL achieves both gains by learning only a small set of constant vectors, without updating any pretrained weight.

How can one constant intervention produce different improvements for different prompts? The steering vectors carry no prompt information, so the prompt-specific part of the change must come from the frozen generator. Inside the transformer, attention, normalization and MLP layers mix the constant vector with prompt-dependent representations, so its effect on the output can depend strongly on the prompt. On SD3.5-M, we trace how the shift reaches the image: through what image tokens read from text tokens in joint attention. When image tokens read the text keys and values of the unsteered base model instead, with everything else unchanged, most of the OCR and PickScore gains disappear. The same replacement removes most of the gains of the OCR-tuned and PickScore-tuned models, so the steering vectors and RL reach the image by the same route. The text stream, the conditional guidance pass and the early sampling steps carry most of the gain: vectors fitted to these parts alone, with 531×\times fewer parameters than the rank-32 LoRA, recover 89.5% of the RL gain on OCR and 73.7% on PickScore (Sec. 5).

These results suggest a different view of RL post-training in visual generators: a constant shift suffices to steer generation toward most of the RL gain, and the frozen generator does the prompt-specific work. Although RL’s weight updates produce input-dependent activation changes, most of their reward gain is reproduced without new input-dependent transformations beyond those the base model already computes. Our main contributions are:

  • We show that fixed steering vectors, fitted with no reward in the objective, recover most of the gain of eight RL-tuned image and video models, including two full fine-tunes.
  • We find that matching the RL-tuned model’s velocity recovers far more of the gain than adding its average activation change.
  • We train only the steering vectors of a frozen SD3.5-M with Flow-GRPO and exceed the reward gains of the RL-tuned OCR and PickScore models, with images rated on par with theirs in a user study.
  • We trace how a constant shift yields prompt-specific gains: on SD3.5-M, it reaches the image through what image tokens read from text, as RL’s change does.

References (69)