arXiv:2610.33472cs.CVOct 2026

Manuscript Offprint

arXiv:2610.33472

Qwen-Image-PE: Learning Visual Design for Text-to-Image Prompt Enhancement

Zekai Zhang, Yanran Zhang, Shengming Yin, Yan Shu, Zhening Liu, Bingxuan Zhao, Chenyang Zhu, Donghao Zhou, Jiahao Li, Jiahao Wang, Jie Zhang, Kaiyuan Gao, Kun Yan, Lihan Jiang, Ningyuan Tang, Qihang Ai, Rui Song, Shuo Cao, Xiao Xu, Xiaoyue Chen, Yuxiang Chen, Zhendong Wang, Zhouyang Li, Zihao Liu, Zikai Zhou, Bo Zheng, Huishuai Zhang, Dongyan Zhao, Chenfei Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zekai Zhang, Yanran Zhang, Shengming Yin, Yan Shu, Zhening Liu, Bingxuan Zhao, Chenyang Zhu, Donghao Zhou, Jiahao Li, Jiahao Wang, Jie Zhang, Kaiyuan Gao, Kun Yan, Lihan Jiang, Ningyuan Tang, Qihang Ai, Rui Song, Shuo Cao, Xiao Xu, Xiaoyue Chen, Yuxiang Chen, Zhendong Wang, Zhouyang Li, Zihao Liu, Zikai Zhou, Bo Zheng, Huishuai Zhang, Dongyan Zhao, Chenfei Wu ∗^{*}

Abstract

Learning visual design is essential for prompt enhancement (PE) to turn underspecified user requests into coherent visual specifications for text-to-image (T2I) generation. Existing methods preserve user intent and improve overall visual appeal, with less explicit emphasis on fine-grained design dimensions. To address this gap, we introduce Qwen-Image-PE, which learns visual design through two-stage training. Supervised fine-tuning with Caption-Based Reverse Distillation (CRD) uses dense captions of well-designed images as design supervision. Reinforcement learning with Groupwise Design Reward (GDR) jointly compares all candidate images for the same request to refine lighting, composition, layout, and detail. On Qwen-Image-Bench with Qwen-Image-2.1, Qwen-Image-PE-397B improves over original requests by 7.81 points, while Qwen-Image-PE-9B outperforms all evaluated PE baselines. Further evaluations show gains in visual design, aesthetics, image quality, and human preference. We find that PE scales along three axes: training data, model size, and information density, with sufficient information density as a prerequisite for effective enhancement. Moreover, we demonstrate that Qwen-Image-PE generalizes to four additional T2I backbones, even surpassing native prompt enhancers on HunyuanImage-2.1 and FLUX 3 Image Klein. We release Qwen-Image-PE-9B at https://huggingface.co/Qwen/Qwen-Image-2.1-PE-T2I.

Figure

The grammar of a film credit roll

The grammar of a film credit roll

REUSABLE CUP

RETURN PROGIAM

REUSABLE CUP

RETURN PROGRAM

SMALL DEPOSIT BIG IMPACT

Community meeting

crowd flow

Community meeting

crowd flow

Figure 1: Qwen-Image-PE improves visual design. Within each pair, Qwen-Image-2.1 outputs from enhanced prompts (right) show more expressive lighting, more cohesive compositions, clearer layouts, and richer details than those from original requests (left).

∗^{*}Corresponding author.

1 Introduction

Modern text-to-image (T2I) models can follow increasingly detailed visual specifications, offering control over lighting, composition, layout, and fine-grained detail (Wu et al., 2025b; Zhao et al., 2026; Black Forest Labs, 2026). However, user requests are often brief and leave many of these choices unspecified (Zhang et al., 2026). Prompt enhancement (PE) bridges this gap by expanding user requests into detailed prompts. The visual choices introduced during enhancement shape how the requested content is presented, making visual design an important capability for prompt enhancers.

Existing prompt enhancement methods pursue semantic alignment by preserving and clarifying user intent (Wang et al., 2025; Boogu Team, 2026; ERNIE Team, Baidu, 2026; Black Forest Labs, 2026). Beyond semantic correctness, other approaches improve visual appeal through aesthetic or preference optimization (Hao et al., 2022; Cao et al., 2023; Tang et al., 2026; Chen et al., 2025). However, these approaches primarily optimize overall visual appeal, with less explicit emphasis on individual design dimensions. We therefore study how PE can explicitly learn and refine fine-grained design dimensions, including lighting, composition, layout, and detail. The challenge is how to translate fine-grained visual design into effective supervision targets and optimization feedback.

Our key insight is that: (1) Well-designed images demonstrate how design choices work together. Dense captions make these choices explicit, providing concrete supervision for PE to learn visual design. (2) Jointly comparing all candidate images for the same request provides a common basis for calibrating design scores. This groupwise comparison helps distinguish their relative quality, providing more informative feedback.

Guided by these insights, we introduce Qwen-Image-PE, which learns visual design through a two-stage training paradigm. First, supervised fine-tuning via Caption-Based Reverse Distillation (CRD) enables PE to imitate the design choices in well-designed images. We construct request-image pairs, select images for design quality and request consistency, and densely caption their visual content and design choices to obtain enhanced-prompt targets. These captions, together with synthesized design rationales, provide supervision for learning visual design. Second, reinforcement learning with Groupwise Design Reward (GDR) refines the enhancer through visual comparison. For each request, we generate images from a group of sampled enhanced prompts and arrange the images into a grid. A multimodal judge jointly scores the candidates under explicit design rubrics, conditioning each candidate's scores on the full group. We combine these design scores with an alignment reward to optimize the enhancer while keeping the T2I backbone frozen.

