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

《手术刀下的检测Transformer:一种受神经科学启发的消融研究方法》

Detection Transformers Under the Knife: A Neuroscience-Inspired Approach to Ablations

Institute for Technologies and Management of Digital Transformation (TMDT) University of Wuppertal(数字化转型技术与管理研究所(TMDT)乌珀塔尔大学)

Nils Hütten, Florian Hölken, Hasan Tercan, Tobias Meisen

AI总结:

受神经科学消融研究启发,该研究系统消融DETR、DDETR、DINO三类检测Transformer的关键组件,在COCO数据集上评估性能变化,揭示了不同模型的鲁棒性模式与结构冗余,并发布DeepDissect库以支持相关研究。

摘要:

近年来,可解释人工智能(Explainable AI, XAI)作为提升模型可解释性与透明度的方法受到广泛关注,尤其是针对检测Transformer这类复杂模型。尽管该领域发展迅速,但目前在理解模型内部组件的独特作用方面仍存在显著研究空白——而这类认知对于提升模型透明度与效率至关重要。受神经科学消融研究(通过选择性损伤探究脑区功能)的启发,我们系统分析了消融三种最先进检测Transformer模型关键组件的影响,这三个模型分别是Detection transformer(DETR,检测Transformer)、deformable detection transformer(DDETR,可变形检测Transformer)和DETR with improved denoising anchor boxes(DINO,带改进去噪锚框的DETR)。本次消融的目标组件包括查询嵌入、编码器与解码器的多头自注意力(multi-head self-attentions, MHSA)层,以及解码器的多头交叉注意力(multi-head cross-attention, MHCA)层。我们在COCO数据集上评估了这些消融操作对gIoU和F1分数这两项性能指标的影响,量化了其对分类和回归子任务的作用效果。为提升可复现性并支持未来研究,我们公开发布了DeepDissect库。研究结果揭示了不同模型特有的鲁棒性模式:DETR对编码器MHSA和解码器MHCA的消融尤为敏感;DDETR的多尺度可变形注意力提升了其鲁棒性;而DINO凭借其“两次前向更新”(look-forward twice update)规则展现出最强的恢复能力,该规则有助于知识在不同模块间分布。这些发现也暴露了模型的结构冗余,尤其是在DDETR和DINO的解码器MHCA层中,为在不损失性能的前提下简化模型提供了方向。本研究明确了检测Transformer内部组件对模型性能的贡献,推动了针对DETR系列模型的可解释人工智能研究,为关键应用场景中优化模型、提升透明度与效率提供了洞见。

英文摘要:

In recent years, Explainable AI has gained traction as an approach to enhancing model interpretability and transparency, particularly in complex models such as detection transformers. Despite rapid advancements, a substantial research gap remains in understanding the distinct roles of internal components - knowledge that is essential for improving transparency and efficiency. Inspired by neuroscientific ablation studies, which investigate the functions of brain regions through selective impairment, we systematically analyze the impact of ablating key components in three state-of-the-art detection transformer models: Detection transformer (DETR), deformable detection transformer (DDETR), and DETR with improved denoising anchor boxes (DINO). The ablations target query embeddings, encoder and decoder multi-head self-attentions (MHSA) as well as decoder multi-head cross-attention (MHCA) layers. We evaluate the effects of these ablations on the performance metrics gIoU and F1-score, quantifying effects on both the classification and regression sub-tasks on the COCO dataset. To facilitate reproducibility and future research, we publicly release the DeepDissect library. Our findings reveal model-specific resilience patterns: while DETR is particularly sensitive to ablations in encoder MHSA and decoder MHCA, DDETR's multi-scale deformable attention enhances robustness, and DINO exhibits the greatest resilience due to its look-forward twice update rule, which helps distributing knowledge across blocks. These insights also expose structural redundancies, particularly in DDETR's and DINO's decoder MHCA layers, highlighting opportunities for model simplification without sacrificing performance. This study advances XAI for DETRs by clarifying the contributions of internal components to model performance, offering insights to optimize and improve transparency and efficiency in critical applications.

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

↑