paper-with-me

홈 › Papers

Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Models

2024-03-19 · Elaine Sui, Xiaohan Wang, Serena Yeung-Levy

Advancements in vision-language models (VLMs) have propelled the field of computer vision, particularly in the zero-shot learning setting. Despite their promise, the effectiveness of these models often diminishes due to domain shifts in test environments. To address this, we introduce the Test-Time Prototype Shifting (TPS) framework, a pioneering approach designed to adapt VLMs to test datasets using unlabeled test inputs. Our method is based on the notion of modulating per-class prototypes in the shared embedding space. By pre-computing and caching prototypes generated with the pre-trained text encoder, TPS not only facilitates optimization-free prototype reuse for subsequent predictions but also enables seamless integration with current advancements in prompt engineering. At test-time, TPS dynamically learns shift vectors for each prototype based solely on the given test sample, effectively bridging the domain gap and enhancing classification accuracy. A notable aspect of our framework is its significantly reduced memory and computational demands when compared to conventional text-prompt tuning methods. Extensive evaluations across 15 image classification datasets involving natural distribution shifts and cross-dataset generalization, as well as in context-dependent visual reasoning, demonstrate TPS's superior performance, achieving state-of-the-art results while reducing resource requirements.

📄 PDF Abstract BibTeX arXiv:2403.12952

Code (1)

elaine-sui/tps 공식 구현 pytorch

Tasks

image-classificationImage ClassificationPrompt EngineeringVisual ReasoningZero-shot GeneralizationZero-Shot Learning

Similar Papers 제목 키워드 기반

PCoTTA: Continual Test-Time Adaptation for Multi-Task Point Cloud Understanding

2024-11-01 · Jincen Jiang, Qianyu Zhou, Yuhang Li, Xinkui Zhao 외

In this paper, we present PCoTTA, an innovative, pioneering framework for Continual Test-Time Adaptation (CoTTA) in multi-task point cloud understanding, enhancing the model's transferability towards the continually chan…

Test-time Adaptation

Unsupervised Continual Domain Shift Learning with Multi-Prototype Modeling

2025-01-01 · CVPR 2025 1 · Haopeng Sun, Yingwei Zhang, Lumin Xu, Sheng Jin 외

In real-world applications, deep neural networks may encounter constantly changing environments, where the test data originates from continually shifting unlabeled target domains. This problem, known as Unsupervised …

Unsupervised Continual Domain Shift Learning

Improving Test-Time Adaptation via Shift-agnostic Weight Regularization and Nearest Source Prototypes

2022-07-24 · Sungha Choi, Seunghan Yang, Seokeon Choi, Sungrack Yun

This paper proposes a novel test-time adaptation strategy that adjusts the model pre-trained on the source domain using only unlabeled online data from the target domain to alleviate the performance degradation due to th…

Test-time Adaptation

Test-Time Style Shifting: Handling Arbitrary Styles in Domain Generalization

2023-06-08 · Jungwuk Park, Dong-Jun Han, Soyeong Kim, Jaekyun Moon

In domain generalization (DG), the target domain is unknown when the model is being trained, and the trained model should successfully work on an arbitrary (and possibly unseen) target domain during inference. This is a …

Domain Generalization

SPSD Matrix Approximation vis Column Selection: Theories, Algorithms, and Extensions

2014-06-22 · Shusen Wang, Luo Luo, Zhihua Zhang

Symmetric positive semidefinite (SPSD) matrix approximation is an important problem with applications in kernel methods. However, existing SPSD matrix approximation methods such as the Nystr\"om method only have weak err…