RB-Modulation: Training-Free Personalization of Diffusion Models using Stochastic Optimal Control
Litu Rout, Yujia Chen, Nataniel Ruiz, Abhishek Kumar, Constantine Caramanis, Sanjay Shakkottai, Wen-Sheng Chu
TL;DR
RB-Modulation presents a training-free personalization framework for diffusion models by casting reverse diffusion as a stochastic optimal control problem with a terminal style cost, enabling precise control over style and content without adapters. The method combines a stochastic optimal controller (SOC) with an Attention Feature Aggregation (AFA) module to decouple content and style within cross-attention, and it provides practical algorithms for both small and large-scale models. Theoretical links between optimal control and reverse diffusion justify the terminal-cost approach, while Tweedie-based conditioning makes the controller causal for generative modeling. Empirically, RB-Modulation outperforms state-of-the-art training-free baselines in stylization and content-style composition, with strong human-preference signals and robust prompt alignment across datasets.
Abstract
We propose Reference-Based Modulation (RB-Modulation), a new plug-and-play solution for training-free personalization of diffusion models. Existing training-free approaches exhibit difficulties in (a) style extraction from reference images in the absence of additional style or content text descriptions, (b) unwanted content leakage from reference style images, and (c) effective composition of style and content. RB-Modulation is built on a novel stochastic optimal controller where a style descriptor encodes the desired attributes through a terminal cost. The resulting drift not only overcomes the difficulties above, but also ensures high fidelity to the reference style and adheres to the given text prompt. We also introduce a cross-attention-based feature aggregation scheme that allows RB-Modulation to decouple content and style from the reference image. With theoretical justification and empirical evidence, our framework demonstrates precise extraction and control of content and style in a training-free manner. Further, our method allows a seamless composition of content and style, which marks a departure from the dependency on external adapters or ControlNets.
