paper-with-me

홈 › Papers

Inverting Transformer-based Vision Models

2024-12-09 · Jan Rathjens, Shirin Reyhanian, David Kappel, Laurenz Wiskott

Understanding the mechanisms underlying deep neural networks in computer vision remains a fundamental challenge. While many previous approaches have focused on visualizing intermediate representations within deep neural networks, particularly convolutional neural networks, these techniques have yet to be thoroughly explored in transformer-based vision models. In this study, we apply a modular approach of training inverse models to reconstruct input images from intermediate layers within a Detection Transformer and a Vision Transformer, showing that this approach is efficient and feasible. Through qualitative and quantitative evaluations of reconstructed images, we generate insights into the underlying mechanisms of these architectures, highlighting their similarities and differences in terms of contextual shape and preservation of image details, inter-layer correlation, and robustness to color perturbations. Our analysis illustrates how these properties emerge within the models, contributing to a deeper understanding of transformer-based vision models. The code for reproducing our experiments is available at github.com/wiskott-lab/inverse-tvm.

📄 PDF Abstract BibTeX arXiv:2412.06534

Code (2)

wiskott-lab/inverse-detection-transformer 공식 구현 pytorch
wiskott-lab/inverse-tvm 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…
Adam 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Position-Wise Feed-Forward Layer 설명 없음
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$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Plug-In Inversion: Model-Agnostic Inversion for Vision with Data Augmentations

2022-01-31 · Amin Ghiasi, Hamid Kazemi, Steven Reich, Chen Zhu 외

Existing techniques for model inversion typically rely on hard-to-tune regularizers, such as total variation or feature regularization, which must be individually calibrated for each network in order to produce adequate …

image-classificationImage Classification

iComMa: Inverting 3D Gaussian Splatting for Camera Pose Estimation via Comparing and Matching

2023-12-14 · Yuan Sun, Xuan Wang, Yunfan Zhang, Jie Zhang 외

We present a method named iComMa to address the 6D camera pose estimation problem in computer vision. Conventional pose estimation methods typically rely on the target's CAD model or necessitate specific network training…

3DGS6D Pose EstimationCamera Pose EstimationNeRF+1

Sparse Model Inversion: Efficient Inversion of Vision Transformers for Data-Free Applications

2025-10-31 · Zixuan Hu, Yongxian Wei, Li Shen, Zhenyi Wang 외 arxiv

Model inversion, which aims to reconstruct the original training data from pre-trained discriminative models, is especially useful when the original training data is unavailable due to privacy, usage rights, or size cons…

StylePrompter: All Styles Need Is Attention

2023-07-30 · Chenyi Zhuang, Pan Gao, Aljosa Smolic

GAN inversion aims at inverting given images into corresponding latent codes for Generative Adversarial Networks (GANs), especially StyleGAN where exists a disentangled latent space that allows attribute-based image mani…

AllAttributeImage Manipulation

Synthesizing 3D Abstractions by Inverting Procedural Buildings with Transformers

2025-01-28 · Maximilian Dax, Jordi Berbel, Jan Stria, Leonidas Guibas 외

We generate abstractions of buildings, reflecting the essential aspects of their geometry and structure, by learning to invert procedural models. We first build a dataset of abstract procedural building models paired wit…