Compositional Reward Models for Conditional Medical Image Generation
Organizations: Yardi School of Artificial Intelligence India Institute Of Technology, Delhi · Department of Electrical Communication Engineering Indian Institute of Science, Bengaluru · Department of Computer Science and Engineering Indian Institute of Technology, Delhi
Abstract
Acquiring high quality annotated medical image data is critical for training deep learning models; however, annotation is expensive, time consuming, and requires domain expertise. Conditional diffusion models, such as ControlNet, offer an alternative by generating images conditioned on semantic masks and text. However, existing approaches fail to capture fine grained properties (e.g., intensity and texture), as well as semantic consistency expected by domain experts, limiting their effectiveness for downstream tasks. Recent attempts to address these issues using reinforcement learning fine-tuning remain limited due to the reliance on a single scalar reward, which conflates diverse failure modes and provides weak corrective signals. We propose PRISM, a Compositional Reward Model (CRM) framework for conditional medical image generation. Instead of assigning a single reward, we decompose image quality into verifier grounded stages, each evaluating a distinct aspect of correctness from fine to coarse properties, including low level attributes (intensity and texture), structural alignment with conditioning inputs, and high level semantic fidelity. These stage wise rewards are composed through a Hierarchical Constrained Propagation (HCP) mechanism that enforces a fine to coarse notion of correctness, ensuring that lower level deficiencies are resolved before higher level rewards are accrued, preventing easier objectives from masking critical failures. We evaluate PRISM across three datasets spanning diverse medical imaging tasks: PanNuke (multi-class cell segmentation), CeDeM (villi/crypt detection and measurement), and ISIC (skin lesion classification). Training downstream models with data generated by PRISM yields improvements over closest baselines, including a 2.3% increase in mDice on PanNuke, a 8.5% reduction in Mean Relative Error (MRE) on CeDeM, and increases ISIC F1 by 5.9%.
Figures & tables
| CeDeM (MeasureNet) | PanNuke (SegFormer-B3) | ISIC (ResNet-50) | |||||
| Method | Reward | MAE | MRE | mIoU | mDice | Acc. | F1 |
| SFT (Original only) | – | 52.06 | 24.77 | 56.36 | 40.94 | 53.43 | 44.84 |
| Generated (SFT) | – | 47.69 | 22.15 | 58.26 | 42.24 | 55.82 | 47.30 |
| Best-of-N | Inference | 45.71 | 21.83 | 58.61 | 43.09 | 56.00 | 46.85 |
| GDPO Liu et al. (2026) | ORM | 41.95 | 18.85 | 58.88 | 43.27 | 63.00 | 45.50 |
| GDPO Liu et al. (2026) | SUM | 45.33 | 21.41 | 60.50 | 44.75 | 59.80 | 43.80 |
| Villi | Crypt | Ratio | ||||||
|---|---|---|---|---|---|---|---|---|
| MAE | MRE | MAE | MRE | MAE | MRE | |||
| ✓ | 11.39 | 10.98 | 7.02 | 15.67 | 41.95 | 18.85 | ||
| ✓ | 11.51 | 10.70 | 7.64 | 18.03 | 48.46 | 22.22 | ||
| ✓ | 10.02 | 10.54 | 7.76 | 19.84 | 46.00 | 20.72 | ||
| ✓ | ✓ | 9.31 | 9.70 | 7.39 | 17.67 | 41.87 | 18.78 | |
| ✓ | ✓ | ✓ | 10.01 | 9.68 | 6.64 | 14.43 | 39.58 | 17.24 |
| CeDeM | PanNuke | ISIC | ||||
|---|---|---|---|---|---|---|
| Order | MAE | MRE | mDice | mIoU | Acc. | F1 |
| 39.58 | 17.24 | 61.54 | 45.77 | 64.00 | 50.00 | |
| 40.49 | 18.54 | 59.87 | 44.06 | 62.76 | 46.57 | |
| 44.37 | 20.95 | 59.52 | 43.60 | 59.06 | 45.99 | |
| 41.13 | 18.71 | 59.75 | 43.71 | 64.84 | 47.38 | |
| 45.83 | 21.04 | 57.97 | 42.73 | 65.07 | 47.67 | |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| CeDeM | PanNuke | ISIC | |
| Optimizer | AdamW | AdamW | AdamW |
| Learning rate | |||
| Batch size (per GPU) | 4 | 4 | 4 |
| Group size | 32 | 32 | 32 |
| Clip ratio | 0.1 | 0.1 | 0.1 |
| Inner iters | 2 | 2 | 2 |
| Method | Reward | MAE | MRE | MAE | MRE | MAE | MRE |
|---|---|---|---|---|---|---|---|
| SFT (Original only) | – | 13.88 | 14.56 | 8.41 | 21.52 | 52.06 | 24.77 |
| Generated (SFT) | – | 11.88 | 11.74 | 7.87 | 17.84 | 47.69 | 22.15 |
| Best-of-N | Inference | 10.26 | 10.49 | 7.55 | 17.84 | 45.71 | 21.83 |
| GDPO Liu et al. [2026] | ORM (Ratio) | 11.39 | 10.98 | 7.02 | 15.67 | 41.95 | 18.85 |
| GDPO Liu et al. [2026] | SUM Liu et al. [2026] | 9.89 | 10.55 | 7.18 | 16.58 | 45.33 | 21.41 |
| GDPO Liu et al. [2026] | MaxMin | 10.76 | 10.26 | 7.35 | 16.44 | 47.07 | 21.55 |
| Method | Reward | Acc. | Prec. | Rec. | F1 |
|---|---|---|---|---|---|
| SFT (Original only) | – | 53.43 | 49.91 | 50.55 | 44.84 |
| Generated (SFT) | – | 55.82 | 50.93 | 53.16 | 47.30 |
| Best-of-N | Inference | 56.00 | 49.11 | 52.74 | 46.85 |
| GDPO Liu et al. [2026] | ORM | 63.00 | 54.40 | 49.90 | 45.50 |
| GDPO Liu et al. [2026] | SUM Liu et al. [2026] | 59.80 | 47.20 | 46.60 | 43.80 |
| GDPO Liu et al. [2026] | MaxMin | 57.70 | 47.40 | 50.10 | 44.90 |
| Order | MAE | MRE | MAE | MRE | MAE | MRE |
|---|---|---|---|---|---|---|
| (main) | 10.01 | 9.68 | 6.64 | 14.32 | 39.58 | 17.24 |
| 10.22 | 9.83 | 6.50 | 15.59 | 40.49 | 18.54 | |
| 11.08 | 10.68 | 6.99 | 15.41 | 44.37 | 20.95 | |
| 10.27 | 10.40 | 6.88 | 15.12 | 41.13 | 18.71 | |
| 11.75 | 11.16 | 6.99 | 14.99 | 45.83 | 21.04 | |
| 10.09 | 10.13 | 6.96 | 15.93 | 44.83 | 20.14 |
| Order | mIoU | mDice |
|---|---|---|
| (main) | 45.77 | 61.54 |
| 44.06 | 59.87 | |
| 43.60 | 59.52 | |
| 43.71 | 59.75 | |
| 42.73 | 57.97 | |
| 43.38 | 58.91 |
| Order | Acc. | Prec. | Rec. | F1 |
|---|---|---|---|---|
| (main) | 64.00 | 51.60 | 53.60 | 50.00 |
| 62.76 | 46.86 | 49.40 | 46.57 | |
| 59.06 | 45.72 | 47.07 | 45.99 | |
| 64.84 | 49.27 | 48.76 | 47.38 | |
| 65.07 | 47.50 | 49.75 | 47.67 | |
| 64.07 | 46.42 | 45.54 | 45.16 |
Medical Image Synthesis
Medical image synthesis creates, translates, reconstructs, and edits clinical images to fill missing data and support analysis.
See all 312 papers