Manuscript Offprint
arXiv:2610.30768Adaptive Deadline- and Energy-Aware Caching Algorithms in Dynamic Multi-UAV Edge Networks
ARTICLE INFO
Keywords:
Unmanned aerial vehicles
Edge caching
Dynamic content demand
Deadline-aware caching
Energy-aware caching
Deep reinforcement learning
ABSTRACT
Content caching via unmanned aerial vehicles (UAVs) becomes one of the solution to maintain content delivery when terrestrial infrastructure is unavailable or disrupted. However, existing caching approaches often focus primarily on cache-hit performance or average delivery delay, without jointly addressing spatially heterogeneous and time-varying demand, content-specific deadlines, and uneven communication-energy consumption across UAVs. To address these challenges, we formulate a dynamic deadline- and energy-aware cache placement and replacement problem that jointly considers deadline misses, UAV-side communication energy, and inter-UAV energy imbalance. To achieve this, we first develop deadline- and energy-aware UBAC (DE-UBAC), an interpretable hierarchical rule-based realization that incorporates deadline-aware prioritization, cooperative placement, energy-aware coordination, and cache-update cost. However, predefined priorities and thresholds limit its adaptability under dynamically coupled network conditions. We therefore propose GRU-assisted Deadline- and Energy-aware Proximal Policy Optimization (GRU-DEPPO), which combines local and global GRU-based temporal representations with a centralized PPO actor–critic for adaptive cache placement and replacement. Simulation results show that GRU-DEPPO achieves the lowest deadline-miss rate and total UAV-side communication energy among the considered schemes. Compared with DE-UBAC, GRU-DEPPO reduces the deadline-miss rate by approximately 61% and inter-UAV energy imbalance by approximately 40%.
In particular, unmanned aerial vehicle (UAV)-assisted edge computing has attracted significant attention because it enables communication, storage, and computing resources to be rapidly and flexibly deployed in environments where fixed base stations and edge infrastructure are unavailable, insufficient, or unable to respond promptly to abrupt changes in service demand [5–7]. Owing to their controllable mobility and adjustable altitude, UAVs can be rapidly deployed and repositioned to increase the probability of establishing line-of-sight (LoS) links with ground devices and dynamically adjust communication coverage. They can also accommodate temporary surges in traffic demand and provide temporary network services in areas where terrestrial communication infrastructure is sparse, unavailable, or damaged. These characteristics make UAV-assisted edge computing particularly useful in remote environments, such as mountainous and maritime regions; temporarily crowded venues, such as concerts and sporting events; and disaster-affected areas where terrestrial base stations or wired backhaul links have been damaged by earthquakes or wildfires [8].
Despite these advantages, UAV-assisted networks face several inherent limitations, including energy constraints imposed by limited battery capacity, restricted onboard computing and storage resources, and limited backhaul capacity between UAVs and terrestrial networks . In particular, forwarding user requests to a remote content server or central cloud through a macro base station (MBS) may increase backhaul traffic and content delivery latency. The associated backhaul transmissions may also consume substantial communication energy, thereby accelerating battery depletion and shortening the operational lifetime of UAVs. A promising approach to reducing backhaul dependence, content delivery latency, and communication energy consumption is to equip UAVs with storage and employ them as aerial cache nodes that proactively store selected content . When the
This work was supported by Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, and Forestry(IPET) through the Agriculture and Food Convergence Technologies Program for Research Manpower development, funded by the Ministry of Agriculture, Food and Rural Affairs(MAFRA)(project no. RS-2024-00397026)
Corresponding author: Ki-Il Kim
ORCID(s):
requested content is available in the local cache of the serving UAV, the UAV can deliver it directly to the user without accessing the MBS or retrieving the content from a remote server. If the content is not cached locally but is available at a neighboring UAV, it can instead be obtained through cooperative content sharing, further reducing reliance on the terrestrial backhaul. Such local and cooperative cache hits can reduce content delivery latency, backhaul utilization, communication energy consumption, and overall network resource usage.
However, because UAVs have limited storage capacity, the entire content catalog cannot be cached. Moreover, content-demand and user-mobility patterns may vary across different regions and over time, while different content types may have heterogeneous delivery deadlines. A cache miss may therefore require content retrieval through the terrestrial backhaul, incurring additional delay and communication energy consumption and potentially causing the request to exceed its deadline [11, 12]. Cache replacement also entails a non-negligible cost because fetching and storing new content requires additional data transmission and communication energy. Furthermore, uneven service loads across UAVs may result in imbalanced communication-energy consumption. Consequently, maximizing the cache hit ratio or selecting content solely according to long-term popularity may be insufficient in dynamic multi-UAV environments [13–15]. An effective caching strategy should therefore adapt cache placement to changes in content demand and network conditions while jointly reducing the deadline-miss rate, the communication energy consumed by request delivery and cache updates, and inter-UAV energy imbalance [16]. These improvements can also reduce dependence on MBS-assisted content retrieval.
To address these challenges, we first develop an interpretable deadline- and energy-aware rule-based caching design and then propose GRU-assisted Deadline- and Energy-aware PPO (GRU-DEPPO) to overcome the limitations of predefined cache-decision rules under dynamic multi-UAV conditions. GRU-DEPPO periodically determines cache placement and replacement decisions by jointly considering content-specific delivery deadlines, the communication energy incurred by request delivery and cache updates, and the distribution of communication energy consumption across UAVs. By using local and global GRUs to capture temporal patterns from UAV-local and network-wide observations, the proposed scheme adapts to spatially heterogeneous and time-varying network conditions while reducing deadline misses, communication energy consumption, and inter-UAV energy imbalance.
The main contributions of this study are as follows:
• Dynamic deadline- and energy-aware multi-UAV caching formulation: We formulate a dynamic cache placement and replacement problem for multi-UAV edge networks with spatially heterogeneous and time-varying content demand and content-specific delivery deadlines. The formulation jointly considers the deadline-miss rate, UAV-side communication energy incurred by request delivery and cache updates, and inter-UAV communication-energy imbalance, subject to cache-capacity and cache-update feasibility constraints.
• Deadline- and energy-aware cache decision design: We develop DE-UBAC as an interpretable hierarchical realization of the formulated caching problem. It extends user-behavior-aware caching with deadline-miss-aware prioritization, persistent-miss feedback, deadline-feasible cooperative placement, energy-aware cache coordination, and cache-update-cost-aware replacement. By assigning these factors distinct roles in the cache-decision process, DE-UBAC provides a structured rule-based realization of the proposed problem and reveals the limitations of predefined decision rules under dynamic multi-UAV conditions.
• GRU-assisted adaptive caching policy: To overcome the limitations of the above rule-based design, we develop GRU-DEPPO as the learning-based solution to adaptively optimize cache placement and replacement under dynamically coupled network conditions. A shared local GRU captures UAV-specific temporal evolution, while a global GRU encodes network-wide temporal context at the MBS. Their representations are fused within a centralized PPO actor-critic that jointly learns feasible cache updates from deadline, demand, connectivity, and energy conditions, avoiding the fixed priorities and thresholds required by the rule-based design.
The remainder of this paper is organized as follows. Section 2 reviews related work on UAV-assisted edge networks and edge caching. Section 3 presents the system model and formulates the deadline- and energy-aware cache placement and replacement problem. Section 4 first develops a deadline- and energy-aware rule-based extension of UBAC and discusses its limitations under dynamic network conditions, and then presents the proposed GRU-DEPPO scheme for learning adaptive cache placement and replacement decisions. Section 5 evaluates the proposed approaches under various experimental settings and compares them with baseline schemes. Finally, Section 6 concludes the paper and discusses directions for future research.
2. Related Work
This section reviews existing approaches for serving diverse user requests in multi-UAV networks; their key characteristics are summarized in Table 1.
Traditional cache replacement policies, such as Least Frequently Used (LFU) and Least Recently Used (LRU), make cache decisions using simple frequency- or recency-based statistics and therefore incur low computational overhead. However, their fixed decision rules do not explicitly account for dynamic network conditions, inter-UAV cooperation, content-specific deadlines, or the communication
Table 1 Comparison of representative caching approaches for multi-UAV edge networks.
| Study | Type | Multi-UAV | Local awareness | Inter-UAV cooperation | Communication energy consumption | Inter-UAV energy imbalance | Content-specific deadline | Realistic user pattern |
|---|---|---|---|---|---|---|---|---|
| [17-19] | Utility- and rule-based | △ | △ | △ | △ | × | × | △ |
| [14, 20, 21] | Game-theoretic | △ | × | △ | △ | × | × | △ |
| [22-24] | DRL-based | △ | × | × | △ | × | × | △ |
| [25] | DL-assisted DRL | ○ | △ | × | × | × | × | ○ |
| GRU-DEPPO | DL-assisted DRL | ○ | ○ | ○ | ○ | ○ | ○ | ○ |
O: supported; △: partially supported; ×: not supported.
For grouped studies, indicates that the corresponding feature is supported only by a subset of the included studies or is considered in a limited manner.
and cache-update energy costs. Several studies have incorporated additional network information into cache placement decisions. The work in [17] jointly optimized caching probabilities and V2V transmission power to improve energy efficiency in a UAV-assisted IoV network, whereas [18] jointly optimized UAV deployment, cache placement, and user association to improve user QoE. The scheme in [19] further incorporated localized request patterns and predicted user mobility into proactive cache updates. Although these approaches exploit richer network and user information than conventional replacement policies, they rely on predefined optimization or placement rules and do not jointly consider cache-update energy, inter-UAV energy imbalance, and content-specific deadline misses.
Game-theoretic approaches have also been used to coordinate caching and resource allocation in UAV-assisted networks. The study in [14] modeled cooperative content transmission among UAVs using a coalition formation game, while [20] employed a Stackelberg–Bertrand game to jointly consider content caching and service economics. The work in [21] considered content caching, service placement, and task offloading using Gibbs sampling and a matching game. These approaches provide structured mechanisms for coordinating multiple network entities, but they generally rely on predefined utility or preference models and do not learn temporal demand dynamics from historical observations. Moreover, they do not jointly address cache-update energy, inter-UAV energy imbalance, and request-level deadline misses under content-specific deadlines.
Learning-based approaches have been investigated to improve adaptability in dynamic UAV networks. The work in [22] combined differential evolution for content caching with multi-agent PPO for UAV trajectory optimization. In [23], a dueling DQN jointly determined UAV positions and cache placement using user-location and request information, whereas [24] employed dual-clip PPO to jointly optimize caching, trajectory, and transmission power in a single-UAV setting. More recently, the work in [25] used an Informer model to predict user request and mobility patterns and incorporated these predictions into a PPO-based deployment framework. These learning-based approaches improve adaptability to dynamic user and network conditions, but their objectives primarily focus on average delay, QoE, trajectory, or transmission power. They do not jointly model the communication energy consumed by request delivery and cache updates, inter-UAV energy imbalance, and content-specific request deadline misses. Furthermore, existing learning-based schemes do not directly encode recent UAV-local network states to capture temporal dynamics for adaptive cache-update decisions.

