Multi-agent Reinforcement Learning for Resource Allocation in IoT networks with Edge Computing

Zhiyong Feng, Xiaolan Liu, Jiadong Yu, Yue GaoarXiv 2020

Introduction

The rapid proliferation of Internet of Things (IoT) applications, such as virtual reality (VR) and mobile gaming, has placed unprecedented demands on network infrastructure. Traditional cloud computing architectures often struggle with high latency due to the physical distance between data centers and end-users. Edge computing addresses this by bringing processing power closer to the network periphery. However, managing resources in these dense, dynamic environments is a significant challenge.

Problem Formulation

In a typical IoT-edge scenario, hundreds of devices compete for limited spectrum sub-channels, various Radio Access Technologies (RATs) like WiFi or LoRa, and finite edge computing capacity. Traditional optimization methods, such as convex optimization, are often inadequate because the environment is inherently stochastic. Channel qualities fluctuate, and independent decisions by users create unpredictable interference patterns.

While centralized controllers can optimize these variables, they require massive communication overhead to maintain up-to-date channel state information (CSI) for every device, potentially negating the efficiency gains of edge computing. This paper proposes a distributed alternative that minimizes this overhead.

System architecture of the IoT-edge computing network showing the interaction between local devices, edge servers, and the cloud.

Proposed Methodology: Multi-Agent Reinforcement Learning

To overcome the limitations of centralized control, the authors formulate the resource allocation problem as a stochastic game where each IoT device acts as an autonomous agent.

IL-based MA-Q Algorithm

The core of the solution is an "Independent Learners" (IL) version of Multi-Agent Q-Learning. In this setup, agents are "selfish"—they do not explicitly coordinate or share global state information. Instead, they observe their local environment and receive feedback from the gateway to update their strategies using Temporal Difference (TD) learning.

The MARL framework illustrating the feedback loop between IoT agents and the network environment.

Action Space and Reward Design

Each agent makes a four-part decision at each time step:

  1. Offloading Decision: Whether to process the task locally or offload it to the edge server.
  2. Transmit Power: Selecting an optimal power level to balance successful transmission against energy consumption.
  3. Radio Access Technology (RAT): Choosing between available technologies (e.g., WiFi or LoRa).
  4. Sub-channel Selection: Identifying a specific frequency channel to minimize interference.

The reward function is carefully designed to penalize failed transmissions (low SINR), excessive energy consumption, and processing delays. It also incorporates "waiting costs" that occur when the edge server's capacity is reached, encouraging agents to seek local or cloud alternatives when the edge is congested.

Experimental Results

The framework was evaluated through numerical simulations modeling 30 users within a 1km radius of a gateway. The simulation utilized Rayleigh fading models and realistic task specifications ranging from 10 Kbits to 4 Mbits.

Key Findings

  • Convergence: The IL-based MA-Q algorithm demonstrated robust convergence, reaching a stable strategy within 100 to 200 iterations (episodes).
  • Nash Equilibrium: Agents successfully reached a Nash Equilibrium—a state where no single user can improve their outcome by changing their strategy unilaterally—despite the lack of explicit coordination. This significantly reduces signaling overhead.
  • Efficiency: The MARL approach significantly outperformed random offloading schemes. Notably, for networks with fewer than 27 users, the distributed MARL approach achieved lower costs than a centralized benchmark, as it avoided the "curse of dimensionality" and the high cost of constant channel estimation.
  • Collision Avoidance: Agents learned to autonomously distribute themselves across available LoRa and WiFi channels, effectively minimizing collisions even without a central coordinator.

Conclusion and Future Directions

This research demonstrates that distributed MARL is a viable and efficient solution for resource management in IoT-edge networks. By enabling devices to learn optimal strategies independently, the system reduces communication overhead and scales more effectively than traditional centralized methods.

Future work will address the challenges of ultra-dense networks where independent learning may lag behind coordinated approaches. Additionally, incorporating Deep Q-Networks (DQN) could help manage the continuous and massive state spaces found in highly mobile IoT environments, such as connected vehicle networks, where stationary assumptions no longer hold.

Summary updated

BibTeX
@misc{feng2020multi,
  author = {Zhiyong Feng and Xiaolan Liu and Jiadong Yu and Yue Gao},
  title = {{Multi-agent Reinforcement Learning for Resource Allocation in IoT networks with Edge Computing}},
  year = {2020},
  eprint = {2004.02315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.02315},
}
Figure