Roboflow

YOLOv9 Overview

YOLOv9 is a real-time object detection model developed by Chien-Yao Wang and Hong-Yuan Mark Liao at Academia Sinica, released in February 2024 under the GPL-3.0 license. It introduces Programmable Gradient Information (PGI), a mechanism that preserves complete input information through auxiliary reversible branches during training to address information loss in deep network layers. It also introduces the Generalized Efficient Layer Aggregation Network (GELAN), which achieves better parameter utilization compared to prior CSP-based designs.

YOLOv9-C achieves 53.0% AP on COCO with 42% fewer parameters and 21% less computation than YOLOv8-C at comparable accuracy. YOLOv9-E achieves 55.6% AP. The model is deployable through Roboflow Inference and supports fine-tuning via the standard training pipeline in the official repository.

YOLOv9 Details & Performance

Vision Tasks

Instance SegmentationObject Detection

Features

Real-Time Vision

Usage

Past 30 Days

Not available

Not in Playground

Performance

Avg. Latency

Arena Rankings

Not yet ranked in arena

YOLOv9 Explained

YOLOv9 is an open source computer vision model for real-time object detection and image segmentation. It uses the YOLOv9 architecture introduced by Chien-Yao Wang and collaborators, with a focus on preserving information in deep networks and improving computational efficiency through Programmable Gradient Information (PGI) and the Generalized Efficient Layer Aggregation Network (GELAN).

YOLOv9 is a single-stage detector that supports both object detection and image segmentation. The architecture is designed for real-time performance while maintaining high accuracy on benchmarks such as MS COCO.

According to the YOLOv9 research team, the architecture achieves higher mean Average Precision (mAP) than earlier popular YOLO variants, including YOLOv8, YOLOv7, and YOLOv5, when evaluated on the MS COCO dataset.

Key architectural characteristics include:

  • Support for object detection and image segmentation tasks.
  • Real-time inference focus, with design choices that balance speed and accuracy.
  • Integration of PGI and GELAN to address information loss and improve parameter and compute efficiency.

Information Bottleneck Principle

The Information Bottleneck Principle describes how information is lost as data passes through layers of a deep neural network. It uses mutual information to quantify how much of the original input information is preserved after transformations.

In the Information Bottleneck formulation:

  • Mutual information between the original data and transformed representations decreases as data moves through deep layers.
  • This loss of crucial information can lead to unstable gradients and poor convergence.

A common response is to increase model size to improve capacity. This can preserve more information but does not fully solve the problem of unstable gradients in very deep networks.

📷 ADD IMAGE: Conceptual diagram of the Information Bottleneck equation and information flow through deep network layers

Information Bottleneck Equation.
Information Bottleneck Equation.

Reversible Functions

Reversible functions are introduced as a theoretical solution to the Information Bottleneck problem.

  • A reversible function allows exact reconstruction of the input from the output.
  • In the reversible formulation, forward and reverse transformations have their own parameters, and no information is lost during transformation.
  • Embedding reversible functions in neural networks allows all input information to be retained across layers.

This leads to more reliable gradient computation during training and changes the usual assumptions about how deep networks must be structured, especially for complex tasks where models are not originally designed to be very deep.

Programmable Gradient Information (PGI) is introduced to provide dependable gradients for training while remaining compatible with shallow and lightweight networks.

PGI has three main components:

Main Branch

  • Optimized for inference.
  • Operates without auxiliary components during deployment.
  • Maintains high performance without extra computational overhead at inference time.

Auxiliary Reversible Branch

  • Uses reversible architecture to compute accurate gradients during training.
  • Mitigates information loss in deep layers by preserving complete data for learning.
  • Can be integrated or removed without affecting inference speed, since it is not required at deployment.

Multi-Level Auxiliary Information

  • Uses specialized networks to combine gradient information from multiple layers.
  • Addresses information loss in deep supervision setups.
  • Improves prediction quality for objects at different scales.

During training, PGI provides a structured way to program gradient information through the network, improving stability and effectiveness without adding cost at inference.

Schematic of the PGI architecture showing main branch, auxiliary reversible branch, and multi-level auxiliary nodes
Programmable Gradient Information (PGI) Architecture.

The Generalized Efficient Layer Aggregation Network (GELAN) is introduced to further improve accuracy and efficiency once PGI is in place.

GELAN is designed to complement PGI by providing a flexible and efficient backbone structure that can host different computational blocks.

In YOLOv9, GELAN:

  • Combines gradient path planning ideas from CSPNet.
  • Incorporates inference speed optimizations from ELAN.
  • Maintains a lightweight design that prioritizes fast inference while preserving accuracy.