Figure 1: System model of the considered UAV network
In summary, existing caching schemes typically address only a subset of local demand awareness, dynamic demand adaptation, cooperative caching, communication energy, and heterogeneous delivery requirements. In contrast, this study makes periodic cache-update decisions by jointly considering content-specific deadline misses at the request level, communication energy from both request delivery and cache updates, and inter-UAV energy imbalance under time-varying demand.
3. System Model and Problem Formulation
In the considered scenario illustrated in Fig. 1, the local base station is unavailable due to a failure, and a remote MBS stores the global content pool and provides backhaul access to cache-enabled UAVs. Users are divided into groups, with each group characterized by group-specific mobility patterns and content-request distributions that are shared by its users. Each user associates with the nearest UAV having a feasible access link. Requests may be served by the associated UAV, a neighboring UAV, or the MBS, depending on content availability and link feasibility [26]. The selected path determines the request delay and communication energy consumption.
Users move within the service area and generate requests according to group-level preferences and request-generation probabilities. Each generated request follows a strict source-selection priority. For a request associated with UAV n, the local cache is checked first. If the requested item is not available locally, UAV n searches for feasible cooperative paths to UAVs caching the item and selects the path with the smallest end-to-end transmission delay. Only when no feasible cooperative cache path exists is the item retrieved from the MBS through the feasible direct or relayed backhaul path with the smallest end-to-end transmission delay. If no feasible delivery path is available owing to link outages or insufficient achievable rates, the corresponding request is dropped and excluded from the delivered-request set.
Cache placement is updated at predefined intervals based on the observed network state. Newly cached content is transferred either directly from the MBS to the target UAV or through one or more UAV relay hops. To model nonstationarity, a change point is randomly selected from the latter half of each episode, at which both the mobility context and local request distributions shift.
Let , , , , and denote the UAV, user, content, content-type, and episode-level request sets, respectively. The discrete simulation-time index and cache-decision interval duration are denoted by and , respectively. For each request , let denote its selected delivery path, with when no feasible path is available. The set of successfully delivered requests is therefore .
3.1. Transmission Model
We use large-scale propagation models for the User–UAV, inter-UAV, and MBS–UAV links [27–30]. The User–UAV link additionally accounts for elevation-dependent LoS/NLoS attenuation. The achievable rate of each link is determined by its available bandwidth and SINR. A link is considered infeasible if its SINR falls below or its achievable rate falls below . Cache updates use either a direct MBS–UAV link or an MBS–UAV link followed by one or more UAV–UAV relay links.
3.1.1. User-UAV Access Link
The link between UAV n and user u is modeled as an air-to-ground wireless link with three-dimensional distance and elevation angle .
The probability of an LoS connection is modeled as an elevation-angle-dependent function [28]:
Here, X and Y are environment-dependent parameters. The average path loss is
where is the carrier frequency, is the speed of light, and and are the additional LoS and NLoS losses. The SINR, rate, and transmission delay are
Here, , , , and denote the transmit power, noise power spectral density, effective bandwidth, and aggregate co-channel interference, respectively. The payload size is denoted by S.
3.1.2. UAV-UAV Relay Link
The relay link between UAVs n and m is modeled using a distance-dependent free-space path-loss model:
where denotes the distance between UAVs n and m, and is the carrier frequency of the inter-UAV link. The corresponding SINR, achievable transmission rate, and transmission delay are calculated using (3), with the inter-UAV transmit power, bandwidth, and interference terms. When multi-hop relaying is employed, the delay and energy consumption of the individual hops are accumulated over the complete relay path.
3.1.3. MBS-UAV Backhaul Link
The backhaul link between the MBS, indexed by 0, and UAV n is modeled using a distance-dependent free-space path-loss model with an additional attenuation term:
where denotes the distance between the MBS and UAV n, is the carrier frequency of the MBS–UAV link, and denotes the additional propagation attenuation. The corresponding SINR, achievable transmission rate, and transmission delay are calculated using (3), with the MBS transmit power, backhaul bandwidth, and interference terms.
3.2. Content Request Model
This subsection defines type-specific deadlines and time-varying, user-dependent content requests.
3.2.1. Content Characteristics
Each content item has size , type , and delivery deadline . For modeling tractability and to isolate the effects of caching decisions, all items are assumed to have an identical size , i.e., for all . The content catalog is partitioned into type-specific subsets, each associated with a different deadline:
Thus, requests for different content types may have different delivery-time requirements.
3.2.2. Dynamic Request Generation
At each time step, requests follow a Zipf-like global popularity distribution [31–33]:
where C denotes the content catalog, is the popularity rank of content i, and is the Zipf parameter.
Motivated by group-level heterogeneous demand modeling in [19], we perturb the global distribution according to group-specific preferences, spatial regions, and time-varying demand states. For group g at time t, the resulting local popularity is defined as
where is a group- and time-dependent content-specific perturbation.
Let indicate whether user u generates a request at time t:
where is the request-generation probability and is the requested content.
To capture nonstationarity, a change point is selected from the second half of each episode, at which the local distribution shifts toward a newly sampled demand state:
where is the newly sampled distribution and controls the shift magnitude.
3.3. Energy Consumption Model
We consider the UAV-side communication energy associated with content delivery and cache updates [34]. For a transfer of content item i over link , let and denote the transmitting and receiving nodes, respectively. The UAV-side communication energy incurred over link is defined as
where and denote the transmit-side and receive-side power draws, respectively, and is the link rate. Thus, only the energy consumed by UAVs is included, while the communication energy consumed by the MBS and users is excluded.
Let denote the set of successfully delivered requests and let Q denote the link-level transmissions used for cache updates. The total UAV-side communication energy is
The first term captures the UAV-side communication energy incurred by request delivery, including multi-hop relay transmissions, and the second captures the UAV-side communication energy incurred by cache updates. Cache evictions are local and incur negligible communication energy.
Let denote the communication energy attributed to UAV during the episode. For each link-level transmission, the transmit-side energy is attributed to UAV when it acts as the transmitter, whereas the receive-side energy is attributed to UAV when it acts as the receiver. Accordingly,
The resulting inter-UAV communication-energy imbalance is evaluated using the coefficient of variation:
where N is the number of UAVs and is a small positive constant. A lower value of indicates more balanced communication energy consumption across UAVs.
3.4. Deadline Metric, Cache Constraints, and Problem Formulation
This subsection defines the deadline metric and cache constraints and formulates a joint optimization problem. Using the models introduced above, the objective is to jointly reduce the deadline-miss rate, total communication energy, and inter-UAV energy imbalance.
3.4.1. Deadline-Miss Metric
For request , let denote the requested content. Its deadline is . For a request with a feasible path, its end-to-end delay is
Here, is obtained from the corresponding link model. Resource contention is reflected through the effective bandwidth and interference terms in the link model; an additional queuing delay is not explicitly modeled.
For each delivered request, a deadline miss occurs when its end-to-end delay exceeds its content-specific deadline:
Here, DMR is the deadline-miss rate among delivered requests.
3.4.2. Cache Constraints
Let indicate whether UAV n caches item i at time t. The cache state is constrained by
(17)
where is the cache capacity in items. At each cache-update instant, the controller selects a target cache state that satisfies this capacity constraint.
Let denote the newly inserted items. The target state is not activated immediately: the previous cache state remains available while the required backhaul transfers are performed. Let denote the selected cache-update path from the MBS, indexed by 0, to UAV n. A direct update contains only the MBS–UAV link, whereas a relayed update contains that link followed by one or more UAV–UAV links. Assuming sequential content additions, their duration must satisfy
(18)
where is the rate of link at the update instant. After this delay, the target state becomes active and the corresponding link-level transmissions are included in Q. A target cache state that violates (18) is treated as an invalid action and excluded from the controller's feasible action set. Cache evictions are local operations.
3.4.3. Problem Formulation
Let denote a dynamic caching policy that maps the observed network state to target cache states. We formulate the dynamic caching problem as the following multi-objective optimization:
subject to (17) and (18). The objective jointly minimizes the deadline-miss rate, total communication energy, and inter-UAV energy imbalance.
Problem (19) is a stochastic combinatorial optimization problem. Even when user locations, requests, and link conditions are fixed, the formulation contains a static cooperative cache-placement subproblem with binary placement decisions and per-UAV cache-capacity constraints. Cooperative cache-placement problems of this form have been shown to be NP-hard through a reduction from the 2-Disjoint Set Covers problem [35]. Therefore, Problem (19), which further incorporates time-varying demand, user mobility, content-specific deadlines, communication energy consumption, and inter-UAV energy imbalance, is also NP-hard.
The number of feasible cache placements grows combinatorially with the network size, making exact offline optimization computationally prohibitive for large-scale networks. Moreover, repeatedly solving the problem at each cache-decision interval is impractical under dynamically changing requests, mobility, and link conditions. We therefore first investigate a structured rule-based realization of the formulated problem and then develop a learning-based policy to overcome the limitations of predefined cache-decision rules.
4. Adaptive Deadline- and Energy-Aware Cache Algorithms
In this section, we first investigate how the deadline-and energy-aware cache placement and replacement problem formulated in Section 3 can be addressed through a rule-based extension of the local-demand-aware UBAC scheme [19]. The resulting design incorporates content-specific deadlines, cooperative content accessibility, UAV communication-energy conditions, cache redundancy, and cache-update cost into cache placement and replacement decisions. We then discuss the limitations of relying on predefined rules under dynamically changing network conditions and formulate the cache placement and replacement process as a Markov decision process (MDP). To capture the temporal evolution of spatially heterogeneous local and network-wide conditions, GRU-DEPPO employs local and global GRU-based representations, which are subsequently provided to a centralized PPO actor-critic for joint cache-update decision making. The main notation used throughout this section is summarized in Table 2, and the overall GRU-DEPPO procedure is illustrated in Fig. 2.

