Data-Driven Analytics Task Management Reasoning Mechanism in Edge Computing

Christos Anagnostopoulos, Tahani Aladwani, Ibrahim Alghamdi, Konstantinos KolomvatsosSmart 2022

TL;DR

This paper introduces a novel two-stage Fuzzy Logic (FL) based mechanism for intelligent task offloading in edge computing environments. It addresses the challenge of efficiently managing data-driven analytics tasks by considering task popularity and data availability, aiming to minimize response times and optimize resource utilization.

What Problem Does This Paper Address?

The proliferation of Internet of Things (IoT) devices generates massive amounts of data, fueling the need for data-driven analytics tasks like machine learning model training and inference. Performing these computationally intensive tasks at the network edge (e.g., on autonomous computing nodes or ANs) is desirable for low latency and high Quality of Service (QoS). However, edge devices have limited resources, making it difficult to decide where to execute tasks. Offloading tasks to distant cloud servers introduces significant delays due to network latency and potential bottlenecks. Mobile Edge Computing (MEC) offers a middle layer, but managing tasks across multiple edge nodes and the cloud remains a complex challenge. Existing solutions often overlook crucial factors like task popularity and the availability of required data at the edge, leading to suboptimal offloading decisions.

Methods

The core of this paper is a novel two-stage Fuzzy Logic (FL) inference system designed to determine the optimal execution location for data-driven analytics tasks.

Key components of the mechanism:

  • Task Popularity (pk): This is determined by monitoring the historical demand rate of tasks within a sliding time window. Tasks with higher demand are considered more popular.
  • Outlier Tasks (ok): Tasks that exhibit statistically extreme popularity (either very high or very low) are identified. This helps in distinguishing urgent or rare tasks.
  • Data Overlapping (uk): This metric estimates the percentage of data required by a task that is actually available locally on an AN.
  • Fuzzy Linguistic Modeling: The three factors (popularity, outlier status, and data overlapping) are converted into linguistic variables (e.g., Low, Medium, High) using membership functions.
  • Two-Stage FL Inference:
    • Stage 1 (S1): This stage takes the three fuzzy inputs and determines the probability of offloading a task (rk). It outputs either a decision for local execution or offloading.
  • Stage 2 (S2): If S1 suggests offloading, S2 further refines the decision. It considers updated information from neighboring ANs and determines whether to offload the task to a peer AN or to the cloud. This stage aims to select the most suitable node for offloading.

The mechanism uses a "leader" AN in a neighborhood to coordinate these decisions.

Datasets

  • Synthetic Datasets: Used to simulate task popularities.
  • Real Datasets: Collected from four Unmanned Surface Vehicles (USVs) acting as edge nodes. These datasets contain features like sea surface temperature and humidity.
  • CloudSim Plus simulator: Used for evaluating the mechanism's performance.

The paper does not introduce new benchmark datasets but utilizes existing data and a simulation environment to test its proposed approach.

Key Insights and Ideas

  • Balancing Popularity and Data Availability is Crucial: The paper highlights that simply considering task popularity or data availability in isolation is insufficient. The interplay between these factors, and how they can sometimes conflict, necessitates a more nuanced approach.
  • Fuzzy Logic for Uncertainty Management: FL is well-suited for handling the inherent uncertainties and dynamic nature of edge environments, allowing for more robust decision-making than crisp logic.
  • Two-Stage Reasoning for Complexity Reduction: Breaking down the offloading decision into two stages simplifies the process and allows for more targeted decisions, especially in the second stage where specific offloading destinations are considered.
  • Outlier Detection for Special Cases: Identifying outlier tasks helps in prioritizing or deprioritizing them, leading to more efficient resource allocation.

Key Results

The proposed mechanism demonstrated superior performance compared to two alternative mechanisms (one considering only popularity, the other only data overlapping).

  • Decision-Making Accuracy: The mechanism achieved an "optimal solution" (OS) boundary, indicating high accuracy in offloading decisions. It outperformed benchmark mechanisms, with accuracies reaching up to 95% compared to 90% and 60% for the alternatives.
  • Reduced Offloading to Unsuitable Nodes: The mechanism significantly reduced the probability of tasks being offloaded to unsuitable nodes by up to 90%.
  • Resource Utilization:
    • Data Uploading Speed: The mechanism achieved high data uploading speeds, with execution times between one to ten minutes, significantly faster than cloud-based models (28-60 minutes).
  • Bandwidth Usage: The proposed mechanism resulted in considerably lower bandwidth usage compared to MEC-based and cloud-based approaches.
  • Execution Time: The overall execution time for data-driven tasks was minimized.
  • RAM Usage: The mechanism showed efficient RAM usage compared to other approaches.

Limitations and Future Work

Limitations:

  • The paper acknowledges that the "leader" role in the neighborhood is periodically assigned based on certain criteria, but the specific leader election mechanisms are not elaborated upon.
  • The experimental evaluation primarily relies on synthetic data for popularity and real data for data overlapping, with the overall simulation conducted using CloudSim Plus.

Future Work:

The authors suggest future work to improve the mechanism by considering:

  • Task Delay Sensitivity: Explicitly incorporating how sensitive a task is to delays.
  • Energy Consumption: Optimizing offloading decisions to minimize energy usage on edge devices.
  • Nodes' Mobility: Accounting for the dynamic movement of edge nodes (e.g., vehicles) in the decision-making process.

Summary updated

BibTeX
@inproceedings{anagnostopoulos2022data,
  author = {Christos Anagnostopoulos and Tahani Aladwani and Ibrahim Alghamdi and Konstantinos Kolomvatsos},
  title = {{Data-Driven Analytics Task Management Reasoning Mechanism in Edge Computing}},
  booktitle = {Smart},
  year = {2022},
  doi = {10.3390/smartcities5020030},
}
Figure