Flatness Guided Test-Time Adaptation for Vision-Language Models
School of Cyber Science and Technology, University of Science and Technology of China(中国科学技术大学网络科学与技术学院);National Engineering Laboratory for Brain-Inspired Intelligence Technology and Applications, University of Science and Technology of China(中国科学技术大学脑启发式智能技术与应用国家工程实验室);Peng Cheng Laboratory, Shenzhen, China(深圳鹏城实验室)
Aodi Li, Liansheng Zhuang, Xiao Long, Houqiang Li, Shafei Wang
Test-time adaptation (TTA) of Vision-Language Models (VLMs) has emerged as a technique for tackling distribution shifts during the test time. Recent research indicates that the test-time adaptation is intrinsically linked to the model's training history. However, existing TTA methods, such as Test-time Prompt Tuning, often design adaptation strategies in isolation from the models' training characteristics, which degrade their performance. This paper argues that the flatness acquired via sharpness-aware training is an efficient clue for the test-time adaptation of VLMs. Built on this insight, this paper proposes a novel Flatness-Guided Adaptation framework (FGA) for VLMs to cohesively unify training and test-time procedures. Its core idea is to leverage the alignment between the training minimum and test loss flat regions to guide the adaptation process. Specifically, our FGA consists of a prompt-tuning stage and a test-time adaptation stage. In the tuning stage, a Sharpness-Aware Prompt Tuning method is utilized to identify the training flat minimum, offering a geometric clue of flatness for subsequent adaptation. In the test stage, a Sharpness-based Test Sample Selection approach is proposed to ensure the alignment of flat minima between the training and each augmented test sample's loss landscape. In comparison to existing TTA methods, our FGA avoids the expensive prompt parameter updates during test time, and substantially reduces the computation overhead. Extensive experiments on both domain generalization and cross-dataset benchmarks demonstrate that our FGA achieves superior performance over prevalent TTA methods. Notably, when employing a ViT-B/16 image encoder, FGA even outperforms TPT+CoOp by an average of 4.88% across all four ImageNet out-of-domain variants.
Unleashing the Potential of All Test Samples: Mean-Shift Guided Test-Time Adaptation
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(人机混合增强智能国家重点实验室,人工智能与机器人研究院,西安交通大学);Faculty of Computility Microelectronics, Shenzhen University of Advanced Technology and the Guangdong Provincial Key Laboratory of Computility Microelectronics(计算微电子学系,深圳先进技术大学及广东省计算微电子重点实验室);College of Software Engineering, Xi’an Jiaotong University(软件工程学院,西安交通大学)
Guided Prompt Evolution for Vision-Language Models Adaptation
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院,清华大学);Sun Yat-sen University(中山大学);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))
Frame-Difference Guided Dynamic Region Perception for CLIP Adaptation in Text-Video Retrieval
School of Computer Science and Technology, East China Normal University, China(上海师范大学计算机科学与技术学院);School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学与技术学院)
Research Institute of Trustworthy Autonomous Systems and Department of Computer Science and Engineering, Southern University of Science and Technology(南方科技大学可信自主系统研究院与计算机科学与工程系);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系)
Prototype-Guided Continual Adaptation for Class-Incremental Unsupervised Domain Adaptation
Peking University(北京大学);South China University of Technology(华南理工大学);National University of Singapore(新加坡国立大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)
Self-Guided Adaptation: Progressive Representation Alignment for Domain Adaptive Object Detection
NELVT, School of EE & CS, Peking University(北京大学电子信息与计算机科学学院NELVT);University of Chinese Academy of Sciences(中国科学院大学);School of ECE, Peking University(北京大学电子信息工程学院);Pengcheng Laboratory(鹏城实验室);Beijing Institute of Technology(北京理工大学);Nanyang Technological University(南洋理工大学)
Nip Rumors in the Bud: Retrieval-Guided Topic-Level Adaptation for Test-Time Fake News Video Detection
University of Electronic Science and Technology of China(电子科技大学);Aiwen Technology Co., Ltd.(爱文科技有限公司);Intelligent Digital Media Technology Key Laboratory of Sichuan Province(四川省智能数字媒体技术重点实验室)
Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspective
SIGS, Tsinghua University(清华大学信息科学技术系);Key Laboratory of Pervasive Computing, Ministry of Education(教育部 pervasive 计算重点实验室);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);MMLab, The Chinese University of Hong Kong(香港中文大学 MMLab)
ORB-SfMLearner: ORB-Guided Self-supervised Visual Odometry with Selective Online Adaptation
College of Electrical Engineering, Sichuan University(四川大学电气工程学院);Rice University(里士满大学);Graduate Institute of Networking and Multimedia, National Taiwan University(台湾大学网络与多媒体研究所);Language Technologies Institute, Carnegie Mellon University(卡内基梅隆大学语言技术研究所)
Text-guided Foundation Model Adaptation for Long-Tailed Medical Image Classification
Southern University of Science and Technology(南方科技大学);The University of Hong Kong(香港大学);University of British Columbia(不列颠哥伦比亚大学);Jiaxing Research Institute, Southern University of Science and Technology(南方科技大学嘉兴研究院)
A Chebyshev Confidence Guided Source-Free Domain Adaptation Framework for Medical Image Segmentation
Harbin Institute of Technology at Shenzhen(哈尔滨工业大学(深圳));The Peng Cheng Laboratory(鹏城实验室);Guangdong Provincial Key Laboratory of Aerospace Communication and Networking Technology(广东省航空航天通信与网络技术重点实验室)
MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAM
College of Computer Science, Sichuan University(四川大学计算机学院);West China Hospital, Sichuan University(四川大学华西医院);Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局高性能计算研究所)
Test-time Adaptation of Pelvic Bone Segmentation Models via Dynamic Reliability-Guided
College of Automation, Nanjing University of Posts and Telecommunications(南京邮电大学自动化学院);Department of Electrical and Computer Engineering, National University of Singapore(新加坡国立大学电气与计算机工程系);the Affiliated Stomatological Hospital of Nanjing Medical University(南京医科大学附属口腔医院)
ProCal: Probability Calibration for Neighborhood-Guided Source-Free Domain Adaptation
The JC STEM Lab of Machine Learning and Computer Vision(机器学习与计算机视觉的JC STEM实验室);Department of Electrical and Electronic Engineering(电气与电子工程系);The Hong Kong Polytechnic University(香港理工大学);Department of Computer Science and Engineering(计算机科学与工程系);The Chinese University of Hong Kong(香港中文大学)