Abstract
In the era of 5G-and-Beyond, mobile devices are increasingly tasked with executing computationally intensive applications such as real-time Augmented Reality (AR) and autonomous navigation. These tasks demand high processing power and strict adherence to latency constraints, often exceeding the capabilities of local hardware. Multi-access Edge Computing (MEC) offers a solution by offloading tasks to edge servers; however, making optimal offloading decisions is challenging due to stochastic wireless environments and partial observability of network states. This paper presents the E2DA (Energy-Efficient Deadline-Aware) framework, which utilizes contextual neural multi-armed bandits to optimize offloading decisions. By learning from local observations, E2DA maximizes energy efficiency while ensuring task deadlines are met, outperforming traditional baselines in complex multi-channel scenarios.
Introduction
The proliferation of resource-heavy mobile applications has created a significant strain on the battery life and processing capabilities of edge devices. While MEC provides a mechanism to alleviate this strain by offloading computation, the decision of where and when to offload is non-trivial. Devices must navigate a complex trade-off between the energy saved by offloading and the energy consumed by wireless transmission, all while operating under strict application deadlines.
Existing offloading strategies often assume a "global view" of the network—including real-time channel congestion and server loads—which is rarely available in practice. To address this, the E2DA framework is proposed as a decentralized, learning-based approach that allows individual devices to make intelligent decisions using only partial, locally available information.
The E2DA Framework
Problem Formulation
The offloading problem is characterized by three primary challenges:
- Partial Observability: Devices lack exact knowledge of wireless channel interference or instantaneous edge server availability.
- Energy-Latency Trade-off: Offloading can conserve local CPU energy but introduces transmission costs and potential network delays.
- Stochasticity: Task arrivals and wireless link rates are inherently unpredictable.
Contextual Neural Multi-Armed Bandits
E2DA approaches this problem through the lens of Contextual Multi-Armed Bandits (CMAB). In this model, the "context" is defined by the characteristics of an arriving task: its size (in bits), computational intensity (cycles per bit), and the required deadline. The "arms" or actions available to the device include local computation or offloading via one of $C$ available wireless channels (e.g., different 5G or LTE carriers).
To map contexts to optimal actions, E2DA employs a two-layer neural network using an $\epsilon$-greedy exploration strategy. This neural architecture allows the agent to approximate the complex, non-linear relationships between task features and the resulting energy/latency outcomes.
Reward Shaping and Deadline Awareness
A critical component of E2DA is its specialized reward function. The agent is incentivized to maximize energy efficiency (measured in bits per joule). However, to enforce deadline compliance, the framework applies a significant penalty ($\lambda$) if a task fails to complete within its specified time limit. This shaping teaches the agent that a more energy-expensive action (such as using a high-power, low-latency channel) is preferable to a cheaper action that results in a deadline violation.
Experimental Methodology
Simulation Environment
The framework was evaluated using ns-3, a discrete-event network simulator. The simulation utilized the LTE module to model realistic multi-channel communication environments.
Data and Parameters
The researchers generated a dataset of 32,565 tasks following a Poisson arrival process. The task parameters were varied to test the robustness of the model:
- Task Size: 10 bits to 75 Kbits.
- Computational Intensity: 10 to 1000 cycles/bit.
- Deadlines: 10ms to 18ms.
Results and Discussion
Convergence and Efficiency
Experimental results demonstrate that E2DA effectively learns the hidden dynamics of the MEC environment. The agent converged to the performance level of the "Optimal Energy Efficient and Latency" (EEL*) baseline—a theoretical model with perfect information—within approximately 600–800 training episodes.
Deadline Reliability
While the agent initially misses deadlines during the exploration phase, its reliability improves rapidly. Upon convergence, E2DA achieves a near 100% success rate in meeting task deadlines, demonstrating that the reward penalty effectively prioritizes latency constraints without sacrificing long-term energy efficiency.
Sensitivity Analysis: Size vs. Intensity
The study revealed a distinct difference in how task characteristics affect system performance:
- Task Size: Increasing the data size has a drastic impact on both energy and latency. Doubling the task size resulted in a 50x increase in energy consumption and a 7x increase in response time due to the exponential costs of transmission.
- Computational Intensity: Increasing the mathematical complexity of a task (intensity) primarily affects latency. A 4x increase in intensity led to a 65.6x increase in response time but only a 1.04x increase in energy consumption. This highlights that offloading is particularly critical for logic-heavy tasks, even when the data payload is small.
Conclusion
E2DA provides a robust, decentralized solution for energy-efficient offloading in edge computing. By leveraging neural bandits, the framework successfully navigates the complexities of partial observability and stochastic network conditions. Future research will focus on extending this model to high-mobility scenarios, such as vehicular networks, and investigating multi-user coordination to prevent channel contention when multiple E2DA agents operate in the same environment.
Summary updated