CommerceGen-Studio: An End-to-End Framework for Commercial-Grade Main-Image Generation

Xiaoli Xu, Zhengtao Wu, Zhengze Xu, Tao Liu, Yongchao Du, Zuan Gao, Xingjian Wang, Hao Yan, Mengting Chen, Wei Li, Bo ZhengarXiv 2026

TL;DR

CommerceGen-Studio is an end-to-end framework designed by Alibaba Group to generate commercial-grade main images for e-commerce products (SKUs) at a massive scale. By combining an iterative metadata-to-selling-point agent (PERL-Agent), a layout-aware rewriter (Layout Thinker), and a multi-condition Diffusion Transformer (SKU-DiT), the system produces high-fidelity images that maintain strict consistency with product features and trademarks in just a few seconds.

What Problem Does This Paper Address?

In e-commerce, shoppers rely heavily on product images and titles. While search engines are moving toward specific Stock Keeping Unit (SKU) granularity, merchants often lack high-quality, category-specific assets for every variant, often falling back on plain white-background photos that suffer from low click-through rates.

Existing text-to-image (T2I) and image-to-image (I2I) models struggle with four specific commercial requirements:

  1. Heterogeneous Metadata: SKU information is scattered across titles, OCR results, and structured attributes, which are often conflicting or incomplete.
  2. Information Consistency: Subjects, trademarks, and text must match the source metadata exactly to avoid misleading customers.
  3. Long-tail Robustness: The system must handle diverse product categories and varying merchant image qualities.
  4. Multi-condition Control: The product, trademark, and selling points must be coordinated within a coherent, professional layout.

Methods

The authors propose a three-stage pipeline to bridge the gap between raw metadata and a final, polished advertisement.

Overall framework of CommerceGen-Studio

1. PERL-Agent (Information Extraction)

The Prompt-Eval-Refine-Loop Agent uses a closed loop of VLM and LLM roles (Generator, Judge, Analyzer, and Refiner). It distills messy SKU metadata into a concise list of selling points. A six-dimensional reference-free rubric scores the output, and the agent iteratively refines the prompt to address specific failure dimensions (e.g., "Source Compliance" or "Business Value").

2. Layout Thinker Optimization (LTO)

To prevent the generator from "inventing" unstable layouts, the authors insert a Layout Thinker layer. This VLM takes the selling points and product images to emit an explicit layout caption (defining position, hierarchy, and style). It is trained using Group-Relative Policy Optimization (GRPO), alternating between scoring the text quality and the final rendered image quality to ensure the layout is both semantically sound and visually appealing.

3. SKU-DiT and RDR Training

The core generator is a Diffusion Transformer (SKU-DiT) conditioned on the product image, trademark crop, and layout. It uses a novel Reinforce-Distill-Reinforce (RDR) training strategy:

  • Phase I (Reinforce): Aligns the model with human preferences using a VLM-based judge and OCR penalties.
  • Phase II (Distill): Uses Dynamic Backward Simulation Distillation to compress sampling to 8 steps, reducing latency to ~5 seconds.
  • Phase III (Reinforce): A second round of RL on the "few-step" student model to recover the fine details (like font strokes) often lost during distillation.

Datasets

The framework was trained on a massive SKU-vertical domain corpus:

  • Pre-training: ~4M product-domain T2I samples, 2.67M single-image I2I pairs, and 274K multi-image I2I pairs.
  • CommerceGen-Bench: A new benchmark of 400 "hard cases" collected from live traffic, featuring thin/transparent structures, small trademarks, and long-text selling points.
Distribution of CommerceGen-Bench categories

Key Insights and Ideas

  • Explicit Layout is Key: Moving from implicit generation to an explicit "Layout Thinker" layer significantly stabilized composition across diverse product categories.
  • The "Seesaw" Effect: Multi-task training often causes a "seesaw" where improving one metric (like aesthetics) degrades another (like text accuracy). The authors used a geometric mean in their reward function to penalize imbalanced quality, forcing the model to be a "good all-rounder."
  • Post-Distillation RL: Distillation usually shifts the data distribution and blurs high-frequency details. Running a second round of RL after distillation proved essential for maintaining commercial-grade text fidelity.
  • Reference-Free Rubrics: By using VLMs as judges with specific rubrics rather than relying on ground-truth images (which are rare for new SKUs), the system can optimize for "what makes a good ad" rather than just "reconstructing a pixel."

Key Results

CommerceGen-Studio currently operates in production, generating millions of images per day with a latency of just a few seconds.

On the CommerceGen-Bench, the framework achieved:

  • An overall score of 9.44/10, significantly outperforming open-source baselines like Qwen-Image-2.1 (7.29) and FLUX.2 (5.56).
  • It matched or beat much larger closed-source models (like GPT-Image-2.5) in Instruction Following and Product Integration, the two most critical metrics for publishable commercial assets.
Qualitative comparison of generated images

Limitations and Future Work

  • Rubric Dependency: The reward signals are defined by human-written rubrics. The authors suggest that incorporating real-time user behavior (like click-through rates) could help the model learn aesthetic preferences that are hard to articulate.
  • Personalization: Currently, the system generates one "canonical" high-quality image per SKU. Future work could involve conditioning the generation on specific audience segments or seasonal styles.

Summary updated

BibTeX
@misc{xu2026commercegen,
  author = {Xiaoli Xu and Zhengtao Wu and Zhengze Xu and Tao Liu and Yongchao Du and Zuan Gao and Xingjian Wang and Hao Yan and Mengting Chen and Wei Li and Bo Zheng},
  title = {{CommerceGen-Studio: An End-to-End Framework for Commercial-Grade Main-Image Generation}},
  year = {2026},
  eprint = {2610.20603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.20603},
}
Figure