Proactive Tasks Management based on a Deep Learning Model

Kostas Kolomvatsos, Christos AnagnostopoulosarXiv 2020

Abstract

This paper proposes an intelligent task management strategy for Edge Computing (EC) nodes to mitigate computational bottlenecks. By leveraging Long Short-Term Memory (LSTM) networks, the system predicts future task demand and proactively offloads low-priority or resource-intensive tasks to cloud or peer nodes. Experimental results demonstrate high decision accuracy and low latency, significantly outperforming traditional heuristic-based scheduling methods.

Introduction

In the Internet of Things (IoT) ecosystem, Edge Computing (EC) nodes serve as critical intermediaries between end-user devices and the Cloud. While they offer low-latency processing, these nodes possess limited computational power. Sudden surges in task demand can lead to performance bottlenecks, necessitating efficient task offloading strategies. Traditional reactive offloading often fails to account for fluctuating task popularity, leading to wasted bandwidth or resource exhaustion. This paper introduces a proactive model that predicts demand trends to optimize local resource utilization.

System Architecture and Methodology

The proposed system integrates deep learning with multi-criteria decision-making to manage task queues dynamically. The architecture involves IoT devices, EC nodes, and cloud resources interacting to maintain service quality.

Figure 1: System architecture illustrating the interaction between IoT devices, EC nodes, and users, alongside the Task Demand Vector (TDV) matrix.

Demand Prediction via LSTM

The core of the system is a Long Short-Term Memory (LSTM) Recurrent Neural Network. LSTMs are utilized to process a "Tasks Demand Vector" (TDV), which captures historical demand patterns to predict future interest ($DI_f$) for every task in the queue.

Decision Logic and Offloading

To balance historical trends with future predictions, the model employs a Weighted Geometric Mean (WGM). This allows system administrators to adjust the sensitivity of the system between conservative (history-reliant) and proactive (prediction-reliant) modes. Furthermore, a rewarding scheme considers the computational load ($\lambda$) of each task. Using a sigmoid function for smoothing, the model calculates an Offloading Degree (OD). Tasks with the lowest predicted reward for remaining local are evicted to peer nodes or the Cloud.

Experimental Evaluation

The model was evaluated using a simulation based on the Building Energy Analysis Dataset, using temperature load data as a proxy for fluctuating task demand. Key metrics included decision time ($\tau$), decision accuracy ($\Delta$), and a popularity detection metric ($\omega$).

Key Results

The system demonstrated high efficiency across various scenarios. For task loads under 5,000, offloading decisions were concluded in under 0.1 seconds. Even at peak loads of 5,000 tasks, the decision time remained within a manageable range of 0.4 to 1.0 seconds, as shown in the performance analysis.

Figure 2: Decision time ($\tau$) performance across different task loads (E) and parameter configurations (r2) for a window size of W=100.

In terms of accuracy, the model achieved a correctness value ($\Delta$) of 1.0 (100%) in nearly all experimental scenarios, effectively avoiding the eviction of popular tasks during high-stress periods. This represents a significant improvement over the ETSI heuristic-based scheduling algorithm, which achieved a correctness rate of only approximately 45%.

Conclusion and Future Work

The proactive deep learning approach proves highly effective for managing edge resources by anticipating demand rather than reacting to congestion. Future research will focus on implementing preemptive scheduling schemes to allow high-priority tasks to interrupt lower-priority executions and integrating Optimal Stopping Theory to better manage the stochastic nature of network environments.

Summary updated

BibTeX
@misc{kolomvatsos2020proactive,
  author = {Kostas Kolomvatsos and Christos Anagnostopoulos},
  title = {{Proactive Tasks Management based on a Deep Learning Model}},
  year = {2020},
  eprint = {2007.12857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.12857},
}
Figure