Abstract
Field-deployable edge computing nodes form a network and are used to complete scientific tasks for remote sensing and monitoring. The networked nodes collectively decide which scientific applications to run while they are constrained by various factors, such as differing hardware constraints from heterogeneous nodes and time-varying quality of service (QoS) requirements. We model the problem of task allocation as an optimization problem that maximizes the QoS, subject to the constraints. We solve the optimization problem using a dual-descent method, which can be easily implemented in a distributed way subject to the communication constraints of the network. Using a simulation that uses real-world data collected from Sage, a distributed sensor network, we analyze our policy's performance in dynamic situations where the required QoS and the nodes' capabilities change, and verify that it can adapt and return a feasible solution while accounting for those changes.
Introduction: Edge Computing for Urgent Response
In urgent scenarios like wildfire detection, every second counts. Traditionally, sensor data is sent to a central cloud for processing, but "edge computing" moves that logic directly onto the field-deployed sensors to speed up response times.
However, edge networks are messy. Nodes have different hardware (heterogeneous), limited battery life, and varying memory. Furthermore, if one node is busy tracking a fire, it might need to offload its "routine" tasks (like weather monitoring) to a neighbor. This paper tackles the challenge of dynamic task allocation: how a collection of nodes can collectively decide who runs what to maximize the overall quality of the data while respecting hardware limits.
Methodology
The authors model task allocation as a constrained optimization problem aimed at maximizing total Quality of Service (QoS) across the network. Constraints include staying within each node's energy and memory budgets while ensuring "node groups" (nodes in the same geographic area) meet a minimum threshold of task completions.
To solve this without a central controller, a distributed dual-descent method is employed:
- Each node independently calculates its optimal task load based on local hardware.
- Nodes within a specific "task group" communicate to update a shared "dual variable" (a coordination signal).
- The process repeats until the network reaches an optimal balance.
This approach is mathematically guaranteed to converge to the best possible solution under standard conditions.
Experimental Setup
The study utilizes real-world data from Sage, a software-defined sensor network.
- Hardware Profiles: Power consumption and memory usage were measured for high-performance Nvidia Jetson and lower-end Raspberry Pi nodes.
- Task Data: Performance metrics were derived from real AI applications:
- Task 1: Wildfire and smoke detection (using the "Smokey" AI model).
- Task 2: Cloud analysis for weather and solar irradiance prediction.
Key Insights: The "Node Group" Concept
A central innovation is the grouping of sensors. Since sensors near each other often observe the same phenomena, the network prioritizes that at least one node in a region performs the detection task. This allows for emergent load balancing: nodes can "sacrifice" effort on low-priority tasks to help a struggling neighbor meet a high-priority group requirement.
Key Results
The researchers compared their Dynamic Policy against a Static Policy which simply scales down tasks as capacity drops.
- Resilience to Degradation: As shown in the performance plots, when nodes lose significant processing capability, the Dynamic Policy successfully reassigns tasks to other nodes, maintaining group QoS above the required minimum. In contrast, the Static Policy fails immediately upon degradation.
- Adaptability to Demand: When the "minimum required runs" for wildfire detection increase (simulating high-risk days), the dynamic scheduler automatically shifts resources from cloud analysis to wildfire monitoring.
- Speed: The algorithm converged in seconds, making it viable for 10-minute operational cycles.
Limitations and Future Work
The model currently assumes free communication within groups, which may be unrealistic in disaster scenarios with radio interference. Future work will explore more complex, non-linear QoS functions and physical hardware validation on Sage node clusters to test real-world latency. Additionally, comparing this mathematical approach with AI-based schedulers remains an open area of research.
Summary updated