Concept Sliders: LoRA Adaptors for Precise Control in Diffusion Models
Rohit Gandikota, Joanna Materzynska, Tingrui Zhou, Antonio Torralba, David Bau
TL;DR
This work introduces Concept Sliders, a plug and play, low rank LoRA adaptor framework for diffusion models that enables precise, continuous, and composable control over textual and visual concepts. By optimizing low rank directions with a disentanglement objective and enabling inference time strength scaling, the method achieves targeted edits with reduced interference compared to prior approaches. The authors demonstrate textual and visual concept sliders, transfer from StyleGAN latents, and multi slider composition, while also showing practical benefits such as fixing hands and improving realism in SDXL outputs. Comprehensive experiments, ablations, and user studies support the usefulness and robustness of the approach, with open source code and sliders released to the public.
Abstract
We present a method to create interpretable concept sliders that enable precise control over attributes in image generations from diffusion models. Our approach identifies a low-rank parameter direction corresponding to one concept while minimizing interference with other attributes. A slider is created using a small set of prompts or sample images; thus slider directions can be created for either textual or visual concepts. Concept Sliders are plug-and-play: they can be composed efficiently and continuously modulated, enabling precise control over image generation. In quantitative experiments comparing to previous editing techniques, our sliders exhibit stronger targeted edits with lower interference. We showcase sliders for weather, age, styles, and expressions, as well as slider compositions. We show how sliders can transfer latents from StyleGAN for intuitive editing of visual concepts for which textual description is difficult. We also find that our method can help address persistent quality issues in Stable Diffusion XL including repair of object deformations and fixing distorted hands. Our code, data, and trained sliders are available at https://sliders.baulab.info/
