Dynamic Coded Caching in Wireless Networks Using Multi-Agent Reinforcement Learning

Jesper Pedersen, Alexandre Graell i Amat, Fredrik Brännström, Eirik RosnesarXiv 2021

Abstract

Edge caching in wireless networks traditionally relies on static policies or models requiring perfect knowledge of request statistics. This paper introduces a model-free framework using Deep Reinforcement Learning (DRL) to optimize "Soft Time-To-Live" (STTL) caching policies for coded content. By leveraging Maximum Distance Separable (MDS) coding and Multi-Agent Reinforcement Learning (MARL), small base stations (SBSs) autonomously learn to manage storage to minimize backhaul traffic. Results demonstrate that this approach achieves near-optimal performance in scenarios with bursty, spatially non-uniform traffic without prior statistical knowledge.

Introduction

In modern wireless networks, "caching at the edge"—storing popular content in small base stations (SBSs) close to users—is a key strategy to reduce backhaul congestion. However, two major challenges persist: static caching fails to account for "bursty" traffic patterns, and existing mathematical models for optimal dynamic caching often require "perfect knowledge" of request arrival rates and user distributions. In the real world, these statistics are often unknown or constantly shifting.

Network architecture showing MBS, SBSs, and users.

This study bridges this gap by creating a model-free framework where SBSs learn the best eviction policies on the fly. The system model involves a Macro Base Station (MBS) connected to a file library, serving multiple SBSs that provide localized caching for users.

Methodology

The paper employs several sophisticated techniques to enable autonomous learning:

  • Maximum Distance Separable (MDS) Coding: Instead of caching whole files, files are split into coded packets. A user only needs to collect a certain fraction of these packets from nearby SBSs to reconstruct the original file.
  • Soft Time-To-Live (STTL): Rather than deleting a file entirely when a timer expires, SBSs gradually "evict" fractions of the coded packets over discrete time slots.
  • Deep Deterministic Policy Gradient (DDPG): Because the "action" (deciding what fraction of a file to keep) is a continuous value between 0 and 1, the authors use DDPG—an actor-critic RL algorithm suited for continuous action spaces.
  • MARL vs. SARL: The study compares Single-Agent RL (SARL), a centralized approach, with Multi-Agent RL (MARL), a decentralized approach where each SBS acts as an independent agent making decisions based on local observations.

Key Insights and Results

The RL agents successfully learn the "hazard function" of requests, implicitly determining the probability of a future request based on the time elapsed since the last one. They learn to keep more content in the cache immediately after a request and gradually evict it as the likelihood of a follow-up request drops.

Performance comparison of RL policies against the theoretical optimum.

Key findings include:

  • Near-Optimal Performance: In uniform request distributions, the SARL approach achieved a network load within 3% to 10.6% of the theoretical optimum found through complex mathematical optimization.
  • MARL Superiority: In spatially non-uniform (heterogeneous) scenarios, the MARL approach reduced the network load by up to 20% compared to optimized policies that assumed a uniform distribution. This is because MARL allows SBSs to specialize; an SBS in a "hotspot" for a specific file type learns to retain those packets longer than its neighbors.
  • Robustness: The agents successfully balanced the trade-off between backhaul savings and update overhead, even when a cost was associated with updating the cache.

Conclusion and Future Work

The proposed DRL-based coded caching framework offers a robust, autonomous solution for dynamic edge caching. While the models struggled when update costs were extremely high, they demonstrated significant potential for real-world networks with unknown traffic statistics. Future research will explore how these policies scale as the number of files and SBSs grows and investigate more complex temporal correlations in traffic patterns beyond independent renewal processes.

Summary updated

BibTeX
@misc{pedersen2021dynamic,
  author = {Jesper Pedersen and Alexandre Graell i Amat and Fredrik Brännström and Eirik Rosnes},
  title = {{Dynamic Coded Caching in Wireless Networks Using Multi-Agent Reinforcement Learning}},
  year = {2021},
  eprint = {2104.06724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.06724},
}
Figure