Teleportraits: Training-Free People Insertion into Any Scene

Jialu Gao, K. J. Joseph, Fernando De la Torre · DOI

Abstract

Teleportraits is a novel, training-free framework designed to realistically insert a specific person from a reference image into any background scene. By leveraging the latent semantic knowledge of pre-trained diffusion models and a new mask-guided self-attention mechanism, the system achieves state-of-the-art identity preservation and affordance-aware placement without the need for per-subject fine-tuning.

Introduction

The task of "person teleportation"—seamlessly moving a subject from one image into a completely different environment—presents significant challenges in computer vision. Specifically, a model must master two distinct domains: Affordance Reasoning and Personalization. Affordance reasoning requires an understanding of the functional visual relationship between subjects and scenes, ensuring the person is placed logically (global affordance) and posed naturally to interact with objects (local affordance). Personalization requires the precise preservation of the subject's identity, including facial features and clothing.

Existing solutions often struggle with these requirements, either requiring expensive per-subject optimization (e.g., DreamBooth) or relying on massive, difficult-to-curate datasets of paired images. Teleportraits addresses these issues through a training-free approach using the Stable Diffusion XL (SDXL) architecture.

Methodology

Teleportraits operates through three primary stages, all of which avoid the need for additional training or fine-tuning.

The Teleportraits technical pipeline illustrating inversion, affordance-aware generation, and mask-guided self-attention.

1. Inversion

The process begins by "inverting" both the target background scene and the reference person image. Using a fixed-point iteration strategy inspired by ReNoise-Inversion, the system identifies the initial noise latents required to reconstruct the original images. This ensures the generation process remains grounded in the specific visual "DNA" of the inputs.

2. Affordance-Aware Generation

To place the person, the model utilizes the background's noise latent as a starting point. It employs Classifier-Free Guidance (CFG) with a descriptive text prompt (e.g., "a person sitting on a bed") to guide the diffusion process. To keep the background intact while "hallucinating" the person into the scene, the framework uses Latent Blending, which masks the background areas during denoising.

3. Mask-Guided Self-Attention

The core innovation for identity preservation lies in modifying the self-attention layers within the SDXL "Up-blocks." During generation, query patches from the new image attend to keys and values extracted from the reference image. By applying a subject-specific mask to these reference features, the model transfers the person's identity and clothing while ignoring the reference background.

Evaluation and Results

The framework was evaluated using the Text2Place dataset, comprising 25 celebrities and 26 diverse scenes. In addition to standard metrics like CLIP-T and LPIPS, the authors introduced an automated evaluation protocol using Vision-Language Models (VLMs), specifically GPT-4o, to assess subject identity (VLM-S), text alignment (VLM-T), and background fidelity (VLM-BG).

Qualitative comparison of Teleportraits against state-of-the-art baselines like AnyDoor and Text2Place.

Performance Highlights

  • Identity and Fidelity: Teleportraits significantly outperformed baselines like AnyDoor and Text2Place. It achieved higher CLIP-I and DINO scores, reflecting better retention of facial and clothing details, while maintaining a much lower LPIPS score (0.025 vs. 0.094 for Text2Place), indicating superior background preservation.
  • Human Preference: In a user study with 51 participants, Teleportraits was consistently ranked highest for identity preservation, text alignment, and scene consistency.
  • Efficiency: Unlike optimization-based methods that can take up to an hour, Teleportraits generates high-quality results in under one minute on a single V100 GPU.

Conclusion

Teleportraits demonstrates that large-scale diffusion models like SDXL inherently possess the "affordance" knowledge necessary for realistic person placement. By replacing expensive fine-tuning with a mask-guided attention mechanism, the framework provides a fast, effective, and training-free solution for personalized image editing. Future work may address sensitivities to prompt complexity and the requirement for high-quality, full-body reference images.

Summary updated

BibTeX
@inproceedings{gao2025teleportraits,
  author = {Jialu Gao and K. J. Joseph and Fernando De la Torre},
  title = {{Teleportraits: Training-Free People Insertion into Any Scene}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure