Skip to main content
QUICK REVIEW

[Paper Review] CompOFA: Compound Once-For-All Networks for Faster Multi-Platform Deployment

Manas Sahni, Shreya Varshini|arXiv (Cornell University)|Apr 26, 2021
Advanced Neural Network ApplicationsComputer Science11 citations
TL;DR

CompOFA proposes a compound coupling heuristic to drastically reduce the search space of Once-For-All (OFA) networks, shrinking it from 10^19 to just 243 configurations by leveraging depth-width-resolution couplings. This enables 2x faster training, 216x faster model search, and reduced CO2 emissions—without sacrificing Pareto-optimal accuracy across diverse hardware and latency targets.

ABSTRACT

The emergence of CNNs in mainstream deployment has necessitated methods to design and train efficient architectures tailored to maximize the accuracy under diverse hardware & latency constraints. To scale these resource-intensive tasks with an increasing number of deployment targets, Once-For-All (OFA) proposed an approach to jointly train several models at once with a constant training cost. However, this cost remains as high as 40-50 GPU days and also suffers from a combinatorial explosion of sub-optimal model configurations. We seek to reduce this search space -- and hence the training budget -- by constraining search to models close to the accuracy-latency Pareto frontier. We incorporate insights of compound relationships between model dimensions to build CompOFA, a design space smaller by several orders of magnitude. Through experiments on ImageNet, we demonstrate that even with simple heuristics we can achieve a 2x reduction in training time and 216x speedup in model search/extraction time compared to the state of the art, without loss of Pareto optimality! We also show that this smaller design space is dense enough to support equally accurate models for a similar diversity of hardware and latency targets, while also reducing the complexity of the training and subsequent extraction algorithms.

Motivation & Objective

  • Address the prohibitively high training cost and combinatorial explosion in Once-For-All (OFA) networks due to massive, sub-optimal model configurations.
  • Reduce the architectural search space without sacrificing Pareto optimality in accuracy-latency tradeoffs across diverse deployment platforms.
  • Minimize interference during joint weight sharing by constraining model configurations to those near the accuracy-latency frontier.
  • Enable faster, more efficient model extraction and deployment by simplifying the design space and eliminating reliance on latency estimators.
  • Demonstrate generalization of the compound coupling heuristic across different base architectures, such as ProxylessNAS.

Proposed method

  • Apply compound scaling principles—coupling depth, width, and resolution—to constrain the search space to only 243 configurations, instead of OFA’s 10^19.
  • Use a heuristic that increases model capacity along multiple dimensions (depth, width, resolution) in a coordinated manner, based on empirical observations of improved accuracy-latency tradeoffs.
  • Train the CompOFA supernet in a single-shot, one-shot manner with shared weights, but with significantly fewer model configurations, reducing training interference.
  • Eliminate the need for progressive shrinking by reducing interference through a smaller, more coherent design space.
  • Implement memoization during evolutionary search to cache measured latencies, enabling direct, real-time latency evaluation instead of relying on proxy estimators.
  • Validate the method on both MobileNetV3 and ProxylessNAS architectures to demonstrate generalization and consistent gains.

Experimental results

Research questions

  • RQ1Can a drastically reduced search space, constrained by compound couplings between model dimensions, maintain Pareto optimality in accuracy and latency?
  • RQ2Does reducing the number of model configurations from 10^19 to 243 significantly reduce training interference and allow convergence in half the training time?
  • RQ3To what extent does the smaller design space improve the speed of model search and extraction without sacrificing model diversity or accuracy?
  • RQ4Can the compound coupling heuristic be generalized to other base architectures beyond MobileNetV3?
  • RQ5Does the elimination of latency estimators in favor of direct measurement improve practical usability and reduce development overhead?

Key findings

  • CompOFA reduces the number of model configurations from 10^19 (OFA) to just 243, achieving a 17-order-of-magnitude reduction in search space size.
  • Training time is reduced by 2x—cutting the training budget in half—due to reduced interference and elimination of progressive shrinking.
  • Model search and extraction are accelerated by 216x, as the smaller design space allows direct latency measurement via memoization instead of proxy estimators.
  • Despite the smaller search space, CompOFA maintains or slightly exceeds OFA’s accuracy across the same model configurations, as shown in CDF comparisons.
  • The method generalizes to other architectures: when applied to ProxylessNAS, CompOFA again achieves the same or better accuracy with half the training budget.
  • CO2 emissions and dollar costs are proportionally reduced due to the 2x reduction in training time, making the method more sustainable and scalable.

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.