Figure 2: The GRU-DEPPO scheme
Table 2 Main notation used for DE-UBAC, the MDP, and GRU-DEPPO
| Symbol | Description | Symbol | Description |
|---|---|---|---|
| Set of UAVs | Set of content items | ||
| Cache-decision epoch | Cache-decision interval | ||
| Deadline-aware counting increment for request | Deadline-aware history count for UAV-content pair | ||
| MBS-adjusted deadline-aware priority | Persistent deadline-miss indicator | ||
| Set of nominated UAV-content pairs | Deadline-feasible cooperative UAV set | ||
| Normalized priority gain for replacing with | Normalized communication energy for cache update | ||
| Local state of UAV | Global network state | ||
| Cache state of UAV | Local demand state of UAV | ||
| Connectivity state of UAV | Communication-energy state of UAV | ||
| Deadline-pressure vector of UAV | Joint cache-update action | ||
| Removed and added content sets | Local temporal representation | ||
| Global temporal representation | Fused temporal representation | ||
| Cache-update action of UAV | Action feasibility mask |
4.1. Deadline- and Energy-Aware Rule-Based Caching
Caching decisions based primarily on content popularity or local demand can improve content availability around current request locations. However, such decisions may be insufficient when contents have heterogeneous delivery deadlines and UAVs experience uneven communication-energy burdens. In particular, the preference for local cache service does not imply that every highly requested content should be replicated at its associated UAV. A content with a relatively relaxed deadline may still be served through a nearby cooperative cache within its deadline, allowing limited local cache space to be reserved for more deadline-sensitive contents. Moreover, repeatedly concentrating cache and service loads on particular UAVs may increase inter-UAV energy imbalance.
To incorporate these considerations into an interpretable rule-based strategy, we extend UBAC [19] into a deadline-and energy-aware variant, referred to as DE-UBAC. DE-UBAC retains the user-behavior-aware counting and coordinated cache-management structure of UBAC, including handover-aware history updates and MBS-level cache coordination, while introducing deadline-, cooperation-, and energy-aware decision rules.
DE-UBAC employs a hierarchical decision process rather than combining all factors into a single weighted caching score. First, the UBAC counting process is extended to distinguish requests that satisfy their deadlines from those that miss them. For request k, the deadline-miss indicator is defined as
where denotes the delivery delay evaluated from the perspective of the target UAV and is the deadline of requested content . The deadline-aware counting increment is given by
where denotes the original UBAC counting increment and controls the additional weight assigned to a deadline-missed request. Consequently, deadline-missed requests accumulate caching priority more rapidly without differentiating the magnitude of the deadline violation.
DE-UBAC also accounts for deadline misses that persist after a previous cache adaptation. The MBS maintains a persistent-miss indicator for each UAV-content pair and adjusts its deadline-aware priority as
when deadline misses remain unresolved after placement or relocation. Here, denotes the accumulated deadline-aware history-table count, indicates a persistent deadline miss, and controls its additional priority. This gives repeatedly unsatisfied UAV-content pairs stronger priority for subsequent cache adaptation.
Second, content placement and redundancy are determined according to deadline feasibility. If an existing cooperative copy can satisfy the content deadline, additional replication is avoided. Otherwise, DE-UBAC permits local or nearby placement to provide a shorter delivery path. The target UAV is preferred whenever feasible; otherwise, a nearby UAV capable of satisfying the deadline is considered.
Third, DE-UBAC incorporates UAV communication-energy conditions as a secondary decision criterion. Deadline-aware priority remains dominant when candidate priorities are clearly different. When their normalized priority difference is below a predefined threshold , the corresponding caching demands are regarded as comparable, and the UAV communication-energy burden is used to resolve the decision. If the target UAV cannot directly accommodate the content, a deadline-feasible alternative UAV with a relatively lower energy burden is preferred. This hierarchical rule allows energy balancing to influence caching decisions without overriding a clearly stronger deadline-aware demand.
Finally, DE-UBAC considers cache-update energy before applying a replacement. For candidate content i and eviction candidate j, a replacement is performed only when
where denotes the normalized priority gain, denotes the normalized communication energy required for the
Algorithm 1 Deadline- and Energy-Aware UBAC
Require:
Ensure: Updated cache configuration
1: for each request do
2: target UAV from the UBAC mobility rule
3:
4: end for
5: if cache-decision epoch then
Stage 1: Deadline-aware prioritization
6: Update
7: for do
8:
9: end for
10: Construct
Stage 2: Deadline-feasible placement
11: for each do
12: Construct
13: if is available through then
14:
15: end if
16: end for
Stage 3: Energy-aware coordination
17: for each competing placement for do
18: if normalized priority difference then
19: Select larger
20: else
21: Retain demand with larger
22: end if
23: end for
Stage 4: Update-cost-aware replacement
24: for each selected do
25: UBAC eviction candidate
26: if then
27:
28: else
29:
30: end if
31: end for
32: Apply
33: end if
cache update, and determines how strongly the cache-update energy penalizes replacement. Otherwise, the current cache configuration is retained. Algorithm 1 summarizes the overall DE-UBAC procedure.
Although DE-UBAC provides an interpretable realization of the considered deadline- and energy-aware caching problem, its decisions still rely on predefined rules, thresholds, and priorities. In a dynamic multi-UAV network, however, content demand, user mobility, connectivity, cooperative service conditions, and UAV energy states evolve simultaneously and interact with one another. Explicitly designing rules for all such interactions becomes increasingly difficult and limits the scalability and adaptability of a rule-based approach as the system complexity grows. Therefore, we next formulate the cache placement and replacement process as an MDP, allowing these dynamically coupled trade-offs to be learned from interactions with the network environment.
4.2. MDP Formulation
The dynamic caching problem is formulated as an MDP at the cache-decision epochs. Although the underlying network evolves at every discrete simulation step, the caching agent acts at cache-decision epochs separated by intervals of duration . Let denote the cache-decision epoch index, with the corresponding simulation time given by . The MDP is defined as
where S, A, P, and r denote the state space, action space, state-transition probability distribution, and reward function, respectively.
4.2.1. State space
At each cache-decision epoch, the local state of UAV n consists of: (i) its current cache contents, (ii) the demand conditions of its associated users, (iii) its user-association and network connectivity conditions, (iv) its current energy consumption state, and (v) its deadline pressure.
(25)
The vectors , , and represent the cache state, local demand state, and user-association and connectivity state of UAV , respectively. The term represents its communication energy state. The global state conceptually consists of the collection of the local states of all UAVs. The global state space consists of all feasible global network states.
Deadline pressure represents the recent demand for deadline-sensitive content at each UAV. It is obtained by weighting the latest requests according to their content deadlines and aggregating them by content type.
Here, denotes the number of requests for content item i arriving at UAV n during the most recent cache-decision interval, denotes the deadline urgency of content item i, where a shorter delivery deadline corresponds to a larger urgency value, denotes a content type, and is a small positive constant.
4.2.2. Action space
At each cache-decision epoch, the centralized agent determines the content items to be removed from and added to each UAV cache. The joint action is defined as
where and denote, respectively, the sets of content items removed from and added to UAV n. The collection of all feasible joint cache-update actions constitutes the action space A.
The action space also includes a no-operation action. For UAV n, the no-operation action is defined as
A cache-update action is considered feasible only if it satisfies the constraints in Section 3.4.2. The environment evaluates these constraints when decoding the sampled action into an executable cache-update command.
4.2.3. State-transition probability distribution
The state-transition distribution describes the evolution of the global network state over one cache-decision interval after applying a joint cache-update action. It is defined as
Given the global state and the selected joint action , the network evolves over the following cache-decision interval according to the transition distribution P. This evolution accounts for cache-update execution, user mobility, request generation, wireless resource variations, service outcomes, and energy consumption. The resulting state summarizes the network conditions at the next cache-decision epoch.
4.2.4. Reward function
To optimize the multi-objective caching problem using PPO, we construct a scalarized interval-level reward that combines the three objectives. Since the caching agent acts at cache-decision epochs separated by intervals of duration , the reward is computed at the end of each cache-decision interval. The interval reward integrates the service performance and energy costs resulting from the selected cache-update action. To jointly account for deadline misses, communication energy, and inter-UAV energy imbalance, we define the interval-level reward as
(30)
where , , , and denote the deadline-miss rate, service failure ratio (SFR), total communication energy, and inter-UAV energy imbalance during interval , respectively. Specifically, , i.e., the dropped-request ratio, is the fraction of requests generated during interval that cannot be served owing to the absence of a feasible delivery path. The normalization constants and are set to the 95th percentiles of the corresponding quantities observed in offline calibration rollouts sampled from the training-scenario distribution. They are fixed before PPO training and are not updated using evaluation episodes. The term penalizes service failure ratios above the admissible threshold . The SFR penalty prevents the policy from artificially reducing the DMR by allowing excessive request drops.
The above MDP reveals two key requirements for the caching policy. First, the state variables describing demand, connectivity, deadline pressure, and communication-energy conditions evolve over time, making recent observation histories informative for the current cache decision. Second, cooperative caching and inter-UAV energy balancing require each local condition to be interpreted in the context of the entire UAV network. Accordingly, GRU-DEPPO employs UAV-specific and network-wide temporal representations and uses them within a centralized policy for joint cache-update decision making.
4.3. GRU-based Temporal Representation
The MDP state contains time-varying information on local content demand, connectivity, cache conditions, deadline pressure, and UAV communication energy. Since these observations are temporally correlated, relying only on the current state may not sufficiently characterize the evolving local and network-wide conditions relevant to cache placement and replacement. Moreover, directly providing the temporal histories of all UAVs to the centralized controller would increase the input dimension and communication overhead. We therefore employ local and global GRUs to construct compact temporal representations at the UAV and network levels, respectively.
For each UAV , a shared local GRU independently encodes its most recent local observations. Let denote the local observation vector at cache-decision epoch . The UAV-specific temporal representation is obtained as
The GRU parameters are shared across UAVs, while a separate representation is generated for each UAV, thereby preserving UAV-specific temporal characteristics. The detailed composition of is provided in Appendix B.
In parallel, the MBS maintains a recent history of compact network-wide context vectors constructed from information available at the centralized controller. These contexts summarize network activity, service quality, service modes, communication energy, demand variation, and inter-UAV energy imbalance. The resulting context tokens are processed by the global GRU as
where denotes the embedded network-wide context at epoch . Its detailed composition and embedding procedure are described in Appendix B.
Before PPO training, the shared local GRU is pretrained using local-observation trajectories collected with a lightweight caching policy. Let denote the resulting pretraining dataset. Each observation sequence is associated with semantic summary targets derived from its observed demand, cache, deadline, service, and energy conditions. A lightweight prediction head is trained together with the local GRU using
where the base component summarizes the local network conditions and the type component represents the request-type distribution. After pretraining, the prediction head is discarded and the shared local GRU is kept fixed during PPO training. The global GRU, in contrast, is trained jointly with the centralized policy. At each cache-decision epoch, only the compact local representation is provided by each UAV to the MBS.
4.4. GRU-assisted PPO optimization
At each cache-decision epoch, the recent local observation history of each UAV is encoded by the shared local GRU, while the MBS encodes the recent network-wide context using the global GRU. The resulting local and global temporal representations are fused and provided to a centralized PPO actor–critic [36]. The actor selects feasible cache placement and replacement actions, and the resulting service, deadline, and communication-energy outcomes are used to update the policy.
4.4.1. PPO input
The MBS constructs the PPO input by concatenating the local temporal representations of all UAVs with the global representation:
where represents the temporal network context used for cache-update decision making at epoch .
4.4.2. Factorized cache-update action
To represent cache placement and replacement decisions efficiently, the joint cache-update action is factorized across UAVs as
where specifies the cache operation, identifies the corresponding cache slot, and identifies the selected content item. The operation set includes a no-operation choice, in which the slot and content components are ignored.
Let denote the feasibility mask constructed from the current cache state and network conditions. The masked policy is factorized as
(36)
The mask excludes infeasible component choices before sampling. The sampled action is decoded into the remove/add sets , and the resulting cache update is executed subject to the cache-capacity and cache-update feasibility constraints defined in Section 3.4.2.
4.4.3. PPO-based policy optimization
After applying the selected cache-update action, the network evolves for one cache-decision interval . The resulting request service outcomes, deadline misses, service failures, and communication energy consumption determine the interval-level reward defined in Section 4.2.
The actor and critic are trained using standard PPO with generalized advantage estimation (GAE) [36]. Let denote the GAE advantage estimate and let denote the probability ratio between the updated policy and the policy used during rollout collection. The clipped policy objective is
The critic is trained using the corresponding return estimates, and entropy regularization is applied to encourage policy exploration. The PPO training parameters are summarized in the Appendix. The complete GRU-DEPPO training procedure is summarized in Algorithm 2.
5. Results and discussion
This section evaluates GRU-DEPPO from multiple perspectives. We first compare its overall performance with the
Algorithm 2 GRU-DEPPO Training
Require:
Ensure: Trained GRU-DEPPO policy
1: Train using
2: Fix and initialize , PPO, and
3: for do
4: Reset environment and histories
5: while episode is not terminated do
Stage 1: Temporal encoding
6: for do
7:
8: end for
9:
10: Construct
Stage 2: Cache-action generation
11: Construct
12: Sample
13: Decode into
Stage 3: Environment interaction
14: Apply and evolve for
15: Observe and
16: Store transition in
17: if then
Stage 4: PPO optimization
18: Compute GAE and return estimates
19: Update and PPO
20:
21: end if
22: end while
23: end for
baseline schemes in terms of deadline-miss rate, content-type-specific deadline-miss performance, total communication energy consumption, and inter-UAV energy imbalance. We then examine its robustness under more stringent content-specific deadline requirements without retraining. Additional analyses investigate cache-update energy, request service modes, and adaptation to abrupt changes in content demand. Finally, we conduct an ablation study to quantify the contribution of the GRU-based temporal representation to both learning behavior and caching performance.
We compare GRU-DEPPO with LRU as a conventional cache replacement baseline, DE-UBAC (Algorithm 1) as a rule-based caching scheme, and a TLPPO-based caching baseline adapted from the caching component of TLPPO [25]. The TLPPO-based baseline employs PPO to determine content placement and replacement actions based on recently observed local content demand and the current UAV cache state. Its policy is trained to maximize interval-level cache-hit performance. All reported performance evaluation results are averaged over 30 independent random seeds. The detailed simulation parameters are listed in Table 3.
Table 3 Main simulation parameters.
| Parameter | Value |
|---|---|
| N | 10 |
| 150 | |
| 3000 m × 3000 m | |
| UAV height | 100 m |
| User speed | [1, 20] m/s |
| User groups | 3 |
| 100 m | |
| [0.4]/[0.5]/[0.8] | |
| 200, 3 | |
| S | 25 Mbit |
| 200 Mbit | |
| [2.5, 4.0, 5.5] s | |
| 0.6 | |
| 0.6/0.7/0.8 | |
| std() | 0.02 |
| 0.4 | |
| Simulation duration | 1000 s |
| Simulation time step | 1 s |
| 10 s | |
| 5, 4.5, 4 GHz | |
| Link bandwidths | 40/30/10 MHz |
| 30 dBm | |
| MBS transmit power | 43 dBm |
| UAV receive power | 1.2 W |
| X, Y | 11.9, 0.13 |
| 1.6, 23.0 dB | |
| W/Hz | |
| -10 dB | |
| bps | |
| DE-UBAC: | 0.5, 0.5, 0.1, 0.25 |
Group-specific parameters are listed in the order G1, G2, and G3. For grouped link parameters, values are reported in the order User-UAV, UAV-UAV, and MBS-UAV.
5.1. Simulation setup
We consider a multi-UAV service area in which users are divided into multiple groups with distinct mobility and content-demand characteristics.
5.1.1. User mobility and spatial locality
To model heterogeneous local conditions, users follow a group hotspot-aware mobility model. Users are divided into several behavior groups, and each group is associated with a spatial hotspot representing its preferred area of activity. Users within the same group share the same hotspot region, while their movement trajectories are generated independently. Each user is also assigned an individual hotspot attraction probability to represent different degrees of spatial locality.
Let denote the group of user , and let and denote the hotspot center and radius of that group, respectively. At each waypoint selection, user selects a destination around its group hotspot with probability ; otherwise, the destination is selected according to the ordinary random-waypoint process [37]:
where denotes the waypoint distribution within the hotspot region centered at with radius , and W denotes the service area. The attraction probability is sampled according to the user's group, thereby allowing users in different groups to exhibit different degrees of spatial locality.
As users move between spatial regions, their serving UAVs and local network conditions change over time. Consequently, different UAVs observe different user populations, request compositions, connectivity conditions, and service loads. In addition, the hotspot locations are shifted during the episode to represent a change in the spatial mobility regime.
Spatial locality is accompanied by group-conditioned request behavior. Users belonging to the same group share a common time-varying local content distribution , whereas different groups exhibit different content preferences. The request-generation probability may also vary across users or groups. Consequently, as users move across the service area and their serving UAVs change, different UAVs observe distinct local traffic patterns resulting from different mixtures of user groups. At the same change point, the group-conditioned content-demand distributions are also shifted to represent temporal changes in user preferences.
5.2. Simulation results
Fig. 3 compares the overall performance of the considered caching schemes in terms of deadline-miss rate, content-type-specific deadline-miss performance, total communication energy consumption, and inter-UAV energy imbalance.
As shown in Fig. 3a, LRU exhibits the highest deadline-miss rate because its cache replacement decisions are based solely on content recency and do not explicitly account for local demand conditions or delivery deadlines. DE-UBAC improves upon LRU by incorporating localized user behavior, deadline misses, cooperative delivery feasibility, and UAV energy conditions into its hierarchical cache-decision rules. However, these factors are coordinated through predefined priorities and thresholds, which limits the flexibility of the rule-based policy under rapidly changing network conditions.
TLPPO achieves a substantially lower deadline-miss rate than LRU and DE-UBAC. By observing recent local content demand and the current cache state, its PPO-based policy can proactively adjust content placement rather than reacting only after individual cache misses. Moreover, because the policy is trained to maximize interval-level cache-hit performance, it substantially reduces the average delivery delay. Nevertheless, GRU-DEPPO achieves the lowest deadline-miss rate among all compared schemes, reducing the DMR by approximately 51% relative to TLPPO. This improvement can be attributed to two key differences from TLPPO. First, GRU-DEPPO exploits local and global GRUs to capture the temporal evolution of spatially heterogeneous local network conditions. Second, its decision model explicitly accounts

