Prune to Expand: Training Prompt Enhancers with Less to Imitate
Organizations: City University of Hong Kong · The Chinese University of Hong Kong (Shenzhen)
Abstract
Prompt enhancement (PE) refines concise user prompts into detailed descriptions to improve the compositional aesthetics of generated images while preserving user intent. A common practice constructs supervised fine-tuning (SFT) pairs by deriving short, user-like prompts from dense captions, implicitly assuming that captions that improve image generation also provide effective supervision. In this paper, however, we uncover a counterintuitive finding: PE models trained on caption pairs with substantial generation gains perform comparably to those trained on pairs with only marginal gains. We argue that dense captions can impose redundant supervision by requiring PE models to reproduce image-specific details weakly related to user intent. Motivated by this discrepancy, we introduce Prune to Expand (P2E), a simple text-only method that refines dense-caption supervision by selectively removing redundant sentences under a per-example deletion bound while preserving explicit user requirements and informative visual structure. Extensive experiments under identical training configurations demonstrate that P2E improves alignment with human preferences and visual quality over conventional dense-caption SFT across diverse image categories and visual generators.
Figures & tables
| Method | Preference | Visual Quality | ||||||
|---|---|---|---|---|---|---|---|---|
| HPS v2 | PicS | MIQA | VQ-R1 | |||||
| Training set (direct generation) | ||||||||
| Marginal-gain subset ( ) | ||||||||
| Short prompt | 29.58 | 22.50 | 0.630 | 4.005 | ||||
| Dense caption | 29.71 | (+0.13) | 22.45 | (-0.05) | 0.658 | (+0.028) | 4.010 | (+0.005) |
| High-gain subset ( ) | ||||||||
| Method | Preference | Visual Quality | ||
|---|---|---|---|---|
| HPS v2 | PicS | MIQA | VQ-R1 | |
| Baseline (high-gain PE) | 27.27 | 22.81 | 0.575 | 4.050 |
| + LLM-only pruning | 26.46 | 22.53 | 0.570 | 4.015 |
| + Visual-guarded pruning | 27.59 | 22.77 | 0.574 | 4.035 |
| Method | Landscape | Design | Portrait | General | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Preference | Visual Quality | Preference | Visual Quality | Preference | Visual Quality | Preference | Visual Quality | |||||||||
| HPS v2 | PicS | MIQA | VQ-R1 | HPS v2 | PicS | MIQA | VQ-R1 | HPS v2 | PicS | MIQA | VQ-R1 | HPS v2 | PicS | MIQA | VQ-R1 | |
| Qwen-Image-2.1-Turbo | ||||||||||||||||
| w/o PE | 24.47 | 22.75 | 0.636 | 4.005 | 25.97 | 22.29 | 0.613 | 4.000 | 30.14 | 23.25 | 0.553 | 4.000 | 26.81 | 22.69 | 0.572 | 4.010 |
| Raw PE | 24.72 | 22.89 | 0.631 | 3.990 | 26.31 | 22.40 | 0.604 | 3.990 | 30.05 | 23.86 | 0.551 | 4.005 | 26.82 | 22.81 | 0.571 | 4.005 |
| SFT (Unpruned) | 24.70 | 22.86 | 0.639 | 4.005 | 26.49 | 22.50 | 0.620 | 4.000 | 30.24 | 23.45 | 0.563 | 4.000 | 26.98 | 22.80 | 0.579 | 4.020 |
| # of Candidates | Removal Interval (%) | Preference | Visual Quality | ||
|---|---|---|---|---|---|
| HPS v2 | PicS | MIQA | VQ-R1 | ||
| 20 | 27.26 | 22.97 | 0.604 | 4.011 | |
| 10 | 27.14 | 22.90 | 0.606 | 4.003 | |
| 5 | 27.33 | 22.96 | 0.603 | 4.006 | |
| Deletion Bound | Preference | Visual Quality | ||
|---|---|---|---|---|
| HPS v2 | PicS | MIQA | VQ-R1 | |
| Baseline ( ) | 27.10 | 22.90 | 0.600 | 4.006 |
| 27.25 | 22.84 | 0.601 | 3.995 | |
| 27.33 | 22.96 | 0.603 | 4.006 | |
| 26.98 | 22.56 | 0.598 | 3.993 | |
| Method | Overall | Single Obj. | Two Obj. | Count. | Colors | Pos. | Color Attr. |
|---|---|---|---|---|---|---|---|
| w/o PE | 43.30 | 83.75 | 43.43 | 42.19 | 61.70 | 9.50 | 19.25 |
| SFT (P2E, Ours) | 74.23 | 98.12 | 85.10 | 71.56 | 81.12 | 55.25 | 54.25 |
| Method | Avg | Global | Entity | Attribute | Relation | Other |
|---|---|---|---|---|---|---|
| w/o PE | 82.77 | 80.55 | 89.39 | 88.47 | 93.41 | 85.60 |
| SFT (P2E, Ours) | 84.97 | 83.28 | 91.53 | 90.80 | 94.41 | 88.00 |
Prompt Optimization for T2I Generation
Prompt optimization for text-to-image generation improves how natural-language instructions control image content, style, composition, and quality.
See all 39 papers