RevBiFPN:全可逆双向特征金字塔网络
RevBiFPN: The Fully Reversible Bidirectional Feature Pyramid Network
AI总结:
本研究提出首个可逆双向多尺度特征融合模块RevSilo,堆叠构建全可逆双向特征金字塔网络RevBiFPN,大幅降低训练内存占用,同时在图像分类和目标检测任务中保持或提升性能。
摘要:
本研究提出RevSilo(可逆双向多尺度特征融合模块),这是首个可逆双向多尺度特征融合模块。与其他可逆方法类似,RevSilo通过重新计算隐藏激活值,无需存储这些激活值。但现有可逆方法无法应用于多尺度特征融合场景,因此不适用于一大类网络。双向多尺度特征融合可提升局部与全局一致性,已成为面向空间敏感任务的网络的通用设计准则,例如HRNet(Sun等人,2019a)和EfficientDet(Tan等人,2020)。这类网络搭配高分辨率输入时,在各类计算机视觉任务中能取得当前最优结果,但训练时需要大量加速器内存来存储大尺寸、多分辨率的激活值,这些内存需求从根本上限制了神经网络的规模,也限制了规模提升带来的性能增益。RevSilo可跨分辨率尺度运行,缓解了上述问题。我们通过堆叠RevSilo构建了RevBiFPN——一种全可逆双向特征金字塔网络。在图像分类任务中,RevBiFPN性能与EfficientNet等网络相当,但训练内存占用最多降低19.8倍。在MS COCO数据集上微调时,RevBiFPN的AP值比HRNet最高提升2.5%,且MACs(乘加运算量)更低,训练时内存占用减少2.4倍。
英文摘要:
This work introduces RevSilo, the first reversible bidirectional multi-scale feature fusion module. Like other reversible methods, RevSilo eliminates the need to store hidden activations by recomputing them. However, existing reversible methods do not apply to multi-scale feature fusion and are, therefore, not applicable to a large class of networks. Bidirectional multi-scale feature fusion promotes local and global coherence and has become a de facto design principle for networks targeting spatially sensitive tasks, e.g., HRNet (Sun et al., 2019a) and EfficientDet (Tan et al., 2020). These networks achieve state-of-the-art results across various computer vision tasks when paired with high-resolution inputs. However, training them requires substantial accelerator memory for saving large, multi-resolution activations. These memory requirements inherently cap the size of neural networks, limiting improvements that come from scale. Operating across resolution scales, RevSilo alleviates these issues. Stacking RevSilos, we create RevBiFPN, a fully reversible bidirectional feature pyramid network. RevBiFPN is competitive with networks such as EfficientNet while using up to 19.8x lesser training memory for image classification. When fine-tuned on MS COCO, RevBiFPN provides up to a 2.5% boost in AP over HRNet using fewer MACs and a 2.4x reduction in training-time memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。