(a) Deadline-miss rate
(b) DMR by content type
(c) Total communication energy
(d) Inter-UAV energy imbalance
Figure 3: Performance with deadlines of [2.5, 4.0, 5.5] s

(a) Deadline-miss rate
(b) DMR by content type
(c) Total communication energy
(d) Inter-UAV energy imbalance
Figure 4: Performance with deadlines of [2.0, 3.0, 4.0] s
for content-specific deadlines, rather than focusing primarily on interval-level cache-hit performance.
Fig. 3b further shows the DMR for each content type. GRU-DEPPO achieves a substantial improvement for contents with the most stringent 2.5-s deadline, whereas TLPPO achieves a slightly lower DMR for contents with the 4.0-s deadline. For contents with the relatively relaxed 5.5-s deadline, GRU-DEPPO again achieves the lowest DMR. These results indicate that GRU-DEPPO does not improve deadline-miss performance uniformly across all content types. Instead, the deadline-dependent performance suggests that the policy distinguishes heterogeneous content-specific delivery requirements and places greater emphasis on satisfying requests with tighter deadlines. In particular, the large reduction observed for the most stringent content type contributes substantially to the lower overall DMR of GRU-DEPPO.
Interestingly, TLPPO achieves a slightly lower average delivery delay than GRU-DEPPO, with approximately 1.99 s and 2.01 s, respectively. However, their corresponding deadline-miss rates are approximately 13.97% and 6.85%, respectively. This contrast indicates that a lower average delivery delay does not necessarily lead to better deadline satisfaction under heterogeneous content-specific deadlines. The service failure ratios remain within a relatively narrow range, with 11.66% for GRU-DEPPO, 10.59% for LRU, 10.62% for DE-UBAC, and 10.69% for TLPPO. Although GRU-DEPPO exhibits a slightly higher SFR, the approximately one-percentage-point difference indicates that its substantial reduction in deadline-miss rate is not attributable to excessive request dropping.
Fig. 3c shows the total communication energy consumed by all UAVs throughout the simulation period. LRU incurs the highest energy consumption among the compared schemes, whereas GRU-DEPPO achieves the lowest total communication energy. The improvement over TLPPO is relatively modest compared with those over LRU and DE-UBAC. This is because TLPPO also promotes edge cache hits by maximizing interval-level cache-hit performance. Consequently, a large fraction of requests can be served through local or cooperative UAV caching rather than relying on MBS-assisted delivery, which naturally reduces communication energy consumption. Although the reduction in total communication energy relative to TLPPO is relatively modest, a substantially larger difference is observed in the inter-UAV energy imbalance, as shown in Fig. 3d. GRU-DEPPO achieves an energy-imbalance value of 0.801, compared with 1.256 for TLPPO, corresponding to an approximately 36% reduction.
This difference arises because TLPPO primarily improves network-wide cache-hit performance and therefore can reduce the overall communication cost, but it does not explicitly regulate how communication energy is distributed among individual UAVs. In contrast, GRU-DEPPO explicitly incorporates inter-UAV energy imbalance into its decision objective, discouraging cache and service decisions that repeatedly concentrate communication load on a subset of UAVs. In particular, among the MBS-direct UAVs that also serve as relay gateways for edge UAVs without direct MBS connectivity, GRU-DEPPO achieves an energy-consumption CV of 0.568, compared with 0.977 for LRU, 0.908 for DE-UBAC, and 0.922 for TLPPO. This result indicates that the overall reduction in inter-UAV energy imbalance is especially pronounced among MBS-direct UAVs, where relay-related communication burden is more likely to be concentrated.
Overall, GRU-DEPPO effectively captures the temporal evolution of spatially heterogeneous local network conditions through its GRU-based representations. Moreover, by explicitly incorporating content-specific deadlines and inter-UAV energy imbalance into the PPO-based decision framework, rather than focusing solely on average delivery delay or cache-hit performance, GRU-DEPPO achieves a better overall trade-off among deadline satisfaction, communication energy consumption, and inter-UAV energy imbalance.
Fig. 4 further evaluates the compared schemes under more stringent delivery requirements. Considering that the PPO-based caching schemes exhibit average delivery delays of approximately 2 s under the original setting, the content-type-specific deadlines are tightened from [2.5, 4.0, 5.5] s to [2.0, 3.0, 4.0] s. The PPO-based policies obtained under the original simulation setting are evaluated without retraining under the tightened deadlines. An interesting observation can be made from Fig. 4a. Compared with the original deadline setting, the DMR of TLPPO increases by 11.33 percentage points, whereas that of GRU-DEPPO increases by 12.39 percentage points. This degradation is not necessarily attributable solely to the caching policy itself. When the delivery deadlines become more stringent, requests become more sensitive to transient resource limitations caused by, for example, temporary concentrations of users or request arrivals in particular network regions. Under such conditions, the available communication resources or feasible delivery paths may be insufficient to satisfy all requests within the shortened deadlines, regardless of the caching decision. Consequently, tighter deadline requirements can expose environment-intrinsic performance limitations that are difficult to fully mitigate through cache placement alone.
Fig. 4b further decomposes the DMR shown in Fig. 4a according to the content-specific deadline requirement. As expected, contents with the most stringent 2.0-s deadline exhibit the highest DMR across all compared schemes. However, GRU-DEPPO shows a different performance trade-off from TLPPO. Although GRU-DEPPO exhibits somewhat higher DMRs for contents with the relatively relaxed 3.0-s and 4.0-s deadlines, it achieves a substantial reduction in DMR for contents with the most stringent 2.0-s deadline. This result suggests that, as the delivery requirements become more stringent, the advantage of GRU-DEPPO becomes increasingly concentrated on the most deadline-sensitive contents. In other words, the policy places greater emphasis on satisfying requests with tighter deadline requirements rather than uniformly reducing the DMR of all content types.
Despite the slightly higher DMRs for the relatively relaxed content types, GRU-DEPPO achieves a 24.0% lower overall DMR than TLPPO under the stringent deadline setting. This result indicates that, in the observed performance trade-off, the substantial reduction in deadline misses for the most deadline-sensitive content outweighs the smaller performance degradations for the relatively relaxed content types. Moreover, as shown in Figs. 4c and 4d, GRU-DEPPO maintains its advantages in both total communication energy consumption and inter-UAV energy imbalance. These results indicate that GRU-DEPPO maintains a favorable overall performance trade-off even when the content-delivery requirements become substantially more stringent.
We next analyze the composition of communication-energy consumption and the distribution of request service modes to further investigate how the compared caching schemes exploit the available service opportunities under dynamic network conditions. Fig. 5a separately compares the communication energy consumed for cache updates during the simulation period. LRU and DE-UBAC incur relatively low cache-update energy among the compared schemes, but for different reasons. LRU performs cache replacement using a simple recency-based rule and therefore triggers relatively limited cache reconfiguration. In contrast, DE-UBAC explicitly suppresses a replacement when the expected priority gain is insufficient to justify the corresponding update-energy cost, thereby avoiding low-benefit cache updates. Nevertheless, its predefined decision rules provide less flexibility in adapting the overall cache configuration than the learning-based schemes. Consequently, low cache-update energy alone does not necessarily imply lower total communication energy.
Among the RL-based schemes, TLPPO consumes approximately 36.4% more cache-update energy than GRU-DEPPO. TLPPO is trained primarily to maximize interval-level cache-hit performance and does not explicitly account for the communication cost associated with cache updates. Consequently, the policy may still favor cache reconfiguration even when the expected gain in cache-hit performance is relatively small compared with the additional energy required for the update, leading to more aggressive cache-update behavior. In contrast, GRU-DEPPO explicitly incorporates total communication energy consumption into its decision objective. Therefore, the policy accounts for the energy cost incurred by cache reconfiguration as part of the overall communication-energy trade-off. This enables GRU-DEPPO to achieve lower cache-update energy than TLPPO while simultaneously attaining a lower deadline-miss rate and lower total communication energy consumption. Fig. 5b presents the distribution of request service modes for each caching scheme. LRU and DE-UBAC show substantially larger fractions of MBS-assisted service than the RL-based schemes, indicating more frequent reliance on MBS-assisted content retrieval.
A particularly notable comparison can be made between TLPPO and GRU-DEPPO. The two schemes exhibit similar fractions of MBS-assisted service, while TLPPO achieves a slightly larger fraction of direct cache hits. However, its cooperative service is concentrated on one-hop delivery. In contrast, GRU-DEPPO also exploits two-hop and three-hop cooperative delivery, indicating that it utilizes a broader set of service opportunities available in the multi-UAV network.

