paper-with-me

Papers

Test-time Loss Landscape Adaptation for Zero-Shot Generalization in Vision-Language Models

2025-01-31 · Aodi Li, Liansheng Zhuang, Xiao Long, Minghong Yao, Shafei Wang

Test-time adaptation of pre-trained vision-language models has emerged as a technique for tackling distribution shifts during the test time. Although existing methods, especially those based on Test-time Prompt Tuning (TPT), have shown promising results, their high computational cost associated with parameter optimization presents challenges for scalability and practical application. This paper unveils the unnecessary nature of backpropagation in existing methods from a loss landscape perspective. Building on this insight, this paper proposes a simple yet effective framework called Test-time Loss Landscape Adaptation (TLLA). TLLA leverages the relative position between the training minimum and test loss landscapes to guide the adaptation process, avoiding the update of model parameters at test time. Specifically, it mainly consists of two main stages: In the prompt tuning stage, a Sharpness-Aware Prompt Tuning (SAPT) method is introduced to identify the training flat minimum, setting the foundation for the subsequent test-time adaptation; In the test stage, a Sharpness-based Test Sample Selection (STSS) approach is utilized to ensure the alignment of flat minima within the training loss landscape and each augmented test sample's loss landscape. Extensive experiments on both domain generalization and cross-dataset benchmarks demonstrate that TLLA achieves state-of-the-art performances while significantly reducing computational overhead. Notably, TLLA surpasses TPT by an average of 5.32\% and 6.98\% on four ImageNet variant datasets when employing ResNet50 and ViT-B/16 image encoders, respectively. The code will be available soon.

📄 PDF Abstract BibTeX arXiv:2501.18864

Code (0)

등록된 구현이 없습니다.

Tasks

Domain GeneralizationTest-time AdaptationZero-shot Generalization

Similar Papers 제목 키워드 기반

Taxonomizing local versus global structure in neural network loss landscapes

2021-07-23 · NeurIPS 2021 12 · Yaoqing Yang, Liam Hodgkinson, Ryan Theisen, Joe Zou 외

Viewing neural network models in terms of their loss landscapes has a long history in the statistical mechanics approach to learning, and in recent years it has received attention within machine learning proper. Among ot…

Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Models

2024-07-22 · Raza Imam, Hanan Gani, Muhammad Huzaifa, Karthik Nandakumar

The conventional modus operandi for adapting pre-trained vision-language models (VLMs) during test-time involves tuning learnable prompts, ie, test-time prompt tuning. This paper introduces Test-Time Low-rank adaptation …

Zero-shot Generalization

Do We Need Zero Training Loss After Achieving Zero Training Error?

2020-02-20 · ICML 2020 1 · Takashi Ishida, Ikko Yamane, Tomoya Sakai, Gang Niu 외

Overparameterized deep networks have the capacity to memorize training data with zero \emph{training error}. Even after memorization, the \emph{training loss} continues to approach zero, making the model overconfident an…

Memorization

DPO: Dual-Perturbation Optimization for Test-time Adaptation in 3D Object Detection

2024-06-19 · Zhuoxiao Chen, Zixin Wang, Yadan Luo, Sen Wang 외

LiDAR-based 3D object detection has seen impressive advances in recent times. However, deploying trained 3D detectors in the real world often yields unsatisfactory performance when the distribution of the test data signi…

3D Object Detectionobject-detectionObject DetectionTest-time Adaptation

Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining

2026-04-30 · Hyeonseo Jang, Jaebyeong Jeon, Joong-Won Hwang, Kibok Lee arxiv

Test-time prompt tuning (TPT) has emerged as a promising technique for enhancing the adaptability of vision-language models by optimizing textual prompts using unlabeled test data. However, prior studies have observed th…