EcoEdgeInfer: Dynamically Optimizing Latency and Sustainability for Inference on Edge Devices
The use of Deep Neural Networks (DNNs) has skyrocketed in recent years. While its applications have brought many benefits and use cases, they also have a significant environmental impact due to the high energy consumption of DNN execution. It has already been acknowledged in the literature that training DNNs is computationally expensive and requires large amounts of energy. However, the energy consumption of DNN inference is still an area that has not received much attention, yet. With the increasing adoption of online tools, the usage of inference has significantly grown and will likely continue to grow. Unlike training, inference is user-facing, requires low latency, and is used more frequently. As such, edge devices are being considered for DNN inference due to their low latency and privacy benefits. In this context, inference on edge is a timely area that requires closer attention to regulate its energy consumption. We present EcoEdgeInfer, a system that balances performance and sustainability for DNN inference on edge devices. Our core component of EcoEdgeInfer is an adaptive optimization algorithm, EcoGD, that strategically and quickly sweeps through the hardware and software configuration space to find the jointly optimal configuration that can minimize energy consumption and latency. EcoGD is agile by design, and adapts the configuration parameters in response to time-varying and unpredictable inference workload. We evaluate EcoEdgeInfer on different DNN models using real-world traces and show that EcoGD consistently outperforms existing baselines, lowering energy consumption by 31% and reducing tail latency by 14%, on average.
Authors
- Anshul Gandhi (ORCID: https://orcid.org/0000-0002-2351-6523)
- Shaik Nazeer (ORCID: https://orcid.org/0000-0002-8856-4796)
- Sri Pramodh Rachuri (ORCID: https://orcid.org/0000-0001-9330-0552)
- Mehul Choksi
Institutions
- Stony Brook University (US)
Publication Details
- Published
- 2024-12-04
- DOI
- https://doi.org/10.1109/sec62691.2024.00023
- Citations
- 1
- Primary Topic
- Green IT and Sustainability
- Type
- article
- Field-Weighted Citation Impact
- 0.21
Funders
- National Science Foundation