General and Efficient Steering of Diffusion Models
About
Steering diffusion models toward conditions unseen during training typically requires either retraining with conditional inputs or per-step gradient computations, both of which incur substantial computational overhead. We present Noise-Aligned RFM Steering (NA-RFM), a general recipe for efficiently steering diffusion models without gradient guidance during inference, enabling fast controllable generation. The method combines two offline-computed signals: noise alignment, a high-noise correction from PCA statistics of the target examples and the full data, and Recursive Feature Machine (RFM) activation steering, which learns a target-discriminative direction from labeled forward-process activations. During sampling, noise alignment provides coarse control at high noise, while the RFM direction is reused over intermediate/late timesteps through lightweight activation edits. Experiments on CIFAR-10, ImageNet, CelebA, and fine-grained bird species show improved target accuracy over gradient-based post-hoc guidance baselines, improved FID on the class-guidance benchmarks, and substantial inference speedups. Code: https://github.com/isotrivial/na-rfm.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Class-conditional Image Generation | ImageNet | FID98 | 189 | |
| Conditional Image Generation | CIFAR-10 | FID41 | 88 | |
| Conditional Image Generation | CelebA-HQ Gender+Age | Accuracy96 | 15 | |
| Conditional Image Generation | CelebA-HQ Gender+Hair | Accuracy83.3 | 15 | |
| Conditional Image Generation | Fine-grained Birds | Accuracy14.1 | 8 | |
| Controlled Image Generation | Fine-grained bird species (OOD) | Accuracy28.1 | 6 | |
| Multi-Attribute Guidance | CelebA | Accuracy (Young, Female)100 | 2 | |
| Multi-Attribute Guidance | CelebA (test) | Acc (Female + Non-Blond)86.4 | 2 |