POCI-Diff: 3D-Layout Guided Diffusion for Controllable Synthetic Surveillance Data Generation

Andrea Rigo, Luca Stornaiuolo, Weijie Wang, Mauro Martino, Bruno Lepri, Nicu SebearXiv 2026

TL;DR

POCI-Diff is a novel text-to-image framework that generates highly controllable, privacy-compliant synthetic surveillance data directly from 3D bounding-box layouts. By combining parallel diffusion paths with a warping-free editing pipeline, it synthesizes and manipulates complex multi-object scenes in a single forward pass while preserving object identities across transformations.

What Problem Does This Paper Address?

Training robust computer vision models for visual surveillance—such as multi-object tracking, re-identification, and anomaly detection—requires massive datasets with precise spatial annotations. However, collecting real-world footage is plagued by high costs, strict privacy regulations, and legal hurdles.

Synthetic data generation is a promising alternative, but current text-to-image (T2I) diffusion models fall short. They lack fine-grained 3D control over object placement, leading to geometric inconsistencies across different camera viewpoints. Existing layout-guided methods either apply a single prompt globally (lacking per-object control) or rely on clunky, iterative "copy-warp-paste" strategies. These traditional editing strategies physically distort object geometry and create blending artifacts when objects are moved or scaled within a scene.

Methods

POCI-Diff (Positioning Objects Consistently and Interactively) introduces a unified, one-shot framework to solve these issues:

  • 3D Layout Control: The authors fine-tune a depth-conditioned ControlNet on depth maps rendered from 3D bounding boxes, allowing the model to treat these boxes as volumetric priors and suppress geometric distortions.
  • Per-Object Semantic Binding: To avoid the limitations of global text prompts, POCI-Diff integrates Blended Latent Diffusion (BLD). It runs parallel, independent diffusion paths for each object mask and the background, seamlessly merging the latents at each denoising step. This enables complex multi-object generation in a single forward pass.
  • Warping-Free Editing: Instead of physically warping pixels to move an object, POCI-Diff uses a regeneration approach. It inpaints the original object's location with the background prompt and generates the object anew at its target 3D location.
  • Identity Preservation: To keep the object looking the same after an edit, they condition the generation on a reference crop using an IP-Adapter via a two-stage generation process.
Fig. 2: Overview of our proposed pipeline. POCI-Diff enables one-shot 3D layout–guided scene generation and warping-free object translation, preserving object identity while maintaining global scene harmonization.

Datasets

Because no official dataset existed for this specific 3D layout task, the authors curated their own fine-tuning dataset. They took a dataset of over 22,000 high-quality images generated by Flux.1, which included text prompts, depth maps, and 2D bounding boxes. They then "lifted" these 2D boxes into 3D by calculating average depths and optimizing per-scene camera poses to obtain paired 3D layout depth maps.

For evaluation, they utilized the standard benchmarks established by Build-a-Scene (BAS), consisting of two 100-scene benchmarks evaluating layout control and consistency under layout changes.

Key Insights and Ideas

  • Parallel Over Sequential: Generating all objects simultaneously via parallel diffusion paths is not only faster but prevents the error accumulation typical of sequential insertion methods.
  • Regeneration Beats Warping: Pixels don't need to be dragged and stretched across the screen. By leveraging the generative power of diffusion models to re-render an object at a new 3D coordinate, geometric distortions disappear entirely.
  • Two-Stage Conditioning is Key: Direct application of image prompts via IP-Adapter often fails to maintain exact object identity during edits. Generating a stable reference image first provides a consistent guiding signal for all subsequent interactive manipulations.

Key Results

  • Layout Adherence: POCI-Diff achieved an Object Accuracy (OA) of 78.3%, outperforming the baseline Build-a-Scene (BAS) by a substantial margin of 24.8%.
  • Text-Image Alignment: It surpassed all competing methods on the $\text{CLIP}_{T2I}$ metric (0.333), showing superior fidelity to text prompts.
  • Efficiency: POCI-Diff scales incredibly well. For an 8-object scene, its inference time was just 8.15 seconds compared to BAS's 41.3 seconds, while consuming less peak GPU memory (5.5 GB vs 7.19 GB).
  • User Preference: In a 50-participant user study, POCI-Diff's outputs were preferred in 76.83% of cases due to superior scene harmonization and visual quality.
Fig. 3: Qualitative comparison on the 3D layout control task.

Limitations and Future Work

The primary limitation is potential domain shift. Since the ControlNet was trained on synthetic Flux.1 data, its performance on real-world distributions can vary.

Interestingly, the authors tried fine-tuning on the real-world MS-COCO dataset, but it led to reduced perceptual image quality due to discrepancies in depth quality, noise, and scene composition between real and synthetic data. The authors note that simply throwing real data at the model doesn't automatically guarantee robustness, making the mitigation of real-to-synthetic domain shift a crucial direction for future research.

Summary updated

BibTeX
@misc{rigo2026poci,
  author = {Andrea Rigo and Luca Stornaiuolo and Weijie Wang and Mauro Martino and Bruno Lepri and Nicu Sebe},
  title = {{POCI-Diff: 3D-Layout Guided Diffusion for Controllable Synthetic Surveillance Data Generation}},
  year = {2026},
  eprint = {2601.14056},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.14056},
}
Figure