The YOLO family: grids, responsibility and changing detection heads
YOLO 系列
Derive the original grid and loss, run a checked small head and v3 decoder, and compare family branches through fixed versions.
yoloWho should predict the bicycle?
Imagine a street image containing a bicycle and a pedestrian. A detector must name them and draw their boxes. The R-CNN family makes candidate regions explicit. Original YOLO instead turns the whole image into one fixed collection of box and class outputs. The name expands to You Only Look Once: the detector predicts from an image-wide network pass. It does not mean there is no training, feature extraction or post-processing.
Divide the image into an S×S grid. The cell containing an object’s center is responsible for that object. A large bicycle may cross many cells; its center still chooses the training cell. Each cell predicts B boxes but only one shared vector of K class values. Each box has four geometric outputs and one confidence output. Thus the total number of scalar outputs is
The CVPR2016 paper uses S=7, B=2 and K=20: 1,470 scalar outputs describing 98 candidate boxes. These are not 98 independently classified regions. The two boxes in a cell share its class values. This distinction explains both the compact representation and its difficulty with crowded cells. YOLOv1 §2
The family name now covers several research and software branches. Their numbers are not a single team’s uninterrupted release sequence. Start with the original mechanism, then ask what later systems changed: the output representation, features, target assignment, training loss or inference procedure.
From a grid to boxes and training signals
Decode the original representation
Use zero-based row r and column c. The original x/y outputs are offsets within a cell; width and height are relative to the image. For the implementation below, store signed root-size outputs s_w and s_h. The decoded normalized center and size are
The corners are center minus/plus half the size. Multiply horizontal coordinates by image width and vertical coordinates by image height when pixel coordinates are needed. The final layer is linear in the original paper; this is not a sigmoid-based guarantee that all offsets or scores lie between zero and one. The root-output convention follows the fixed Darknet sqrt=1 implementation. Original architecture and training, fixed training and decoder
Call box confidence a and a cell’s class value p_k. The intended confidence represents object presence times localization quality, while p_k represents a class conditional on an object. Class-specific detection scores multiply them:
For a cell with class values [0.8,0.2] and box confidences [0.7,0.2], the score rows are [0.56,0.14] and [0.16,0.04]. The relative class preference is shared. This rank-one score structure cannot independently represent “the first box is a bicycle, the second is a pedestrian” in that cell. Raw linear outputs need not be calibrated probabilities. YOLOv1 §2
Decide responsibility before taking a gradient
For each target, compare the B decoded boxes in its center cell with the target box. The paper assigns responsibility to the predictor with the highest current intersection over union (IoU). The fixed Darknet implementation falls back to center/size distance when every IoU is zero. Our teaching implementation chooses the first predictor on an exact tie and rejects two targets in one cell rather than silently discarding one. Responsibility and loss, implementation
Let R contain responsible cell–predictor pairs and O contain occupied cells. Let u collect the four raw geometric outputs, u* the encoded target, q the responsible box’s current IoU, and y the cell’s one-hot class target. With assignment and q held fixed for this update, our explicit squared-error objective is
The encoded target is [cell x offset, cell y offset, positive square root of width, positive square root of height]. A nonresponsible box in an occupied cell still receives the no-object confidence penalty. Background cells receive confidence supervision but no box-coordinate or class target. This mask follows the fixed implementation; “no object” must not be misread as “only cells with no object.” Paper equation 3, confidence initialization and responsible replacement
For a responsible box, the derivatives of this explicit objective are
These are true derivatives with respect to the displayed output slots. They do not differentiate through discrete assignment or through q. Recomputing IoU while perturbing coordinates checks a different function. The original manual Darknet update uses scaled target-minus-output values, with a different sign/factor convention; its final cost is overwritten by the squared norm of those updates. Do not compare that diagnostic number directly with the objective above. Fixed implementation
The square-root representation also has a subtle consequence. Raw roots +0.5 and −0.5 both decode to width 0.25. Against target root +0.5, however, their coordinate errors differ. Equal decoded boxes do not imply equal training loss. This follows from the chosen parameterization, not from a difference in IoU.
What v2 and v3 changed
YOLOv2 removes the fully connected detection layers and predicts relative to anchor shapes. It clusters training-box dimensions using 1−IoU as the distance and predicts classes for each anchor instead of sharing a class vector across a cell. It also adds batch normalization, brings finer-resolution features into the detection map, and varies input resolution during training. YOLO9000 is the related joint detection/classification training system; it is not simply another spelling of every YOLOv2 model. YOLO9000 v1, §2 and introduction
With feature-grid offsets c,r, raw outputs t and anchor sizes p_w,p_h, the v2/v3 decoding rule uses sigmoid centers and exponential relative sizes. In the following form the grid is H×W and anchor sizes are already normalized by image size:
A zero size logit preserves its anchor dimension; a logit of ln 2 doubles it. A zero center logit puts the center halfway across the cell. Unlike the original linear center outputs, sigmoid centers stay within their predicting cell for finite mathematical logits. Floating-point saturation can reach an endpoint. YOLOv2 direct location prediction, YOLOv3 §2.1
YOLOv3 uses independent sigmoid class predictions with binary cross-entropy, allowing overlapping labels instead of requiring one softmax choice. Its objectness target convention also differs from the original IoU-rescored confidence. The paper describes three detection scales, with upsampling and concatenation to combine coarser semantic features with finer spatial features; the Darknet-53 feature extractor uses residual connections. “Anchor-free” is therefore not a property of every YOLO. YOLOv3 §§2.1–2.4
Each v3 scale has H×W×A×(5+K) outputs, where A is the number of anchors per cell. With three anchors, 80 classes and hypothetical 13×13, 26×26 and 52×52 maps, there are 10,647 boxes and 904,995 scalar outputs. Those are counts derived from these supplied shapes, not measured accuracy or backbone cost.
A family map, not a leaderboard
The following entries identify major branches within this edition. Original papers support the stated research directions; overview-only readings do not establish every internal detail or reproduce their reported gains.
| Branch and period | What to investigate | Evidence |
|---|---|---|
| YOLOv4, 2020; Bochkovskiy, Wang and Liao | Combinations of architecture, augmentation and training choices, including Mosaic and self-adversarial training; improvements need not come from one new layer | Original abstract |
| YOLOv5, 2020 onward; Ultralytics | The original v1.0 configuration has three anchor groups and multi-scale outputs. The later YOLOv5u documentation describes an anchor-free, objectness-free split head; do not interchange their model formats | Original configuration, v5u documentation |
| YOLOX, 2021; Ge and colleagues | An anchor-free design, separate prediction branches and SimOTA target assignment; output geometry and the choice of positive training candidates are separate decisions | Original abstract |
| YOLOv6, 2022; Li and colleagues | Industrial deployment, training choices and quantization; the deployment representation and runtime matter alongside the network | Original abstract |
| YOLOv7, 2022; Wang, Bochkovskiy and Liao | Training techniques intended to improve a real-time detector; examine which changes affect training and which affect inference | Original abstract and title |
| YOLOv8, 2023; Ultralytics | An anchor-free split prediction head; the documentation dates release to 10 January 2023 | Fixed official overview |
| YOLOv9, 2024; Wang, Yeh and Liao | Programmable Gradient Information (PGI) and GELAN: training-gradient paths and network aggregation are explicit design targets | Original abstract |
| YOLOv10, 2024; Wang and colleagues | Consistent dual assignments intended to support inference without a separate NMS step; this is a specific training/inference design | Original abstract |
| YOLO11, 2024; Ultralytics | Continued feature and training changes; the fixed configuration retains P3/P4/P5 outputs and identifies C3k2 and C2PSA modules | Official overview, configuration |
| YOLOv12, 2025; Tian, Ye and Doermann | Attention as a central detector design choice, under real-time computation constraints | Original abstract |
| YOLOv13, 2025; Lei and colleagues | HyperACE and FullPAD: high-order feature relationships and cross-network information distribution, as proposed by the authors | Original abstract |
| YOLO26, 2026; Ultralytics | The cutoff documentation describes a default one-to-one, NMS-free path, removal of Distribution Focal Loss, and the MuSGD/Progressive Loss/STAL training recipe | Fixed official documentation |
This map is not an exhaustive inventory of every fork using the name. Nor is “higher number” evidence of later publication or better performance: the first v7 report is dated July 2022, while the cited v6 report is dated September 2022. A comparison must name the repository, version, model size, task, data and inference configuration. Names alone do not supply those conditions.
A small head whose numbers can be checked
The original NumPy program below runs a full linear output head from a supplied feature vector, assigns targets, computes all four loss terms and their output gradients, takes one weight update, and decodes boxes and class scores. A second decoder demonstrates the v3 anchor and independent-class representation. It does not include a CNN backbone, image-recognition training, v3 training or NMS. Follow the existing NMS chapter after scoring candidates.
The hand-picked initialization makes the first responsible box exact. Its confidence is 0.7 instead of target IoU 1, giving 0.09. The other confidence contributes 0.5×0.2²=0.02. Class values [0.8,0.2] against [1,0] contribute 0.08. Total loss is 0.19. Unit-norm features make a weight step of 0.1 produce a simple output-space step; the fixed-target loss becomes 0.125.
"""Original YOLO-v1-style grid-head surrogate; structured slots, not a Darknet binary layout."""
import numpy as np
def inspect(prediction, boxes_per_cell):
p = np.asarray(prediction, dtype=float)
if type(boxes_per_cell) is not int or boxes_per_cell < 1:
raise ValueError('boxes_per_cell must be a positive integer')
if p.ndim != 3 or p.shape[0] < 1 or p.shape[0] != p.shape[1]:
raise ValueError('prediction must be an S-by-S-by-P grid')
classes = p.shape[2] - 5*boxes_per_cell
if classes < 1 or not np.isfinite(p).all():
raise ValueError('finite box/confidence slots and at least one class required')
return p, p.shape[0], classes
def decode(prediction, boxes_per_cell=2):
"""Slots per box: cell x/y offsets, signed root width/height, confidence."""
p, side, classes = inspect(prediction, boxes_per_cell)
raw = p[..., :5*boxes_per_cell].reshape(side, side, boxes_per_cell, 5)
row, col = np.indices((side, side))
xy = (raw[..., :2] + np.stack([col, row], axis=-1)[..., None, :])/side
with np.errstate(over='ignore', invalid='ignore'):
size = raw[..., 2:4]**2
corners = np.concatenate([xy-size/2, xy+size/2], axis=-1)
scores = raw[..., 4, None] * p[..., None, 5*boxes_per_cell:]
if not np.isfinite(corners).all() or not np.isfinite(scores).all():
raise ValueError('decoded outputs exceed numerical range')
return corners, scores
def overlap(a, b):
"""Half-open xyxy; predicted zero area is allowed, truth has positive area."""
lengths = np.r_[a[2:]-a[:2], b[2:]-b[:2]]
scale = lengths.max()
if scale <= 0 or not np.isfinite(lengths).all() or (lengths < 0).any():
raise ValueError('invalid box lengths')
lengths /= scale
intersection = (np.maximum(0, np.minimum(a[2:],b[2:])-np.maximum(a[:2],b[:2]))/scale).prod()
union = lengths[:2].prod()+lengths[2:].prod()-intersection
if union <= 0 or not np.isfinite(union):
raise ValueError('invalid union area')
return float(intersection/union)
def assign(prediction, truth, boxes_per_cell=2):
"""Freeze assignment and IoU targets. Truth rows: (class, cx, cy, width, height)."""
p, side, classes = inspect(prediction, boxes_per_cell)
corners, _ = decode(p, boxes_per_cell)
records, occupied = [], set()
for class_id, cx, cy, width, height in truth:
if type(class_id) is not int or not 0 <= class_id < classes:
raise ValueError('invalid class id')
target = np.array([cx, cy, width, height], dtype=float)
if not np.isfinite(target).all() or not (0 <= cx < 1 and 0 <= cy < 1 and 0 < width <= 1 and 0 < height <= 1):
raise ValueError('truth needs normalized centers and positive sizes at most one')
row, col = int(cy*side), int(cx*side)
if (row,col) in occupied:
raise ValueError('two truth objects in one cell cannot fit this target representation')
occupied.add((row,col))
gt = np.r_[target[:2]-target[2:]/2, target[:2]+target[2:]/2]
ious = np.array([overlap(b,gt) for b in corners[row,col]])
if ious.max() > 0:
winner = int(np.argmax(ious))
else:
b = corners[row,col]
center_size = np.c_[(b[:,:2]+b[:,2:])/2, b[:,2:]-b[:,:2]]
winner = int(np.argmin(np.linalg.norm(center_size-target,axis=1)))
encoded = np.array([cx*side-col, cy*side-row, np.sqrt(width), np.sqrt(height)])
records.append((row,col,winner,class_id,encoded,float(ious[winner])))
return records
def objective(prediction, plan, boxes_per_cell=2, coord_weight=5., noobject_weight=.5):
"""Explicit SSE surrogate and its true gradient, with the supplied plan held fixed."""
p, side, classes = inspect(prediction, boxes_per_cell)
if not np.isfinite([coord_weight,noobject_weight]).all() or min(coord_weight,noobject_weight) < 0:
raise ValueError('weights must be finite and nonnegative')
raw = p[...,:5*boxes_per_cell].reshape(side,side,boxes_per_cell,5)
gradient = np.zeros_like(p)
gbox = gradient[...,:5*boxes_per_cell].reshape(side,side,boxes_per_cell,5)
conf = raw[...,4]
gbox[...,4] = 2*noobject_weight*conf
parts = {'coordinate':0., 'object':0., 'noobject':float(noobject_weight*np.sum(conf**2)), 'class':0.}
used = set()
for row,col,winner,class_id,target,iou_target in plan:
if not (0 <= row < side and 0 <= col < side and 0 <= winner < boxes_per_cell and 0 <= class_id < classes):
raise ValueError('plan indices outside grid')
if (row,col) in used:
raise ValueError('duplicate cell in plan')
used.add((row,col))
target = np.asarray(target,float)
if target.shape != (4,) or not np.isfinite(target).all() or not np.isfinite(iou_target) or not 0 <= iou_target <= 1:
raise ValueError('invalid frozen target')
error = raw[row,col,winner,:4]-target
parts['coordinate'] += float(coord_weight*np.sum(error**2))
gbox[row,col,winner,:4] = 2*coord_weight*error
value = conf[row,col,winner]
parts['noobject'] -= float(noobject_weight*value**2)
parts['object'] += float((value-iou_target)**2)
gbox[row,col,winner,4] = 2*(value-iou_target)
expected = np.zeros(classes)
expected[class_id] = 1.
error = p[row,col,5*boxes_per_cell:] - expected
parts['class'] += float(np.sum(error**2))
gradient[row,col,5*boxes_per_cell:] = 2*error
return float(sum(parts.values())), parts, gradient
def linear_head(features, weights, side, boxes_per_cell, classes):
"""All grid slots see the same full-image feature vector; no CNN backbone here."""
x, w = np.asarray(features,float), np.asarray(weights,float)
if any(type(n) is not int or n < 1 for n in [side,boxes_per_cell,classes]):
raise ValueError('head dimensions must be positive integers')
count = side*side*(5*boxes_per_cell+classes)
if x.ndim != 1 or w.shape != (len(x),count) or not np.isfinite(x).all() or not np.isfinite(w).all():
raise ValueError('invalid feature/weight shapes or values')
return (x @ w).reshape(side,side,5*boxes_per_cell+classes)
def decode_v3(prediction, anchors):
"""H x W x A x (5+C) logits; anchor widths/heights are image-normalized."""
p, a = np.asarray(prediction,float), np.asarray(anchors,float)
if (p.ndim != 4 or min(p.shape[:3]) < 1 or p.shape[-1] < 6
or a.shape != (p.shape[2],2) or not np.isfinite(p).all()
or not np.isfinite(a).all() or (a <= 0).any()):
raise ValueError('finite grid logits and positive A-by-2 anchors required')
height, width = p.shape[:2]
row, col = np.indices((height,width))
def sigmoid(x):
e = np.exp(-np.abs(x))
return np.where(x >= 0, 1/(1+e), e/(1+e))
xy = (sigmoid(p[...,:2])+np.stack([col,row],axis=-1)[...,None,:2])/[width,height]
with np.errstate(over='ignore',invalid='ignore'):
size = a*np.exp(p[...,2:4])
corners = np.concatenate([xy-size/2,xy+size/2],axis=-1)
if not np.isfinite(corners).all():
raise ValueError('decoded outputs exceed numerical range')
scores = sigmoid(p[...,4,None])*sigmoid(p[...,5:])
return corners, scores
if __name__ == '__main__':
# Initial weights are chosen for hand-computable outputs, not learned recognition.
desired = np.array([.5,.5,np.sqrt(.4),np.sqrt(.2),.7, .1,.1,.2,.2,.2, .8,.2])
image_features = np.r_[np.arange(1,5.)/4, 1.]
image_features /= np.linalg.norm(image_features)
weights = np.outer(image_features,desired)
p = linear_head(image_features,weights,1,2,2)
truth = [(0,.5,.5,.4,.2)]
plan = assign(p,truth)
value, parts, gradient = objective(p,plan)
updated = weights-.1*np.outer(image_features,gradient.ravel())
next_p = linear_head(image_features,updated,1,2,2)
print('responsible box:',plan[0][2])
print('loss parts:',{k:round(v,6) for k,v in parts.items()})
print('fixed-plan loss:',round(value,6),'->',round(objective(next_p,plan)[0],6))
print('class-0 scores:',np.round(decode(p)[1][0,0,:,0],6).tolist())
v3_boxes, v3_scores = decode_v3(np.zeros((1,1,1,7)), [[.4,.2]])
print('v3 zero-logit box:',np.round(v3_boxes[0,0,0],6).tolist())
print('v3 independent-class scores:',v3_scores[0,0,0].tolist())
Actual output in the recorded Python 3.12 / NumPy 1.26.4 environment:
responsible box: 0
loss parts: {'coordinate': 0.0, 'object': 0.09, 'noobject': 0.02, 'class': 0.08}
fixed-plan loss: 0.19 -> 0.125
class-0 scores: [0.56, 0.16]
v3 zero-logit box: [0.3, 0.4, 0.7, 0.6]
v3 independent-class scores: [0.25, 0.25]
For F supplied features and N output slots, the dense head costs O(FN) time and stores FN weights. Original-style decode costs O(S²BK); matching M targets then costs O(MB). The assign function first decodes the grid, so its full cost includes both terms. Loss/gradient computation costs O(S²(B+K)). These costs exclude the feature extractor. V3 decoding is linear in its supplied box–class outputs; increasing grid resolution increases that work even if the Python function is unchanged.
There are deliberate boundaries. The packed per-cell arrays are not Darknet’s flat memory layout. The code uses B=2 from the paper; the pinned yolov1.cfg uses B=3 and 1,715 outputs. The distance fallback always chooses a nearest box, without reproducing the original code’s initial distance bound of 20 or its optional forced/random branches. Image-normalized target centers may be inside the image while parts of a box lie outside it; this example does not clip boxes. Fixed configuration, implementation
The accompanying checks compare all output derivatives against finite differences across multiple cells and array layouts, verify the head’s weight gradient, and test background, ties, zero-area predictions, target collisions, negative roots and v3 decoding. These checks establish the small program’s behavior; they do not establish detection accuracy on photographs.
The output design is only part of a detector
The original shared class vector limits crowded-cell representation, and a coarse grid can make nearby small objects difficult to distinguish. Later per-anchor or anchor-free outputs change the bottleneck; they do not make small-object data, target assignment or feature resolution irrelevant. “Anchor-free” means no predefined anchor shapes in that design, not “no spatial coordinates” or “no positive-target assignment.”
One network pass can still produce duplicate boxes. Original YOLO discusses NMS; claims of NMS-free inference belong to particular later designs and configurations. In this edition, YOLO26 claims are tied to the official repository at the 4 September 2026 cutoff. Live documentation read afterward uses different wording for the default and optional paths, so it is not silently substituted for the fixed version. Original inference, cutoff documentation
For an application, first define which misses and false alarms matter. Evaluate the same dataset split, label policy and IoU metric; keep input size, model size, hardware, precision, batch size and preprocessing/post-processing scope explicit. Include latency distributions and memory on the actual deployment path. A published FPS number under another setup cannot decide your deployment. See object-detection evaluation.
Four ways to check the mechanism
1. Count what is really independent
An original-style detector has S=7, B=2 and K=20. How many boxes and scalar outputs does it produce? Can its two boxes in one cell choose independent class preferences?
Answer: There are 49×2=98 boxes and 49×(10+20)=1,470 scalar outputs. The class vector is shared by the cell; multiplying it by two confidences changes scale, not the relative preference between classes.
2. Change an unresponsible confidence
Keep the example’s responsible box and all class values fixed. Increase the other box’s confidence from 0.2 to 0.4. What happens to total loss?
Answer: Its contribution rises from 0.5×0.2²=0.02 to 0.5×0.4²=0.08. Total loss rises from 0.19 to 0.25. The box is in an occupied cell but still has a no-object confidence target because it is not responsible.
3. Equal boxes, unequal gradients
Two outputs use width roots +0.5 and −0.5, against target root +0.5. Are their decoded widths and coordinate penalties equal? What is the derivative of the width-root coordinate term for each?
Answer: Both widths are 0.25. Their weighted penalties are 0 and 5×(−1)²=5. Derivatives are 0 and −10. Squaring in the decoder does not make the training objective indifferent to root sign.
4. Transfer the calculation to an anchor head
An H=2, W=3 grid predicts a box from row 1, column 2. Center logits are zero. The normalized anchor size is [0.1,0.3] and size logits are [ln 2,ln 0.5]. What box center and size result? Does knowing the model is “YOLO” tell you whether inference needs NMS?
Answer: The center is [2.5/3,1.5/2]=[5/6,0.75]; the size is [0.2,0.15]. The family name does not determine the post-processing path. Check the exact version and inference configuration; a decoder alone does not remove duplicates.
Read an architecture through its contracts
For each paper or repository, write down five contracts: what each output means, how a target selects positive outputs, which loss reaches each output, how raw outputs become boxes and scores, and what inference does with duplicates. This makes comparisons more informative than a list of module names.
Start with the original representation and loss, then read v2’s anchor parameterization and v3’s per-box class/scales sections. Use the family map to locate the next research direction. The newer-paper entries are bounded abstract-based introductions; they are not full paper guides, independently verified performance rankings or a claim that every named architecture was implemented here. The code, formulas and exercise answers above describe the narrower computations actually shown.
Make a prediction, then check
In the original-style B=2 example, one predictor is responsible for an object. What trains the other predictor in that same cell?
Learning objectives
- Derive the original grid outputs, responsibility assignment and gated squared-error gradients.
- Compare shared cell classes with per-anchor classes and decode a multi-scale YOLOv3 head.
- Trace major YOLO branches using fixed versions and choose evaluation conditions instead of ranking version numbers.
Prerequisites & connections
Explore related knowledge →References
- You Only Look Once: Unified, Real-Time Object Detection — CVPR2016 method
Joseph Redmon; Santosh Divvala; Ross Girshick; Ali Farhadi · 2016 - Darknet detection layer — fixed implementation profile
Joseph Redmon and Darknet contributors · 2022 - Darknet yolov1.cfg — S=7, B=3, 1715 outputs
Darknet contributors · 2022 - YOLO9000: Better, Faster, Stronger
Joseph Redmon , Ali Farhadi · 2016 - YOLOv3: An Incremental Improvement
Joseph Redmon , Ali Farhadi · 2018 - YOLOv4: Optimal Speed and Accuracy of Object Detection
Alexey Bochkovskiy , Chien-Yao Wang , Hong-Yuan Mark Liao · 2020 - YOLOX: Exceeding YOLO Series in 2021
Zheng Ge , Songtao Liu , Feng Wang , Zeming Li , Jian Sun · 2021 - YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications
Chuyi Li , Lulu Li , Hongliang Jiang , Kaiheng Weng , Yifei Geng , Liang Li , Zaidan Ke , Qingyuan Li , Meng Cheng , Weiqiang Nie , Yiduo Li , Bo Zhang , Yufei Liang , Linyuan Zhou , Xiaoming Xu , Xiangxiang Chu , Xiaoming Wei , Xiaolin Wei · 2022 - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
Chien-Yao Wang , Alexey Bochkovskiy , Hong-Yuan Mark Liao · 2022 - YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information
Chien-Yao Wang , I-Hau Yeh , Hong-Yuan Mark Liao · 2024 - YOLOv10: Real-Time End-to-End Object Detection
Ao Wang , Hui Chen , Lihao Liu , Kai Chen , Zijia Lin , Jungong Han , Guiguang Ding · 2024 - YOLOv12: Attention-Centric Real-Time Object Detectors
Yunjie Tian , Qixiang Ye , David Doermann · 2025 - YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception
Mengqi Lei , Siqi Li , Yihong Wu , Han Hu , You Zhou , Xinhu Zheng , Guiguang Ding , Shaoyi Du , Zongze Wu , Yue Gao · 2025 - yolov5 — official documentation at the edition cutoff
Ultralytics · 2026 - yolov8 — official documentation at the edition cutoff
Ultralytics · 2026 - yolo11 — official documentation at the edition cutoff
Ultralytics · 2026 - yolo26 — official documentation at the edition cutoff
Ultralytics · 2026 - YOLOv5s configuration at the v1.0 tag commit
Ultralytics · 2020 - YOLO11 configuration at the edition cutoff
Ultralytics · 2026
Version1 · Editorial status: Recorded technical checks completed
View technical check record (AI)
Codex · 2026-09-07 · Codex single-AI-author technical check: bounded original papers and pinned official code/docs, independent finite differences and box references, and section-by-section bilingual comparison. Later-paper abstracts support only the stated overview directions; no independent human review, full detector training or benchmark reproduction.
- Compared explicit original-style loss and all output/weight gradients with hand references and independent finite differences; tested masks, ties, zero IoU, negative roots, collisions, empty truth, invalid inputs and v3 anchor/independent-class decoding. Thirteen numerical checks plus one bilingual structural check; no full CNN training.
- Compared both complete language versions: representation, assumptions, six displayed equation blocks, numerical examples, four exercise answers, 19 citation targets, version boundaries and source-reading limits. Original code and cutoff configuration differences are explicit; no performance claims adopted.
- Applied the content-quality table: independent detection-head question, mechanism-first explanation, counterexamples, matching complexity including decode, honest toy-model scope and actual source evidence. History/benchmark reproduction is not claimed.
- After freezing, replaced a K-by-K identity allocation with a length-K one-hot vector in both formal programs. This preserves values/gradients while making the stated linear class cost accurate. Original frozen files remain unchanged; reran the 14 formal checks.
- The first build rejected two multiline aligned equations because their dollar delimiters were not on separate lines. Corrected formal en/zh delimiters without changing the mathematical expressions, preserving frozen drafts. Final build and rendered checks use this correction.
Source locations checked:
- You Only Look Once: Unified, Real-Time Object Detection — CVPR2016 method · Read physical pages 2–4: grid representation, architecture, training loss, inference and limitations; page 4 equation 3 visually checked. No benchmark reproduction.
- Darknet detection layer — fixed implementation profile · Read training and decoding at fixed commit f6afaabcdf85f77e7aff2ec55c020c0e297c77f9. Responsibility, zero-IoU distance fallback, sqrt/rescore, manual delta and diagnostic cost. Root LICENSE declares public domain; no code copied or run.
- Darknet yolov1.cfg — S=7, B=3, 1715 outputs · Read final connected/detection sections. This configuration has three boxes per cell; the CVPR paper has two. No configuration execution.
- YOLO9000: Better, Faster, Stronger · Physical pages 2–4 section 2; page 3 YOLO decoding equations visually checked. No benchmark adoption. Its arXiv v1 submission page separately gives 25 December 2016.
- YOLOv3: An Incremental Improvement · Physical pages 1–2 sections 2.1–2.4; page 1 equations visually checked. No full detector training.
- YOLOv4: Optimal Speed and Accuracy of Object Detection · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOX: Exceeding YOLO Series in 2021 · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv10: Real-Time End-to-End Object Detection · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv12: Attention-Centric Real-Time Object Detectors · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception · Read title, authors, v1 date and abstract only. Supports the stated research direction, not a full architecture/experiment review or performance comparison.
- yolov5 — official documentation at the edition cutoff · Read Overview and Key Features at commit d1c644a6085045ae18dfaecf1b2c10efedaa080b (4 September 2026). Later live documentation is separate. No speed/accuracy claims adopted.
- yolov8 — official documentation at the edition cutoff · Read Overview and Key Features at commit d1c644a6085045ae18dfaecf1b2c10efedaa080b (4 September 2026). Later live documentation is separate. No speed/accuracy claims adopted.
- yolo11 — official documentation at the edition cutoff · Read Overview and Key Features at commit d1c644a6085045ae18dfaecf1b2c10efedaa080b (4 September 2026). Later live documentation is separate. No speed/accuracy claims adopted.
- yolo26 — official documentation at the edition cutoff · Read Overview and Key Features at commit d1c644a6085045ae18dfaecf1b2c10efedaa080b (4 September 2026). Later live documentation is separate. No speed/accuracy claims adopted.
- YOLOv5s configuration at the v1.0 tag commit · Read anchor lists and multi-scale model configuration; tag points to a commit dated 25 June 2020, not proof of the first public release day. No code reuse or execution.
- YOLO11 configuration at the edition cutoff · Read configuration: C3k2, C2PSA and P3/P4/P5 outputs. AGPL-3.0 header observed; linked as a reference, no code copied or run.
Related topics