arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.01601cs.CV
收藏

EIVE: 面向检测Transformer的端到端实例特定视觉解释

EIVE: End-to-End Instance-Specific Visual Explanations for Detection Transformers

Institute of Intelligent Information Processing, Shenzhen University(智能信息处理研究院,深圳大学);Guangdong Provincial Key Laboratory of Intelligent Information Processing, Shenzhen University(广东省智能信息处理重点实验室,深圳大学);Shenzhen Key Laboratory of Modern Communications and Information Processing, Shenzhen University(深圳现代通信与信息处理重点实验室,深圳大学)

Jianlin Xiang, Yanshan Li, Linhui Dai

AI总结:

提出EIVE框架,通过重新公式化解码器交叉注意力为实例级特征归因路径,直接生成实例级显著性图,无需梯度计算或输入扰动,高效解释DETR类检测器。

摘要:

由于目标检测的多实例特性,其视觉可解释性仍然具有挑战性。现有方法主要采用事后范式(如基于梯度或扰动的解释方法)来解释预训练检测器。然而,这些方法需要额外的梯度计算或重复模型推理,导致效率有限。为解决此问题,我们提出了一种端到端实例特定视觉解释框架(EIVE),该框架在Detection Transformer(DETR)类模型的前向传播后直接生成实例级显著性图。具体而言,我们将解码器中的交叉注意力机制重新公式化为实例级特征归因路径,使得每个目标查询的交叉注意力对应于其预测实例的视觉归因。基于此公式,我们设计了一个跨层混合共识融合(CLHCF)模块,聚合解码器各层的交叉注意力信号,生成稳定且紧凑的解释。EIVE的解释过程既不需要梯度计算也不需要输入扰动,具有高计算效率,并适用于单尺度和多尺度的DETR类目标检测器。最后,我们提出了一种注意力感知联合训练策略(AAJTS)作为面向训练的应用,该策略对交叉注意力模式施加空间约束,以鼓励稳定且集中的归因表示,从而提高可解释性和检测性能。在MS COCO 2017、ExDark和Cityscapes上的实验表明,EIVE生成高质量的实例级显著性图,在标准指标上达到与最先进事后方法相当或更好的性能,同时显著提高了解释效率。代码可在https://github.com/xjlDestiny/EIVE.git获取。

英文摘要:

Visual explainability for object detection remains challenging due to the multi-instance nature of detection. Existing approaches predominantly adopt post-hoc paradigms, such as gradient-based or perturbation-based explanation methods, to interpret pretrained detectors. However, these methods require additional gradient computation or repeated model inference, resulting in limited efficiency. To address this issue, we propose an End-to-end Instance-specific Visual Explanation framework (EIVE) that directly generates instance-level saliency maps following the forward pass of Detection Transformer (DETR)-like models. Specifically, we reformulate the cross-attention mechanism in the decoder as an instance-level feature attribution pathway, so that the cross-attention of each object query corresponds to the visual attribution of its predicted instance. Based on this formulation, we design a cross-layer hybrid consensus fusion (CLHCF) module to aggregate cross-attention signals across decoder layers, producing stable and compact explanations. The explanation process of EIVE requires neither gradient computation nor input perturbation, yielding high computational efficiency, and applies to single- and multi-scale DETR-like object detectors. Finally, we present an attention-aware joint training strategy (AAJTS) as a training-oriented application, which imposes spatial constraints on cross-attention patterns to encourage stable and concentrated attribution representations, thereby improving both interpretability and detection performance. Experiments on MS COCO 2017, ExDark, and Cityscapes demonstrate that EIVE produces high-quality instance-level saliency maps and achieves performance comparable to, or better than, state-of-the-art post-hoc methods across standard metrics, while substantially improving explanation efficiency. Code is available at https://github.com/xjlDestiny/EIVE.git.

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

↑