Splicing ViT Features for Semantic Appearance Transfer
Authors: Narek Tumanyan, Omer Bar-Tal, Shai Bagon, Tali Dekel
Abstract
We present a method for semantically transferring the visual appearance of one natural image to another. Specifically, our goal is to generate an image in which objects in a source structure image are "painted" with the visual appearance of their semantically related objects in a target appearance image. Our method works by training a generator given only a single structure/appearance image pair as input. To integrate semantic information into our framework - a pivotal component in tackling this task - our key idea is to leverage a pre-trained and fixed Vision Transformer (ViT) model which serves as an external semantic prior. Specifically, we derive novel representations of structure and appearance extracted from deep ViT features, untwisting them from the learned self-attention modules. We then establish an objective function that splices the desired structure and appearance representations, interweaving them together in the space of ViT features. Our framework, which we term "Splice", does not involve adversarial training, nor does it require any additional input information such as semantic segmentation or correspondences, and can generate high-resolution results, e.g., work in HD. We demonstrate high quality results on a variety of in-the-wild image pairs, under significant variations in the number of objects, their pose and appearance.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Disentangling Structure and Appearance in ViT Feature SpaceNarek Tumanyan, Omer Bar-Tal, Shir Amir et al. · 2023 · ACM Transactions on Graphics · cited 7 times · Not summarized yet
Disentangling Structure and Appearance in ViT Feature Space transfers semantically related objects’ appearance between images using structure and appearance representations from fixed ViT features.
Abstract
We present a method for semantically transferring the visual appearance of one natural image to another. Specifically, our goal is to generate an image in which objects in a source structure image are “painted” with the visual appearance of their semantically related objects in a target appearance image. To integrate semantic information into our framework, our key idea is to leverage a pre-trained and fixed Vision Transformer (ViT) model. Specifically, we derive novel disentangled representations of structure and appearance extracted from deep ViT features. We then establish an objective function that splices the desired structure and appearance representations, interweaving them together i…
-
Eye-for-an-eye: Appearance Transfer with Dense Semantic Correspondence in Diffusion ModelsSooyeon Go, Kyungmook Choi, Minjung Shin et al. · 2024 · IEEE Workshop/Winter Conference on Applications of Computer Vision · cited 11 times · Not summarized yet
Eye-for-an-eye transfers appearance while preserving target structure, using dense semantic correspondences to rearrange features in pretrained diffusion models.
Abstract
As pre-trained text-to-image diffusion models have become a useful tool for image synthesis, people want to specify the results in various ways. This paper tackles training-free appearance transfer, which produces an image with the structure of a target image from the appearance of a reference image. Existing methods usually do not reflect semantic correspondence, as they rely on query-key similarity within the self-attention layer to establish correspondences between images. To this end, we propose explicitly rearranging the features according to the dense semantic correspondences. Extensive experiments show the superiority of our method in various aspects: preserving the structure of the t…
-
Cross-Image Attention for Zero-Shot Appearance TransferYuval Alaluf, Daniel Garibi, Or Patashnik et al. · 2023 · International Conference on Computer Graphics and Interactive Techniques · cited 185 times · Not summarized yet
Cross-Image Attention transfers appearance between semantically similar objects by establishing correspondences with cross-image attention in generative models.
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 t…
-
ViViT: A Video Vision TransformerAnurag Arnab, Mostafa Dehghani, Georg Heigold et al. · 2021 · Computer Vision and Pattern Recognition · cited 3,422 times · AI summary available
ViViT develops transformer models for video classification, factorizing spatial and temporal dimensions to process video tokens.
Abstract
We present pure-transformer based models for video classification, drawing upon the recent success of such models in image classification. Our model extracts spatio-temporal tokens from the input video, which are then encoded by a series of transformer layers. In order to handle the long sequences of tokens encountered in video, we propose several, efficient variants of our model which factorise the spatial- and temporal-dimensions of the input. Although transformer-based models are known to only be effective when large training datasets are available, we show how we can effectively regularise the model during training and leverage pretrained image models to be able to train on comparatively…
-
Appearance Matching Adapter for Exemplar-based Semantic Image Synthesis in-the-WildSiyoon Jin, Jisu Nam, Jiyoung Kim et al. · 2024 · Not summarized yet
Appearance Matching Adapter synthesizes semantic images from exemplar appearance, addressing complex multi-object scenes with an adapter for diffusion models.
Abstract
Exemplar-based semantic image synthesis generates images aligned with semantic content while preserving the appearance of an exemplar. Conventional structure-guidance models like ControlNet, are limited as they rely solely on text prompts to control appearance and cannot utilize exemplar images as input. Recent tuning-free approaches address this by transferring local appearance via implicit cross-image matching in the augmented self-attention mechanism of pre-trained diffusion models. However, prior works are often restricted to single-object cases or foreground object appearance transfer, struggling with complex scenes involving multiple objects. To overcome this, we propose AM-Adapter (Ap…
-
Semantic Image Synthesis with Spatially-Adaptive NormalizationTaesung Park, Ming-Yu Liu, Ting-Chun Wang et al. · 2019 · CVPR 2019 · cited 3,341 times · AI summary available
Semantic Image Synthesis with Spatially-Adaptive Normalization generates photorealistic images from semantic layouts by modulating network activations.
Abstract
We propose spatially-adaptive normalization, a simple but effective layer for synthesizing photorealistic images given an input semantic layout. Previous methods directly feed the semantic layout as input to the deep network, which is then processed through stacks of convolution, normalization, and nonlinearity layers. We show that this is suboptimal as the normalization layers tend to ``wash away'' semantic information. To address the issue, we propose using the input layout for modulating the activations in normalization layers through a spatially-adaptive, learned transformation. Experiments on several challenging datasets demonstrate the advantage of the proposed method over existing app…
-
Deep ViT Features as Dense Visual DescriptorsShirzad Amir, Yossi Gandelsman, Shai Bagon et al. · 2021 · arXiv.org · preprint, not peer reviewed · cited 444 times · Not summarized yet
Deep ViT Features as Dense Visual Descriptors shows that pretrained ViT features encode localized, shared semantic information that supports applications including co-segmentation.
Abstract
We study the use of deep features extracted from a pretrained Vision Transformer (ViT) as dense visual descriptors. We observe and empirically demonstrate that such features, when extractedfrom a self-supervised ViT model (DINO-ViT), exhibit several striking properties, including: (i) the features encode powerful, well-localized semantic information, at high spatial granularity, such as object parts; (ii) the encoded semantic information is shared across related, yet different object categories, and (iii) positional bias changes gradually throughout the layers. These properties allow us to design simple methods for a variety of applications, including co-segmentation, part co-segmentation an…
-
What do Vision Transformers Learn? A Visual ExplorationAmin Ghiasi, Hamid Kazemi, Eitan Borgnia et al. · 2022 · Computer Vision and Pattern Recognition · preprint, not peer reviewed · cited 107 times · AI summary available
What do Vision Transformers Learn? A Visual Exploration analyzes ViT neurons and finds that language-supervised models activate for semantic concepts.
Abstract
Vision transformers (ViTs) are quickly becoming the de-facto architecture for computer vision, yet we understand very little about why they work and what they learn. While existing studies visually analyze the mechanisms of convolutional neural networks, an analogous exploration of ViTs remains challenging. In this paper, we first address the obstacles to performing visualizations on ViTs. Assisted by these solutions, we observe that neurons in ViTs trained with language model supervision (e.g., CLIP) are activated by semantic concepts rather than visual features. We also explore the underlying differences between ViTs and CNNs, and we find that transformers detect image background features,…
Prior work it builds on
-
Photorealistic Style Transfer via Wavelet TransformsJaejun Yoo, Youngjung Uh, Sanghyuk Chun et al. · 2019 · IEEE International Conference on Computer Vision · cited 476 times · Not summarized yet
Photorealistic Style Transfer via Wavelet Transforms transfers photographic style using wavelet-corrected whitening and coloring while preserving structure.
Abstract
Recent style transfer models have provided promising artistic results. However, given a photograph as a reference style, existing methods are limited by spatial distortions or unrealistic artifacts, which should not happen in real photographs. We introduce a theoretically sound correction to the network architecture that remarkably enhances photorealism and faithfully transfers the style. The key ingredient of our method is wavelet transforms that naturally fits in deep networks. We propose a wavelet corrected transfer based on whitening and coloring transforms (WCT2) that allows features to preserve their structural information and statistical properties of VGG feature space during stylizat…
-
Contrastive Learning for Unpaired Image-to-Image TranslationTaesung Park, Alexei A. Efros, Richard Zhang et al. · 2020 · European Conference on Computer Vision · cited 1,784 times · Not summarized yet
Contrastive Learning for Unpaired Image-to-Image Translation preserves corresponding patch content across domains by maximizing mutual information with contrastive learning.
Abstract
In image-to-image translation, each patch in the output should reflect the content of the corresponding patch in the input, independent of domain. We propose a straightforward method for doing so -- maximizing mutual information between the two, using a framework based on contrastive learning. The method encourages two elements (corresponding patches) to map to a similar point in a learned feature space, relative to other elements (other patches) in the dataset, referred to as negatives. We explore several critical design choices for making contrastive learning effective in the image synthesis setting. Notably, we use a multilayer, patch-based approach, rather than operate on entire images. …
-
Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra et al. · 2021 · IEEE International Conference on Computer Vision · cited 10,917 times · AI summary available
Emerging Properties in Self-Supervised Vision Transformers finds that self-supervised ViT features encode explicit image segmentation information.
Abstract
In this paper, we question if self-supervised learning provides new properties to Vision Transformer (ViT) [16] that stand out compared to convolutional networks (convnets). Beyond the fact that adapting self-supervised methods to this architecture works particularly well, we make the following observations: first, self-supervised ViT features contain explicit information about the semantic segmentation of an image, which does not emerge as clearly with supervised ViTs, nor with convnets. Second, these features are also excellent k-NN classifiers, reaching 78.3% top-1 on ImageNet with a small ViT. Our study also underlines the importance of momentum encoder [26], multi-crop training [9], and…
-
Intriguing Properties of Vision TransformersMuzammal Naseer, Kanchana Ranasinghe, Salman Hameed Khan et al. · 2021 · Neural Information Processing Systems · cited 874 times · Not summarized yet
Intriguing Properties of Vision Transformers studies how ViT self-attention handles image nuisances including occlusion, domain shifts, and spatial permutations.
Abstract
Vision transformers (ViT) have demonstrated impressive performance across various machine vision problems. These models are based on multi-head self-attention mechanisms that can flexibly attend to a sequence of image patches to encode contextual cues. An important question is how such flexibility in attending image-wide context conditioned on a given patch can facilitate handling nuisances in natural images e.g., severe occlusions, domain shifts, spatial permutations, adversarial and natural perturbations. We systematically study this question via an extensive set of experiments encompassing three ViT families and comparisons with a high-performing convolutional neural network (CNN). We sho…
-
Swapping Autoencoder for Deep Image ManipulationTaesung Park, Jun-Yan Zhu, Oliver Wang et al. · 2020 · Neural Information Processing Systems · cited 377 times · Not summarized yet
Swapping Autoencoder manipulates images by separating structure and texture into components that can be recombined into realistic outputs.
Abstract
Deep generative models have become increasingly effective at producing realistic images from randomly sampled seeds, but using such models for controllable manipulation of existing images remains challenging. We propose the Swapping Autoencoder, a deep model designed specifically for image manipulation, rather than random sampling. The key idea is to encode an image with two independent components and enforce that any swapped combination maps to a realistic image. In particular, we encourage the components to represent structure and texture, by enforcing one component to encode co-occurrent patch statistics across different parts of an image. As our method is trained with an encoder, finding…
Papers that cite it
-
DINOv2: Learning Robust Visual Features without SupervisionMaxime Oquab, Timothée Darcet, Théo Moutakanni et al. · 2023 · Computer Vision and Pattern Recognition · cited 11,931 times · AI summary available
DINOv2 develops self-supervised visual features intended to work across image distributions and tasks without finetuning.
Abstract
The recent breakthroughs in natural language processing for model pretraining on large quantities of data have opened the way for similar foundation models in computer vision. These models could greatly simplify the use of images in any system by producing all-purpose visual features, i.e., features that work across image distributions and tasks without finetuning. This work shows that existing pretraining methods, especially self-supervised methods, can produce such features if trained on enough curated data from diverse sources. We revisit existing approaches and combine different techniques to scale our pretraining in terms of data and model size. Most of the technical contributions aim a…
-
Attention Distillation: A Unified Approach to Visual Characteristics TransferYang Zhou, Xuan Gao, Zichong Chen et al. · 2025 · Computer Vision and Pattern Recognition · cited 63 times · Not summarized yet
Attention Distillation transfers visual characteristics from a reference using pretrained diffusion self-attention features and an optimization loss.
Abstract
Recent advances in generative diffusion models have shown a notable inherent understanding of image style and semantics. In this paper, we leverage the self-attention features from pretrained diffusion networks to transfer the visual characteristics from a reference to generated images. Unlike previous work that uses these features as plug-and-play attributes, we propose a novel attention distillation loss calculated between the ideal and current stylization results, based on which we optimize the synthesized image via backpropagation in latent space. Next, we propose an improved Classifier Guidance that integrates attention distillation loss into the denoising sampling process, further acce…
-
Ctrl-X: Controlling Structure and Appearance for Text-To-Image Generation Without GuidanceKuan-Heng Lin, Sicheng Mo, Ben Klingher et al. · 2024 · Neural Information Processing Systems · cited 54 times · Not summarized yet
Ctrl-X controls structure and appearance in text-to-image diffusion, including semantic-aware appearance transfer from an image.
Abstract
Recent controllable generation approaches such as FreeControl and Diffusion Self-Guidance bring fine-grained spatial and appearance control to text-to-image (T2I) diffusion models without training auxiliary modules. However, these methods optimize the latent embedding for each type of score function with longer diffusion steps, making the generation process time-consuming and limiting their flexibility and use. This work presents Ctrl-X, a simple framework for T2I diffusion controlling structure and appearance without additional training or guidance. Ctrl-X designs feed-forward structure control to enable the structure alignment with a structure image and semantic-aware appearance transfer t…
-
Image Reference-guided Fashion Design with Structure-aware Transfer by Diffusion ModelsShi-Dong Cao, Wenhao Chai, Sheng-Yu Hao et al. · 2023 · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · cited 26 times · Not summarized yet
Image Reference-guided Fashion Design transfers a reference image’s appearance onto clothing while preserving the clothing image’s structure.
Abstract
Image-based fashion design with AI techniques has attracted increasing attention in recent years. We focus on a new fashion design task, where we aim to transfer a reference appearance image onto a clothing image while preserving the structure of the clothing image. It is a challenging task since there are no reference images available for the newly designed output fashion images. Although diffusion-based image translation or neural style transfer (NST) has enabled flexible style transfer, it is often difficult to maintain the original structure of the image realistically during the reverse diffusion, especially when the referenced appearance image greatly differs from the common clothing ap…
-
Semi-Supervised Hand Appearance Recovery via Structure Disentanglement and Dual Adversarial DiscriminationZi-Meng Zhao, Bing-Hui Zuo, Zhiyun Long et al. · 2023 · Computer Vision and Pattern Recognition · cited 7 times · Not summarized yet
Semi-Supervised Hand Appearance Recovery disentangles structure and transfers appearance onto it, specifically recovering bare-hand images from marker-degraded hands.
Abstract
Enormous hand images with reliable annotations are collected through marker-based MoCap. Unfortunately, degradations caused by markers limit their application in hand appearance reconstruction. A clear appearance recovery insight is an image-to-image translation trained with unpaired data. However, most frameworks fail because there exists structure inconsistency from a degraded hand to a bare one. The core of our approach is to first disentangle the bare hand structure from those degraded images and then wrap the appearance to this structure with a dual adversarial discrimination (DAD) scheme. Both modules take full advantage of the semi-supervised learning paradigm: The structure disentang…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 5 November 2026.