面向 NPU-CIM 异构 AR/VR 设备的混合模型神经架构搜索
Neural Architecture Search of Hybrid Models for NPU-CIM Heterogeneous AR/VR Devices
AI总结:
针对 AR/VR 应用中混合 CNN/ViT 模型在异构边缘系统上的延迟与能效挑战,提出 H4H-NAS 框架,利用 NPU 与 CIM 的架构异构性进行神经架构搜索,在提升 ImageNet 准确率的同时显著降低延迟和能耗。
摘要:
低延迟与低功耗的边缘 AI 对虚拟现实(VR)和增强现实(AR)应用至关重要。最新进展表明,结合卷积层(CNN)和 Transformer(ViT)的混合模型,在各类计算机视觉和机器学习(ML)任务上通常能取得更优的准确率/性能权衡。然而,由于混合 ML 模型在数据流和内存访问模式上具有多样性,它们在延迟和能效方面会带来系统挑战。在本研究中,我们利用神经处理单元(NPU)和存内计算(CIM)的架构异构性,并执行多样化的执行方案,以高效运行这些混合模型。我们还提出了 H4H-NAS,这是一个用于为同时配备 NPU 和 CIM 的异构边缘系统设计高效混合 CNN/ViT 模型的神经架构搜索框架。我们的 H4H-NAS 方法由一个性能估计器驱动,该估计器是基于在真实硅片上测量的 NPU 性能结果以及基于工业 IP 的 CIM 性能构建的。H4H-NAS 以细粒度搜索混合 CNN/ViT 模型,并在 ImageNet 数据集上实现了显著的(高达 1.34%)top-1 准确率提升。此外,我们的算法/硬件协同设计结果表明,通过在基线解决方案上引入这种异构计算,总体延迟最高改善了 56.08%,能耗最高改善了 41.72%。该框架指导了 NPU+CIM 异构系统的混合网络架构和系统架构的设计。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。