Skip to main content
QUICK REVIEW

[Paper Review] Mobile Machine Learning Hardware at ARM: A Systems-on-Chip (SoC) Perspective

Yuhao Zhu, Matthew Mattina|arXiv (Cornell University)|Jan 19, 2018
CCD and CMOS Imaging SensorsEngineering6 references17 citations
TL;DR

This paper proposes a system-level co-design approach for mobile machine learning, leveraging motion vectors from the ISP and L3 cache via ARM's ACP to reduce CNN inference frequency in continuous computer vision. It achieves over 40% energy reduction with less than 1% accuracy loss by reusing motion data for object tracking instead of full inference per frame.

ABSTRACT

Machine learning is playing an increasingly significant role in emerging mobile application domains such as AR/VR, ADAS, etc. Accordingly, hardware architects have designed customized hardware for machine learning algorithms, especially neural networks, to improve compute efficiency. However, machine learning is typically just one processing stage in complex end-to-end applications, involving multiple components in a mobile Systems-on-a-chip (SoC). Focusing only on ML accelerators loses bigger optimization opportunity at the system (SoC) level. This paper argues that hardware architects should expand the optimization scope to the entire SoC. We demonstrate one particular case-study in the domain of continuous computer vision where camera sensor, image signal processor (ISP), memory, and NN accelerator are synergistically co-designed to achieve optimal system-level efficiency.

Motivation & Objective

  • Address the growing computational and energy demands of on-device deep learning in mobile systems.
  • Overcome the limitations of isolated DNN accelerator optimization by expanding to full SoC co-design.
  • Reduce energy consumption in continuous computer vision workloads without sacrificing accuracy.
  • Enable efficient hardware-software integration through abstraction layers and standardized APIs.
  • Demonstrate that cross-IP synergy across ISP, memory, and accelerator can yield significant system-level gains.

Proposed method

  • Leveraged motion vectors (MVs) generated by the ISP’s temporal denoising pipeline for object tracking, avoiding redundant CNN inference.
  • Used ARM’s Accelerator Coherency Port (ACP) to enable direct access to the L3 cache for inter-layer data reuse, reducing DRAM traffic.
  • Implemented a system-level extrapolation window (EW) to skip CNN inference on frames where motion vectors suffice for tracking.
  • Integrated optimized DNN kernels using the ARM Compute Library and exposed them via AndroidNN API with HAL abstraction.
  • Calibrated a custom SoC simulator using Jetson TX2 measurements to evaluate energy and accuracy trade-offs.
  • Maintained backward compatibility by preserving the AndroidNN interface and modifying only low-level drivers and HAL.

Experimental results

Research questions

  • RQ1Can system-level co-design across ISP, memory, and NN accelerator reduce energy consumption in mobile continuous vision without significant accuracy loss?
  • RQ2To what extent can motion vectors from the ISP be reused for object tracking to reduce the need for repeated CNN inference?
  • RQ3How effective is L3 cache sharing via ACP for reducing DRAM bandwidth and energy consumption in CNN workloads?
  • RQ4What is the trade-off between energy savings and accuracy when increasing the extrapolation window size?
  • RQ5Can a hardware-software stack abstraction preserve application compatibility while enabling new system-level optimizations?

Key findings

  • The proposed system achieved over 40% reduction in energy consumption for real-time object detection at 1080p/60fps.
  • With an extrapolation window size of two, the system incurred less than 1% accuracy loss compared to full-frame inference.
  • Energy savings increased with larger extrapolation windows, though accuracy degraded gradually as window size grew.
  • The approach outperformed model compression techniques like TinyYOLO, achieving higher accuracy and greater energy savings.
  • L3 cache reuse via ACP significantly reduced DRAM access, contributing to the overall energy efficiency by minimizing off-chip memory traffic.
  • The system maintained full backward compatibility with existing AndroidNN-based applications through abstraction layers and HAL modifications.

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.