arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17684cs.CV
收藏

YOLO真的需要在每个epoch中都看到每张训练图像吗?

Does YOLO Really Need to See Every Training Image in Every Epoch?

School of Automation, Northwestern Polytechnical University(西北工业大学自动化学院);School of Artificial Intelligence, Chongqing University of Posts and Telecommunications(重庆邮电大学人工智能学院)

Xingxing Xie, Jiahua Dong, Junwei Han, Gong Cheng

AI总结:

本文提出反遗忘采样策略(AFSS),通过动态选择训练图像以提高YOLO检测器的训练效率和准确性,在多个数据集上实现了超过1.43倍的加速。

摘要:

YOLO检测器以快速的推理速度著称,但训练过程却因处理每个训练图像的耗时流程而变得意外缓慢,即使许多图像已充分学习。这与'You Only Look Once'的效率理念形成鲜明对比。本文提出反遗忘采样策略(AFSS),通过动态确定每个epoch中应使用和跳过的图像,使检测器更有效地学习。具体而言,AFSS通过检测召回率和精度的最小值衡量每张训练图像的学习充分性,并动态将其分为简单、中等和困难级别。简单图像在连续回顾中稀疏采样,优先考虑长时间未使用的图像以减少冗余和防止遗忘。中等图像部分选择,优先选择最近未使用的图像,并随机选择其余未选图像以确保覆盖和防止遗忘。困难图像在每个epoch中全部采样以确保充分学习。每张训练图像的学习充分性定期更新,使检测器能够随时间适应性地转向信息丰富的训练图像,同时逐步丢弃冗余图像。在广泛使用的自然图像检测基准(MS COCO 2017和PASCAL VOC 2007)和遥感检测数据集(DOTA-v1.0和DIOR-R)上,AFSS在YOLO系列检测器上实现了超过1.43倍的训练加速,同时提高了准确性。

英文摘要:

YOLO detectors are known for their fast inference speed, yet training them remains unexpectedly time-consuming due to their exhaustive pipeline that processes every training image in every epoch, even when many images have already been sufficiently learned. This stands in clear contrast to the efficiency suggested by the ``You Only Look Once'' philosophy. This naturally raises an important question: \textit{Does YOLO really need to see every training image in every epoch?} To explore this, we propose an Anti-Forgetting Sampling Strategy (AFSS) that dynamically determines which images should be used and which can be skipped during each epoch, allowing the detector to learn more effectively and efficiently. Specifically, AFSS measures the learning sufficiency of each training image as the minimum of its detection recall and precision, and dynamically categorizes training images into easy, medium, or hard levels accordingly. Easy training images are sparsely resampled during training in a continuous review manner, with priority given to those that have not been used for a long time to reduce redundancy and prevent forgetting. Moderate training images are partially selected, prioritizing recently unused ones and randomly choosing the rest from unselected images to ensure coverage and prevent forgetting. Hard training images are fully sampled in every epoch to ensure sufficient learning. The learning sufficiency of each training image is periodically updated, enabling detectors to adaptively shift its focus toward the informative training images over time while progressively discarding redundant ones. On widely used natural image detection benchmarks (MS COCO 2017 and PASCAL VOC 2007) and remote sensing detection datasets (DOTA-v1.0 and DIOR-R), AFSS achieves more than $1.43\times$ training speedup for YOLO-series detectors while also improving accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