RL Post-Training in Diffusion Transformers Is Activation Steering

GenAI Diffusion ML RL PGPO
2026年11月19日
强化学习(RL)后训练显著提升了扩散变换器(diffusion transformers)在图像视觉质量、文本渲染效果以及构图准确性方面的性能。由于文本渲染(如按提示词生成指定文字)或多物体组合等能力本质上依赖于输入提示(prompt),一个自然的假设是:要提升这些能力,模型需学习复杂且随输入而变化的变换操作。为厘清其中有多少增益可归因于与输入无关的参数偏移(input-independent shift),我们采用一种刻意简化的参数化方式对每个经RL调优的模型进行探针分析:即在冻结的基础模型各网络块(block)输出上,简单叠加一组固定的“引导向量”(steering vectors)。在SD3.5-M模型上,这些引导向量所含参数量仅为RL调优LoRA模块的1/65(仅0.29百万参数,对比LoRA的18.8百万参数)。我们通过拟合公开发布的RL调优检查点所输出的速度预测值(velocity predictions)来优化这些向量,目标函数中不包含任何奖励信号(reward)。尽管这些向量对所有提示词、所有token乃至所有采样随机种子均完全一致(即完全不随输入变化),它们仍能恢复六个经RL调优的图像生成模型所获奖励提升的90.0%–96.3%,并在两个经RL调优的视频生成模型上分别恢复89.8%和111.9%的奖励增益。进一步地,若将这些向量初始化为零,并采用在线强化学习(online RL)方式进行训练,则仅靠这些常量偏移项,其在文本渲染(OCR任务)与人类偏好评估(PickScore指标)上的奖励提升,已超越基于权重更新的传统策略梯度(policy-gradient)强化学习方法在SD3.5-M上的表现。由此可见,一个恒定的参数偏移项,已足以解释策略梯度强化学习后训练所带来的绝大部分性能增益:它无需引入新的、依赖输入的变换机制,即可有效引导预训练生成器,使其更倾向于输出其本身已有能力生成的、更符合奖励目标的结果。
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 65x 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.
许愿