ColorPeel: Color Prompt Learning with Diffusion Models via Color and Shape Disentanglement

Muhammad Atif Butt, Kai Wang, Javier Vazquez-Corral, J. Weijer
7/1/2024

No official code found. Best implementation: moatifbutt/color-peel (67 stars, PyTorch, last commit 2024-10-07).

Abstract

Text-to-Image (T2I) generation has made significant advancements with the advent of diffusion models. These models exhibit remarkable abilities to produce images based on textual prompts. Current T2I models allow users to specify object colors using linguistic color names. However, these labels encompass broad color ranges, making it difficult to achieve precise color matching. To tackle this challenging task, named color prompt learning, we propose to learn specific color prompts tailored to user-selected colors. Existing T2I personalization methods tend to result in color-shape entanglement. To overcome this, we generate several basic geometric objects in the target color, allowing for color and shape disentanglement during the color prompt learning. Our method, denoted as ColorPeel, successfully assists the T2I models to peel off the novel color prompts from these colored shapes. In the experiments, we demonstrate the efficacy of ColorPeel in achieving precise color generation with T2I models. Furthermore, we generalize ColorPeel to effectively learn abstract attribute concepts, including textures, materials, etc. Our findings represent a significant step towards improving precision and versatility of T2I models, offering new opportunities for creative applications and design tasks. Our project is available at https://moatifbutt.github.io/colorpeel/.

View on arXivView PDF

Code Implementations(1)

PyTorch

we propose to generate a series of geometric shapes with target colors to disentangle (or peel off ) the target colors from the shapes. By jointly learning on multiple color-shape images, we found that the method can successfully disentangle the color and shape concepts.

677Shell, PythonJul 3, 20242 years ago
color-learningcolorsdiffusion-modelsgenerative-modelprompt-learning+4 more

Similar Papers

Cite this paper

@article{butt2024colorpeel,
  title  = {ColorPeel: Color Prompt Learning with Diffusion Models via Color and Shape Disentanglement},
  author = {Muhammad Atif Butt and Kai Wang and Javier Vazquez-Corral and J. Weijer},
  year   = {2024},
  eprint = {2407.07197},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.07197},
  journal = {ECCV 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/2407.07197.svg)](https://codeofpaper.com/paper/2407.07197)

Discussion