Introduction
The proliferation of 5G IoT devices—ranging from autonomous vehicles to wearable sensors—has created a significant "spectrum crunch." Traditional centralized management, where a base station (gNodeB) allocates channels, faces critical scalability issues. As device density increases, centralized systems suffer from high signaling latency and privacy risks associated with uploading sensitive sensory data. While decentralized Multi-Agent Reinforcement Learning (MARL) offers a solution, standard implementations often lead to a "tragedy of the commons," where greedy agents cause frequent collisions or unfair channel occupancy.
The Hermes System Architecture
To address these challenges, we present Hermes, a decentralized system that enables autonomous coordination among massive numbers of devices. Hermes relies on two core innovations: Improved MARL (iMARL) and a novel Model Shuffling mechanism.
The iMARL component utilizes a compact Deep Q-Network (DQN) on each device. Unlike traditional models where agents prioritize individual throughput, the iMARL reward function explicitly penalizes collisions. This shifts the Nash Equilibrium toward a cooperative state where agents learn to stay silent if channels are crowded, effectively learning "politeness" to optimize global network health.
The Model Shuffling Mechanism
The defining feature of Hermes is the Shuffle Mechanism. Periodically, devices upload their local DQN model weights—not their raw sensory data—to a local shuffler. The shuffler then redistributes these models among the devices using an Optimized UE-Model Matching Algorithm.
This mechanism ensures fairness and prevents "channel squatting" through two primary metrics:
- Model Last Appearance (MLA): Ensures devices do not get stuck with the same channel preferences indefinitely.
- Model Distance (MD): Minimizes "re-learning" time by ensuring the new model is sufficiently similar to the previous one.
By shuffling models rather than raw data, Hermes maintains high levels of privacy while enforcing a global sense of fairness onto local agents.
Evaluation and Performance
Hermes was evaluated using the MATLAB 5G Toolbox across various scenarios, ranging from 10 to 30 devices. The system achieved a Channel Utilization Efficiency (CUE) of 84%, significantly outperforming existing decentralized methods. Furthermore, Hermes demonstrated exceptional fairness, achieving a Jain’s Fairness Index (JFI) of 0.9619, surpassing even the centralized Proportional Fairness standard (0.9274). In dynamic tests, the system proved highly resilient, stabilizing the network in less than 0.5 seconds after changes in device or channel availability.
Conclusion
Hermes provides a robust, private, and efficient framework for 5G spectrum management. While the current shuffler acts as a coordination point, it is significantly more private than a central controller. Future research will focus on transitioning the shuffler to a fully peer-to-peer (D2D) architecture and addressing non-i.i.d. interference patterns in dense urban environments.
Summary updated