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

基于Transformer的上下文凝聚用于增强目标检测中的特征金字塔

Transformer-based Context Condensation for Boosting Feature Pyramids in Object Detection

The University of Sydney(悉尼大学);JD Explore Academy(京东探索研究院)

Zhe Chen, Jing Zhang, Yufei Xu, Dacheng Tao

AI总结:

针对现有目标检测特征金字塔多级特征融合结构复杂、计算效率低的问题,提出基于Transformer的上下文凝聚模块,将上下文分解为局部集中和全局汇总两类表征并优化融合,在MS COCO上提升精度同时降低计算复杂度。

摘要:

当前的目标检测器通常配备特征金字塔(FP)模块以实现多级特征融合(MFF),该模块旨在缩小不同层级特征之间的差距并构建全面的目标表征,以获得更优的检测性能。然而,这类方法通常需要复杂的跨层级连接或迭代优化才能取得更好的MFF效果,导致结构复杂且计算效率低下。为解决这些问题,我们提出了一种新颖高效的上下文建模机制,既能帮助现有特征金字塔实现更好的MFF效果,又能有效降低计算成本。具体而言,我们提出了一个新的思路:可将全面上下文分解并凝聚为两类表征以提升效率,分别是局部集中表征和全局汇总表征——前者侧重于从邻近区域提取上下文线索,后者则提取整幅图像场景的关键表征作为全局上下文线索。收集凝聚后的上下文后,我们采用Transformer解码器探究这些上下文与特征金字塔中各局部特征之间的关系,并据此优化MFF结果。由此我们得到了一个简单轻量的基于Transformer的上下文凝聚(TCC)模块,它既能增强各类特征金字塔的性能,同时还能降低其计算成本。在具有挑战性的MS COCO数据集上的大量实验结果表明,TCC与四种代表性特征金字塔兼容,能持续将其检测精度(以平均精度计)提升最高7.8%,同时将其复杂度(以GFLOPs计)降低约20%,帮助它们更高效地达到最先进性能。代码将公开发布。

英文摘要:

Current object detectors typically have a feature pyramid (FP) module for multi-level feature fusion (MFF) which aims to mitigate the gap between features from different levels and form a comprehensive object representation to achieve better detection performance. However, they usually require heavy cross-level connections or iterative refinement to obtain better MFF result, making them complicated in structure and inefficient in computation. To address these issues, we propose a novel and efficient context modeling mechanism that can help existing FPs deliver better MFF results while reducing the computational costs effectively. In particular, we introduce a novel insight that comprehensive contexts can be decomposed and condensed into two types of representations for higher efficiency. The two representations include a locally concentrated representation and a globally summarized representation, where the former focuses on extracting context cues from nearby areas while the latter extracts key representations of the whole image scene as global context cues. By collecting the condensed contexts, we employ a Transformer decoder to investigate the relations between them and each local feature from the FP and then refine the MFF results accordingly. As a result, we obtain a simple and light-weight Transformer-based Context Condensation (TCC) module, which can boost various FPs and lower their computational costs simultaneously. Extensive experimental results on the challenging MS COCO dataset show that TCC is compatible to four representative FPs and consistently improves their detection accuracy by up to 7.8 % in terms of average precision and reduce their complexities by up to around 20% in terms of GFLOPs, helping them achieve state-of-the-art performance more efficiently. Code will be released.

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

↑