Skip to main content
QUICK REVIEW

[Paper Review] AnyDoor: Zero-shot Object-level Image Customization

Xi Chen, Lianghua Huang|arXiv (Cornell University)|Jul 18, 2023
Generative Adversarial Networks and Image SynthesisComputer Science11 citations
TL;DR

AnyDoor is a diffusion-based system that zero-shot teleports target objects into user-specified scene locations by encoding identity and detail features and injecting them into a pre-trained diffusion model, trained with both video and image data for robust generalization.

ABSTRACT

This work presents AnyDoor, a diffusion-based image generator with the power to teleport target objects to new scenes at user-specified locations in a harmonious way. Instead of tuning parameters for each object, our model is trained only once and effortlessly generalizes to diverse object-scene combinations at the inference stage. Such a challenging zero-shot setting requires an adequate characterization of a certain object. To this end, we complement the commonly used identity feature with detail features, which are carefully designed to maintain texture details yet allow versatile local variations (e.g., lighting, orientation, posture, etc.), supporting the object in favorably blending with different surroundings. We further propose to borrow knowledge from video datasets, where we can observe various forms (i.e., along the time axis) of a single object, leading to stronger model generalizability and robustness. Extensive experiments demonstrate the superiority of our approach over existing alternatives as well as its great potential in real-world applications, such as virtual try-on and object moving. Project page is https://damo-vilab.github.io/AnyDoor-Page/.

Motivation & Objective

  • Motivate the need for zero-shot, identity-preserving object relocation in images.
  • Propose a representation of target objects using identity tokens and detail maps to guide diffusion-based composition.
  • Leverage video-derived appearance variation and large-scale image data to train a robust, generalizable model.
  • Enable high-fidelity, diverse object relocation without per-object fine-tuning at inference.

Proposed method

  • Represent the target object with identity tokens from a self-supervised encoder (DINO-V2) after background removal.
  • Generate a high-frequency detail map via Sobel-based high-pass filters and a collage-like approach to preserve texture while allowing variation.
  • Inject ID tokens and detail maps into Stable Diffusion via cross-attention (ID) and feature concatenation (details) for guidance.
  • Train with paired video frames (same object in different scenes) and diverse images to capture appearance and scene variation.
  • Use adaptive timestep sampling to balance early steps (pose/structure) from video data with late steps (textures) from image data.
  • During inference, crop and resize the scene region, and apply a zoom-in strategy to accommodate arbitrary aspect ratios and region sizes.

Experimental results

Research questions

  • RQ1Can zero-shot diffusion-based generation preserve object identity while allowing flexible placement in a scene?
  • RQ2Does enriching identity representations with detail features improve id-consistency and texture fidelity in local edits?
  • RQ3Does combining video-derived appearance variation with image diversity improve generalization to unseen object-scene pairs?
  • RQ4How can adaptive training strategies leverage multi-modal data to boost realism and consistency in object relocation?

Key findings

  • AnyDoor achieves higher fidelity and identity preservation than reference-based methods in user studies (Quality/Fidelity/Diversity metrics favor AnyDoor).
  • In a head-to-head user study, AnyDoor scores higher in Fidelity and Quality than Paint-by-Example and Graphit, with competitive Diversity.
  • Ablation studies show that using DINO-V2, the high-frequency detail map, and adaptive timestep sampling each contribute to better CLIP and DINO similarity to the target object.
  • AnyDoor enables multi-subject composition and practical applications like virtual try-on and object moving/swapping without per-object tuning.
  • Qualitative and quantitative evaluations on a DreamBooth-derived benchmark indicate improved object identity preservation and scene harmony.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.