atlas

Research map / Image generation / Autoregressive and latent generation

SmartMask: Context Aware High-Fidelity Mask Generation for Fine-grained Object Insertion and Layout Control

CVPR 2024 · Image generation › Autoregressive and latent generation · approach: Compositional scene generation · 8 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 SmartMask, a context-aware latent diffusion model that predicts fine-grained object masks from semantic layouts (trained on a new amodal segmentation dataset), enabling mask-free object insertion, controllable mask generation, and iterative layout design with an LLaVA-based planner.

Problem

Object insertion and inpainting rely on coarse bounding boxes or scribbles, which hurt background preservation and make high-fidelity masks hard for novice users; generating fine-grained semantic layouts from scratch is also difficult.

Approach

Model object insertion in semantic space: train a diffusion model (initialized from Stable Diffusion v1.5) to predict the next amodal instance mask given an ordered intermediate semantic layout, scene caption, and object label, using large-scale amodal segmentation data; adapt it to user guidance by blending guidance masks into the layout input, and plan multi-object layouts with an instruction-tu

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SmartMask-generated fine-grained masks instead of coarse-mask inpaintingSmartMask with ControlNet-Inpaint · Image inpaintingNorm. L2-BG: 0.304 -> 0.098Helped
Use SmartMask-generated fine-grained masks instead of coarse-mask inpaintingSmartMask with ControlNet-Inpaint · Image inpaintingCLIP-Score: 0.262 -> 0.261No clear effect
Use SmartMask-generated fine-grained masks instead of coarse-mask inpaintingSmartMask with ControlNet-Inpaint · Image inpaintingLocal-FID: 17.94 -> 19.21Hurt
Use SmartMask mask suggestions instead of SD Inpaint + HQSAMSmartMask · Generated mask qualityWin: 92.04%No clear effect
Use SmartMask mask suggestions instead of Blended L-Diff + HQSAMSmartMask · Generated mask qualityWin: 88.91%No clear effect
Use SmartMask mask suggestions instead of SmartBrush + HQSAMSmartMask · Generated mask qualityWin: 63.89%Helped
Use SmartMask mask suggestions instead of SmartBrush MaskSmartMask · Generated mask qualityWin: 91.67%Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO-A KINS in-house amodal segmentation dataset (32,785 images)

Benchmarks: Adobe SmartBrush object insertion evaluation (Local-FID, CLIP-Score, Norm. L2-BG)

Metrics: Local-FID CLIP-Score Norm. L2-BG user study win rate

Baselines: SD-Inpaint SDXL-Inpaint Blended Latent Diffusion Adobe SmartBrush Adobe Gen-Fill HQSAM with inpainting

Builds on: Stable Diffusion v1.5 ControlNet LLaVA SmartBrush Blended Latent Diffusion

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