When to Preprocess? Keeping Information Fresh for Computing-Enable Internet of Things

Xijun Wang, Minghao Fang, Chao Xu, Howard H. Yang, Xinghua Sun, Xiang Chen, Tony Q. S. Quek

Abstract

Modern IoT devices possess significant computing power, enabling local data preprocessing such as compression or feature extraction. While preprocessing reduces transmission time by shrinking packet sizes, it consumes additional time and energy. This paper addresses the "to process or not to process" dilemma by modeling the system as a Semi-Markov Decision Process (SMDP). We derive an optimal policy that balances data freshness, measured by Age of Information (AoI), and energy consumption. Our analysis reveals a threshold-based optimal policy that outperforms traditional zero-wait strategies, particularly in high-age regimes.

Introduction

In the Internet of Things (IoT), the value of data is often tied to its "freshness." This is quantified by the Age of Information (AoI), defined as the time elapsed since the generation of the last successfully received update. As IoT devices evolve from simple sensors to computing-enabled nodes, they face a critical trade-off: preprocessing.

Preprocessing allows a device to compress data or extract features locally. This reduces the packet size, leading to faster wireless transmission and lower failure rates. However, the processing itself takes time and energy. Conversely, Direct Transmission avoids processing delays but risks longer transmission times or higher failure rates due to larger packets. The core challenge is determining when to wait, when to send immediately, and when to preprocess.

IoT device architecture showing the path from physical process to destination through sensor, processor, and transmitter components.

System Model and Methodology

The system is modeled as an infinite horizon average cost Semi-Markov Decision Process (SMDP). Unlike standard MDPs where every step has a uniform duration, this system's actions—idling, direct transmission, or preprocessing followed by transmission—have varying durations.

To solve this SMDP, the authors employ uniformization to transform it into an equivalent discrete-time MDP. They prove that the optimal policy exhibits a threshold structure. For instance, the device remains idle until the AoI reaches a specific threshold, at which point it initiates an update. To find this policy efficiently, they develop a Structure-Aware Relative Policy Iteration algorithm that leverages these mathematical properties.

Key Insights

A fundamental finding is the "Shorter Expected Duration" Rule. In high-age regimes (where data is very stale), the optimal strategy is to choose the action that minimizes the expected total update duration. If preprocessing significantly reduces transmission time, it becomes the preferred strategy as AoI grows.

Furthermore, the model incorporates an energy weighting factor ($\omega$). This "knob" allows system designers to prioritize either battery longevity (by increasing the threshold to act) or extreme data freshness (by decreasing it).

Results

Numerical simulations validate the theoretical findings, confirming the superiority of the proposed optimal policy over "zero-wait" baselines. By strategically idling, the device can achieve significant energy savings with minimal impact on data staleness.

Optimal policy thresholds as a function of AoI and computational intensity $v$, illustrating the switch-type behavior between idling, direct transmission, and preprocessing.

As shown in the figure above, the optimal policy $a^*$ follows a clear threshold structure. For low AoI, the device stays idle ($a^* = (0,0)$). As AoI increases, it switches to direct transmission or preprocessing ($a^* = (0,1)$ or $(1,1)$), depending on the computational intensity $v$ and the current age.

Conclusion

This work provides a rigorous framework for optimizing the operation of computing-enabled IoT devices. By treating the decision to preprocess as a dynamic scheduling problem, it demonstrates that "freshness" can be maintained efficiently through threshold-based policies. Future research could extend this model to multi-source scenarios or environments with random packet arrivals.

Summary updated

BibTeX
@article{wang2021when,
  author = {Xijun Wang and Minghao Fang and Chao Xu and Howard H. Yang and Xinghua Sun and Xiang Chen and Tony Q. S. Quek},
  title = {{When to Preprocess? Keeping Information Fresh for Computing-Enable Internet of Things}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  doi = {10.1109/jiot.2021.3104037},
}
Figure