SSD / RetinaNet
What it is
Multi-scale anchor-based single-shot heads; RetinaNet adds focal loss to fix the foreground/background imbalance.
When to use it
When you need one-stage speed but better small-object and class-imbalance behaviour than early YOLO.
Caveats
Both depend on hand-designed anchor boxes and non-maximum suppression, which need tuning per dataset. The original SSD is weak on small objects, and dense prediction creates an extreme foreground/background imbalance, which is what RetinaNet's focal loss was introduced to handle.
Key ideas
- One-stage detectors: predict boxes and classes densely in a single pass
- SSD predicts from several feature maps at different scales
- RetinaNet adds a feature pyramid and focal loss to cope with the flood of easy background examples
Related architectures
Original paper
Focal Loss for Dense Object Detection (2017, arXiv)