Weaving Multi-scale Context for Single Shot Detector

Yunpeng Chen, Jianshu Li, Bin Zhou, Jiashi Feng, Shuicheng YanarXiv 2017

Abstract

Single Shot Detectors (SSDs) offer high-speed object detection but often struggle with accuracy due to limited receptive fields in shallower layers. WeaveNet addresses this by iteratively fusing multi-scale context through a lightweight "weaving" architecture. By propagating information between adjacent scales, WeaveNet achieves 79.7% mAP on PASCAL VOC 2007 at 101 FPS, significantly improving small object detection while maintaining real-time performance.

Introduction

Object detection typically involves a trade-off between the accuracy of two-stage detectors (e.g., Faster R-CNN) and the speed of single-stage detectors (e.g., SSD). SSDs achieve efficiency by detecting objects at multiple scales across different network layers. However, shallow layers responsible for small objects lack the global context necessary for accurate identification. While previous attempts to integrate multi-scale context using deconvolution or feature pyramids improved accuracy, they often introduced significant computational overhead. WeaveNet is proposed as a solution that provides rich context with minimal impact on speed.

Methods: Iterative Weaving Architecture

The core of WeaveNet is a lightweight topology that sits atop a backbone network like VGG16. It employs an iterative process to fuse features across scales.

Overview of the WeaveNet architecture showing iterative weaving across four scales and multiple iterations.

The architecture is defined by several key principles:

  1. Adjacent Scale Fusion: Information is only exchanged between immediately adjacent layers (e.g., 10x10 and 20x20), keeping individual operations cheap.
  2. Iterative Refinement: Global context is propagated across all scales through repeated "weaving" iterations. This allows information from deep layers to reach shallow layers and vice versa over time.
  3. Lightweight Blocks: The fusion blocks utilize simple 3x3 convolutions and ReLU activations without Batch Normalization, facilitating training with small batches.
  4. Computational Optimization: By pre-computing static parts of the fusion process, the authors minimized data allocation and communication overhead, ensuring the extra cost of WeaveNet remains negligible.

Results and Discussion

WeaveNet was evaluated on PASCAL VOC 2007 and 2012. The results highlight a superior speed-accuracy trade-off compared to other SSD variants.

Speed-accuracy trade-off comparison on PASCAL VOC 2007, showing WeaveNet (Ours) outperforming several baseline models.

Key Performance Metrics

  • Accuracy: On PASCAL VOC 2007, WeaveNet achieved 79.5% mAP with a single iteration, rising to 79.7% with five iterations—a substantial improvement over the 77.3% mAP of vanilla SSD.
  • Speed: The model reached 101 FPS on an NVIDIA Titan X (Pascal) GPU. It outperformed DSSD in both speed and accuracy, despite DSSD using a heavier ResNet-101 backbone.
  • Small Object Detection: Top-down context propagation improved mAP for small objects from 43.4% to 47.4%.

Insights

Ablation studies confirmed that both "top-down" (context for small objects) and "bottom-up" (details for large object localization) information flows contribute to performance. Furthermore, the model's accuracy can be tuned by adjusting the number of iterations, providing flexibility for different deployment requirements.

Conclusion

WeaveNet effectively bridges the gap between speed and accuracy in single-shot detection. By utilizing an iterative weaving mechanism, it provides the necessary global context for difficult objects without the heavy computational burden of traditional fusion methods. Future work includes evaluating the architecture on the MS COCO benchmark and exploring its compatibility with more modern backbones like ResNeXt or MobileNet.

Summary updated

BibTeX
@misc{chen2017weaving,
  author = {Yunpeng Chen and Jianshu Li and Bin Zhou and Jiashi Feng and Shuicheng Yan},
  title = {{Weaving Multi-scale Context for Single Shot Detector}},
  year = {2017},
  eprint = {1712.03149},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.03149},
}
Figure