Generate E-commerce Product Background by Integrating Category Commonality and Personalized Style

Haohan Wang, Wei Feng, Yaoyu Li, Zheng Zhang, Jingjing Lv +3 more
12/20/2023
cs.CVcs.AI

Official code: Whileherham/BG60k (2 stars, last commit 2025-02-25).

Abstract

The state-of-the-art methods for e-commerce product background generation suffer from the inefficiency of designing product-wise prompts when scaling up the production, as well as the ineffectiveness of describing fine-grained styles when customizing personalized backgrounds for some specific brands. To address these obstacles, we integrate the category commonality and personalized style into diffusion models. Concretely, we propose a Category-Wise Generator to enable large-scale background generation with only one model for the first time. A unique identifier in the prompt is assigned to each category, whose attention is located on the background by a mask-guided cross attention layer to learn the category-wise style. Furthermore, for products with specific and fine-grained requirements in layout, elements, etc, a Personality-Wise Generator is devised to learn such personalized style directly from a reference image to resolve textual ambiguities, and is trained in a self-supervised manner for more efficient training data usage. To advance research in this field, the first large-scale e-commerce product background generation dataset BG60k is constructed, which covers more than 60k product images from over 2k categories. Experiments demonstrate that our method could generate high-quality backgrounds for different categories, and maintain the personalized background style of reference images. BG60k will be available at \url{https://github.com/Whileherham/BG60k}.

View on arXivView PDF

Code Implementations(1)

Whileherham/BG60kOfficial100%
201 years ago

Similar Papers

Cite this paper

@article{wang2023generate,
  title  = {Generate E-commerce Product Background by Integrating Category Commonality and Personalized Style},
  author = {Haohan Wang and Wei Feng and Yaoyu Li and Zheng Zhang and Jingjing Lv and Junjie Shen and Zhangang Lin and Jingping Shao},
  year   = {2023},
  eprint = {2312.13309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.13309v2}
}

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

Discussion