paper-with-me

홈 › Papers

SwinStyleformer is a favorable choice for image inversion

2024-06-19 · Jiawei Mao, Guangyi Zhao, Xuesong Yin, Yuanqi Chang

This paper proposes the first pure Transformer structure inversion network called SwinStyleformer, which can compensate for the shortcomings of the CNNs inversion framework by handling long-range dependencies and learning the global structure of objects. Experiments found that the inversion network with the Transformer backbone could not successfully invert the image. The above phenomena arise from the differences between CNNs and Transformers, such as the self-attention weights favoring image structure ignoring image details compared to convolution, the lack of multi-scale properties of Transformer, and the distribution differences between the latent code extracted by the Transformer and the StyleGAN style vector. To address these differences, we employ the Swin Transformer with a smaller window size as the backbone of the SwinStyleformer to enhance the local detail of the inversion image. Meanwhile, we design a Transformer block based on learnable queries. Compared to the self-attention transformer block, the Transformer block based on learnable queries provides greater adaptability and flexibility, enabling the model to update the attention weights according to specific tasks. Thus, the inversion focus is not limited to the image structure. To further introduce multi-scale properties, we design multi-scale connections in the extraction of feature maps. Multi-scale connections allow the model to gain a comprehensive understanding of the image to avoid loss of detail due to global modeling. Moreover, we propose an inversion discriminator and distribution alignment loss to minimize the distribution differences. Based on the above designs, our SwinStyleformer successfully solves the Transformer's inversion failure issue and demonstrates SOTA performance in image inversion and several related vision tasks.

📄 PDF Abstract BibTeX arXiv:2406.13153

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Stochastic Depth Stochastic Depth aims to shrink the depth of a network during training, while keeping it unchanged during testing. This is achieved by randomly dropping entire…
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Focus 설명 없음

Similar Papers 제목 키워드 기반

Tight Inversion: Image-Conditioned Inversion for Real Image Editing

2025-02-27 · Edo Kadosh, Nir Goren, Or Patashnik, Daniel Garibi 외

Text-to-image diffusion models offer powerful image editing capabilities. To edit real images, many methods rely on the inversion of the image into Gaussian noise. A common approach to invert an image is to gradually add…

Practical Feasibility of Gradient Inversion Attacks in Federated Learning

2025-08-27 · Viktor Valadi, Mattias Åkesson, Johan Östman, Fazeleh Hoseini 외 arxiv

Gradient inversion attacks are often presented as a serious privacy threat in federated learning, with recent work reporting increasingly strong reconstructions under favorable experimental settings. However, it remains …

Image ReconstructionImage ClassificationFederated LearningObject Detection

CEPA: Consensus Embedded Perturbation for Agnostic Detection and Inversion of Backdoors

2024-02-03 · Guangmingmei Yang, Xi Li, Hang Wang, David J. Miller 외

A variety of defenses have been proposed against Trojans planted in (backdoor attacks on) deep neural network (DNN) classifiers. Backdoor-agnostic methods seek to reliably detect and/or to mitigate backdoors irrespective…

image-classificationImage Classification

A data-driven choice of misfit function for FWI using reinforcement learning

2020-02-08 · Bingbing Sun, Tariq Alkhalifah

In the workflow of Full-Waveform Inversion (FWI), we often tune the parameters of the inversion to help us avoid cycle skipping and obtain high resolution models. For example, typically start by using objective functions…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

In-N-Out: Faithful 3D GAN Inversion with Volumetric Decomposition for Face Editing

2023-02-09 · CVPR 2024 1 · Yiran Xu, Zhixin Shu, Cameron Smith, Seoung Wug Oh 외

3D-aware GANs offer new capabilities for view synthesis while preserving the editing functionalities of their 2D counterparts. GAN inversion is a crucial step that seeks the latent code to reconstruct input images or vid…