arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.20028cs.CVcs.AI
收藏

TAPS:面向 VLM 的极其简单的测试时主动学习

TAPS : Frustratingly Simple Test Time Active Learning for VLMs

IIT Kharagpur(印度理工学院Kharagpur分校)

Dhruv Sarkar, Aprameyo Chakrabartty, Bibhudatta Bhanja

AI总结:

针对连续单样本流中的 VLM 测试时适应问题,提出 TAPS 主动查询与动态提示更新框架,在低延迟和内存约束下取得稳定性能提升。

摘要:

测试时优化使模型能够在推理过程中通过即时更新参数来适应新数据。视觉语言模型(VLM)的最新进展已探索在测试时学习提示,以提升下游任务性能。本文将这一思想扩展到一个更通用、更实际的挑战:在连续数据流中,每次仅有一个样本可用,需要立即作出查询决策,同时满足延迟和内存约束,我们能否有效利用 oracle?为解决该问题,我们提出一种新颖的测试时主动学习(TTAL)框架,可自适应查询不确定样本并动态更新提示。与先前假设批量数据或多次梯度更新的方法不同,本方法运行于每步只有单个测试样本的实时流式场景。我们引入用于主动查询的动态调整熵阈值、提升内存效率的类别平衡替换策略,以及用于增强适应性的类别感知分布对齐技术。这些设计选择通过严谨的理论分析得到论证。在 10 个跨数据集迁移基准和 4 个域泛化数据集上的大量实验表明,该方法相较最先进方法取得持续提升,同时保持合理的延迟和内存开销。本框架为自动驾驶系统和医疗诊断等安全关键应用中的真实部署提供了实用且有效的解决方案。

英文摘要:

Test-Time Optimization enables models to adapt to new data during inference by updating parameters on-the-fly. Recent advances in Vision-Language Models (VLMs) have explored learning prompts at test time to improve performance in downstream tasks. In this work, we extend this idea by addressing a more general and practical challenge: Can we effectively utilize an oracle in a continuous data stream where only one sample is available at a time, requiring an immediate query decision while respecting latency and memory constraints? To tackle this, we propose a novel Test-Time Active Learning (TTAL) framework that adaptively queries uncertain samples and updates prompts dynamically. Unlike prior methods that assume batched data or multiple gradient updates, our approach operates in a real-time streaming scenario with a single test sample per step. We introduce a dynamically adjusted entropy threshold for active querying, a class-balanced replacement strategy for memory efficiency, and a class-aware distribution alignment technique to enhance adaptation. The design choices are justified using careful theoretical analysis. Extensive experiments across 10 cross-dataset transfer benchmarks and 4 domain generalization datasets demonstrate consistent improvements over state-of-the-art methods while maintaining reasonable latency and memory overhead. Our framework provides a practical and effective solution for real-world deployment in safety-critical applications such as autonomous systems and medical diagnostics.

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

↑