Cross Resolution Encoding-Decoding For Detection Transformers

Ashish Kumar, Jaesik Park
10/5/2024
cs.CV

Official code: ashishkumar822/CRED-DETR (1 star, GPL-3.0, last commit 2024-10-04).

Abstract

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-Decoding (CRED) mechanism that allows DETR to achieve the accuracy of high-resolution detection while having the speed of low-resolution detection. CRED is based on two modules; Cross Resolution Attention Module (CRAM) and One Step Multiscale Attention (OSMA). CRAM is designed to transfer the knowledge of low-resolution encoder output to a high-resolution feature. While OSMA is designed to fuse multiscale features in a single step and produce a feature map of a desired resolution enriched with multiscale information. When used in prominent DETR methods, CRED delivers accuracy similar to the high-resolution DETR counterpart in roughly 50% fewer FLOPs. Specifically, state-of-the-art DN-DETR, when used with CRED (calling CRED-DETR), becomes 76% faster, with ~50% reduced FLOPs than its high-resolution counterpart with 202 G FLOPs on MS-COCO benchmark. We plan to release pretrained CRED-DETRs for use by the community. Code: https://github.com/ashishkumar822/CRED-DETR

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Cross-Resolution Encoding Decoding for Detection Transformers

10Oct 4, 20242 years agoGPL-3.0

Similar Papers

Cite this paper

@article{kumar2024cross,
  title  = {Cross Resolution Encoding-Decoding For Detection Transformers},
  author = {Ashish Kumar and Jaesik Park},
  year   = {2024},
  eprint = {2410.04088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04088v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.04088.svg)](https://codeofpaper.com/paper/2410.04088)

Discussion