CVLGJul 21, 2022

Efficient Graph-Friendly COCO Metric Computation for Train-Time Model Evaluation

arXiv:2207.12120v111 citationsh-index: 13Has Code
Originality Incremental advance
AI Analysis

This work addresses a practical bottleneck for researchers and practitioners in computer vision by allowing faster iteration and better monitoring during model training, though it is incremental as it builds on existing metric computation methods.

The paper tackled the problem of efficiently computing COCO metrics like mean average precision and recall within deep learning training graphs, which is typically done post-training, by developing a graph-friendly approximation algorithm. The result is an open-source implementation that enables train-time evaluation, verified through extensive numerical benchmarks.

Evaluating the COCO mean average precision (MaP) and COCO recall metrics as part of the static computation graph of modern deep learning frameworks poses a unique set of challenges. These challenges include the need for maintaining a dynamic-sized state to compute mean average precision, reliance on global dataset-level statistics to compute the metrics, and managing differing numbers of bounding boxes between images in a batch. As a consequence, it is common practice for researchers and practitioners to evaluate COCO metrics as a post training evaluation step. With a graph-friendly algorithm to compute COCO Mean Average Precision and recall, these metrics could be evaluated at training time, improving visibility into the evolution of the metrics through training curve plots, and decreasing iteration time when prototyping new model versions. Our contributions include an accurate approximation algorithm for Mean Average Precision, an open source implementation of both COCO mean average precision and COCO recall, extensive numerical benchmarks to verify the accuracy of our implementations, and an open-source training loop that include train-time evaluation of mean average precision and recall.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes