mlsanityData to 14 Oct 2026

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

arXiv 2507.21723 ↗First posted 29 Jul 2025cs.CV cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 47 references that are in the map. First posted on arXiv 29 Jul 2025.

Builds on

32 of 47 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  8. 2020End-to-End Object Detection with Transformerscited by 7,414
  9. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  10. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
  11. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  12. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
20 more
  1. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,162
  2. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  3. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
  4. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
  5. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  7. 2021Transformers in Vision: A Surveycited by 1,013
  8. 2021Florence: A New Foundation Model for Computer Visioncited by 804
  9. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
  10. 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 708
  11. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 482
  12. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
  13. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
  14. 2023X-Pruner: eXplainable Pruning for Vision Transformerscited by 68
  15. 2023UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformerscited by 54
  16. 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
  17. 2022BASED-XAI: Breaking Ablation Studies Down for Explainable Artificial Intelligencecited by 13
  18. 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectivescited by 12
  19. 2023Holistically Explainable Vision Transformerscited by 8
  20. 2018Ablation of a Robot's Brain: Neural Networks Under a Knifecited by 2

Built on by

Not cited yet.