We evaluate Qwen-Image-PE on Qwen-Image-Bench (Li et al., 2026) for overall generation performance, complemented by assessments of visual design, aesthetics, image quality, and human preference. On Qwen-Image-Bench with a common Qwen-Image-2.1 backbone, Qwen-Image-PE-397B improves the Overall score over original requests by 7.81 points, while Qwen-Image-PE-9B outperforms all evaluated prompt enhancement baselines in Overall. Complementary evaluations show gains in visual design, aesthetics, image quality, and human preference.

We further study the scaling properties and generalization behavior of PE, with four main findings. (1) PE scales with training data, model size, and information density. (2) Sufficient information density is a prerequisite for effective enhancement. (3) Both PE variants outperform original requests on four additional T2I backbones without access to their training captions. (4) On HunyuanImage-2.1 and FLUX 3 Image Klein, both variants outperform native prompt enhancers, suggesting that PE learns transferable visual design principles rather than generator-specific caption patterns.

Our contributions are summarized as follows:

• Training paradigm of PE. We propose a two-stage training paradigm for learning visual design. First, supervised fine-tuning via Caption-Based Reverse Distillation (CRD) enables PE to imitate the design choices in well-designed images. Second, reinforcement learning with Groupwise Design Reward (GDR) refines fine-grained design dimensions, including lighting, composition, layout, and detail, through groupwise visual comparison.

• Scaling properties of PE. We discover that PE performance scales along three axes: training data, model size, and information density. Our experiments suggest that sufficient information density is a prerequisite for effective prompt enhancement in the evaluated setting.

• Generalization behavior of PE. We demonstrate transfer across four T2I backbones without access to their training captions, with higher Overall scores than native prompt enhancers on HunyuanImage-2.1 and FLUX 3 Image Klein. This suggests that PE learns transferable visual design principles rather than generator-specific caption patterns.

(a) SFT with Caption-Based Reverse Distillation (CRD)

1 Constructing image-grounded design targets

Request-to-Image

User Request

A product photo of a can of "Peach Bloom" peach sparkling water. 1:1.

Render & Select

Figure

Image-to-Request

Figure

Short caption

A chilled "Peach Bloom" can on marble, with peaches, leaves and blossoms against a soft pastel background.

User Request

Degradation

A product photo of a can of "Peach Bloom" peach sparkling water. 1:1.

2 Learning to Design with CoT

Figure

Image

Captioner

Dense Caption

A square-format commercial product photograph shows a chilled peach-flavored sparkling water can centered on a pale marble surface. The can occupies most of the frame vertically and is photographed straight-on at close range, with a shallow depth of field and soft, warm daylight. Its metallic silver rim and base are visible, while the body is wrapped in a matte peach ...

User Request

A product photo of a can of "Peach Bloom" peach sparkling water. 1:1.

LLM

Design Rationale

I first separate what is fixed from what is open: the request is in English and asks for a product photograph. It fixes a can, peach sparkling water, the brand text "Peach Bloom", and a square 1:1 aspect ratio ...

SFT training example

User Request

Design Rationale

Dense Caption

SFT

Prompt Enhancer

(b) RL with Groupwise Design Reward (GDR)

1 Design-related prompt construction

Mined SFT failures

Synthetic requests

RL prompt pool

Lighting

Composition

Layout

Detail

Sample

User Request

A product photo of a can of "Peach Bloom" peach sparkling water. 1:1.

2 Learning with Groupwise Design Reward

User Request

Prompt Enhancer

G rollouts

Enhanced Prompts

T2I

Generator

G candidate images

Organize G candidates into grid.

Figure

Lighting rubric (example)

• Direction: Shadows and highlights share a coherent light direction.

• Reflections: Highlights follow light direction across different materials.

Shadows: Softness and length fit the light source and scene.

Tone and falloff: Color temperature, falloff and sheen appear natural.

Reward Grid

0.30 1.00 0.60 0.90

0.70 0.70 0.60 0.90

0.10 0.50 0.50 0.90

0.20 0.60 0.80 0.80

Shuffle K times

Pass 1

12 3 14 10

15 9 4 8

13 7 1 2

5 6 16 11

Pass 2

16 6 12 4

10 11 9 13

5 2 15 8

1 7 14 3

Pass K

7 13 1 16

3 10 5 12

8 2 14 4

11 6 9 15

average

K passes

Final Reward

0.50 0.80 0.80 0.55

0.60 0.75 0.40 0.85

0.80 0.75 0.80 0.50

0.10 0.50 0.55 0.50

Update with GRPO

Figure 2: Overview of Qwen-Image-PE. (a) Supervised fine-tuning with Caption-Based Reverse Distillation (CRD) trains the enhancer to imitate design choices described in dense captions of well-designed images. (b) Reinforcement learning with Groupwise Design Reward (GDR) refines lighting, composition, layout, and detail by jointly scoring images for the same request, using the full rollout group.

References (22)