All models

YOLOv12

The N scale of YOLOv12, a real-time object detector designed around attention mechanisms.

Detection and tracking · 673 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (39 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
2.6M
Operations
673
Framework
PyTorch
Recurrent
No
Published
NeurIPS (arXiv 2025)
Cited by
862 (as of 29 October 2026)
Authors
Yunjie Tian, Qixiang Ye, David Doermann
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21557
Graph hash
e0b2d7d4a888fe7aef187cd13ffdbc24ab4d62af7b23a33b7679a9275dede4d7
Skeleton hash
6dacab187499f16ac62a4d8e182f030f52232dcbb0f21cf57608de3c32a91cc3
Architecture hash
4d31a8a80cf4afd6710d9c5f63c83d02e9030fcb3785dbba80ab21a6dd3beb4d
Diagram SHA-256
af7fa88a55706c9ff9839334de9251419e96bb1b57d47617a03fd2efd46943a1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model is YOLOv12 at its N scale, for which the paper reports 40.6% mAP at an inference latency of 1.64 ms on a T4 GPU.

YOLOv12 is a real-time object detector that places attention mechanisms at the center of the YOLO design. The paper observes that work on YOLO architectures had concentrated on CNN-based improvements, because attention-based models could not match the speed of CNN-based ones.

The paper reports that YOLOv12-N outperforms YOLOv10-N and YOLOv11-N by 2.1% and 1.2% mAP at comparable speed, and says the advantage extends to the other model scales. It also reports that YOLOv12-S beats RT-DETR-R18 and RT-DETRv2-R18 while running 42% faster, using only 36% of the computation and 45% of the parameters. The repository's validation example evaluates on COCO.

The official code is based on ultralytics and offers detection weights at five scales: n, s, m, l and x. A later release, YOLOv12-turbo, is described as a faster version, and instance segmentation and classification models were released after the detectors.

Key idea. YOLOv12 is an attention-centric YOLO framework that the paper reports matches the speed of earlier CNN-based YOLO detectors while gaining the performance benefits of attention mechanisms.

  • yolov12
  • yolo12
  • yolov12-n
  • yolov12n
  • attention-centric yolo
  • real-time object detection
  • object detection
  • yolo

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tian2025yolov12attentioncentricrealtimeobject,
      title={YOLOv12: Attention-Centric Real-Time Object Detectors}, 
      author={Yunjie Tian and Qixiang Ye and David Doermann},
      year={2025},
      eprint={2502.12524},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2502.12524}, 
}