Neural Architecture Search of Hybrid Models for NPU-CIM Heterogeneous AR/VR Devices

Yiwei Zhao, Ziyun Li, Win-San Khwa, Xiaoyu Sun, Sai Qian Zhang +8 more
10/10/2024
cs.CVcs.ARcs.LG

No confident code implementation found for this paper.

Abstract

Low-Latency and Low-Power Edge AI is essential for Virtual Reality and Augmented Reality applications. Recent advances show that hybrid models, combining convolution layers (CNN) and transformers (ViT), often achieve superior accuracy/performance tradeoff on various computer vision and machine learning (ML) tasks. However, hybrid ML models can pose system challenges for latency and energy-efficiency due to their diverse nature in dataflow and memory access patterns. In this work, we leverage the architecture heterogeneity from Neural Processing Units (NPU) and Compute-In-Memory (CIM) and perform diverse execution schemas to efficiently execute these hybrid models. We also introduce H4H-NAS, a Neural Architecture Search framework to design efficient hybrid CNN/ViT models for heterogeneous edge systems with both NPU and CIM. Our H4H-NAS approach is powered by a performance estimator built with NPU performance results measured on real silicon, and CIM performance based on industry IPs. H4H-NAS searches hybrid CNN/ViT models with fine granularity and achieves significant (up to 1.34%) top-1 accuracy improvement on ImageNet dataset. Moreover, results from our Algo/HW co-design reveal up to 56.08% overall latency and 41.72% energy improvements by introducing such heterogeneous computing over baseline solutions. The framework guides the design of hybrid network architectures and system architectures of NPU+CIM heterogeneous systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhao2024neural,
  title  = {Neural Architecture Search of Hybrid Models for NPU-CIM Heterogeneous AR/VR Devices},
  author = {Yiwei Zhao and Ziyun Li and Win-San Khwa and Xiaoyu Sun and Sai Qian Zhang and Syed Shakib Sarwar and Kleber Hugo Stangherlin and Yi-Lun Lu and Jorge Tomas Gomez and Jae-Sun Seo and Phillip B. Gibbons and Barbara De Salvo and Chiao Liu},
  year   = {2024},
  eprint = {2410.08326},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.08326v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.08326.svg)](https://codeofpaper.com/paper/2410.08326)

Discussion