paper-with-me

Papers

Test-Time Distribution Normalization for Contrastively Learned Vision-language Models

2023-02-22 · Yifei Zhou, Juntao Ren, Fengyu Li, Ramin Zabih, Ser-Nam Lim

Advances in the field of vision-language contrastive learning have made it possible for many downstream applications to be carried out efficiently and accurately by simply taking the dot product between image and text representations. One of the most representative approaches proposed recently known as CLIP has garnered widespread adoption due to its effectiveness. CLIP is trained with an InfoNCE loss that takes into account both positive and negative samples to help learn a much more robust representation space. This paper reveals that the common downstream practice of taking a dot product is only a zeroth-order approximation of the optimization goal, resulting in a loss of information during test-time. Intuitively, since the model has been optimized based on the InfoNCE loss, test-time procedures should also be in alignment. The question lies in how one can retrieve any semblance of negative samples information during inference in a computationally efficient way. To this end, we propose Distribution Normalization (DN), where we approximate the mean representation of a batch of test samples and use such a mean to represent what would be analogous to negative samples in the InfoNCE loss. DN requires no retraining or fine-tuning and can be effortlessly applied during inference. Extensive experiments on a wide variety of downstream tasks exhibit a clear advantage of DN over the dot product on top of other existing test-time augmentation methods.

📄 PDF Abstract BibTeX arXiv:2302.11084

Code (2)

fengyuli2002/distribution-normalization 공식 구현 pytorch
fengyuli-dev/distribution-normalization pytorch

Tasks

Contrastive Learning

Methods 이 논문이 사용한 방법론

Test 설명 없음
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
Contrastive Learning 설명 없음
InfoNCE 설명 없음

Similar Papers 제목 키워드 기반

Test-Time Distribution Normalization for Contrastively Learned Visual-language Models

2023-09-21 · NeurIPS 2023 11

Advances in the field of visual-language contrastive learning have made it possible for many downstream applications to be carried out efficiently and accurately by simply taking the dot product between image and text re…

Distribution Mismatch Correction for Improved Robustness in Deep Neural Networks

2021-10-05 · Alexander Fuchs, Christian Knoll, Franz Pernkopf

Deep neural networks rely heavily on normalization methods to improve their performance and learning behavior. Although normalization methods spurred the development of increasingly deep and efficient architectures, they…

Learning Less Generalizable Patterns with an Asymmetrically Trained Double Classifier for Better Test-Time Adaptation

2022-10-17 · Thomas Duboudin, Emmanuel Dellandréa, Corentin Abgrall, Gilles Hénaff 외

Deep neural networks often fail to generalize outside of their training distribution, in particular when only a single data domain is available during training. While test-time adaptation has yielded encouraging results …

Test-time Adaptation

DRAN: A Distribution and Relation Adaptive Network for Spatio-temporal Forecasting

2025-04-02 · Xiaobei Zou, Luolin Xiong, Kexuan Zhang, Cesare Alippi 외

Accurate predictions of spatio-temporal systems' states are crucial for tasks such as system management, control, and crisis prevention. However, the inherent time variance of spatio-temporal systems poses challenges to …

RelationSpatio-Temporal Forecasting

Discover Your Neighbors: Advanced Stable Test-Time Adaptation in Dynamic World

2024-06-08 · Qinting Jiang, Chuyang Ye, Dongyan Wei, Yuan Xue 외

Despite progress, deep neural networks still suffer performance declines under distribution shifts between training and test domains, leading to a substantial decrease in Quality of Experience (QoE) for multimedia applic…

ClusteringTest-time Adaptation