Multihardware Adaptive Latency Prediction for Neural Architecture Search
- 16 October 2024
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 12 (3) , 3385-3398
Abstract
In hardware-aware neural architecture search (NAS), accurately assessing a model’s inference efficiency is crucial for search optimization. Traditional approaches, which measure numerous samples to train proxy models, are impractical across varied platforms due to the extensive resources needed to remeasure and rebuild models for each platform. To address this challenge, we propose a multihardware-aware NAS method that enhances the generalizability of proxy models across different platforms while reducing the required sample size. Our method introduces a multihardware adaptive latency prediction (MHLP) model that leverages one-hot encoding for hardware parameters and multihead attention mechanisms to effectively capture the intricate interplay between hardware attributes and network architecture features. Additionally, we implement a two-stage sampling mechanism based on probability density weighting to ensure the representativeness and diversity of the sample set. By adopting a dynamic sample allocation mechanism, our method can adjust the adaptive sample size according to the initial model state, providing stronger data support for devices with significant deviations. Evaluations on NAS benchmarks demonstrate the MHLP predictor’s excellent generalization accuracy using only 10 samples, guiding the NAS search process to identify optimal network architectures.Keywords
Funding Information
- Key Research and Development Program of Shaanxi (2024GX-ZDCYL-02-15)
This publication has 30 references indexed in Scilit:
- EQNAS: Evolutionary Quantum Neural Architecture Search for Image ClassificationNeural Networks, 2023
- Neural architecture search with interpretable meta-features and fast predictorsInformation Sciences, 2023
- Efficient and accurate compound scaling for convolutional neural networksNeural Networks, 2023
- A resource-efficient ECG diagnosis model for mobile health devicesInformation Sciences, 2023
- MAPLE: Microprocessor A Priori for Latency Estimation2022
- ReNAS: Relativistic Evaluation of Neural Architecture Search2021
- NetAdaptV2: Efficient Neural Architecture Search with Fast Super-Network Training and Architecture Optimization2021
- FBNetV2: Differentiable Neural Architecture Search for Spatial and Channel Dimensions2020
- FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Search2019
- MnasNet: Platform-Aware Neural Architecture Search for Mobile2019