HiddenObjects: Scalable Diffusion-Distilled Spatial Priors for Object Placement

1Technical University of Denmark 2University of Copenhagen 3Pioneer Center for AI

Accepted to WACV 2027

WACV 2027, January 4–8, Orlando, Florida
Spatial prior extraction by inpainting candidate boxes
(a) Spatial Prior Extraction
Spatial priors for pizza, potted plant, cake and cat
(b) Multi-class Spatial Priors

Spatial priors for object placement. (a) We score candidate bounding boxes for object insertion using a diffusion inpainting pipeline. Each location is inpainted and evaluated by three possible outcomes: (i) pizza detected, (ii) wrong object, or (iii) no object. Plausible placements contribute to the prior. (b) Aggregating predictions across many scenes and object categories produces heatmaps reflecting common compositional patterns in natural scenes.

Dataset

We construct HiddenObjects by pairing 27k background images from 126 scene categories of Places365 with 50 COCO foreground categories across 10 macro-classes (food, furniture, animal, vehicle, …). Each scene–category pair is annotated with 1,004 ranked bounding box proposals, yielding 27M placement annotations in total.

Explore the Annotations

Hover over any image to reveal its placement annotations. Green = accepted.

Loading visualization...

Method

① Inpainter

Qwen-Image + ControlNet synthesises class-consistent object insertions at each bounding box in a sliding-window grid. ControlNet conditioning enforces scene geometry and refuses physically impossible placements.

② Verifier

Grounded-SAM-2 detects whether the target object was successfully inpainted in the proposed region. Low-confidence detections, wrong categories, and object replacements are discarded.

③ Ranker

ImageReward assigns a human-preference score to each verified insertion. The ranked scores define the final spatial prior distribution over all valid locations.

Pizza spatial prior

Example spatial prior creation. Our pipeline performs an exhaustive sliding-window search on a kitchen scene for pizza insertions.

Faster Inpainting with Early Exit

After one denoising step, the conditional–unconditional noise gap flags failed insertions (81% recall). Skipping them gives a 2.4× speedup without degrading the prior.

Distribution of conditional–unconditional noise gap per denoising step Recall versus threshold and time per image
Top: noise gap for successful vs. failed insertions. Bottom: recall vs. threshold and time per image.

Image Editing Performance

We inpaint objects at each method's boxes and score the edits with ImgEdit-Judge (1–5).

65.6%
Human preference for composites guided by our priors over sparse OPA annotations
2.68 → 3.90
ImgEdit-Judge score on OPA when replacing sparse OPA annotations with our boxes

Example Edits

Image inpainting with object placement priors
Image inpainting with object placement priors on OPA and HiddenObjects backgrounds. Dashed boxes show the inpainting region: ours, OPA annotation, random. Scores are ImgEdit-Judge (1–5). Click to open at full resolution.

Slides

BibTeX

@misc{schouten2026hiddenobjects,
      title={HiddenObjects: Scalable Diffusion-Distilled Spatial Priors for Object Placement}, 
      author={Marco Schouten and Ioannis Siglidis and Serge Belongie and Dim P. Papadopoulos},
      year={2026},
      eprint={2604.10675},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2604.10675}, 
}