Skip to main content
QUICK REVIEW

[Paper Review] Context-Aware Single-Shot Detector

Wei Xiang, Dongqing Zhang|arXiv (Cornell University)|Jul 27, 2017
Advanced Neural Network ApplicationsComputer Science20 references6 citations
TL;DR

This paper proposes CSSD, a context-aware single-shot detector that enhances SSD by integrating multi-scale contextual features via dilated or deconvolutional layers, significantly improving detection accuracy—especially for small objects—by expanding effective receptive fields without sacrificing real-time inference speed.

ABSTRACT

SSD is one of the state-of-the-art object detection algorithms, and it combines high detection accuracy with real-time speed. However, it is widely recognized that SSD is less accurate in detecting small objects compared to large objects, because it ignores the context from outside the proposal boxes. In this paper, we present CSSD--a shorthand for context-aware single-shot multibox object detector. CSSD is built on top of SSD, with additional layers modeling multi-scale contexts. We describe two variants of CSSD, which differ in their context layers, using dilated convolution layers (DiCSSD) and deconvolution layers (DeCSSD) respectively. The experimental results show that the multi-scale context modeling significantly improves the detection accuracy. In addition, we study the relationship between effective receptive fields (ERFs) and the theoretical receptive fields (TRFs), particularly on a VGGNet. The empirical results further strengthen our conclusion that SSD coupled with context layers achieves better detection results especially for small objects ($+3.2\% { m AP}_{@0.5}$ on MS-COCO compared to the newest SSD), while maintaining comparable runtime performance.

Motivation & Objective

  • To address SSD's poor performance on small objects due to limited context awareness.
  • To analyze the discrepancy between theoretical and effective receptive fields (ERFs) in CNNs, particularly VGG16.
  • To improve SSD's detection accuracy by incorporating multi-scale contextual features without increasing computational cost.
  • To develop two variants—DiCSSD (dilated convolutions) and DeCSSD (deconvolutions)—that learn scaling parameters during feature fusion.
  • To validate that context modeling significantly enhances detection, especially for small and occluded objects.

Proposed method

  • CSSD extends SSD by adding context layers that capture multi-scale contextual features from higher-level feature maps.
  • DiCSSD uses dilated convolutions with adjustable rates to expand the receptive field while preserving spatial resolution.
  • DeCSSD directly reuses feature maps from deeper layers and fuses them with lower-level features using learnable scaling parameters.
  • Both variants integrate contextual features through end-to-end training, allowing the network to learn optimal fusion weights.
  • The method maintains SSD’s single-shot inference by adding only lightweight, learnable layers on top of existing SSD blocks.
  • Effective receptive field (ERF) analysis is performed to validate that ERFs are significantly smaller than theoretical receptive fields (TRFs), justifying the need for context modeling.

Experimental results

Research questions

  • RQ1How does the effective receptive field (ERF) of a CNN layer compare to its theoretical receptive field (TRF), and what impact does this have on object detection?
  • RQ2Can multi-scale context modeling improve SSD’s detection accuracy, especially for small objects?
  • RQ3Does integrating context via dilated convolutions (DiCSSD) or deconvolutions (DeCSSD) yield better performance than standard SSD?
  • RQ4How do the proposed context layers affect inference speed and memory consumption compared to baseline SSD?
  • RQ5To what extent does context integration improve detection under challenging conditions like occlusion or truncation?

Key findings

  • CSSD with dilated convolutions (DiCSSD) achieves a +3.2% AP@0.5 gain on MS-COCO compared to the latest SSD, with the highest mAP among all models tested.
  • For small objects, DiCSSD achieves 8.2% average precision (vs. 6.6% for SSD), and 15.4% recall (highest among all methods), demonstrating significant improvement.
  • DiCSSD maintains real-time inference at 40.8 FPS on PASCAL VOC 2007, outperforming DSSD (9.5 FPS) despite using a lighter VGG16 backbone.
  • The effective receptive field (ERF) of conv4_3 in SSD is only 1.9× larger than its grid scale, confirming that ERFs are substantially smaller than TRFs and justifying context modeling.
  • Both DiCSSD and DeCSSD outperform standard SSD by 0.6% and 0.1% mAP on PASCAL VOC 2007, respectively, with minimal computational overhead.
  • On DETRAC, DiCSSD achieves the best performance across all input resolutions, confirming its robustness and generalization capability.

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.