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

TextCAM:用文本解释类激活映射

TextCAM: Explaining Class Activation Map with Text

Carnegie Mellon University(卡内基梅隆大学)

Qiming Zhao, Xingjian Li, Xiaoyu Cao, Xiaolong Wu, Min Xu

AI总结:

针对类激活映射(CAM)缺乏语义洞察的问题,提出结合CAM空间定位与视觉语言模型语义对齐的TextCAM框架,可生成带文本的细粒度解释,实验验证其能提升可解释性并保持模型保真度。

摘要:

深度神经网络(DNNs)已在各领域取得显著成功,但仍难以解释,限制了其在高风险应用中的可信度。本文聚焦深度视觉模型,该领域主流的可解释性方法是类激活映射(Class Activation Mapping, CAM)及其变体,它们通过高亮驱动预测的空间区域发挥作用。我们发现,CAM几乎无法提供关于这些激活背后属性的语义洞察。为解决这一局限,我们提出TextCAM,一种用自然语言丰富CAM的新型解释框架。TextCAM结合了CAM的精准空间定位能力与视觉-语言模型(vision-language models, VLMs)的语义对齐能力。具体而言,我们利用CLIP嵌入和线性判别分析推导出通道级语义表示,并将其与CAM权重聚合,生成显著视觉证据的文本描述。由此产生的解释能同时指明模型关注的位置,以及可能支持其决策的视觉属性。我们进一步扩展TextCAM,将特征通道生成为语义连贯的组,实现更细粒度的视觉-文本解释。在ImageNet、CLEVR和CUB上的实验表明,TextCAM能生成忠实且可解释的推理依据,可提升人类理解能力、检测虚假相关性并保持模型保真度。

英文摘要:

Deep neural networks (DNNs) have achieved remarkable success across domains but remain difficult to interpret, limiting their trustworthiness in high-stakes applications. This paper focuses on deep vision models, for which a dominant line of explainability methods are Class Activation Mapping (CAM) and its variants working by highlighting spatial regions that drive predictions. We figure out that CAM provides little semantic insight into what attributes underlie these activations. To address this limitation, we propose TextCAM, a novel explanation framework that enriches CAM with natural languages. TextCAM combines the precise spatial localization of CAM with the semantic alignment of vision-language models (VLMs). Specifically, we derive channel-level semantic representations using CLIP embeddings and linear discriminant analysis, and aggregate them with CAM weights to produce textual descriptions of salient visual evidence. This yields explanations that jointly specify where the model attends and what visual attributes likely support its decision. We further extend TextCAM to generate feature channels into semantically coherent groups, enabling more fine-grained visual-textual explanations. Experiments on ImageNet, CLEVR, and CUB demonstrate that TextCAM produces faithful and interpretable rationales that improve human understanding, detect spurious correlations, and preserve model fidelity.

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

↑