arXiv:2501.06553cs.CV2025-01CVPR被引 20

通过视觉感知的令牌稀疏化,高效缓解大模型视觉幻觉问题。

VASparse: Towards Efficient Visual Hallucination Mitigation via Visual-Aware Token Sparsification

  • 基于注意力稀疏性与视觉无关令牌加剧幻觉的观察,设计视觉感知的令牌筛选策略。
  • 在不增加推理时间的前提下,显著降低视觉幻觉率,四大基准测试均达最优效果。
  • 无需额外训练或后处理,适配多种视觉语言模型,适合部署场景快速集成。

大型视觉语言模型(LVLM)可能生成脱离现实的输出,即视觉幻觉(VH),严重阻碍其实际应用。为缓解该问题,已有多种解码策略尝试增强视觉信息,但多数需二次解码与回滚,大幅降低推理速度。本文提出一种高效即插即用的解码算法VASparse,从令牌稀疏性视角出发,缓解视觉幻觉。其灵感来自两个实证观察:(1) LVLM中注意力的稀疏激活现象;(2) 忽视视觉信息的令牌稀疏化会加剧幻觉。基于此,提出新型令牌稀疏策略,在减少冗余令牌的同时有效保留视觉上下文。此外,创新性引入基于稀疏性的视觉对比解码方法,无须二次解码即可重校正幻觉输出分布。最后,重新校准注意力分数,抑制模型对文本令牌的过度关注。在四个主流基准上的广泛实验表明,VASparse在无需额外训练或后处理的情况下,有效缓解不同LVLM家族的视觉幻觉,且保持竞争力的解码速度。令人印象深刻的是,其在幻觉抑制上达到当前最优性能。代码已开源:https://github.com/mengchuang123/VASparse-github。

原文摘要 · Abstract (English)

Large Vision-Language Models (LVLMs) may produce outputs that are unfaithful to reality, also known as visual hallucinations (VH), which significantly impedes their real-world usage. To alleviate VH, various decoding strategies have been proposed to enhance visual information. However, many of these methods may require secondary decoding and rollback, which significantly reduces inference speed. In this work, we propose an efficient plug-and-play decoding algorithm via Visual-Aware Sparsification (VASparse) from the perspective of token sparsity for mitigating VH. VASparse is inspired by empirical observations: (1) the sparse activation of attention in LVLMs, and (2) visual-agnostic tokens sparsification exacerbates VH. Based on these insights, we propose a novel token sparsification strategy that balances efficiency and trustworthiness. Specifically, VASparse implements a visual-aware token selection strategy during decoding to reduce redundant tokens while preserving visual context effectively. Additionally, we innovatively introduce a sparse-based visual contrastive decoding method to recalibrate the distribution of hallucinated outputs without the time overhead associated with secondary decoding. Subsequently, VASparse recalibrates attention scores to penalize attention sinking of LVLMs towards text tokens. Extensive experiments across four popular benchmarks confirm the effectiveness of VASparse in mitigating VH across different LVLM families without requiring additional training or post-processing. Impressively, VASparse achieves state-of-the-art performance for mitigating VH while maintaining competitive decoding speed. Code is available at https://github.com/mengchuang123/VASparse-github.

视觉幻觉解码优化稀疏化大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。