Lune

SIGGRAPH2024Top-tier venue

Cross-Image Attention for Zero-Shot Appearance Transfer

Yuval Alaluf, Daniel Garibi, Or Patashnik, Hadar Averbuch-Elor, Daniel Cohen-Or

Abstract

Recent advancements in text-to-image generative models have demonstrated a remarkable ability to capture a deep semantic understanding of images. In this work, we leverage this semantic knowledge to transfer the visual appearance between objects that share similar semantics but may differ significantly in shape. To achieve this, we build upon the self-attention layers of these generative models and introduce a cross-image attention mechanism that implicitly establishes semantic correspondences across images. Specifically, given a pair of images — one depicting the target structure and the other specifying the desired appearance — our cross-image attention combines the queries corresponding to the structure image with the keys and values of the appearance image. This operation, when applied during the denoising process, leverages the established semantic correspondences to generate an image combining the desired structure and appearance. In addition, to improve the output image quality, we harness three mechanisms that either manipulate the noisy latent codes or the model’s internal representations throughout the denoising process. Importantly, our approach is zero-shot, requiring no optimization or training. Experiments show that our method is effective across a wide range of object categories and is robust to variations in shape, size, and viewpoint between the two input images.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

59 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites Denoising Diffusion Implicit Models
  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Edicho: Consistent Image Editing in the Wild cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Edicho: Consistent Image Editing in the Wild cites Training-Free Consistent Text-to-Image Generation
  • Edicho: Consistent Image Editing in the Wild cites Denoising Diffusion Implicit Models
  • Segment Anything cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Attention (as Discrete-Time Markov) Chains cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Attention (as Discrete-Time Markov) Chains cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Stable Diffusion Models Are Secretly Good at Visual In-Context Learning cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Stable Diffusion Models Are Secretly Good at Visual In-Context Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers59

  1. Training-Free Consistent Text-to-Image GenerationYoad Tewel, Omri Kaduri, Rinon Gal, Yoni Kasten et al.SIGGRAPH 2024 · 57 citations
  2. Free-Lunch Color-Texture Disentanglement for Stylized Image GenerationJiang Qin, Alexandra Gomez-Villa, Senmao Li, Shiqi Yang et al.NeurIPS 2025 · 12 citations
  3. Attention (as Discrete-Time Markov) ChainsYotam Erel, Olaf Dünkel, Rishabh Dabral, Vladislav Golyanik et al.NeurIPS 2025 · 12 citations
  4. Stable Diffusion Models Are Secretly Good at Visual In-Context LearningTrevine Oorloff, Vishwanath Sindagi, Wele Gedara Chaminda Bandara, Ali Shafahi et al.ICCV 2025 · 11 citations
  5. Edicho: Consistent Image Editing in the WildQingyan Bai, Hao Ouyang, Yinghao Xu, Qiuyu Wang et al.ICCV 2025 · 10 citations

Builds on45

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations

Related papers

  1. Splicing ViT Features for Semantic Appearance TransferNarek Tumanyan, Omer Bar-Tal, Shai Bagon, Tali DekelCVPR 2022 · 128 citations
  2. Localizing Object-level Shape Variations with Text-to-Image Diffusion ModelsOr Patashnik, Daniel Garibi, Idan Azuri, Hadar Averbuch-Elor et al.ICCV 2023 · 158 citations
  3. AM-Adapter: Appearance Matching Adapter for Exemplar-Based Semantic Image Synthesis In-the-WildSiyoon Jin, Jisu Nam, Jiyoung Kim, Dahyun Chung et al.ICCV 2025 · 1 citation
  4. Unsupervised Semantic Correspondence Using Stable DiffusionEric Hedlin, Gopal Sharma, Shweta Mahajan, Hossam Isack et al.NeurIPS 2023 · 152 citations
  5. UniversalBooth: Model-Agnostic Personalized Text-To-Image GenerationSonghua Liu, Ruonan Yu, Xinchao WangICCV 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines