arXiv:2605.08325eess.IVcs.AI2026-05

用分割掩码提升视觉模型注意力的准确性和因果性。

CAMAL: Improving Attention Alignment and Faithfulness with Segmentation Masks

论文配图:CAMAL: Improving Attention Alignment and Faithfulness with Segmentation Masks
图 1 · 摘自论文原文
  • 利用分割掩码作为辅助正则,引导模型注意力对准关键区域。
  • 注意力对齐度显著提升,因果性增强超过35%。
  • 无需增加推理开销,可提升模型可解释性,适用于多种学习任务。

许多视觉数据集除了标注图像外还提供分割掩码,以支持多样任务。本文提出类激活图注意力学习(CAMAL),一种高效且可扩展的方法,利用分割掩码改进视觉模型的注意力对齐度与因果性。注意力对齐度指模型注意力与真实判别区域的一致性,因果性指注意力对模型决策的影响程度。为提升这两项指标,CAMAL在训练中提取每张图像的注意力,并与对应分割掩码中的真实判别区域进行对比,作为辅助正则项,鼓励注意力集中在真实区域,抑制其他区域。我们在深度学习(DL)与深度强化学习(DRL)两种范式下评估,结果一致显示注意力对齐度显著提升,因果性相比近期工作提高超35%。同时,改进后的注意力增强了可解释性,且泛化性能不降反升,推理成本不变。结果表明,分割掩码中的空间信息可有效用于跨任务引导模型注意力。

原文摘要 · Abstract (English)

Many vision datasets now provide segmentation masks in addition to annotated images to support a wide range of tasks. In this work, we propose Class Activation Map Attention Learning (CAMAL), an efficient and scalable method that utilizes segmentation masks to improve attention alignment and faithfulness in vision models. Specifically, attention alignment refers to the degree to which a model's attention aligns with ground-truth discriminative regions, while attention faithfulness refers to the degree to which a model's attention influences its decision. Improving both attention alignment and faithfulness is essential for ensuring that model attention is both spatially accurate and causally meaningful. To improve attention alignment and faithfulness in vision models, CAMAL first extracts the model's attention for each image during training and then compares the attention to ground-truth discriminative regions obtained from the corresponding segmentation masks. CAMAL then acts as an auxiliary regularizer, encouraging attention that aligns with ground-truth discriminative regions, while suppressing attention elsewhere. We evaluated CAMAL across two learning paradigms -- Deep Learning (DL) and Deep Reinforcement Learning (DRL) -- and observed consistent, significant improvements in both attention alignment and faithfulness. In particular, CAMAL yields statistically significant gains in attention alignment across all settings, and improves attention faithfulness by over 35% compared to recent work. Moreover, we show that improved attention alignment and faithfulness enhance explainability, while yielding improved or comparable generalization performance without increasing inference cost. These findings demonstrate that the spatial information contained within segmentation masks can be effectively leveraged to guide model attention across learning tasks.

注意力机制可解释性分割掩码视觉模型

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