[Paper Review] Constrained deep neural network architecture search for IoT devices accounting hardware calibration
This paper proposes a narrow-space neural architecture search framework that generates efficient, low-latency deep learning models for IoT devices under strict memory and inference time constraints. By leveraging knowledge distillation from large models and exploring reduced-precision formats (half-precision and custom 8-bit types), the method achieves 83.45% top-1 accuracy on CIFAR-10 with inference under 10ms on a $35 Raspberry Pi 3, outperforming existing models by over 7 percentage points under memory constraints.
Deep neural networks achieve outstanding results in challenging image classification tasks. However, the design of network topologies is a complex task and the research community makes a constant effort in discovering top-accuracy topologies, either manually or employing expensive architecture searches. In this work, we propose a unique narrow-space architecture search that focuses on delivering low-cost and fast executing networks that respect strict memory and time requirements typical of Internet-of-Things (IoT) near-sensor computing platforms. Our approach provides solutions with classification latencies below 10ms running on a $35 device with 1GB RAM and 5.6GFLOPS peak performance. The narrow-space search of floating-point models improves the accuracy on CIFAR10 of an established IoT model from 70.64% to 74.87% respecting the same memory constraints. We further improve the accuracy to 82.07% by including 16-bit half types and we obtain the best accuracy of 83.45% by extending the search with model optimized IEEE 754 reduced types. To the best of our knowledge, we are the first that empirically demonstrate on over 3000 trained models that running with reduced precision pushes the Pareto optimal front by a wide margin. Under a given memory constraint, accuracy is improved by over 7% points for half and over 1% points further for running with the best model individual format.
Motivation & Objective
- To design deep neural networks that meet strict memory and latency constraints typical of IoT edge devices.
- To improve model accuracy for low-resource IoT platforms without increasing model size or computational cost.
- To systematically evaluate the impact of reduced-precision arithmetic (half-precision, 8-bit types) on model accuracy and efficiency.
- To develop a modular, scalable architecture search pipeline that can be adapted to new hardware and network patterns.
- To empirically demonstrate that reduced precision pushes the Pareto optimal front in model accuracy and efficiency trade-offs.
Proposed method
- A narrow-space architecture search is performed by applying restricted sampling laws to a base search space, derived from a large reference model, to generate a family of small, efficient architectures.
- Knowledge distillation is used to transfer knowledge from the large reference model to the small candidate architectures, enabling high accuracy without full retraining.
- The search space is constrained to ensure all generated models fit within a user-defined memory budget and meet latency requirements.
- Reduced-precision formats (FP16, custom 8-bit types) are systematically evaluated across over 3,000 models to identify optimal precision per layer.
- An automatic search algorithm is used to explore the search space homogeneously, while manual sampling laws are used for comparison and validation.
- Final models are trained and evaluated on CIFAR-10, with inference latency measured on a Raspberry Pi 3(B+) to validate real-world performance.
Experimental results
Research questions
- RQ1Can a narrow-space architecture search generate models that achieve high accuracy while satisfying strict memory and latency constraints for IoT devices?
- RQ2How does the use of reduced-precision arithmetic (FP16, 8-bit types) affect the accuracy and efficiency trade-off in small neural networks?
- RQ3To what extent can knowledge distillation from a large reference model improve the accuracy of small, constrained models without full retraining?
- RQ4Does the Pareto optimal front of model accuracy and size shift significantly when using reduced-precision inference instead of full-precision?
- RQ5Can the proposed search framework be scaled across multiple datasets and hardware constraints while maintaining high efficiency and accuracy?
Key findings
- The proposed method improves CIFAR-10 top-1 accuracy from 70.64% (baseline IoT model) to 74.87% under the same memory constraints by using narrow-space architecture search.
- Using 16-bit half-precision (FP16) increases accuracy to 82.07% under the same memory constraints, demonstrating a significant improvement over full-precision models.
- By allowing each model to use its individually optimized reduced-precision format (e.g., 8-bit types), accuracy reaches 83.45%, the highest reported for this model size and constraint.
- The Pareto optimal front is pushed forward by over 7 percentage points when using half-precision, and by an additional 1% with model-specific reduced-precision types.
- Inference latency is consistently below 10ms on a Raspberry Pi 3(B+), a $35 device with 1GB RAM and 5.6 GFLOPS peak performance, confirming real-time feasibility.
- The method scales effectively across 13 datasets and three latency constraints (10³, 10⁴, 10⁵), with best-performing models achieving high accuracy under each constraint.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.