Skip to main content
QUICK REVIEW

[Paper Review] Real-time Transformer-based Open-Vocabulary Detection with Efficient Fusion Head

Tiancheng Zhao, Peng Liu|arXiv (Cornell University)|Mar 11, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper proposes OmDet-Turbo, a real-time, transformer-based open-vocabulary object detection model that achieves high accuracy and inference speed through an Efficient Fusion Head (EFH) module. The EFH replaces computationally heavy components in prior models like OmDet and Grounding-DINO with a lightweight, language-aware encoder and decoder, enabling 100.2 FPS inference with TensorRT and achieving state-of-the-art performance on ODinW (AP: 30.1) and OVDEval (NMS-AP: 26.86).

ABSTRACT

End-to-end transformer-based detectors (DETRs) have shown exceptional performance in both closed-set and open-vocabulary object detection (OVD) tasks through the integration of language modalities. However, their demanding computational requirements have hindered their practical application in real-time object detection (OD) scenarios. In this paper, we scrutinize the limitations of two leading models in the OVDEval benchmark, OmDet and Grounding-DINO, and introduce OmDet-Turbo. This novel transformer-based real-time OVD model features an innovative Efficient Fusion Head (EFH) module designed to alleviate the bottlenecks observed in OmDet and Grounding-DINO. Notably, OmDet-Turbo-Base achieves a 100.2 frames per second (FPS) with TensorRT and language cache techniques applied. Notably, in zero-shot scenarios on COCO and LVIS datasets, OmDet-Turbo achieves performance levels nearly on par with current state-of-the-art supervised models. Furthermore, it establishes new state-of-the-art benchmarks on ODinW and OVDEval, boasting an AP of 30.1 and an NMS-AP of 26.86, respectively. The practicality of OmDet-Turbo in industrial applications is underscored by its exceptional performance on benchmark datasets and superior inference speed, positioning it as a compelling choice for real-time object detection tasks. Code: \url{https://github.com/om-ai-lab/OmDet}

Motivation & Objective

  • Address the high computational cost and slow inference speeds of existing end-to-end transformer-based open-vocabulary detectors (OVD) in real-time applications.
  • Identify and resolve key bottlenecks in state-of-the-art OVD models, specifically OmDet and Grounding-DINO, related to encoder and ROIAlign-based head components.
  • Develop a lightweight, efficient fusion mechanism that maintains high detection accuracy while drastically reducing inference time.
  • Achieve state-of-the-art zero-shot performance on COCO, LVIS, ODinW, and OVDEval benchmarks with a model optimized for real-world deployment.
  • Enable practical deployment in industrial settings by combining high-speed inference with strong generalization to unseen object categories via language guidance.

Proposed method

  • Propose an Efficient Fusion Head (EFH) that replaces the heavy encoder and ROIAlign-based decoder in prior models with a streamlined, language-aware architecture.
  • Introduce an Efficient Language-aware Encoder (ELA-Encoder) that generates prompt-related query proposals from multi-scale visual features with reduced computation.
  • Design an Efficient Language-aware Decoder (ELA-Decoder) that replaces ROIAlign with deformable attention and simplifies vision-language fusion using self-attention.
  • Implement a decoupled label and prompt embedding structure to enable language embedding caching during inference, eliminating repeated text backbone computation.
  • Leverage TensorRT and model quantization techniques to accelerate inference, especially for the text backbone and head components.
  • Pre-train the OmDet-Turbo-Base model on a large-scale dataset with expanded vocabulary to enhance zero-shot generalization without requiring fine-tuning.

Experimental results

Research questions

  • RQ1How can the computational bottlenecks in existing transformer-based open-vocabulary detectors—particularly in the encoder and head components—be effectively mitigated to enable real-time inference?
  • RQ2To what extent can a lightweight, language-aware fusion mechanism maintain detection accuracy while significantly reducing inference latency compared to models like OmDet and Grounding-DINO?
  • RQ3Can a model with a simplified, efficient fusion head achieve state-of-the-art performance in zero-shot open-vocabulary detection across diverse benchmarks such as COCO, LVIS, ODinW, and OVDEval?
  • RQ4How effective is the use of language embedding caching and TensorRT optimization in accelerating inference speed without compromising detection quality?
  • RQ5What is the trade-off between model size, inference speed, and zero-shot detection performance when scaling up the backbone and vocabulary in a real-time OVD system?

Key findings

  • OmDet-Turbo-Base achieves a state-of-the-art AP of 30.1 on the ODinW benchmark and an NMS-AP of 26.86 on the OVDEval benchmark, outperforming prior SOTA models.
  • With TensorRT and language cache, OmDet-Turbo-Base attains 100.2 FPS inference speed, demonstrating real-time capability suitable for industrial deployment.
  • OmDet-Turbo-Tiny achieves 140.0 FPS with TensorRT and language caching—7x faster than OmDet-Tiny and 4.5x faster than Grounding-DINO-Tiny—while maintaining superior accuracy.
  • The EFH module reduces encoder/FPN time by roughly 10x compared to Grounding-DINO-Tiny and eliminates the need for slow ROIAlign in the decoder, cutting head processing time significantly.
  • In zero-shot detection, OmDet-Turbo-Tiny achieves 30.3 AP on LVIS minival, outperforming other models with identical pre-training data and image backbones.
  • The model’s decoupled label and prompt embedding structure enables up to 40ms inference time reduction by caching text embeddings, significantly accelerating inference in dynamic environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.