SSD
The paper makes object detection a single-shot prediction problem over default boxes placed on multiple feature maps.
Metadata
| Field | Value |
|---|---|
| Paper | SSD: Single Shot MultiBox Detector |
| Authors | Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg |
| Year | 2016 |
| Venue | ECCV 2016 |
| arXiv | 1512.02325 |
| Status | seed note started |
One-Line Takeaway
SSD removes proposal generation and predicts class scores plus box offsets for many default boxes across several feature-map resolutions.
Question
YOLO showed that object detection can be done in one forward pass, but early one-stage detectors struggled with localization and object scale.
SSD asks:
Can a single-shot detector improve scale and aspect-ratio coverage by predicting from multiple feature maps and multiple default boxes?
The interface is:
where:
- is a feature map at level ;
- is a spatial location;
- is a default box index;
- is a class distribution;
- is a box offset.
Architecture Contract
| Component | Input | Output | Role |
|---|---|---|---|
| base CNN | image | feature hierarchy | visual representation |
| extra feature layers | deep features | lower-resolution maps | larger receptive fields |
| default boxes | feature locations | anchor-like priors | cover scales/aspect ratios |
| prediction heads | each feature map | class logits and box offsets | dense one-stage detection |
| NMS | candidate detections | final detections | remove duplicate boxes |
The core architecture:
Default Boxes
At each feature-map cell, SSD defines several default boxes:
Each default box has a scale and aspect ratio. The model predicts offsets:
and class logits:
The final box is:
The background class accounts for default boxes that do not match objects.
Multi-Scale Prediction
SSD predicts from several feature maps:
Higher-resolution maps help smaller objects:
Lower-resolution maps help larger objects:
This is a key difference from a detector that predicts only from one final feature grid.
Training Objective
SSD matches ground-truth boxes to default boxes and trains classification plus localization:
The localization term is usually Smooth L1 over matched boxes:
where is the matching between default boxes and ground-truth boxes.
Why It Matters
SSD is important because it makes the one-stage detector design more general than the original YOLO grid:
This pattern directly anticipates later dense detectors and mobile detection heads.
Comparison
| Axis | YOLO | SSD |
|---|---|---|
| Prediction locations | grid cells | multiple feature maps |
| Box priors | grid responsibility | default boxes per location |
| Scale handling | limited in original YOLO | explicit multi-level prediction |
| Detector type | one-stage | one-stage |
| Main tradeoff | speed and simplicity | more anchors/default boxes to tune |
What To Watch
- Default-box scale/aspect design strongly affects recall.
- Hard negative mining is part of the training recipe, not only the architecture.
- Multi-scale feature prediction is not the same as the later FPN top-down fusion.
- NMS remains part of inference.
- Later SSD variants differ through backbones, feature pyramids, and mobile heads.