[Paper Review] Dynamic Proposals for Efficient Object Detection
This paper proposes Dynamic Proposals, a plug-and-play module that enables object detectors to dynamically adjust the number of proposals based on input image complexity, improving inference efficiency without sacrificing accuracy. By using a learnable regression head to estimate object count and an inplace distillation strategy, the method achieves up to 80% faster inference across models like Sparse R-CNN and QueryInst while maintaining or improving AP scores.
Object detection is a basic computer vision task to loccalize and categorize objects in a given image. Most state-of-the-art detection methods utilize a fixed number of proposals as an intermediate representation of object candidates, which is unable to adapt to different computational constraints during inference. In this paper, we propose a simple yet effective method which is adaptive to different computational resources by generating dynamic proposals for object detection. We first design a module to make a single query-based model to be able to inference with different numbers of proposals. Further, we extend it to a dynamic model to choose the number of proposals according to the input image, greatly reducing computational costs. Our method achieves significant speed-up across a wide range of detection models including two-stage and query-based models while obtaining similar or even better accuracy.
Motivation & Objective
- To address the inefficiency of fixed-proposal object detectors that cannot adapt to varying computational budgets.
- To enable a single trained model to dynamically select the number of proposals based on input image complexity.
- To reduce computational cost without degrading detection or instance segmentation accuracy.
- To design a plug-and-play module compatible with two-stage and query-based detectors.
- To improve inference efficiency by leveraging dynamic proposal counting and feature distillation.
Proposed method
- A regression head (denoted as $\mathcal{M}$) estimates the number of objects in an input image to guide proposal count selection.
- The model uses a switchable proposal mechanism that allows inference with varying numbers of proposals from a single trained network.
- Inplace distillation is applied to transfer knowledge from a full-proposal model to variants with fewer proposals, stabilizing training and improving performance.
- The number of proposals is dynamically selected using the estimated object count $\tilde{n}$, which is used in the loss function via Equation 8.
- The framework is integrated as a plug-in module into existing detectors like Sparse R-CNN, QueryInst, Faster R-CNN, and Mask R-CNN.
- The method supports both object detection and instance segmentation with minimal architectural changes.
Experimental results
Research questions
- RQ1Can a single object detector be trained to dynamically adjust the number of proposals based on input image complexity?
- RQ2How effective is the proposed dynamic proposal mechanism in reducing inference time while maintaining detection accuracy?
- RQ3To what extent does inplace distillation improve performance of low-proposal variants?
- RQ4How accurate is the object count estimation module in predicting the number of objects per image?
- RQ5Can the dynamic proposal framework be effectively deployed across diverse two-stage and query-based detectors?
Key findings
- The method increases inference speed by up to 80% on QueryInst with similar or improved AP scores, as shown in Figure 1.
- The estimated number of objects has a mean error of less than 5 objects on both MS COCO and Cityscapes benchmarks.
- The 4-class classification accuracy for proposal count estimation exceeds 97% on both MS COCO and Cityscapes.
- Using ground truth object count $n_g$ as oracle yields AP scores nearly identical to those using estimated $\tilde{n}$, confirming the accuracy of the estimation module.
- Inplace distillation improves AP by at least 0.3% across detection and instance segmentation tasks without increasing inference cost.
- Increasing the configuration number $\theta$ from 4 to 12 improves performance slightly (0.2% on AP) but does not significantly affect inference speed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.