Optimization of DNNs Using a Hardware Aware Two Stage NAS for Automotive Embedded Targets
Abstract
Deep learning models are widely used in the context of automated driving. Achieving the goal of performance in Automotive Embedded Targets presents numerous challenges due to the trade-off between accuracy and run-time. This paper addresses the task of finding the best candidate that fulfills System-on-Chip (SoCs) constraints using two-stage neural architecture search. We employed this approach to find a balance between accuracy and run-time. Our method can be applied in the context of optimizing deep learning models. Starting from a search space and a neural network, we can automatically create a super-model (by replacing all layers specified in the search space) that can be trained in the first stage of NAS. In the second stage, we use the already trained model to subsample architectures to find the best trade-off between accuracy KPIs and runtime KPIs. These two metrics are not arbitrary; they define the main constraints of SoCs and were used in the construction of the Pareto front from which the users can choose a configuration that satisfies their expectations. We conducted multiple experiments, but the most important ones are: optimizing a YOLOv8s for Texas Instruments (TI) SoC with 8 TOPS per Neural Network Accelerator and a multitask network for RENESAS SoC that has 3.4 TOPS. We ran YOLOv8s experiments on a public COCO dataset and managed to find a neural network that runs approximately 16% faster on TI, with a drop of less than 1.1% in mAP. For the Multitask Network, we conducted experiments on a custom dataset and found a neural network that runs 13% slower on RENESAS, but with an increase of 0.4% in overall evaluation metrics.
BibTeX
@misc{viman2025optimization,
author = {Andrei Viman and Mihai Negru and Martin Rapp and Taha Soliman},
title = {{Optimization of DNNs Using a Hardware Aware Two Stage NAS for Automotive Embedded Targets}},
year = {2025},
doi = {10.1109/iccp68926.2025.11427138},
}Ask Althea to put this paper to the test.
Loading related content...