Skip to main content
QUICK REVIEW

[Paper Review] SwiftNet: Using Graph Propagation as Meta-knowledge to Search Highly Representative Neural Architectures

Hsin-Pai Cheng, Tunhou Zhang|arXiv (Cornell University)|Jun 19, 2019
Advanced Neural Network ApplicationsComputer Science36 references8 citations
TL;DR

This paper proposes GRAM (GRAph propagation as Meta-knowledge), a novel neural architecture search method that uses a meta-graph to accumulate learned knowledge across search iterations, enabling highly efficient and flexible search over a vast architecture space. By replacing fixed cell structures with node-wise search and introducing structure-level pruning, GRAM discovers SwiftNet models that achieve 2.15× higher accuracy density than MobileNet-V2 and 26× lower search cost than FBNet, with 63.28% ImageNet-1K top-1 accuracy using only 53M MACs and 2.07M parameters.

ABSTRACT

Designing neural architectures for edge devices is subject to constraints of accuracy, inference latency, and computational cost. Traditionally, researchers manually craft deep neural networks to meet the needs of mobile devices. Neural Architecture Search (NAS) was proposed to automate the neural architecture design without requiring extensive domain expertise and significant manual efforts. Recent works utilized NAS to design mobile models by taking into account hardware constraints and achieved state-of-the-art accuracy with fewer parameters and less computational cost measured in Multiply-accumulates (MACs). To find highly compact neural architectures, existing works relies on predefined cells and directly applying width multiplier, which may potentially limit the model flexibility, reduce the useful feature map information, and cause accuracy drop. To conquer this issue, we propose GRAM(GRAph propagation as Meta-knowledge) that adopts fine-grained (node-wise) search method and accumulates the knowledge learned in updates into a meta-graph. As a result, GRAM can enable more flexible search space and achieve higher search efficiency. Without the constraints of predefined cell or blocks, we propose a new structure-level pruning method to remove redundant operations in neural architectures. SwiftNet, which is a set of models discovered by GRAM, outperforms MobileNet-V2 by 2.15x higher accuracy density and 2.42x faster with similar accuracy. Compared with FBNet, SwiftNet reduces the search cost by 26x and achieves 2.35x higher accuracy density and 1.47x speedup while preserving similar accuracy. SwiftNetcan obtain 63.28% top-1 accuracy on ImageNet-1K with only 53M MACs and 2.07M parameters. The corresponding inference latency is only 19.09 ms on Google Pixel 1.

Motivation & Objective

  • Address the limitations of fixed-cell and width-multiplier-based NAS methods that reduce model flexibility and degrade feature representation in compact models.
  • Overcome the inefficiency and poor adaptability of traditional NAS by preserving learned knowledge across search iterations.
  • Enable high-accuracy, low-latency neural architectures for edge devices through a flexible, resource-aware search space.
  • Develop a method that allows direct structural adaptation of learned architectures to new tasks without fine-tuning.
  • Achieve superior accuracy-density and inference speed while minimizing computational cost (MACs) and model size.

Proposed method

  • Model neural architecture search as a sub-DAG selection problem in a complete computational DAG, where operations are nodes and tensor flows are edges.
  • Introduce a node-based search strategy that accumulates knowledge from each search iteration into a dynamic meta-graph, enabling knowledge retention and reuse.
  • Use Gibbs sampling to update the meta-graph iteratively, allowing efficient exploration of a search space of size ~10^63.
  • Propose structure-level pruning that removes low-weight edges in the meta-graph to generate resource-aware models, replacing traditional width scaling.
  • Leverage the trained meta-graph to directly generate new architectures for different tasks without fine-tuning, enabling structural adaptability.
  • Apply channel up-scaling to the meta-graph to prevent underfitting when adapting to more complex tasks.

Experimental results

Research questions

  • RQ1Can a meta-graph that accumulates knowledge from iterative search improve search efficiency and model performance in neural architecture search?
  • RQ2Does replacing fixed cell structures with a node-wise search strategy enable greater architectural flexibility and higher accuracy density?
  • RQ3Can structure-level pruning outperform traditional width-multiplier-based compression in terms of accuracy and latency?
  • RQ4To what extent can a pre-trained meta-graph be structurally adapted to new tasks without additional fine-tuning?
  • RQ5Can the proposed method achieve state-of-the-art accuracy-density and inference speed while minimizing MACs and parameters?

Key findings

  • SwiftNet achieves 63.28% top-1 accuracy on ImageNet-1K with only 53M MACs and 2.07M parameters, setting a new benchmark for compact models.
  • SwiftNet outperforms MobileNet-V2 by 2.15× in accuracy density and achieves 2.42× faster inference latency at similar accuracy.
  • The search cost for SwiftNet is 26× lower than FBNet’s, while maintaining comparable accuracy and achieving 1.47× lower latency.
  • On Google Pixel 1, SwiftNet achieves 19.09ms inference latency at 96×96 input size, demonstrating real-time performance on edge devices.
  • The meta-graph enables direct structural adaptation to new tasks—achieving 99.24% accuracy on MNIST, 94.95% on SVHN, and 93.56% on Fashion MNIST with no fine-tuning.
  • Multi-threaded inference shows ~2× speedup on SwiftNet due to concurrent computation across three DAGs, highlighting efficient hardware utilization.

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.