paper-with-me

홈 › Papers

SINDER: Repairing the Singular Defects of DINOv2

2024-07-23 · Haoqi Wang, Tong Zhang, Mathieu Salzmann

Vision Transformer models trained on large-scale datasets, although effective, often exhibit artifacts in the patch token they extract. While such defects can be alleviated by re-training the entire model with additional classification tokens, the underlying reasons for the presence of these tokens remain unclear. In this paper, we conduct a thorough investigation of this phenomenon, combining theoretical analysis with empirical observations. Our findings reveal that these artifacts originate from the pre-trained network itself, specifically stemming from the leading left singular vector of the network's weights. Furthermore, to mitigate these defects, we propose a novel fine-tuning smooth regularization that rectifies structural deficiencies using only a small dataset, thereby avoiding the need for complete re-training. We validate our method on various downstream tasks, including unsupervised segmentation, classification, supervised segmentation, and depth estimation, demonstrating its effectiveness in improving model performance. Codes and checkpoints are available at https://github.com/haoqiwang/sinder.

📄 PDF Abstract BibTeX arXiv:2407.16826

Code (1)

haoqiwang/sinder 공식 구현 pytorch

Tasks

Depth Estimation

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 제목 키워드 기반

Completing and Debugging Ontologies: state of the art and challenges

2019-08-08 · Patrick Lambrix

As semantically-enabled applications require high-quality ontologies, developing and maintaining ontologies that are as correct and complete as possible is an important although difficult task in ontology engineering. A …

A robustness measure for singular point and index estimation in discretized orientation and vector fields

2020-09-30 · Karl B. Hoffmann, Ivo F. Sbalzarini

The identification of singular points or topological defects in discretized vector fields occurs in diverse areas ranging from the polarization of the cosmic microwave background to liquid crystals to fingerprint recogni…

Uncertainty Quantification

Demystifying Singular Defects in Large Language Models

2025-02-10 · Haoqi Wang, Tong Zhang, Mathieu Salzmann

Large transformer models are known to produce high-norm tokens. In vision transformers (ViTs), such tokens have been mathematically modeled through the singular vectors of the linear approximations of layers. However, in…

Quantization

Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignments

2024-04-02 · Qianhui Zhao, Fang Liu, Li Zhang, Yang Liu 외

Automated generation of feedback on programming assignments holds significant benefits for programming education, especially when it comes to advanced assignments. Automated Program Repair techniques, especially Large La…

Language ModellingLarge Language ModelProgram Repair

Causality-based Neural Network Repair

2022-04-20 · Bing Sun, Jun Sun, Hong Long Pham, Jie Shi

Neural networks have had discernible achievements in a wide range of applications. The wide-spread adoption also raises the concern of their dependability and reliability. Similar to traditional decision-making programs,…

Decision MakingFairnessFault localization