PolyThrottle: Energy-efficient Neural Network Inference on Edge Devices
Minghao Yan, Hongyi Wang, Shivaram Venkataraman
TL;DR
PolyThrottle addresses the challenge of energy-efficient edge inference by jointly tuning CPU, GPU, memory frequencies, and batch size under latency SLOs using Constrained Bayesian Optimization. It reveals that memory frequency and minimum GPU frequency can dominate energy use, and introduces a workload-interference model to schedule on-device fine-tuning without violating SLOs, achieving up to 36% energy savings with minimal online overhead. The framework combines offline near-optimal configuration search with an online predictor and scheduler to handle fine-tuning concurrently with inference. Implemented on Nvidia Jetson TX2/Orin with EfficientNet and BERT workloads, PolyThrottle demonstrates practical energy reductions and fast convergence across diverse models and hardware platforms.
Abstract
As neural networks (NN) are deployed across diverse sectors, their energy demand correspondingly grows. While several prior works have focused on reducing energy consumption during training, the continuous operation of ML-powered systems leads to significant energy use during inference. This paper investigates how the configuration of on-device hardware-elements such as GPU, memory, and CPU frequency, often neglected in prior studies, affects energy consumption for NN inference with regular fine-tuning. We propose PolyThrottle, a solution that optimizes configurations across individual hardware components using Constrained Bayesian Optimization in an energy-conserving manner. Our empirical evaluation uncovers novel facets of the energy-performance equilibrium showing that we can save up to 36 percent of energy for popular models. We also validate that PolyThrottle can quickly converge towards near-optimal settings while satisfying application constraints.
