paper-with-me

홈 › Papers

Denoising Vision Transformers

2024-01-05 · Jiawei Yang, Katie Z Luo, Jiefeng Li, Congyue Deng, Leonidas Guibas, Dilip Krishnan, Kilian Q Weinberger, Yonglong Tian, Yue Wang

We study a crucial yet often overlooked issue inherent to Vision Transformers (ViTs): feature maps of these models exhibit grid-like artifacts, which hurt the performance of ViTs in downstream dense prediction tasks such as semantic segmentation, depth prediction, and object discovery. We trace this issue down to the positional embeddings at the input stage. To mitigate this, we propose a two-stage denoising approach, termed Denoising Vision Transformers (DVT). In the first stage, we separate the clean features from those contaminated by positional artifacts by enforcing cross-view feature consistency with neural fields on a per-image basis. This per-image optimization process extracts artifact-free features from raw ViT outputs, providing clean feature estimates for offline applications. In the second stage, we train a lightweight transformer block to predict clean features from raw ViT outputs, leveraging the derived estimates of the clean features as supervision. Our method, DVT, does not require re-training the existing pre-trained ViTs, and is immediately applicable to any Vision Transformer architecture. We evaluate our method on a variety of representative ViTs (DINO, DeiT-III, EVA02, CLIP, DINOv2, DINOv2-reg) and demonstrate that DVT consistently improves existing state-of-the-art general-purpose models in semantic and geometric tasks across multiple datasets. We hope our study will encourage a re-evaluation of ViT design, especially regarding the naive use of positional embeddings. Our code and checkpoints are publicly available.

📄 PDF Abstract BibTeX arXiv:2401.02957

Code (1)

Jiawei-Yang/Denoising-ViT 공식 구현 pytorch

Tasks

DenoisingDepth EstimationDepth PredictionObject DiscoverySemantic Segmentation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Exploration of Lightweight Single Image Denoising with Transformers and Truly Fair Training

2023-04-04 · Haram Choi, Cheolwoong Na, Jinseop Kim, Jihoon Yang

As multimedia content often contains noise from intrinsic defects of digital devices, image denoising is an important step for high-level vision recognition tasks. Although several studies have developed the denoising fi…

DenoisingImage Denoising

CTformer: Convolution-free Token2Token Dilated Vision Transformer for Low-dose CT Denoising

2022-02-28 · Dayang Wang, Fenglei Fan, Zhan Wu, Rui Liu 외

Low-dose computed tomography (LDCT) denoising is an important problem in CT research. Compared to the normal dose CT (NDCT), LDCT images are subjected to severe noise and artifacts. Recently in many studies, vision trans…

DecoderDenoising

Masked Autoencoders as Image Processors

2023-03-30 · Huiyu Duan, Wei Shen, Xiongkuo Min, Danyang Tu 외

Transformers have shown significant effectiveness for various vision tasks including both high-level vision and low-level vision. Recently, masked autoencoders (MAE) for feature pre-training have further unleashed the po…

DeblurringDenoisingImage Defocus DeblurringImage Denoising+1

Skip-Attention: Improving Vision Transformers by Paying Less Attention

2023-01-05 · Shashanka Venkataramanan, Amir Ghodrati, Yuki M. Asano, Fatih Porikli 외

This work aims to improve the efficiency of vision transformers (ViT). While ViTs use computationally expensive self-attention operations in every layer, we identify that these operations are highly correlated across lay…

Denoisingimage-classificationImage ClassificationImage Denoising+3

A Comprehensive Survey of Transformers for Computer Vision

2022-11-11 · Sonain Jamil, Md. Jalil Piran, Oh-Jin Kwon

As a special type of transformer, Vision Transformers (ViTs) are used to various computer vision applications (CV), such as image recognition. There are several potential problems with convolutional neural networks (CNNs…

Anomaly DetectionDenoisingimage-classificationImage Classification+9