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

用于检测Transformer的跨分辨率编解码

Cross Resolution Encoding-Decoding For Detection Transformers

General Autonomy(通用自主公司);Seoul National University(首尔大学)

Ashish Kumar, Jaesik Park

AI总结:

针对DETR多尺度检测计算效率低的问题,提出跨分辨率编解码机制CRED,通过CRAM和OSMA模块实现低分辨率速度与高分辨率精度的兼顾,在主流DETR上可减少约50% FLOPs并保持精度。

摘要:

检测Transformer(DETR)是知名的目标检测流水线,然而使用DETR实现计算高效的多尺度检测仍具挑战性。本文提出一种跨分辨率编解码(CRED)机制,让DETR在具备低分辨率检测速度的同时,达到高分辨率检测的精度。CRED基于两个模块:跨分辨率注意力模块(CRAM)和单步多尺度注意力(OSMA)。CRAM用于将低分辨率编码器输出的知识迁移到高分辨率特征;OSMA用于单步融合多尺度特征,生成富含多尺度信息的目标分辨率特征图。将CRED应用于主流DETR方法时,其精度与高分辨率DETR相当,浮点运算量(FLOPs)减少约50%。具体而言,当前最优的DN-DETR结合CRED后(称为CRED-DETR),在MS-COCO基准上,相比浮点运算量为202G FLOPs的高分辨率版本,速度提升76%,FLOPs减少约50%。我们计划发布预训练的CRED-DETR供社区使用。代码:https://github.com/ashishkumar822/CRED-DETR

英文摘要:

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

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

↑