Concept Sliders: LoRA Adaptors for Precise Control in Diffusion Models

Rohit Gandikota, Joanna Materzynska, Tingrui Zhou, Antonio Torralba, David Bau

Introduction

While modern text-to-image diffusion models are capable of generating stunning imagery, they often lack the precision required for fine-grained editing. A primary challenge is the sensitivity of the generation process: changing a single word in a prompt (e.g., from "man" to "old man") typically triggers a complete regeneration of the image, altering the subject's identity, background, and lighting. This phenomenon, known as prompt-seed sensitivity, makes iterative design difficult.

Furthermore, many models suffer from concept entanglement, where certain attributes are statistically linked. For instance, a model might inadvertently associate "aging" with a specific gender or ethnicity, making it impossible to adjust one without altering the other. Concept Sliders address these issues by providing lightweight, low-rank adaptors that offer continuous, disentangled control over specific visual attributes.

Concept Sliders enable diverse controls, from food texture to fixing anatomical errors like AI hands.

Methodology

The core of this approach lies in identifying specific, low-rank directions within the parameter space of a pre-trained model, such as Stable Diffusion XL (SDXL). By leveraging Low-Rank Adaptation (LoRA), the authors can modify model weights without full fine-tuning.

  1. Directional Fine-Tuning: To create a slider, the model is fine-tuned to increase the likelihood of a target attribute ($c_+$) while simultaneously decreasing the likelihood of its opposite ($c_-$).
  2. Disentanglement Objective: To prevent unwanted side effects, the authors introduce a formulation that protects specific concepts. By explicitly penalizing changes to invariant attributes (like race or gender) during the training of an "age" slider, the resulting edit direction remains "clean."
  3. Visual and Latent Transfer: Sliders are not restricted to text-defined concepts. By using small sets of image pairs, the model can learn visual nuances like eye shape. Additionally, the researchers demonstrated that highly disentangled latent directions from StyleGAN can be transferred into diffusion models, combining GAN-level precision with diffusion flexibility.

Key Insights and Results

A significant finding of this research is that the low-rank constraint of LoRA is a feature, not a limitation. It forces the model to isolate the "minimal concept subspace," leading to higher-quality edits than full-parameter tuning.

Precision and Realism

Concept Sliders allow for smooth transitions across an attribute's spectrum without degrading the overall image structure. As shown in the results, attributes like age, makeup, and expression can be adjusted linearly.

Continuous control over attributes like Smiling, Makeup, and Age using Concept Sliders across a range of intensities.

Fixing Generative Artifacts

One of the most practical applications is the "Repair Slider." The authors discovered that SDXL already possesses the latent capability to generate high-quality details, such as realistic hands, but these are often suppressed by default weights. By steering the model toward these high-quality regions, the "Fixing Hands" slider reduced the rate of distorted hands from 62% to just 22% in user studies. Similarly, a general repair slider was preferred by human raters in over 80% of cases for its ability to fix warped faces and floating objects.

Conclusion and Future Work

Concept Sliders represent a significant step toward making diffusion models truly steerable. They are highly composable, allowing users to apply dozens of sliders simultaneously without quality loss. While some residual interference between highly similar categories remains a challenge, the method provides a robust framework for precise, identity-preserving image manipulation. Future research will likely focus on automating the selection of protected concepts to further enhance disentanglement.

Summary updated

BibTeX
@inproceedings{gandikota2024concept,
  author = {Rohit Gandikota and Joanna Materzynska and Tingrui Zhou and Antonio Torralba and David Bau},
  title = {{Concept Sliders: LoRA Adaptors for Precise Control in Diffusion Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73661-2\_10},
}
Figure