Getting Space Right: Agentic Rewards for Image Generation
Organizations: Southeast University · Tencent HY · UC Merced · Tsinghua University
Abstract
Reinforcement learning (RL) is promising for spatial text-to-image generation, but existing work largely focuses on policy optimization, assuming accurate rewards and effective online rollouts. We observe in-domain gains with out-of-domain degradation, exposing two limitations: unreliable spatial rewards in open-world settings and rollouts lacking basic-to-complex progression. We propose a curriculum-guided RL framework. First, we introduce SpatialCritic, an agentic reward model equipped with a spatial perception harness that combines reusable verification guidance with specialized vision tools. We then construct spatial preference datasets through targeted counterfactual perturbations and perform agent-harness alignment to improve tool selection and evidence integration efficiently. Second, curriculum learning organizes shared foundational capabilities and their compositional dependencies in a capability graph for mastery-guided rollouts, periodic review, and targeted remediation. On SpaRW-Eval, SpatialCritic achieves 95.1% verification accuracy, outperforming 320B GLM-5.3-Flash with a 40x smaller 8B backbone and raising average baseline scores from 78.4 to 83.9 on SD3.5-Medium and 83.2 to 86.5 on BAGEL. Project page: https://xiaofeng-tan.github.io/projects/spatialcritic/
Figures & tables
| Model | Params | Obj-Attr | Obj-Exist | Count | Bg | Comp | 3D-Pose | Depth | Orient | Pos-2D | Topo | Layout | Occl | Dist | Overall |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Open-weight: reward models | |||||||||||||||
| Aesthetic predictor | 0.4B | 54.3 | 51.4 | 46.8 | 46.7 | 45.0 | 47.8 | 48.1 | 42.4 | 51.9 | 47.5 | 46.7 | 55.4 | 51.3 | 51.6 |
| CLIP | 0.4B | 72.7 | 85.8 | 84.4 | 52.0 | 66.7 | 76.5 | 52.8 | 62.0 | 50.6 | 63.3 | 66.7 | 63.1 | 59.0 | 75.3 |
| PickScore | 1.0B | 82.3 | 86.4 | 85.3 | 49.3 | 65.0 | 79.3 | 72.2 | 78.3 | 50.6 | 72.5 | 73.3 | 61.5 | 71.8 | 81.1 |
| HPSv2 | 1.0B | 84.3 | 94.0 | 90.8 | 40.0 | 55.0 | 75.4 | 67.6 | 72.8 | 46.8 | 78.3 | 76.0 | 52.3 | 79.5 | 83.1 |
| UnifiedReward | 7B | 85.7 | 91.4 | 89.9 | 61.3 | 73.3 | 87.1 | 63.9 | 71.7 | 57.0 | 84.2 | 81.3 | 66.2 | 89.7 | 85.7 |
| Selector | Attr. | Object | Comp. | Causal | Motion | Layout | Occl. | Orient. | Pos. | Prox. | Overall |
|---|---|---|---|---|---|---|---|---|---|---|---|
| SD3.5-Medium (base) | 87.89 | 94.63 | 38.62 | 80.57 | 72.68 | 72.68 | 59.35 | 65.77 | 66.59 | 68.86 | 70.76 |
| Qwen2.5-VL-7B | 88.10 | 94.40 | 38.50 | 80.60 | 72.20 | 72.50 | 59.70 | 65.30 | 65.60 | 68.50 | 70.54 |
| PickScore | 89.43 | 94.80 | 39.11 | 80.49 | 72.52 | 73.50 | 57.80 | 65.12 | 65.69 | 69.51 | 70.80 |
| ImageReward | 88.94 | 95.37 | 38.37 | 81.14 | 73.74 | 72.20 | 58.05 | 66.10 | 65.12 | 69.27 | 70.83 |
| CLIP | 89.19 | 94.80 | 40.57 | 81.14 | 72.76 | 72.85 | 59.51 | 63.90 | 65.45 | 69.59 | 70.98 |
| HPSv2 | 89.11 | 94.88 | 39.84 | 80.49 | 73.33 | 72.20 | 58.70 | 67.40 | 65.53 | 69.59 | 71.11 |
| Method | Reward | TIIF-Bench | UniGenBench++ | SpatialGenEval | Preference-model scores | Avg | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BR | AR | RR | 2D | 3D | Basic | Spatial | IR | PS | HPS | |||
| SD3.5-Medium (base) | — | 82.2 | 77.6 | 68.0 | 82.9 | 81.4 | 92.0 | 65.0 | 0.740 | 0.851 | 0.283 | 78.4 |
| w/ Flow-GRPO | GenEval | 57.8 | 53.7 | 45.4 | 43.6 | 38.7 | 75.9 | 48.1 | -1.317 | 0.727 | 0.162 | 51.9 |
| w/ DiffusionNFT | GenEval | 68.5 | 57.7 | 56.8 | 66.9 | 44.1 | 65.9 | 53.7 | -1.396 | 0.739 | 0.141 | 59.1 |
| w/ AWM | GenEval | 72.8 | 69.4 | 62.9 | 69.4 | 44.1 | 83.2 | 56.1 | -1.116 | 0.757 | 0.165 | 65.4 |
| w/ Flow-GRPO | SpatialReward | 81.3 | 80.1 | 69.6 | 76.2 | 77.3 | 92.6 | 65.0 | 0.451 | 0.823 | 0.259 | 77.4 |
T2I Generation
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.
See all 290 papers