Abstract
Small base stations (SBs) of fifth-generation (5G) cellular networks are envisioned to have storage devices to locally serve requests for reusable and popular contents by caching them at the edge of the network, close to the end users. The ultimate goal is to shift part of the predictable load on the back-haul links, from on-peak to off-peak periods, contributing to a better overall network performance and service experience. To enable the SBs with efficient fetch-cache decision-making schemes operating in dynamic settings, this paper introduces simple but flexible generic time-varying fetching and caching costs, which are then used to formulate a constrained minimization of the aggregate cost across files and time. Since caching decisions per time slot influence the content availability in future slots, the novel formulation for optimal fetch-cache decisions falls into the class of dynamic programming. Under this generic formulation, first by considering stationary distributions for the costs and file popularities, an efficient reinforcement learning-based solver known as value iteration algorithm can be used to solve the emerging optimization problem. Later, it is shown that practical limitations on cache capacity can be handled using a particular instance of the generic dynamic pricing formulation. Under this setting, to provide a light-weight online solver for the corresponding optimization, the well-known reinforcement learning algorithm, Q-learning, is employed to find optimal fetch-cache decisions. Numerical tests corroborating the merits of the proposed approach wrap up the paper.
Introduction
In the evolution of 5G networks, Small Base Stations (SBs) are increasingly equipped with local storage to cache popular content. This strategy aims to reduce the load on back-haul links during peak hours by serving user requests directly from the network edge. However, network operators face a complex "fetch-cache" trade-off: while fetching content from the cloud incurs bandwidth costs, caching it locally consumes storage and energy resources.
The optimization of this process is hindered by three primary challenges:
- Temporal Coupling: A decision to cache a file at time $t$ dictates its availability at $t+1$, necessitating a Dynamic Programming (DP) approach.
- Dimensionality: The state-space grows exponentially with the number of files and network states.
- Hard Constraints: Physical hardware has finite storage capacity, which is difficult to manage in traditional model-free reinforcement learning (RL) environments.
System Model
The proposed framework considers a hierarchical network structure comprising the Cloud, the Fog layer (SBs with storage), and the Edge (Users).
As shown in Figure 1, the SB makes decisions ($a_t^f$) to fetch or cache content based on user requests ($r_t^f$), current storage state ($s_t^f$), and time-varying costs ($\lambda_t^f, \rho_t^f, w_t^f$). The goal is to minimize the aggregate cost over time while respecting the limited storage capacity.
Methodology
To address the complexity of the fetch-cache problem, the authors propose a two-pronged approach:
Marginalization and Decoupling
Instead of learning a single, massive Q-function for the entire system, the problem is decomposed. By assuming file requests are independent, the authors derive "marginalized" value functions for each individual file. This reduces the complexity from an exponential state-space to a binary one (determining whether a specific file is in the cache or not).
Dynamic Pricing via Dual Decomposition
To handle limited cache capacity without re-coupling the files, the authors employ Lagrange multipliers. These multipliers are interpreted as a dynamic storage price. When the cache approaches its capacity limit, the storage "price" increases, naturally discouraging the SB from caching less valuable or less popular files.
MQ-Learning
These concepts are unified into "Modified Q-learning" (MQ-learning). This algorithm updates estimates of the optimal policy (Q-factors) while simultaneously adjusting the storage price based on real-time cache utilization. This allows for a decentralized decision-making process where each file's caching status is determined by its individual marginal value relative to the current global storage price.
Experimental Evaluation
The framework was validated through numerical simulations using Bernoulli-distributed file requests and time-varying cost parameters.
Key Results
- Convergence: The online MQ-learning algorithm successfully converged to the same average cost as the offline Value Iteration algorithm, which requires perfect knowledge of environment distributions.
- Performance: The proposed RL approach significantly outperformed "myopic" (greedy) strategies. Unlike myopic strategies that only consider the current time slot, the RL agent accounts for the future utility of cached content.
- Adaptability: In non-stationary scenarios where content popularity shifted abruptly, the MQ-learning algorithm demonstrated robust adaptability. While costs spiked immediately following a shift, the agent "re-learned" the new environment within a few hundred iterations to restore near-optimal performance.
Conclusion and Future Work
This research demonstrates that treating hardware constraints as dynamic prices allows RL agents to effectively manage edge caching in 5G networks. By bridging offline value iteration and online Q-learning, the authors provide a scalable, lightweight solution for dynamic network environments. Future work may extend this framework to "coded caching" (storing file fragments) or coordinated caching strategies across multiple base stations to further optimize network efficiency.
Summary updated