This combination extends the real-time inference strengths associated with the YOLO family while improving parameter utilization and computational efficiency.

 High-level diagram of the GELAN backbone illustrating layer aggregation and gradient paths
Generalized Efficient Layer Aggregation Network (GELAN).

YOLOv9 is compared against several real-time object detectors on the MS COCO dataset, including YOLO MS variants, YOLOv7 AF, and YOLOv8-X.

Chart comparisons of the real-time object detectors on MS COCO dataset.
Comparisons of the real-time object detectors on MS COCO dataset.

The reported comparisons include:

  • Against YOLO MS for lightweight and medium models:
    • Approximately 10% fewer parameters.
    • About 5% to 15% fewer computations.
    • Around 0.4% to 0.6% higher Average Precision (AP).
  • Against YOLOv7 AF (general models):
    • YOLOv9-C has about 42% fewer parameters.
    • About 22% fewer computations.
    • Similar AP of about 53%.
  • Against YOLOv8-X (large models):
    • YOLOv9-E has about 16% fewer parameters.
    • About 27% fewer computations.
    • AP improvement of about 1.7%.

These comparisons indicate that YOLOv9 improves AP while reducing parameter count and computational cost relative to several prior YOLO-based detectors.

YOLOv9 is designed to be trained and deployed as a real-time detector and segmenter across a range of applications.

Key practical points derived from the architecture design:

  • Training uses PGI, with:
    • A main branch that matches the deployed inference graph.
    • An auxiliary reversible branch that is active during training to provide accurate gradients.
    • Multi-level auxiliary supervision that improves learning across scales.
  • Deployment uses only the main branch:
    • The auxiliary reversible branch and auxiliary nodes are removed.
    • Inference cost is similar to a conventional lightweight YOLO-style model with GELAN as the backbone.

Because GELAN is lightweight and PGI’s auxiliary components are only used during training, YOLOv9 is suitable for real-time inference scenarios where both speed and accuracy are important, such as video analytics and embedded vision, while maintaining efficient parameter and compute usage.

Alternatives to YOLOv9

Other models worth comparing for similar use cases.

YOLO11
YOLO11 is an object detection and multi-task vision model developed by Ultralytics, released in September 2024 under the AGPL-3.0 license. It is the latest generation in the Ultralytics YOLO series and supports object detection, instance segmentation, image classification, pose estimation, and oriented bounding box detection within a single unified framework. YOLO11 introduces architectural refinements that improve accuracy while reducing parameter count compared to YOLOv8 at equivalent model sizes.YOLO11 is available in five model sizes from Nano to Extra Large and is deployable through the Ultralytics Python package, Roboflow Inference, and export formats including ONNX, TensorRT, and CoreML. It supports fine-tuning on custom datasets through the standard Ultralytics training API.
THU-MIG
YOLOv10
YOLOv10 is a real-time end-to-end object detection model developed by THU-MIG at Tsinghua University, released in May 2024 under the AGPL-3.0 license. It introduces consistent dual assignments during training — using both one-to-many and one-to-one label assignment strategies — to eliminate the need for non-maximum suppression at inference time while maintaining competitive accuracy. This end-to-end design reduces inference latency compared to NMS-dependent detectors at similar accuracy levels.YOLOv10-B achieves 52.7% AP on COCO with 46% lower latency than YOLOv9-C at comparable performance. The model is available in six sizes from Nano to Extra Large, built on the Ultralytics framework, and exportable to ONNX, TensorRT, and CoreML. YOLOv10 is suited for latency-sensitive deployment scenarios where post-processing overhead is a constraint.
THU-MIG
YOLOv12
YOLOv12 is an attention-centric real-time object detection model developed by researchers at Tsinghua University, with the arXiv paper published in February 2025 under the AGPL-3.0 license. It introduces an Area Attention module that partitions feature maps into regions and applies self-attention within each region, reducing the quadratic complexity of full self-attention while capturing long-range dependencies. It also incorporates R-ELAN for improved feature aggregation and scaled residual connections for training stability.YOLOv12-L achieves 54.0% AP on COCO, while the YOLOv12-N variant achieves 40.5% mAP at 1.62ms latency on an NVIDIA T4 GPU. The model is built on the Ultralytics codebase, supporting detection, segmentation, and other standard YOLO tasks at competitive real-time speeds.
RF-DETR
RF-DETR is a real-time transformer-based object detection model developed by Roboflow, with code and weights first released in March 2025 under the Apache 2.0 license. It is the first real-time model to exceed 60 AP on the Microsoft COCO benchmark, built on a DINOv2 vision transformer backbone with weight-sharing neural architecture search used to identify accuracy-latency trade-offs. The full family spans six sizes from Nano (30.5M parameters, 384×384 input) to 2XL (126.9M parameters, 880×880 input), with the accompanying research paper accepted to ICLR 2026.RF-DETR is designed for strong domain adaptability, achieving state-of-the-art performance on RF100-VL, a benchmark measuring generalization to real-world object detection tasks across diverse domains. It is deployable through Roboflow Inference and supports fine-tuning on custom datasets, making it well suited for domain-specific applications with limited training data.
Baidu
RT-DETR
RT-DETR (Real-Time Detection Transformer) is an object detection model developed by Baidu, released in April 2023 under the Apache 2.0 license. It is the first transformer-based real-time object detector, addressing the inference speed limitations of earlier DETR models through an efficient hybrid encoder that decouples intra-scale interaction and cross-scale fusion, enabling the model to process multi-scale features without the high computational overhead of standard transformer encoders.RT-DETR achieves 53.1% AP on COCO at 108 FPS on an NVIDIA T4 GPU for the RT-DETR-L variant, outperforming comparably sized YOLO detectors at similar speeds. It maintains end-to-end inference without non-maximum suppression, simplifying deployment pipelines. RT-DETR established the baseline for real-time transformer detection and has been extended by subsequent works including RF-DETR and RT-DETRv2.
USTC
D-FINE
D-FINE is a real-time object detection model introduced in October 2024 by researchers at the University of Science and Technology of China. It builds on the DETR family of transformer-based detectors by reformulating bounding box regression as a Fine-grained Distribution Refinement task. Rather than predicting box coordinates directly, D-FINE iteratively refines probability distributions over coordinate offsets across decoder layers, which provides finer localization granularity without adding inference cost. The architecture also replaces the encoder's CSP blocks with GELAN modules and inserts a Target Gating Layer after the decoder's cross-attention to reduce representational entanglement across queries. A second contribution, Global Optimal Localization Self-Distillation, transfers localization knowledge from refined deeper-layer predictions back to earlier decoder layers through internal self-distillation.D-FINE is released in five model sizes (Nano, Small, Medium, Large, and X), with D-FINE-L achieving 54.0% AP on the Microsoft COCO benchmark at 124 FPS on an NVIDIA T4 GPU, and D-FINE-X reaching 55.8% AP at 78 FPS. Pretraining on the Objects365 dataset further improves accuracy to 57.1% AP for the L variant and 59.3% AP for the X variant. The paper was accepted at ICLR 2025 as a Spotlight. Code and pretrained weights are released under the Apache 2.0 license, making the model suitable for commercial use.

