
Computer Vision · v1.0.15
2026-10-20 14:07:47
The detectors in this unit remove the second stage: one network, evaluated once, at 45 to 155 frames per second.

Separately trained components are “slow and hard to optimize”; one network is optimised end to end.

\(7 \times 7 \times 30\) output tensor for PASCAL VOC.
Coordinates
Confidence
\[\Pr(\text{Object}) \times \mathrm{IOU}^{\text{truth}}_{\text{pred}}\]
Class-specific score at test time
\[\Pr(\text{Class}_i \mid \text{Object}) \times \Pr(\text{Object}) \times \mathrm{IOU}^{\text{truth}}_{\text{pred}}\]

Convolutional layers extract features; the fully connected layers predict probabilities and coordinates.

Class imbalance
\[\lambda_{\text{coord}} = 5, \qquad \lambda_{\text{noobj}} = 0.5\]
Scale
\[\left(\sqrt{w} - \sqrt{\hat{w}}\right)^2\]
\[ \begin{align} &\lambda_{\text{coord}} \sum_{i,j} \mathbb{1}^{\text{obj}}_{ij} \left[ (x_i - \hat{x}_i)^2 + (y_i - \hat{y}_i)^2 \right] \\ +\ &\lambda_{\text{coord}} \sum_{i,j} \mathbb{1}^{\text{obj}}_{ij} \left[ \left(\sqrt{w_i} - \sqrt{\hat{w}_i}\right)^2 + \left(\sqrt{h_i} - \sqrt{\hat{h}_i}\right)^2 \right] \end{align} \]
\[ \begin{align} +\ &\sum_{i,j} \mathbb{1}^{\text{obj}}_{ij} \left(C_i - \hat{C}_i\right)^2 + \lambda_{\text{noobj}} \sum_{i,j} \mathbb{1}^{\text{noobj}}_{ij} \left(C_i - \hat{C}_i\right)^2 \\ +\ &\sum_{i} \mathbb{1}^{\text{obj}}_{i} \sum_{c} \left(p_i(c) - \hat{p}_i(c)\right)^2 \end{align} \]

IoU is computed from the boxes drawn; the highest one is responsible.
Training
\[\phi(x) = \begin{cases} x, & x > 0 \\ 0.1x, & \text{otherwise} \end{cases}\]
Inference


The gain comes from complementary error profiles, not from averaging.



Auxiliary feature layers decrease in size progressively and each one feeds a predictor.

\[(c + 4)\,k\,m\,n\] - replaces YOLO’s fully connected head


\[s_k = s_{\min} + \frac{s_{\max} - s_{\min}}{m - 1}(k - 1)\]
\[w_k^a = s_k \sqrt{a_r}, \qquad h_k^a = \frac{s_k}{\sqrt{a_r}}\]

\[L(x, c, l, g) = \frac{1}{N}\left(L_{conf}(x, c) + \alpha\, L_{loc}(x, l, g)\right)\]
Localisation: smooth \(L_1\)
Confidence and weights

Schematic: 4 positives, 12 negatives kept.
Each training image is sampled by one of three options:
Random crops act as a zoom in.

Table of ablations
Number of prediction layers
conv7 aloneThe number of resolutions, not the number of boxes, carries the accuracy.

Relative standing on VOC 2007.


Share of the forward time.
SSD300 is the first real-time method above 70% mAP.


Dimension clusters
\[d(\text{box}, \text{centroid}) = 1 - \mathrm{IOU}(\text{box}, \text{centroid})\]
Direct location prediction
\[b_x = \sigma(t_x) + c_x, \qquad b_w = p_w e^{t_w}\]

Detection throughput is a backbone design problem before it is a head design problem.

Stages
Input resolution
Object scale
Object size decides between resolution and multi-scale features.