SSD

The paper makes object detection a single-shot prediction problem over default boxes placed on multiple feature maps.

Metadata

FieldValue
PaperSSD: Single Shot MultiBox Detector
AuthorsWei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg
Year2016
VenueECCV 2016
arXiv1512.02325
Statusseed 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

ComponentInputOutputRole
base CNNimagefeature hierarchyvisual representation
extra feature layersdeep featureslower-resolution mapslarger receptive fields
default boxesfeature locationsanchor-like priorscover scales/aspect ratios
prediction headseach feature mapclass logits and box offsetsdense one-stage detection
NMScandidate detectionsfinal detectionsremove 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

AxisYOLOSSD
Prediction locationsgrid cellsmultiple feature maps
Box priorsgrid responsibilitydefault boxes per location
Scale handlinglimited in original YOLOexplicit multi-level prediction
Detector typeone-stageone-stage
Main tradeoffspeed and simplicitymore 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.