paper-with-me

Papers

KS-DETR: Knowledge Sharing in Attention Learning for Detection Transformer

2023-02-22 · Kaikai Zhao, Norimichi Ukita

Scaled dot-product attention applies a softmax function on the scaled dot-product of queries and keys to calculate weights and then multiplies the weights and values. In this work, we study how to improve the learning of scaled dot-product attention to improve the accuracy of DETR. Our method is based on the following observations: using ground truth foreground-background mask (GT Fg-Bg Mask) as additional cues in the weights/values learning enables learning much better weights/values; with better weights/values, better values/weights can be learned. We propose a triple-attention module in which the first attention is a plain scaled dot-product attention, the second/third attention generates high-quality weights/values (with the assistance of GT Fg-Bg Mask) and shares the values/weights with the first attention to improve the quality of values/weights. The second and third attentions are removed during inference. We call our method knowledge-sharing DETR (KS-DETR), which is an extension of knowledge distillation (KD) in the way that the improved weights and values of the teachers (the second and third attentions) are directly shared, instead of mimicked, by the student (the first attention) to enable more efficient knowledge transfer from the teachers to the student. Experiments on various DETR-like methods show consistent improvements over the baseline methods on the MS COCO benchmark. Code is available at https://github.com/edocanonymous/KS-DETR.

📄 PDF Abstract BibTeX arXiv:2302.11208

Code (1)

edocanonymous/ks-detr 공식 구현 pytorch

Tasks

Knowledge DistillationTransfer Learning

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

DAC-DETR: Divide the Attention Layers and Conquer

2023-09-21 · NeurIPS 2023 11

This paper reveals a characteristic of DEtection Transformer (DETR) that negatively impacts its training efficacy, i.e., the cross-attention and self-attention layers in DETR decoder have contrary impacts on the object q…

Object Detection

DA-DETR: Domain Adaptive Detection Transformer with Information Fusion

2021-03-31 · CVPR 2023 1 · Jingyi Zhang, Jiaxing Huang, Zhipeng Luo, Gongjie Zhang 외

The recent detection transformer (DETR) simplifies the object detection pipeline by removing hand-crafted designs and hyperparameters as employed in conventional two-stage object detectors. However, how to leverage the s…

Domain AdaptationObjectobject-detectionObject Detection+1

Cross Resolution Encoding-Decoding For Detection Transformers

2024-10-05 · Ashish Kumar, Jaesik Park

Detection Transformers (DETR) are renowned object detection pipelines, however computationally efficient multiscale detection using DETR is still challenging. In this paper, we propose a Cross-Resolution Encoding-Decodin…

object-detectionObject Detection

Li3DeTr: A LiDAR based 3D Detection Transformer

2022-10-27 · Gopi Krishna Erabati, Helder Araujo

Inspired by recent advances in vision transformers for object detection, we propose Li3DeTr, an end-to-end LiDAR based 3D Detection Transformer for autonomous driving, that inputs LiDAR point clouds and regresses 3D boun…

Autonomous DrivingDecoderKnowledge DistillationObject+2

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

2025-07-29 · Nils Hütten, Florian Hölken, Hasan Tercan, Tobias Meisen 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 substa…