Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization

Yuanyuan Chang, Yinghua Yao, Tao Qin, Mengmeng Wang, Ivor Tsang +1 more
5/20/2025
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Text-to-image diffusion models have emerged as powerful tools for high-quality image generation and editing. Many existing approaches rely on text prompts as editing guidance.

Show full abstract

However, these methods are constrained by the need for manual prompt crafting, which can be time-consuming, introduce irrelevant details, and significantly limit editing performance. In this work, we propose optimizing semantic embeddings guided by attribute classifiers to steer text-to-image models toward desired edits, without relying on text prompts or requiring any training or fine-tuning of the diffusion model. We utilize classifiers to learn precise semantic embeddings at the dataset level. The learned embeddings are theoretically justified as the optimal representation of attribute semantics, enabling disentangled and accurate edits. Experiments further demonstrate that our method achieves high levels of disentanglement and strong generalization across different domains of data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chang2025instructing,
  title  = {Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization},
  author = {Yuanyuan Chang and Yinghua Yao and Tao Qin and Mengmeng Wang and Ivor Tsang and Guang Dai},
  year   = {2025},
  eprint = {2505.14254},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14254v1}
}

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/2505.14254.svg)](https://codeofpaper.com/paper/2505.14254)

Discussion