YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information

Chien-Yao Wang, I-Hau Yeh, Hong-Yuan Mark Liao

Introduction

Deep learning architectures typically follow the assumption that increasing network depth improves feature extraction. However, the Information Bottleneck Principle reveals a significant drawback: as data traverses successive layers, critical information is often lost due to spatial transformations and feature extraction. By the time signals reach the final layers, the information required for accurate target mapping may be severely degraded, leading to unreliable gradients during backpropagation.

YOLOv9 addresses this challenge by introducing Programmable Gradient Information (PGI) and the Generalized Efficient Layer Aggregation Network (GELAN). These innovations ensure complete information flow during training without adding computational overhead to inference, allowing YOLOv9 to achieve state-of-the-art (SOTA) performance on the MS COCO dataset.

Methodology

Programmable Gradient Information (PGI)

PGI is an auxiliary supervision framework utilized exclusively during the training phase. It comprises three core components:

  1. Main Branch: The primary architecture used for inference.
  2. Auxiliary Reversible Branch: A side branch designed with reversibility to maintain a complete representation of input data, ensuring the generation of reliable gradients.
  3. Multi-level Auxiliary Information: A mechanism that aggregates gradients from various prediction heads to mitigate the "broken information" problem typical in deep supervision methods.

Because these auxiliary branches are discarded post-training, PGI enhances model learning without impacting inference speed.

Generalized Efficient Layer Aggregation Network (GELAN)

GELAN evolves the previous ELAN design by optimizing gradient path planning. While many modern detectors favor depth-wise convolutions for parameter efficiency, GELAN demonstrates that conventional convolutions can be more effective when the architecture is properly structured. It allows for the flexible integration of various computational blocks, such as CSP blocks, while maintaining superior accuracy and speed.

Feature map visualization of the GELAN architecture, demonstrating its ability to retain clear object details even at significant depths.

Experimental Results

The YOLOv9 models were evaluated on the MS COCO 2017 dataset, comparing them against a wide array of SOTA real-time detectors, including YOLOv5 through YOLOv8, Gold-YOLO, and RT-DETR.

Performance Benchmarks

YOLOv9 establishes new efficiency benchmarks for real-time object detection:

  • Accuracy vs. Efficiency: YOLOv9-E achieves 55.6% AP on COCO, outperforming YOLOv8-X while utilizing 16% fewer parameters and 27% fewer FLOPs.
  • Comparison with Transformers: YOLOv9-E surpasses the transformer-based RT-DETR-X using only 66% of the parameters.
  • Training from Scratch: Due to the high-quality gradients provided by PGI, YOLOv9 models trained from scratch frequently outperform SOTA models pre-trained on massive datasets like ImageNet.
Performance comparison on the MS COCO dataset. YOLOv9 (red lines) consistently demonstrates a superior accuracy-to-parameter trade-off compared to other SOTA models.

Analysis and Insights

A key insight of this work is the visualization of the information bottleneck. In standard networks like ResNet or CSPNet, feature maps often become "blurry" at extreme depths, losing critical object details. In contrast, GELAN maintains clear object boundaries even at the 200th layer.

The authors argue that while reversibility is essential for preserving information to calculate gradients, this overhead is unnecessary during inference. PGI exploits this by using a reversible branch as a "training wheels" mechanism. Furthermore, GELAN proves that focusing on gradient flow can lead to better parameter utilization than relying on complex convolution designs.

Conclusion and Future Work

YOLOv9 demonstrates significant advancements in object detection efficiency and accuracy. While the current focus is on object detection, the underlying principles of PGI and GELAN are likely generalizable to other tasks such as instance segmentation and pose estimation. Future research may also explore the application of these concepts in natural language processing. One noted trade-off is that while PGI adds no inference cost, it increases memory and time requirements during the training phase.

Summary updated

BibTeX
@inproceedings{wang2024yolov,
  author = {Chien-Yao Wang and I-Hau Yeh and Hong-Yuan Mark Liao},
  title = {{YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72751-1\_1},
}
Figure