让视觉语言模型在推理时自动理解否定,无需大量训练数据。
Negation-Aware Test-Time Adaptation for Vision-Language Models
- 提出测试时自适应方法,动态调整模型分布参数以应对否定语义。
- 仅用不到0.01%可训练参数,性能媲美或超过现有后训练方法。
- 适合医疗影像等需精准识别‘不存在’内容的高可靠性场景。
本文研究视觉语言模型(VLMs)中一个实际但少被关注的问题——否定理解。许多真实应用场景要求模型明确识别错误或不存在的内容,例如放射科医生需查找不包含特定病变的图像。尽管大规模训练使VLMs具备良好泛化能力,但其在处理否定语义时存在显著缺陷。现有方法归因于否定数据稀缺,通过在大量含否定的数据上微调模型,但此类数据驱动方案消耗巨大资源,难以持续推广。为此,我们发现关键障碍在于肯定与否定分布间的双重概念偏移。因此,提出一种低耗能的否定感知测试时自适应方法(NEAT),在推理阶段高效调整分布相关参数。NEAT能在保持一致语义分布的同时,消除无关语义下的虚假分布一致性。在多个否定理解任务上的实验证明其有效性:仅使用不足0.01%的可训练参数,即达到或超越当前最优后训练方法。代码已开源。
原文摘要 · Abstract (English)
In this paper, we study a practical but less-touched problem in Vision-Language Models (VLMs), \ie, negation understanding. Specifically, many real-world applications require models to explicitly identify what is false or non-existent, \eg, radiologists may search for images that exclude specific conditions. Despite the impressive transferability of VLMs through large-scale training, they suffer from a critical limitation that fails to handle negation. To address this challenge, existing methods attribute its root cause to the scarcity of negation training data and propose to fine-tune VLMs on massive data containing explicit negation. Undoubtedly, such data-centric solutions demand substantial data and computational resources, limiting their sustainable widespread adoption. To tackle negation in a low-carbon manner, we empirically observe that the key obstacle lies in the dual-concept shifts between the affirmation and negation distributions. Therefore, we propose a Negation-Aware Test-Time Adaptation (NEAT) method to efficiently adjust distribution-related parameters during inference. In brief, NEAT can reduce distribution shift in consistent semantics while eliminating false distributional consistency in unrelated semantics. Extensive experiments on the various negation understanding tasks verify the effectiveness of the proposed method. Remarkably, with less than 0.01\% of trainable parameters, NEAT achieves comparable or superior performance to state-of-the-art post-training approaches. Our code is available at https://github.com/hhc1997/NEAT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。