(a) Cache-update energy

(b) Distribution of request service modes
Figure 5: Energy and service characteristics

Figure 6: Deadline-miss rate trend
Despite not achieving a larger direct-hit ratio than TLPPO, GRU-DEPPO attains a substantially lower deadline-miss rate. This result indicates that cache-hit performance alone does not fully explain deadline satisfaction under heterogeneous content-specific requirements.
We next evaluate the adaptability of the caching schemes to dynamic changes in the network environment. To facilitate a direct comparison of the adaptation behavior, the change point is deliberately fixed at the midpoint of the simulation for this experiment. Fig. 6 shows the temporal evolution of the deadline-miss rate when both the mobility context and content-demand distribution are shifted at this point. LRU and DE-UBAC exhibit relatively slow adaptation to the changed demand conditions. LRU relies on a reactive recency-based replacement rule, and DE-UBAC adapts its cache configuration using interval-level observations through predefined deadline-, cooperation-, and energy-aware rules. However, its decisions still depend on accumulated history information, persistent-miss feedback, and fixed decision thresholds. Consequently, its cache configuration responds to an abrupt distribution shift only after the changed network conditions are sufficiently reflected in these rule-based decision signals.
In contrast, the RL-based schemes adjust their cache decisions more rapidly after the distribution shift based on the newly observed network states. Among them, GRU-DEPPO exhibits the smallest immediate DMR degradation and the fastest recovery. To quantify the immediate performance degradation, we use the average DMR during the 100 s immediately preceding the distribution shift as the pre-shift reference and compare it with the average DMR during the first 20 s after the shift. Under this criterion, the DMR increases by approximately 14.6% for TLPPO, compared with only 7.8% for GRU-DEPPO. The recovery time is measured as the elapsed time after the distribution shift until the DMR returns to the pre-shift reference level. GRU-DEPPO returns to this level after approximately 38 s, while TLPPO requires approximately 108 s. These results indicate that the temporal representations employed by GRU-DEPPO help the policy adapt its cache decisions more effectively to abrupt changes in content-demand conditions.
Finally, we conduct an ablation study by comparing GRU-DEPPO with DEPPO, which removes the GRU-based temporal representation and directly provides the corresponding raw observations to the PPO policy. Fig. 7a shows the training curves of GRU-DEPPO and DEPPO. From approximately 1,200 episodes onward, GRU-DEPPO consistently maintains a higher mean episode reward, whereas DEPPO exhibits several periods of stagnation and performance degradation during training. GRU-DEPPO also eventually reaches a higher reward level. These results indicate that the GRU-based temporal representation helps the PPO policy more effectively exploit heterogeneous and time-varying network observations, thereby facilitating the learning of a better-performing caching policy. Figs. 7b, 7c, and 7d compare GRU-DEPPO and DEPPO in terms of deadline-miss rate, total communication energy consumption, and inter-UAV energy imbalance, respectively. DEPPO achieves a slightly better deadline-miss rate and lower inter-UAV energy imbalance than TLPPO, while exhibiting higher total

