Skip to main content
QUICK REVIEW

[Paper Review] RevBiFPN: The Fully Reversible Bidirectional Feature Pyramid Network

Vitaliy Chiley, Vithursan Thangarasa|arXiv (Cornell University)|Jun 28, 2022
Advanced Neural Network ApplicationsComputer Science11 citations
TL;DR

This paper introduces RevBiFPN, a fully reversible bidirectional feature pyramid network that eliminates activation memory storage through reversible computation, enabling efficient training of high-resolution, multi-scale networks. It achieves state-of-the-art performance on image classification, detection, and segmentation with up to 19.8x less training memory than EfficientNet and 2.4x less than HRNet, while improving AP by up to 2.5% on MS COCO.

ABSTRACT

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.

Motivation & Objective

  • Address the high memory cost of training deep, high-resolution networks that use multi-scale feature fusion.
  • Overcome the limitation of existing reversible methods, which do not support bidirectional multi-scale feature fusion.
  • Enable scalable, memory-efficient training of state-of-the-art vision models for spatially sensitive tasks like detection and segmentation.
  • Design a reversible module that supports both forward and backward computation without storing intermediate activations.
  • Demonstrate that reversible multi-scale fusion can outperform standard BiFPN and HRNet architectures in accuracy and efficiency.

Proposed method

  • Propose RevSilo, a novel reversible bidirectional multi-scale feature fusion module that enables activation-free training by recomputing features during backpropagation.
  • Design RevSilo to support bidirectional fusion across multiple feature scales, preserving both local and global spatial coherence.
  • Use reversible computation to reduce activation memory complexity from linear to constant with respect to network depth.
  • Stack RevSilo modules to build RevBiFPN, a fully reversible version of the BiFPN architecture.
  • Integrate RevBiFPN into standard vision models using MBConv as the primary building block, supporting efficient training on memory-constrained hardware.
  • Apply fast scaling (Fast Scaling) to efficiently scale network depth, width, and input resolution while maintaining memory efficiency.

Experimental results

Research questions

  • RQ1Can reversible computation be effectively extended to bidirectional multi-scale feature fusion in vision networks?
  • RQ2To what extent can reversible multi-scale fusion reduce training memory without sacrificing model accuracy?
  • RQ3How does RevBiFPN compare to SOTA models like EfficientNet and HRNet in terms of accuracy, MACs, and memory usage?
  • RQ4Can RevBiFPN enable larger batch sizes and higher input resolutions in detection and segmentation tasks under memory constraints?
  • RQ5Does reversible computation in multi-scale feature fusion generalize to other architectures and tasks beyond classification?

Key findings

  • RevBiFPN achieves 84.3% top-1 accuracy on ImageNet with only 5.05 GB of training memory, compared to 5.05 GB for EfficientNet-B7, but uses 19.8x less memory than the baseline when scaled to similar capacity.
  • On MS COCO object detection, RevBiFPN-S6 achieves 2.4% higher Bbox AP and 2.0% higher Mask AP than HRNetV2p-W32 while using 1.6 GB less GPU memory during training.
  • Even when HRNetV2p-W48 is trained with a 2x schedule, it still does not outperform RevBiFPN-S6 trained with a 1x schedule, demonstrating RevBiFPN's superior memory efficiency.
  • RevBiFPN-S2 matches HRNetV2p-W18 performance on COCO but uses 1.2x fewer MACs and 2.5x less memory, highlighting its efficiency gains.
  • RevBiFPN enables larger batch sizes and higher input resolutions in detection and segmentation, improving training stability and performance.
  • The method supports future extensions to other architectures (e.g., ResNet, Transformer) and inference techniques (e.g., pruning, quantization), showing broad applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.