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

RRR-Net:深度骨干网络的复用、缩减与回收

RRR-Net: Reusing, Reducing, and Recycling a Deep Backbone Network

Université Paris-Saclay(巴黎萨克雷大学);CNRS(法国国家科学研究中心);INRIA(法国国家信息与自动化研究所);ChaLearn;Universidad de La Sabana(拉萨瓦纳大学);Univ. Evry(埃夫里大学)

Haozhe Sun, Isabelle Guyon, Felix Mohr, Hedi Tabia

AI总结:

针对预训练骨干网络ResNet152规模大、推理慢的问题,提出RRR-Net技术,通过缩减网络块数、分支构建子网络集成,在40个分类基准上实现了更小更快且性能相当甚至更优的模型。

摘要:

在计算机视觉及其他机器学习领域,复用在大型数据集上预训练的骨干网络作为预处理器已成为主流做法。通常,人们会将最后一层替换为某种浅层学习器;新增的分类头以及(可选的)更深层会在新任务上进行微调。由于性能强劲且简单易用,ResNet152是一种常用的预训练骨干网络。但ResNet152规模相对较大,会带来推理延迟。在很多场景下,性能相近的紧凑高效骨干网络比更大更慢的骨干网络更具优势。本文研究了预训练骨干网络的复用技术,目标是构建更小更快的模型。我们从在ImageNet上预训练的大型ResNet152骨干网络出发,首先将其从51个块缩减到5个块,参数量和浮点运算量(FLOPs)减少6倍以上,且性能无显著下降。随后,我们在第3个块之后将模型拆分为多个分支,同时保持参数量和FLOPs不变,构建子网络集成以提升性能。我们在来自不同领域的40个图像分类数据集的大型基准上开展的实验表明,我们的技术性能与“经典骨干微调”相当(甚至更优),同时实现了更小的模型尺寸和更快的推理速度。

英文摘要:

It has become mainstream in computer vision and other machine learning domains to reuse backbone networks pre-trained on large datasets as preprocessors. Typically, the last layer is replaced by a shallow learning machine of sorts; the newly-added classification head and (optionally) deeper layers are fine-tuned on a new task. Due to its strong performance and simplicity, a common pre-trained backbone network is ResNet152.However, ResNet152 is relatively large and induces inference latency. In many cases, a compact and efficient backbone with similar performance would be preferable over a larger, slower one. This paper investigates techniques to reuse a pre-trained backbone with the objective of creating a smaller and faster model. Starting from a large ResNet152 backbone pre-trained on ImageNet, we first reduce it from 51 blocks to 5 blocks, reducing its number of parameters and FLOPs by more than 6 times, without significant performance degradation. Then, we split the model after 3 blocks into several branches, while preserving the same number of parameters and FLOPs, to create an ensemble of sub-networks to improve performance. Our experiments on a large benchmark of $40$ image classification datasets from various domains suggest that our techniques match the performance (if not better) of ``classical backbone fine-tuning'' while achieving a smaller model size and faster inference speed.

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

↑