atlas

Research map / Image generation / Autoregressive and latent generation

Shadow Generation Using Diffusion Model with Geometry Prior

CVPR 2025 · Image generation › Autoregressive and latent generation · approach: Compositional scene generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GPSDiffusion, a ControlNet-based shadow generation model that injects predicted rotated shadow bounding boxes and retrieved prototypical shadow shape embeddings as geometry priors to improve shadow placement and shape.

Problem

Diffusion-based shadow generation for inserted foreground objects produces realistic shadow appearance but poor shadow geometry (location, scale, shape) in complex cases.

Approach

A multi-task geometry encoder predicts a rotated bounding box regression for the foreground shadow and retrieves top-K matched shadow shapes via clustered autoencoder prototypes; the box is appended as a binary mask to the ControlNet encoder input and shape embeddings are injected through added cross-attention layers in the U-Net.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the rotated bounding-box prior (ablation)GPSDiffusion · DESOBAv2 BOS Test ImagesGlobal RMSE (GR): 7.567 -> 6.331Helped
replace the rotated bounding box with a non-rotated bounding box (ablation)GPSDiffusion · DESOBAv2 BOS Test ImagesGlobal RMSE (GR): 6.331 -> 7.100Hurt
add matched shadow-shape embeddings (ablation)GPSDiffusion · DESOBAv2 BOS Test ImagesGlobal RMSE (GR): 7.567 -> 6.363Helped
add bounding-box and shape priors (ablation)ControlNet base · DESOBAv2 BOS Test ImagesGlobal RMSE (GR): 7.567 -> 5.896Helped
use GPSDiffusion instead of SGDiffusionDESOBAv2 BOS Test Images · DESOBAv2 BOS Test ImagesGlobal RMSE (GR): 6.098 -> 5.896Helped
use GPSDiffusion instead of SGDiffusionDESOBAv2 BOS Test Images · DESOBAv2 BOS Test ImagesGlobal SSIM (GS): 0.971 -> 0.966Hurt
use GPSDiffusion instead of SGDiffusionDESOBAv2 BOS-free Test Images · DESOBAv2 BOS-free Test ImagesLocal SSIM (LS): 0.117 -> 0.166Helped

Surprising findings

Limitations

Experimental setup

Datasets: DESOBAv2 DESOBA

Benchmarks: DESOBAv2 real composite images from SGRNet

Metrics: Global RMSE Local RMSE Global SSIM Local SSIM Global BER Local BER top-K accuracy KFIoU B-T score

Baselines: ShadowGAN Mask-SG AR-SG SGRNet DMASNet SGDiffusion

Builds on: ControlNet SGDiffusion DMASNet KFIoU loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy