atlas

Research map / Image generation / Text-to-image diffusion

LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Model

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 18 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.

Stitches reference and masked target views side by side and fine-tunes only prompt embeddings (plus block-causal attention for NVS) on inpainting Stable Diffusion for reference-guided inpainting and novel view synthesis.

Problem

Reference-guided image synthesis (reference-based inpainting and single/multi-view novel view synthesis) typically requires extra image encoders, adapters, or heavy full fine-tuning of text-to-image diffusion models.

Approach

Reformulate reference-guided synthesis as contextual inpainting by placing the reference on the left and the masked target on the right of one canvas, control the model via learned task and view prompt embeddings in cross-attention, reshape features for multi-view self-attention, and use a block causal mask for autoregressive novel view generation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
stitch the reference and target spatially (ablation)LeftRefill · MegaDepth test, 1-view Ref-inpaintingPSNR: 20.489 -> 20.926Helped
add reference views, from 1 to 4 (ablation)LeftRefill · MegaDepth test, Ref-inpaintingPSNR: 20.926 -> 21.779Helped
add adaptive masking (ablation)LeftRefill · Objaverse, 1-view NVSPSNR: 21.675 -> 21.404Hurt
fine-tune with LoRA instead of the full LeftRefill setup (ablation)LeftRefill · Objaverse, 1-view NVSPSNR: 19.514 vs 21.404Hurt
use autoregressive generation (ablation)LeftRefill · Objaverse, 4-view sequential NVSP-CLIP: 0.7709 -> 0.7958Helped
use deep prompt tuning at 16 cross-attention layers rather than shallow tuning (ablation)LeftRefill · MegaDepth test, Ref-inpaintingPSNR: 20.49 -> 20.15Hurt
increase shallow prompt length from 25 to 50 tokens (ablation)LeftRefill · MegaDepth test, Ref-inpaintingPSNR: 20.35 -> 20.49Helped
increase shallow prompt length from 50 to 75 tokens (ablation)LeftRefill · MegaDepth test, Ref-inpaintingPSNR: 20.49 -> 20.38Hurt
allocate 5 view tokens instead of 0, retaining 45 task tokens (ablation)LeftRefill · MegaDepth test, 3-view Ref-inpaintingPSNR: 21.224 -> 21.356Helped
increase the view-token share from 5 to 25 (ablation)LeftRefill · MegaDepth test, 3-view Ref-inpaintingPSNR: 21.356 -> 21.127Hurt
add incremental positional encoding (ablation)LeftRefill-simple · Objaverse, 1-reference NVSPSNR: 20.352 -> 20.508Helped
add incremental positional encoding (ablation)LeftRefill-simple · Objaverse, 4-reference NVSPSNR: 22.097 -> 22.324Helped

Surprising findings

Limitations

Experimental setup

Datasets: MegaDepth ETH3D Objaverse Google Scanned Objects

Benchmarks: MegaDepth ETH3D Objaverse Google Scanned Objects

Metrics: PSNR SSIM FID LPIPS CLIP score pairwise CLIP score

Baselines: SD (inpainting) ControlNet Perceiver+ImageCLIP Paint-by-Example TransFill Zero123

Builds on: Stable Diffusion inpainting Zero123 Visual prompt tuning ControlNet TransFill

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