ClassDiffusion: More Aligned Personalization Tuning with Explicit Class Guidance

Jiannan Huang, J. Liew, Hanshu Yan, Yuyang Yin, Yao Zhao +1 more
2/12/2026

No official code found. Best implementation: Rbrq03/ClassDiffusion (45 stars, last commit 2025-03-11). 1 more below.

Abstract

Recent text-to-image customization works have proven successful in generating images of given concepts by fine-tuning diffusion models on a few examples. However, tuning-based methods inherently tend to overfit the concepts, resulting in failure to create the concept under multiple conditions (*e.g.*, headphone is missing when generating"a `dog wearing a headphone"). Interestingly, we notice that the base model before fine-tuning exhibits the capability to compose the base concept with other elements (*e.g.*,"a dog wearing a headphone"), implying that the compositional ability only disappears after personalization tuning. We observe a semantic shift in the customized concept after fine-tuning, indicating that the personalized concept is not aligned with the original concept, and further show through theoretical analyses that this semantic shift leads to increased difficulty in sampling the joint conditional probability distribution, resulting in the loss of the compositional ability. Inspired by this finding, we present **ClassDiffusion**, a technique that leverages a **semantic preservation loss** to explicitly regulate the concept space when learning a new concept. Although simple, this approach effectively prevents semantic drift during the fine-tuning process of the target concepts. Extensive qualitative and quantitative experiments demonstrate that the use of semantic preservation loss effectively improves the compositional abilities of fine-tuning models. Lastly, we also extend our ClassDiffusion to personalized video generation, demonstrating its flexibility.

View on arXivView PDF

Code Implementations(2)

[ICLR2025] ClassDiffusion: Official impl. of Paper "ClassDiffusion: More Aligned Personalization Tuning with Explicit Class Guidance"

451Shell, PythonMay 22, 20241 years ago

Project Page of "ClassDiffusion: More Aligned Personalization Tuning with Explicit Class Guidance"

00CSS, HTMLMay 27, 20241 years ago

Similar Papers

Cite this paper

@article{huang2026classdiffusion,
  title  = {ClassDiffusion: More Aligned Personalization Tuning with Explicit Class Guidance},
  author = {Jiannan Huang and J. Liew and Hanshu Yan and Yuyang Yin and Yao Zhao and Yunchao Wei},
  year   = {2026},
  eprint = {2405.17532},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.17532},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.17532.svg)](https://codeofpaper.com/paper/2405.17532)

Discussion