(a) Episode reward
(b) Deadline-miss rate
(c) Total communication energy
(d) Inter-UAV energy imbalance
Figure 7: Ablation study of the GRU-based encoding
communication energy consumption. However, clear performance gaps remain between DEPPO and GRU-DEPPO across the considered objectives.
Although DEPPO employs the same PPO-based decision framework and jointly considers deadline satisfaction, communication energy, and inter-UAV energy imbalance, it directly relies on raw network observations without GRU-based temporal encoding. As a result, the policy is less effective at extracting temporal patterns from spatially heterogeneous and time-varying network conditions. In contrast, the GRU-based representation provides a compact temporal summary of recent network observations, enabling PPO to learn more effective cache decisions. These results demonstrate the contribution of the GRU-based temporal representation to the overall performance of GRU-DEPPO.
6. Conclusion
In this paper, we investigated deadline- and energy-aware cache placement and replacement in dynamic multi-UAV edge networks with spatially heterogeneous and time-varying content demand. We first developed DE-UBAC as an interpretable hierarchical rule-based realization of the formulated caching objectives and used its limitations under dynamically coupled network conditions to motivate the proposed GRU-DEPPO framework. GRU-DEPPO employs local and global GRU-based temporal representations to capture the evolution of UAV-local and network-wide conditions and provides the resulting representations to a centralized PPO policy. Simulation results showed that GRU-DEPPO achieves the lowest deadline-miss rate and total communication energy consumption among the considered schemes while substantially reducing inter-UAV energy imbalance.
As future work, we plan to extend the proposed framework by jointly optimizing UAV positioning and content caching. While the present study focuses on cache placement and replacement under spatially heterogeneous and time-varying network conditions, adapting UAV positions may provide additional opportunities to improve connectivity, content accessibility, and communication-energy efficiency.
Table 4
Training parameters of GRU-DEPPO
| Parameter | Value |
|---|---|
| 4,000 | |
| PPO learning rate | |
| PPO optimizer | Adam |
| 256 | |
| 128 | |
| 3 | |
| 0.99 | |
| 0.15 | |
| 0.95 | |
| 0.2 | |
| 0.01 | |
| 0.7 | |
| Actor hidden layers | (256, 256) |
| Critic hidden layers | (512, 256) |
| 10 | |
| 48 | |
| Local GRU layers | 1 |
| Summary target dim. | 11 |
| Global GRU layers | 1 |
| Global token dimension | 64 |
| 32 | |
| Pretraining policy | LFU |
| Pretraining optimizer | AdamW |
| Pretraining learning rate | |
| Pretraining batch size | 512 |
| Pretraining epochs | 30 |
| 1 |
Table 5
Composition of the local GRU input
| Feature group | Dimension |
|---|---|
| UAV features | 20 |
| Cache-type composition | |
| Request-type composition | |
| Deadline pressure | |
| Total |
A. Training Parameters
For compactness, denotes the PPO mini-batch size, the number of PPO optimization epochs, and the hidden dimensions of the local and global GRUs, respectively. The simulator and GRU-DEPPO agent were implemented in Python using PyTorch and Stable-Baselines3/SB3-Contrib. Experiments were performed on an NVIDIA GeForce RTX 4090 GPU.
B. GRU Input Composition
The local GRU input consists of UAV-level operating features and content-type-specific statistics. The 20-dimensional UAV feature vector summarizes the current association, cache, service, demand, and communication-energy conditions of each UAV. In addition, the cache-type composition, request-type composition, and deadline-pressure vectors each contain type-level entries. These features are derived from the current UAV state and historical service and demand observations available up to
Table 6
Composition of the network-wide context vector
| Feature group | Dimension |
|---|---|
| Network activity | 3 |
| Service quality | 3 |
| Service-mode composition | 3 |
| Communication energy | 2 |
| Demand variation | 1 |
| Inter-UAV energy imbalance | 1 |
| Total | 13 |
the current cache-decision epoch. Table 5 summarizes the resulting input composition.
In parallel with the local state encoding, the MBS constructs a compact network-wide context vector using the current network state and observations collected during the most recent cache-decision interval. The context vector contains three network-activity features, three service-quality features, three service-mode ratios, two communication-energy features, one demand-variation feature, and one inter-UAV energy-imbalance feature. It is defined as
The network-wide context consists of aggregate network activity, service-quality, service-mode, communication-energy, demand-variation, and inter-UAV energy-imbalance information available at the centralized controller.
Before being processed by the global GRU, each network-context vector is projected onto a -dimensional token space:
The resulting token sequence is encoded by the global GRU according to (32).
References
[1] W. Shi, J. Cao, Q. Zhang, Y. Li, L. Xu, Edge computing: Vision and challenges, IEEE Internet of Things Journal 3 (2016) 637–646.
[2] S. Dong, J. Tang, K. Abbas, R. Hou, J. Kamruzzaman, L. Rutkowski, R. Buyya, Task offloading strategies for mobile edge computing: A survey, Computer Networks 254 (2024) 110791.
[3] M. Ergen, B. Saoud, I. Shayea, A. A. El-Saleh, O. Ergen, F. Inan, M. F. Tuysuz, Edge computing in future wireless networks: A comprehensive evaluation and vision for 6g and beyond, ICT Express 10 (2024) 1151–1173.
[4] J. Hong, Y.-G. Hong, X. de Foy, M. Kovatsch, E. Schooler, D. KUTSCHER, Internet of Things (IoT) Edge Challenges and Functions, RFC 9556, 2024. URL: https://www.rfc-editor.org/info/rfc9556. doi:10.17487/RFC9556.
[5] A. A. Baktayan, A. T. Zahary, A. Sikora, D. Welte, Computational offloading into UAV swarm networks: A systematic literature review, EURASIP Journal on Wireless Communications and Networking 2024 (2024) 69.
[6] X. Gu, G. Zhang, A survey on uav-assisted wireless communications: Recent advances and future trends, Computer Communications 208 (2023) 44–78.
[7] W. Wu, Z. Luo, Uav-enabled mobile edge computing: Key technologies, applications, and future challenges, Physical Communication 78 (2026) 103196.
[8] I. López-Villegas, E. A. Martínez-Rios, J. Izquierdo-Reyes, R. Bustamante-Bello, F. Falcone, A systematic literature review of emergency communications assisted by unnamed aerial vehicles, Ad Hoc Networks 182 (2026) 104063.
[9] Z. Chen, F. Wang, J. Wang, Joint optimization for service-caching, computation-offloading, and uavs flight trajectories over rechargeable uav-aided mec using hierarchical multi-agent deep reinforcement learning, Vehicular Communications 50 (2024) 100844.
[10] T. Q. Duong, K. J. Kim, Z. Kaleem, M.-P. Bui, N.-S. Vo, Uav caching in 6g networks: A survey on models, techniques, and applications, Physical Communication 51 (2022) 101532.
[11] M. K. Somesula, M. R. Raju, M. R. Dorsala, B. Brahma, S. K. Mothku, Service caching and user association in cache enabled multi-uav assisted men for latency-sensitive applications, Computers and Electrical Engineering 119 (2024) 109606.
[12] M. F. Pervej, R. Jin, S.-C. Lin, H. Dai, Efficient content delivery in user-centric and cache-enabled vehicular edge networks with deadline-constrained heterogeneous demands, IEEE Transactions on Vehicular Technology 73 (2024) 1129–1145.
[13] X. Li, J. Liu, X. Chen, J. Wang, M. Pan, Caching on the sky: A multiagent federated reinforcement learning approach for uav-assisted edge caching, IEEE Internet of Things Journal 11 (2024) 28213–28226.
[14] Y. Sun, X. Zhong, F. Wu, X. Chen, S. Zhang, N. Dong, Multi-uav content caching strategy and cooperative, complementary content transmission based on coalition formation game, Sensors 22 (2022).
[15] A. K. Bhuyan, H. Dutta, S. Biswas, Federated multi-armed bandit learning for caching in uav-aided content dissemination, Ad Hoc Networks 151 (2023) 103306.
[16] H. Guo, Y. Wang, J. Liu, C. Liu, Multi-uav cooperative task offloading and resource allocation in 5g advanced and beyond, IEEE Transactions on Wireless Communications 23 (2024) 347–359.
[17] W. Wang, Y. Liu, Y. Dai, Y. He, Joint cooperative caching and power control for UAV-assisted internet of vehicles, Scientific Reports 14 (2024) 9341.
[18] T. Zhang, Y. Wang, Y. Liu, W. Xu, A. Nallanathan, Cache-enabling uav communications: Network deployment and resource allocation, IEEE Transactions on Wireless Communications 19 (2020) 7470–7483.
[19] J. Kim, Y. Park, B. Suh, H. Choe, S. Park, K.-I. Kim, User behavior-aware caching based on online adaptation in multi-uav assisted content delivery networks, Ad Hoc Networks 192 (2026) 104333.
[20] Y. Zhao, C. Liu, X. Hu, J. He, M. Peng, D. Wing Kwan Ng, T. Q. S. Quek, Joint content caching, service placement, and task offloading
in uav-enabled mobile edge computing networks, IEEE Journal on Selected Areas in Communications 43 (2025) 51–63.
[21] Y. Zhu, Q. Zhu, Joint optimization algorithm for uav-assisted caching and charging based on wireless energy harvesting, Applied Sciences 15 (2025).
[22] W. Wang, X. Xu, M. Bilal, M. Khan, Y. Xing, Uav-assisted content caching for human-centric consumer applications in ivo, IEEE Transactions on Consumer Electronics 70 (2024) 927–938.
[23] S. Anokye, D. Ayepah-Mensah, A. M. Seid, G. O. Boateng, G. Sun, Deep reinforcement learning-based mobility-aware uav content caching and placement in mobile edge networks, IEEE Systems Journal 16 (2022) 275–286.
[24] J. Chen, F. Tan, H. Chen, S. Li, Caching strategy and resource allocation in cache-enabled uav networks: A deep reinforcement learning approach, in: 2024 IEEE/CIC International Conference on Communications in China (ICCC), 2024, pp. 283–288. doi:10.1109/ICCC62479.2024.10681702.
[25] Q. Zhu, J. Zheng, A. Jamalipour, Deep reinforcement learning-based uav base station deployment for content delivery in cellular iot networks, IEEE Internet of Things Journal 12 (2025) 23389–23401.
[26] A. Al-Hilo, M. Samir, C. Assi, S. Sharafeddine, D. Ebrahimi, A cooperative approach for content caching and delivery in uav-assisted vehicular networks, Vehicular Communications 32 (2021) 100391.
[27] 3GPP, Study on Enhanced LTE Support for Aerial Vehicles, Technical Report TR 36.777, 3rd Generation Partnership Project (3GPP), 2017. Release 15, pp. 33–46.
[28] A. Al-Hourani, S. Kandeepan, S. Lardner, Optimal lap altitude for maximum coverage, IEEE Wireless Communications Letters 3 (2014) 569–572.
[29] X. Zhang, B. Zhang, K. An, G. Zheng, S. Chatzinotas, D. Guo, Stochastic geometry-based analysis of cache-enabled hybrid satellite-aerial-terrestrial networks with non-orthogonal multiple access, IEEE Transactions on Wireless Communications 21 (2022) 1272–1287.
[30] M. M. Selim, Stochastic geometry analysis of uav-assisted networks with probabilistic uav activation, Scientific Reports 15 (2025) 37356.
[31] G. Yan, J. Li, Towards latency awareness for content delivery network caching, in: 2022 USENIX Annual Technical Conference (USENIX ATC 22), USENIX Association, Carlsbad, CA, 2022, pp. 789–804. URL: https://www.usenix.org/conference/atc22/presentation/yan-gang.
[32] M. Hajimirsadeghi, N. B. Mandayam, A. Reznik, Joint caching and pricing strategies for popular content in information centric networks, IEEE Journal on Selected Areas in Communications 35 (2017) 654–667.
[33] L. pu, L. Jiao, X. Chen, L. Wang, Q. Xie, J. Xu, Online resource allocation, content placement and request routing for cost-efficient edge caching in cloud radio access networks, IEEE Journal on Selected Areas in Communications PP (2018) 1–1.
[34] C. Fan, X. Wu, B. Li, C. Zhao, Partial observation learning-based task offloading and spectrum allocation in uav collaborative edge computing, Digital Communications and Networks 10 (2024) 1635–1643.
[35] R. Wang, J. Zhang, S. H. Song, K. B. Letaief, Mobility-aware caching in d2d networks, IEEE Transactions on Wireless Communications 16 (2017) 5001–5015.
[36] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, O. Klimov, Proximal policy optimization algorithms, 2017. URL: https://arxiv.org/abs/1707.06347. arXiv:1707.06347.
[37] X. Zhong, F. Chen, Q. Guan, Fei Ji, H. Yu, On the distribution of nodal distances in random wireless ad hoc network with mobile node, Ad Hoc Networks 97 (2020) 102026.