CompSlider: Compositional Slider for Disentangled Multiple-Attribute Image Generation

Zixin Zhu, Kevin Duarte, Mamshad Nayeem Rizve, Chengyuan Xu, Ratheesh Kalarot, Junsong Yuan

TL;DR

This paper introduces CompSlider, a novel method for fine-grained, simultaneous control of multiple attributes in text-to-image generation. By generating compositional "priors" for diffusion models, CompSlider disentangles attributes, allowing independent manipulation without retraining the underlying foundation model, thus reducing computational burden.

What Problem Does This Paper Address?

Text-to-image (T2I) generation has made remarkable progress, but achieving precise control over specific attributes (like age, expression, or scene complexity) remains a challenge, even with detailed text prompts. While "slider-based" methods offer a way to fine-tune attributes, existing approaches typically train separate adapters for each attribute. This leads to "entanglement," where adjusting one attribute unintentionally affects others, making precise, simultaneous control difficult and often requiring multiple inference passes. This lack of disentanglement and scalability hinders user experience and computational efficiency.

Methods

CompSlider tackles this by proposing a compositional slider model that generates "conditional priors" for a pre-trained T2I foundation model. Instead of retraining the foundation model, CompSlider operates in its latent space. The core of CompSlider is a Diffusion Transformer (DiT) model that takes text embeddings and user-defined slider values as input to predict image conditions.

Key innovations include:

  • Compositional Slider: A single model that handles multiple attribute sliders simultaneously, generating a unified conditional prior.
  • Disentanglement Loss: This loss encourages attribute independence by training the model to accurately recover attribute combinations, including randomly sampled ones, preventing reliance on imbalanced training data distributions.
  • Structure Loss: This loss ensures structural consistency within generated images by keeping the predicted image condition close to the original, especially for small attribute variations.
  • No Paired Data Required: The training strategy leverages random attribute combinations, avoiding the need for costly paired datasets of the same subject with varying attributes.
  • Efficient Inference: By operating within the latent space and requiring only a single forward pass, CompSlider significantly reduces computational costs for both training and inference.

Datasets

The paper mentions using ChatGPT to generate prompts for human-related attributes and for non-human attributes like "Vector Style" and "Scene Complexity." They also refer to using pre-trained attribute classifiers (like DeepFace) for evaluation, noting that these are distinct from the classifiers used during training. No new datasets were introduced.

Key Insights and Ideas

  • Attribute Entanglement is a Major Bottleneck: The paper clearly demonstrates how sequential slider application or independent attribute control leads to unintended interactions, making precise manipulation difficult.
  • Compositionality is Key to Disentanglement: By treating multiple attributes as a single compositional input, CompSlider can learn to disentangle them more effectively than sequential or isolated approaches.
  • Random Sampling for Robustness: Training with randomly sampled attribute combinations, rather than relying solely on frequently co-occurring pairs, is crucial for achieving true disentanglement and generalization.
  • Latent Space Operation for Efficiency: Avoiding retraining the foundation model and operating within its latent space is a significant computational advantage for both training and inference.

Key Results

  • Quantitative Improvements: CompSlider achieved state-of-the-art results in continuity (81.07%), consistency (90.95%), and scope (59.02%) for human-related sliders, with a significantly reduced entanglement ratio (14.04%) compared to previous methods (nearly 30%).
  • User Preference: In A/B testing for non-human sliders, CompSlider garnered a user preference of 54.66% compared to 34.16% for ConceptSlider.
  • Qualitative Success: Figures and examples demonstrate CompSlider's ability to smoothly and independently control attributes like age, smile, yaw rotation, and scene complexity, preserving identity and structure better than prior methods.
  • Generalizability: The approach is shown to be generalizable to video generation.

Limitations and Future Work

  • Scope Reduction with Structure Loss: While the structure loss significantly improves consistency and disentanglement, it leads to a slight drop in scope (4.25%), which the authors attribute to regularization effects.
  • Human Study for Non-Human Attributes: Due to the lack of open-source classifiers for non-human attributes, a human study was conducted, which is inherently more subjective than automated metrics.
  • Future Work: The paper suggests extending the approach to more complex attribute combinations and exploring its application in other generative tasks. The generalizability to video generation is also highlighted as a promising future direction.

Summary updated

BibTeX
@inproceedings{zhu2025compslider,
  author = {Zixin Zhu and Kevin Duarte and Mamshad Nayeem Rizve and Chengyuan Xu and Ratheesh Kalarot and Junsong Yuan},
  title = {{CompSlider: Compositional Slider for Disentangled Multiple-Attribute Image Generation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure