arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19802cs.CV
收藏

面向视觉-语言模型测试时自适应的带负对比的类别感知原型学习

Class-Aware Prototype Learning with Negative Contrast for Test-Time Adaptation of Vision-Language Models

School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学);Institute of Artificial Intelligence (TeleAI), China Telecom, P. R. China(人工智能研究所(TeleAI),中国电信,中华人民共和国);College of Computer Science, Wuhan University(计算机科学学院,武汉大学);School of Artificial Intelligence, OPtics and ElectroNics (iOPEN), Northwestern Polytechnical University(人工智能学院,光学与电子学(iOPEN),西北工业大学)

Xiaozhen Qiao, Jingkai Zhao, Yuqiu Jiang, Xianda Guo, Zhe Sun, Hongyuan Zhang, Xuelong Li

AI总结:

针对视觉-语言模型在分布偏移下性能下降及现有TTA方法存在的原型退化、相似类别混淆问题,提出带负对比的类别感知原型学习框架,在15个基准上超越现有方法。

摘要:

视觉-语言模型(VLM)通过大规模图文预训练展现出出色的零样本泛化能力,但当部署分布与训练分布存在差异时,其性能会出现下降。为解决这一问题,测试时自适应(TTA)方法利用无标注目标数据更新模型。然而现有方法往往忽略两个关键挑战:长尾分布下的原型退化,以及语义相似类别之间的混淆。针对这些问题,我们提出带负对比的类别感知原型学习(CPL-NC),这是一款专为VLM设计的轻量级TTA框架,用于提升模型在分布偏移下的泛化能力。CPL-NC引入类别感知原型缓存模块,该模块根据测试时频率和激活历史动态调整每个类别的容量,并为非活跃类别设置更新机制以保留稀有类别知识。此外,负对比学习机制会识别并约束难例图文负样本,以提升类别可分性。该框架采用非对称优化,仅优化文本原型,同时锚定稳定的视觉特征。在15个基准上的实验表明,在ResNet-50和ViT-B/16两种骨干网络下,CPL-NC的性能始终优于现有TTA方法。

英文摘要:

Vision-Language Models (VLMs) demonstrate impressive zero-shot generalization through large-scale image-text pretraining, yet their performance can drop once the deployment distribution diverges from the training distribution. To address this, Test-Time Adaptation (TTA) methods update models using unlabeled target data. However, existing approaches often ignore two key challenges: prototype degradation in long-tailed distributions and confusion between semantically similar classes. To tackle these issues, we propose \textbf{C}lass-Aware \textbf{P}rototype \textbf{L}earning with \textbf{N}egative \textbf{C}ontrast(\textbf{CPL-NC}), a lightweight TTA framework designed specifically for VLMs to enhance generalization under distribution shifts. CPL-NC introduces a \textit{Class-Aware Prototype Cache} Module that dynamically adjusts per-class capacity based on test-time frequency and activation history, with a rejuvenation mechanism for inactive classes to retain rare-category knowledge. Additionally, a \textit{Negative Contrastive Learning} Mechanism identifies and constrains hard visual-textual negatives to improve class separability. The framework employs asymmetric optimization, refining only textual prototypes while anchoring on stable visual features. Experiments on 15 benchmarks show that CPL-NC consistently outperforms prior TTA methods across both ResNet-50 and ViT-B/16 backbones.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