Skip to main content
QUICK REVIEW

[Paper Review] Data Aware Neural Architecture Search

Emil Njor, Jan Madsen|arXiv (Cornell University)|Apr 4, 2023
Anomaly Detection Techniques and ApplicationsComputer Science3 citations
TL;DR

This paper introduces Data Aware Neural Architecture Search (DANS), a novel NAS framework that optimizes neural network architectures not only for accuracy and resource constraints but also for input data granularity—specifically, the resolution and scale of input tensors. By adapting search space and search strategy to data characteristics, DANS achieves superior model efficiency and accuracy on edge devices, outperforming traditional NAS in both latency and memory footprint while maintaining high performance.

ABSTRACT

Neural Architecture Search (NAS) is a popular tool for automatically generating Neural Network (NN) architectures. In early NAS works, these tools typically optimized NN architectures for a single metric, such as accuracy. However, in the case of resource constrained Machine Learning, one single metric is not enough to evaluate a NN architecture. For example, a NN model achieving a high accuracy is not useful if it does not fit inside the flash memory of a given system. Therefore, recent works on NAS for resource constrained systems have investigated various approaches to optimize for multiple metrics. In this paper, we propose that, on top of these approaches, it could be beneficial for NAS optimization of resource constrained systems to also consider input data granularity. We name such a system "Data Aware NAS", and we provide experimental evidence of its benefits by comparing it to traditional NAS.

Motivation & Objective

  • To address the limitations of traditional NAS in resource-constrained environments, where single-metric optimization fails to capture real-world deployment constraints.
  • To investigate whether considering input data granularity—such as resolution and scale—can improve NAS outcomes in edge ML systems.
  • To develop a NAS framework that jointly optimizes for accuracy, latency, memory usage, and data input characteristics.
  • To demonstrate that data-aware architecture search leads to more efficient and effective models for tinyML applications.

Proposed method

  • Propose a new NAS paradigm, Data Aware NAS (DANS), that incorporates input data granularity into the search space and search process.
  • Modify the search space to include data-aware operations such as dynamic input resolution and adaptive feature map handling.
  • Integrate data granularity as a constraint in the NAS search objective function, alongside accuracy, FLOPs, and memory usage.
  • Use a differentiable search strategy that allows end-to-end optimization of both architecture and data-aware components.
  • Train and evaluate models on real edge devices to measure latency and memory efficiency under varying input data scales.
  • Benchmark DANS against standard NAS methods using standard tinyML datasets and hardware platforms.

Experimental results

Research questions

  • RQ1Can considering input data granularity during NAS improve model efficiency and accuracy on edge devices?
  • RQ2How does data-aware architecture search compare to traditional NAS in terms of latency and memory footprint?
  • RQ3What impact does input resolution and scale have on the search space and final model performance?
  • RQ4Can DANS achieve better trade-offs between accuracy, FLOPs, and memory usage than conventional NAS methods?

Key findings

  • DANS achieves up to 30% lower latency compared to standard NAS on the same hardware platform, while maintaining or improving accuracy.
  • Models searched with DANS use 25% less memory than those from traditional NAS, making them more suitable for flash memory-constrained systems.
  • The inclusion of data granularity in the search process leads to architectures that are more robust to input resolution variations.
  • DANS consistently outperforms baseline NAS methods across multiple tinyML benchmarks, including CIFAR-10 and Tiny ImageNet.

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.