Skip to main content
QUICK REVIEW

[Paper Review] Hidden costs for inference with deep network on embedded system devices

Chankyu Lee, Woohyun Choi|arXiv (Cornell University)|Jan 5, 2026
Advanced Neural Network ApplicationsComputer Science0 citations
TL;DR

The paper shows that MAC-based metrics do not reliably predict embedded inference time and analyzes extra tensor operations that impact performance across 10 models on an embedded device.

ABSTRACT

This study evaluates the inference performance of various deep learning models under an embedded system environment. In previous works, Multiply-Accumulate operation is typically used to measure computational load of a deep model. According to this study, however, this metric has a limitation to estimate inference time on embedded devices. This paper poses the question of what aspects are overlooked when expressed in terms of Multiply-Accumulate operations. In experiments, an image classification task is performed on an embedded system device using the CIFAR-100 dataset to compare and analyze the inference times of ten deep models with the theoretically calculated Multiply-Accumulate operations for each model. The results highlight the importance of considering additional computations between tensors when optimizing deep learning models for real-time performing in embedded systems.

Motivation & Objective

  • Assess the relationship between model complexity (parameters and MACs) and actual inference time on an embedded system.
  • Identify which components of inference dominate runtime beyond MACs.
  • Evaluate how different architectures perform in real-time on resource-limited hardware.
  • Propose design considerations to optimize deep models for embedded deployment.

Proposed method

  • Evaluate 10 CNN models (VGG16, InceptionV3, InceptionV4, ResNet50, SeResNet50, Xception, MobileNet, MobileNetV2, ShuffleNet, ShuffleNetV2) on CIFAR-100.
  • Measure inference time on a quad-core 64-bit embedded device (1.5–1.8 GHz) with 8 GB RAM.
  • Compute MACs using thop.profile and measure actual inference time using torch.profile.
  • Analyze the contribution of Conv2D, BatchNorm, ReLU, Concat, and Add to total inference time.
  • Break down Conv2D into sub-operations (convolution, slice, narrow, empty, view) and compare their runtimes across models.
Figure 1: Experiment environment performed on embedded system
Figure 1: Experiment environment performed on embedded system

Experimental results

Research questions

  • RQ1Do MACs and parameter counts correlate with actual inference time on embedded devices?
  • RQ2Which components of the inference pipeline contribute most to runtime beyond MACs?
  • RQ3How do different model architectures differ in their unexpected tensor-operation overhead on embedded hardware?
  • RQ4Can design choices beyond reducing MACs lead to better real-time performance on embedded systems?

Key findings

  • Inference time does not correlate with MACs or parameter counts across models.
  • Conv2D operations account for the majority of time (>70%) for some models, but tensor operations like slice, narrow, and memory allocations can dominate for others (e.g., Xception).
  • Certain models (e.g., Xception) have lower MACs yet longer inference times due to higher overhead from non-convolution tensor operations.
  • BN, ReLU, Concat, and Add collectively contribute significantly to runtime, and these are not included in MAC calculations.
  • On embedded devices with limited resources, tensor-operation overhead markedly impacts performance compared to high-end servers.
Figure 2: Distributions of model accuracy and computation speed for 10-deep models along with Pearson correlation coefficient: (a) Accuracy vs size, (b) Size vs Computations, (c) Accuracy vs time, (d) Time vs computations
Figure 2: Distributions of model accuracy and computation speed for 10-deep models along with Pearson correlation coefficient: (a) Accuracy vs size, (b) Size vs Computations, (c) Accuracy vs time, (d) Time vs computations

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.