English

Fast and Accurate Model Scaling

Computer Vision and Pattern Recognition 2021-03-12 v1 Machine Learning

Abstract

In this work we analyze strategies for convolutional neural network scaling; that is, the process of scaling a base convolutional network to endow it with greater computational complexity and consequently representational power. Example scaling strategies may include increasing model width, depth, resolution, etc. While various scaling strategies exist, their tradeoffs are not fully understood. Existing analysis typically focuses on the interplay of accuracy and flops (floating point operations). Yet, as we demonstrate, various scaling strategies affect model parameters, activations, and consequently actual runtime quite differently. In our experiments we show the surprising result that numerous scaling strategies yield networks with similar accuracy but with widely varying properties. This leads us to propose a simple fast compound scaling strategy that encourages primarily scaling model width, while scaling depth and resolution to a lesser extent. Unlike currently popular scaling strategies, which result in about O(s)O(s) increase in model activation w.r.t. scaling flops by a factor of ss, the proposed fast compound scaling results in close to O(s)O(\sqrt{s}) increase in activations, while achieving excellent accuracy. This leads to comparable speedups on modern memory-limited hardware (e.g., GPU, TPU). More generally, we hope this work provides a framework for analyzing and selecting scaling strategies under various computational constraints.

Keywords

Cite

@article{arxiv.2103.06877,
  title  = {Fast and Accurate Model Scaling},
  author = {Piotr Dollár and Mannat Singh and Ross Girshick},
  journal= {arXiv preprint arXiv:2103.06877},
  year   = {2021}
}

Comments

CVPR 2021

R2 v1 2026-06-24T00:01:23.518Z