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.
YOLOv8
YOLOv8 is an object detection and multi-task vision model developed by Ultralytics, released in January 2023 under the AGPL-3.0 license. It succeeds YOLOv5 and introduces an anchor-free detection head, a new C2f module for improved gradient flow, and a decoupled head that separates classification and regression tasks. These changes improve both accuracy and training efficiency compared to earlier Ultralytics models.YOLOv8 supports object detection, instance segmentation, image classification, pose estimation, and oriented bounding box detection within a unified codebase. It is available in five sizes from Nano to Extra Large and exports to ONNX, TensorRT, CoreML, and other formats. YOLOv8 is one of the most widely adopted detection models in production and is directly supported by Roboflow Inference for custom model training and deployment.
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.
YOLOv7
YOLOv7 is a real-time object detection model developed by Chien-Yao Wang and Hong-Yuan Mark Liao at Academia Sinica, released in July 2022 under the GPL-3.0 license. It introduces Extended Efficient Layer Aggregation Networks (E-ELAN) for improved gradient flow in the backbone, and trainable bag-of-freebies techniques including coarse-to-fine lead guided label assignment and auxiliary heads that improve accuracy without adding inference cost.YOLOv7 achieves 56.8% AP on COCO at 30 FPS on a V100 GPU at the time of release, establishing a strong accuracy-speed tradeoff among real-time detectors. It supports detection, instance segmentation, and pose estimation variants. YOLOv7 is deployable through Roboflow Inference and the standard training pipeline in the official repository.
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.
YOLOE
YOLOE (YOLO with Everything) is an open-vocabulary object detection and segmentation model developed by THU-MIG at Tsinghua University, released in March 2025 under the AGPL-3.0 license. It extends the YOLO architecture to support open-vocabulary detection through text and visual prompts, enabling the model to detect arbitrary object categories beyond a fixed training set without retraining. The design integrates prompt encoding directly into the YOLO framework while preserving real-time inference speed.YOLOE is evaluated on COCO and LVIS benchmarks and supports both closed-set and open-vocabulary detection modes. It is built on the Ultralytics codebase and maintains compatibility with standard YOLO training and export workflows. YOLOE is suited for applications requiring flexible, prompt-driven object detection where the target object vocabulary may change at inference time.

YOLOv9 License

GPL-3.0

License terms and commercial-use guidance for YOLOv9.

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.

Read the full GPL-3.0 license ↗

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.