Skip to main content
QUICK REVIEW

[Paper Review] EfficientRep:An Efficient Repvgg-style ConvNets with Hardware-aware Neural Network Design

Kaiheng Weng, Xiangxiang Chu|arXiv (Cornell University)|Feb 1, 2023
Advanced Neural Network ApplicationsComputer Science23 citations
TL;DR

EfficientRep jointly designs hardware-aware RepVGG-style backbones and CSP-augmented blocks (Bep and BepC3) to improve accuracy-speed trade-offs in YOLOv6 across model sizes.

ABSTRACT

We present a hardware-efficient architecture of convolutional neural network, which has a repvgg-like architecture. Flops or parameters are traditional metrics to evaluate the efficiency of networks which are not sensitive to hardware including computing ability and memory bandwidth. Thus, how to design a neural network to efficiently use the computing ability and memory bandwidth of hardware is a critical problem. This paper proposes a method how to design hardware-aware neural network. Based on this method, we designed EfficientRep series convolutional networks, which are high-computation hardware(e.g. GPU) friendly and applied in YOLOv6 object detection framework. YOLOv6 has published YOLOv6N/YOLOv6S/YOLOv6M/YOLOv6L models in v1 and v2 versions.

Motivation & Objective

  • Motivate that traditional FLOPs/parameter counts do not capture hardware efficiency (memory bandwidth and I/O).
  • Propose hardware-aware neural network design principles to balance computation and memory access on GPUs.
  • Develop EfficientRep family with RepVGG-style training-time multi-branch, single-branch inference, and CSP-based enhancements.
  • Demonstrate improved accuracy-speed trade-offs in YOLOv6 across model variants (N/S/M/L).
  • Evaluate on MS COCO with speed metrics on NVIDIA GPUs to validate hardware-aware design benefits.

Proposed method

  • Adopt RepVGG-style convs with training-time multi-branch and inference-time single-branch reformulation.
  • Introduce Bep unit as a multi-branch, more hardware-efficient basic unit.
  • Design CSPBep backbone and CSPRepPAN neck to balance accuracy and inference speed.
  • Create CSPBep/CSPRepPAN variants for YOLOv6-v2 with hybrid single/multi-branch strategy depending on model size.
  • Apply scale strategy with depth and width multipliers to generate multiple model sizes.
  • Evaluate on MS COCO with FPS measurements (bs=1, bs=32) and AP as primary metrics.

Experimental results

Research questions

  • RQ1How can hardware-aware design improve GPU efficiency beyond FLOPs/params?
  • RQ2Can RepVGG-style multi-branch training be retained with better single-branch inference for large models?
  • RQ3Do Bep and CSP-based blocks provide superior accuracy-speed trade-offs over vanilla RepVGG-style designs?
  • RQ4What is the optimal hybrid strategy (single-branch vs multi-branch) across model sizes for YOLOv6?
  • RQ5How do the proposed EfficientRep variants perform on standard object-detection benchmarks compared to state-of-the-art detectors?

Key findings

  • EfficientRep backbones and Rep-PAN neck are GPU-friendly and improve accuracy-speed trade-offs in YOLOv6-v1.
  • Pure RepVGG-style models (e.g., YOLOv6-M) underperform compared to BepC3/CSP structures in speed and accuracy.
  • Bep unit with CSP-style integration (BepC3) yields balanced accuracy and inference speed for larger models.
  • CSPBep and CSPRepPAN enable effective hybrid designs enabling better performance across model sizes.
  • Empirical results on COCO show competitive AP and higher FPS across multiple detectors when using EfficientRep variants.
  • The paper reports detailed tables comparing numerous models with speed and accuracy on NVIDIA GPUs.

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.