Reflection Generation for Composite Image Using Diffusion Model
Organizations: Shanghai Jiao Tong University
Abstract
Image composition involves inserting a foreground object into the background while synthesizing environment-consistent effects such as shadows and reflections. Although shadow generation has been extensively studied, reflection generation remains largely underexplored. In this work, we focus on reflection generation. We inject the prior information of reflection placement and reflection appearance into foundation diffusion model. We also divide reflections into two types and adopt type-aware model design. To support training, we construct the first large-scale object reflection dataset DEROBA. Experiments demonstrate that our method generates reflections that are physically coherent and visually realistic, establishing a new benchmark for reflection generation.
Figures & tables
| Method | GR | LR | GS | LS |
|---|---|---|---|---|
| SD-ControlNet [ 5 ] | 15.726 | 57.110 | 0.903 | 0.103 |
| FLUX-ControlNet [ 6 ] | 15.451 | 57.882 | 0.898 | 0.115 |
| ICEdit [ 7 ] | 19.464 | 59.643 | 0.862 | 0.095 |
| FLUX-Kontext [ 8 ] | 13.839 | 55.231 | 0.913 | 0.134 |
| Qwen-Edit [ 9 ] | 12.390 | 54.797 | 0.916 | 0.129 |
| Ours | 11.522 | 53.430 | 0.923 | 0.144 |
| Row | Base | Box | Features | Type | GR | LR | GS | LS |
|---|---|---|---|---|---|---|---|---|
| 1 | + | - | - | - | 15.726 | 57.110 | 0.903 | 0.103 |
| 2 | + | + | - | - | 13.917 | 54.873 | 0.904 | 0.131 |
| 3 | + | - | + | - | 12.275 | 55.354 | 0.915 | 0.127 |
| 4 | + | + | + | - | 11.739 | 53.922 | 0.918 | 0.139 |
| 5 | + | + | + | + | 11.522 | 53.430 | 0.923 | 0.144 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric | Training set | Test set |
|---|---|---|
| Acc | 0.962 | 0.945 |
| Metric | Training set | Test set | Upper |
|---|---|---|---|
| KFIoU | 0.263 | 0.246 | 0.333 |
| Method | Param | Inference Time |
|---|---|---|
| Qwen-Edit [ 9 ] | 20B | 20s |
| FLUX-Kontext [ 8 ] | 12B | 13s |
| Ours | 1.3B | 2.8s |
Compositional Image Generation
Compositional image generation studies how to combine objects, attributes, spatial relations, and visual references into coherent, controllable images.
See all 85 papers