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

基于置信度最大化的测试时低秩适应用于视觉语言模型的零样本泛化

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

Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学(MBZUAI))

Raza Imam, Hanan Gani, Muhammad Huzaifa, Karthik Nandakumar

AI总结:

本文提出测试时低秩适应(TTL)方法,通过最大化预测置信度更新注意力权重并引入少量低秩适配器参数,在保持主干冻结下实现大规模视觉语言模型的零样本泛化,显著优于测试时提示调整基线。

摘要:

在测试时适应预训练视觉语言模型(VLMs)的常规做法是调整可学习的提示,即测试时提示调整。本文引入了测试时低秩适应(TTL)作为提示调整的替代方案,用于大规模VLMs的零样本泛化。受大型语言模型高效微调最新进展的启发,TTL提供了一种测试时参数高效的适应方法,通过最大化预测置信度来更新transformer编码器的注意力权重。该自监督的置信度最大化目标使用加权熵损失来指定,强制增强样本预测之间的一致性。TTL在模型空间中为低秩适配器引入少量可训练参数,同时保持提示和主干网络冻结。在多种自然分布和跨域任务上的大量实验表明,在严格的零样本设置下,TTL优于其他VLMs测试时优化技术。具体而言,TTL平均显著优于测试时提示调整基线。

英文摘要:

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 (TTL) as an alternative to prompt tuning for zero-shot generalization of large-scale VLMs. Taking inspiration from recent advancements in efficiently fine-tuning large language models, TTL offers a test-time parameter-efficient adaptation approach that updates the attention weights of the transformer encoder by maximizing prediction confidence. The self-supervised confidence maximization objective is specified using a weighted entropy loss that enforces consistency among predictions of augmented samples. TTL introduces only a small amount of trainable parameters for low-rank adapters in the model space while keeping the prompts and backbone frozen. Extensive experiments on a variety of natural distribution and cross-domain tasks show that TTL can outperform other techniques for test-time optimization of VLMs in strict zero-shot settings. Specifically, TTL outperforms test-time prompt tuning baselines with a significant improvement on average. Our code is available at at https://github.com/Razaimam45/TTL-Test-Time-Low-Rank-Adaptation.

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

↑