CusConcept: Customized Visual Concept Decomposition with Diffusion Models

Zhi Xu, Shaozhe Hao, Kai Han

Introduction

Generative AI has made significant strides in learning new concepts from limited data through techniques like Textual Inversion. However, these methods often treat an image as an inseparable whole. When presented with a "happy young girl," standard models struggle to isolate the specific "happiness" or "youth" from the "girl." CusConcept introduces a surgical approach to disentangle these visual concepts, allowing users to decompose a single image into distinct tokens for objects and arbitrary attributes.

Conceptual overview of decomposing an input image into specific attribute axes like mood and age alongside the core object, mapped to latent space centroids.

Problem Statement: The Challenge of Disentanglement

Existing disentanglement methods are typically "closed-set," restricted to predefined categories like color or material. The authors address the customized concept decomposition problem: enabling users to specify any attribute axis—such as "architectural style," "weather," or "mood"—and successfully peeling that specific attribute away from the core object within a single image.

Methodology

CusConcept employs a two-stage framework to transition from coarse linguistic anchors to high-fidelity visual representations.

Stage 1: Vocabulary-Guided Concept Decomposition

To avoid getting lost in high-dimensional embedding space, the system uses LLM-guided vocabulary anchors. For a user-specified axis (e.g., "age"), an LLM generates relevant words (e.g., "young," "elderly"). The model then learns to assign weights to these words via a projection MLP, calculating a "centroid" in the latent space that roughly represents the attribute in the source image.

Stage 2: Joint Concept Refinement

While centroids provide semantic grounding, they lack the specific visual "flavor" of the input. In this stage, the model performs a multi-token refinement. It fine-tunes the object token and all attribute tokens simultaneously using a standard diffusion denoising loss ($\mathcal{L}_{recon}$). This ensures the final tokens capture the exact visual nuances of the source image.

The two-stage framework: Stage 1 uses LLM-guided vocabulary to find concept centroids, and Stage 2 refines these tokens through joint diffusion training.

Key Insights

  • LLM Priors as Anchors: Querying an LLM to "seed" the attribute search space is significantly more effective than training raw embeddings from scratch.
  • MLP Stability: Using a multi-layer perceptron to project embeddings into weights proved more stable and capable of learning meaningful content than direct weighting.
  • Concept Recomposition: Because concepts are truly disentangled, users can perform "concept removal" (generating the object without the attribute) or "recomposition" (applying a learned attribute to a new object).

Evaluation and Results

The framework was evaluated on the VAW-CZSL (Visual Attributes in the Wild - Compositional Zero-Shot Learning) dataset, focusing on 14 attributes and 33 objects.

  • Visual Fidelity: CusConcept achieved a CLIP-I score of 0.701, matching models initialized with ground-truth labels and far exceeding standard Textual Inversion (0.458).
  • Semantic Alignment: In the SIM-emb metric, which measures attribute understanding, the model scored 0.779, nearing the theoretical upper limit of 0.836.

Conclusion

CusConcept provides a powerful tool for open-world visual control. By combining the semantic breadth of LLMs with the generative power of diffusion models, it enables precise decomposition and recomposition of visual elements. Future work will focus on improving identity consistency when attributes are removed or modified.

Summary updated

BibTeX
@inproceedings{xu2025cusconcept,
  author = {Zhi Xu and Shaozhe Hao and Kai Han},
  title = {{CusConcept: Customized Visual Concept Decomposition with Diffusion Models}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00362},
}
Figure