YOLO

The paper frames object detection as a single regression problem from a full image to boxes and class probabilities.

Metadata

FieldValue
PaperYou Only Look Once: Unified, Real-Time Object Detection
AuthorsJoseph Redmon, Santosh Divvala, Ross Girshick, Ali Farhadi
Year2016
VenueCVPR 2016
arXiv1506.02640
PaperCVF Open Access PDF
Statusseed note started

One-Line Takeaway

YOLO replaces proposal-based detection with a single CNN that predicts bounding boxes and class probabilities directly from the full image in one forward pass.

Question

Earlier detection pipelines often looked like:

YOLO asks:

Can object detection be trained as one direct prediction problem?

The proposed interface:

where:

Here:

  • is the image grid;
  • is the number of boxes per grid cell;
  • is the number of classes;
  • each box predicts .

Architecture Contract

ComponentInputOutputRole
CNN backboneimagespatial feature gridfull-image visual representation
grid predictorfeature gridbox and class predictions per cellsingle-stage dense prediction
detection losspredicted grid and targetsscalar objectivetrain boxes, objectness, and classes together
NMS/post-processcandidate boxesfinal detectionsremove duplicate boxes

The main architectural shift:

Grid Prediction

YOLO divides the image into an grid. Each grid cell is responsible for objects whose center falls inside that cell.

For cell and box , the model predicts:

The confidence combines objectness and localization quality:

Class probabilities are predicted per cell:

The final class-specific score is:

Unified Detection Loss

A simplified YOLO-style objective combines localization, confidence, and classification:

The original formulation weights coordinate error and no-object confidence differently:

The square-root width/height terms reduce the penalty imbalance between small and large boxes.

Why It Matters

YOLO is the canonical one-stage real-time detector starting point:

It is architecturally important because it makes speed and simplicity part of the model contract. The design sacrifices some localization precision compared with two-stage detectors, but it makes detection usable in real-time systems.

Comparison

AxisFaster R-CNNYOLO
Detection styletwo-stageone-stage
Candidate generationRPN proposalsgrid predictions
Speed targetaccurate proposal detectorreal-time detection
Contextregion-centricfull-image
Main weaknessheavier pipelinelocalization errors, small objects

Reading Boundary

YOLO has many later versions. This note is about the original YOLOv1 architecture paper. Later YOLO variants add anchors, stronger backbones, feature pyramids, better assignment rules, and many training changes. Those should not be retroactively attributed to the original paper.

What To Watch

  • Grid-cell responsibility can struggle when multiple small objects fall in the same cell.
  • Direct regression is fast but can trade away localization precision.
  • The final detector still uses post-processing such as non-maximum suppression.
  • Later YOLO versions differ substantially from YOLOv1.
  • Benchmark comparisons should separate speed, input resolution, backbone, and dataset.