Abstract
This paper studies the problem of allocating bandwidth and computation resources to data analytics tasks in Internet of Things (IoT) networks. IoT nodes are powered by batteries, can process (some of) the data locally, and the quality grade or performance of how data analytics tasks are carried out depends on where these are executed. The goal is to design a resource allocation algorithm that jointly maximizes the network lifetime and the performance of the data analytics tasks subject to energy constraints. This joint maximization problem is challenging with coupled resource constraints that induce non-convexity. We first show that the problem can be mapped to an equivalent convex problem, and then propose an online algorithm that provably solves the problem and does not require any a priori knowledge of the time-varying wireless link capacities and data analytics arrival process statistics. The algorithm's optimality properties are derived using an analysis which, to the best of our knowledge, proves for the first time the convergence of the dual subgradient method with time-varying sets. Our simulations seeded by real IoT device energy measurements, show that the network connectivity plays a crucial role in network lifetime maximization, that the algorithm can obtain both maximum network lifetime and maximum data analytics performance in addition to maximizing the joint objective, and that the algorithm increases the network lifetime by approximately 50% compared to an algorithm that minimizes the total energy consumption.
Introduction
In the era of the Internet of Things (IoT), thousands of battery-powered sensors are deployed to perform complex tasks like image recognition or environmental monitoring. These networks face a fundamental tension between Network Lifetime—where a single critical node failure can compromise the whole network—and Analytics Performance, as high-quality machine learning models require significant computational power that drains batteries rapidly.
Traditionally, research has focused on routing or computation offloading in isolation. However, these are rarely optimized together in a way that accounts for the specific "utility" or accuracy of the analytics task. Furthermore, real-world IoT environments are unpredictable, with fluctuating wireless link capacities and bursty data arrivals. This paper introduces the Maximum Lifetime IoT Analytics (MLIA) framework to manage these resources dynamically without requiring a priori statistical knowledge of the network's future.
System Model and Methods
The authors formulate the MLIA problem as a joint maximization of network lifetime and analytics utility. The system model considers IoT nodes capable of local processing or offloading to a gateway, subject to time-varying channel capacities and battery constraints.
1. Convexification
The original problem is non-convex because network lifetime is multiplied by resource variables. The authors prove a mapping (Lemma 1) that transforms this into an equivalent convex optimization problem, allowing for the identification of a global optimum.
2. The Dynamic MLIA Algorithm
The proposed solution is an online dual subgradient algorithm characterized by:
- Myopic Decision Making: In each time slot, the gateway makes routing and processing decisions based on the current network state.
- No Prior Knowledge: The algorithm adapts on the fly without needing average data arrival rates or link quality statistics.
- Time-Varying Sets: It handles constraints that change dynamically, such as wireless interference and fluctuating speeds.
Experimental Setup
The study validates theoretical findings using hardware measurements from Raspberry Pi 3B nodes to determine actual power consumption for transmission (0.4W) and processing (2.1W). The YOLO (You Only Look Once) object detection framework was used as the primary application, comparing "tiny" versions (local) against full versions (gateway). Performance was measured using mean Average Precision (mAP) across Random Geometric Graphs (RGG) simulating 20-node deployments.
Key Results and Discussion
A primary insight is that minimizing total energy consumption does not maximize network life; such strategies often burn out bottleneck nodes. MLIA instead balances the load to ensure no single node dies prematurely.
- Lifetime Extension: The MLIA algorithm increased network lifetime by approximately 50% compared to benchmarks that only minimize total energy consumption.
- The Connectivity Threshold: In dense networks, offloading to the gateway is generally superior. In sparse networks, local processing is essential to save energy otherwise spent on multi-hop routing.
- The "Sweet Spot": Operators can tune a weighting parameter ($\theta$) to choose between a long-lived, low-accuracy network or a short-lived, high-accuracy one. For instance, accepting a 21% decrease in mAP can increase operational life by over 500% in specific scenarios.
Conclusion
This work provides a theoretical and practical framework for balancing the "staying alive" vs. "doing good" dilemma in IoT. By proving the convergence of the dual subgradient method with time-varying sets, the authors offer a robust algorithm for dynamic environments. Future work includes exploring fully decentralized control and testing on more heterogeneous hardware like edge AI chips.
Summary updated