YOLOv9 License

GPL-3.0 · Restrictive license

YOLOv9 is released under GPL-3.0, a restrictive license. The YOLOv9 license permits commercial use, but it requires you to open-source any code changes you make, so businesses that cannot release related code need a separate commercial license.

Commercial use
Permitted with obligations: you can sell products built on YOLOv9 only if you also release the corresponding source under GPL-3.0. A commercial license removes that obligation.
Modification
Permitted. Modified versions you distribute must be released under GPL-3.0, with your changes documented.
Redistribution
Permitted with the corresponding source code and the license text.

Uncertainty around licensing can delay or stop a project. If you are commercially unwilling or legally unable to open-source related code, settle the YOLOv9 licensing question before you build on it, not after.

Read the full GPL-3.0 license ↗

Do I need a commercial license for YOLOv9?

A commercial license is a separate license which gives you the right to use YOLOv9 without an obligation to open-source related code changes. Roboflow plans include commercial licenses for the supported models listed on the licensing page, scoped by deployment method: Roboflow Managed Cloud on Public plans, a Self-Hosted Inference Server on Core, and deployment outside the Roboflow ecosystem on Enterprise.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

YOLOv9 is licensed under a GPL-3.0 license.

This means that YOLOv9 is available for private and commercial use, but that you will need to follow specific conditions. For commercial use, you need to follow AGPL-3.0 conditions or purchase a license for commercial use, modifications, and distribution.

Using an AGPL-3.0 licensed model is conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.

To use YOLOv9, you must agree to the AGPL-3.0 terms set in the project license.

If you have questions about the license and commercial use, there is an open thread on the YOLOv9 GitHub project inquiring about commercial use allowances and restrictions.

GPL-3.0 is a "copyleft" license: distributing a product that includes this model typically requires you to release your full source code under GPL-3.0.

YOLOv9 is **not covered by Roboflow's commercial sub-license arrangements**. To use it commercially, you must comply with its upstream GPL-3.0 terms directly or obtain a separate license from its authors. See the Roboflow Licensing guide for which models are covered.

License information is provided as a guide and is not legal advice.