Send Less, Save More: Energy-Efficiency Benchmark of Embedded CNN Inference vs. Data Transmission in IoT

Benjamin Karic, Nina Herrmann, Jan Stenkamp, Paula Scharf, Fabian Gieseke, Angela SchweringarXiv 2025 · DOI

Abstract

In remote environmental monitoring, IoT devices face severe energy constraints. This study benchmarks the energy efficiency of on-device Convolutional Neural Network (CNN) inference ("TinyML") against traditional raw data transmission to the cloud. Using an ESP32-S3 microcontroller and various LPWAN protocols, we demonstrate that local processing can reduce energy consumption by up to 5x, significantly extending battery life for remote sensors.

Introduction

Remote environmental monitoring, such as precision agriculture or wildlife tracking, requires autonomous IoT devices to operate for years on limited battery power. A major bottleneck is the high energy cost of wireless data transmission, particularly for high-resolution images. While Embedded Machine Learning (TinyML) promises to alleviate this by processing data at the edge, empirical benchmarks for modern microcontrollers using standard Low Power Wide Area Network (LPWAN) protocols are scarce. This paper addresses this gap by evaluating the "middle ground" of resource-constrained hardware like the ESP32-S3.

Methodology

The researchers developed a prototype based on the ESP32-S3 microcontroller and an OV2640 camera module. The study compared two primary operational paradigms: Cloud-ML, where compressed images are transmitted for remote processing, and Embedded-ML, where inference is performed locally.

Comparison of Cloud-ML vs. Embedded-ML processing pipelines.

Model Optimization and Deployment

Two CNN architectures, MobileNetV2 and SqueezeNet, were adapted for the microcontroller. To fit within the device's memory constraints, 8-bit Post-Training Quantization (PTQ) was applied using the esp-ppq tool. Deployment utilized the esp-dl library, leveraging the ESP32-S3's hardware acceleration for AI tasks.

Network and Energy Profiling

The energy costs of several transmission stacks were measured:

  • LoRaWAN (via LoRa)
  • MQTT and CoAP (via LTE-M and NB-IoT)

Energy consumption was profiled using a Power Profiler Kit 2 (PPK2) at a high resolution of 100,000 samples/sec, capturing every phase from device wake-up to deep sleep.

Datasets

The models were evaluated using two domain-specific datasets:

  1. PlantVillage: 54,000+ images of plant leaves (38 classes) for disease detection.
  2. CUB-200-2011: ~12,000 images of 200 bird species for biodiversity monitoring.

Key Insights and Results

The core finding of this research is that performing on-device inference and transmitting only the resulting class index is significantly more efficient than transmitting raw image data.

Energy consumption comparison between transmitting full images and classification results across various LPWAN protocols.

Energy Efficiency Benchmarks

  • Transmission Savings: On-device inference followed by result transmission is up to 5x more energy-efficient than sending a 224x224 JPEG image.
  • Protocol Performance: LoRaWAN proved most efficient for sending tiny payloads (class indices), while LTE-M with CoAP was the best for image transmission.
  • The "Connection Tax": For small payloads, the energy required for network handshakes (e.g., TLS in MQTT) often exceeds the energy used for data transmission itself.

Hardware-Specific Performance

Interestingly, SqueezeNet consumed less energy on the ESP32-S3 than MobileNetV2, despite having a higher theoretical FLOP count. This underscores the importance of hardware-specific memory access patterns over raw mathematical complexity in TinyML applications. Furthermore, 8-bit quantization reduced model sizes by approximately 75% with a minimal accuracy loss of only 1-3%.

Discussion and Future Work

The study introduces the concept of "result-based sending," where the device only transmits data when a relevant event is detected (e.g., identifying a diseased leaf). This approach can reduce energy consumption by a factor of 14 compared to continuous reporting.

However, limitations remain. On-device processing results in the loss of raw image data, which is valuable for human verification or future model retraining. Additionally, while the ESP32-S3 handles classification well, more complex tasks like object detection may require more advanced hardware. Future research should explore Neural Architecture Search (NAS) to design models specifically optimized for the ESP32's instruction set and investigate image batching to amortize connection costs.

Conclusion

By shifting the computational burden to the edge, TinyML enables a "send less, save more" strategy that is vital for the longevity of battery-powered IoT networks. This benchmark provides a practical roadmap for developers to optimize energy consumption in real-world environmental monitoring scenarios.

Summary updated

BibTeX
@misc{karic2025send,
  author = {Benjamin Karic and Nina Herrmann and Jan Stenkamp and Paula Scharf and Fabian Gieseke and Angela Schwering},
  title = {{Send Less, Save More: Energy-Efficiency Benchmark of Embedded CNN Inference vs. Data Transmission in IoT}},
  year = {2025},
  eprint = {2510.24829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24829},
}
Figure