Manuscript Offprint
arXiv:2609.37932Learning When to Update: A Near-Optimal Timing Bandit Approach
Abstract
Systems operating in dynamic environments require timely updates to sustain performance. For resource-intensive systems such as machine learning models and digital twins, strategically timing updates is essential. Updating too frequently wastes resources, while updating too infrequently leads to costly performance degradation. The problem is particularly challenging when the system's degradation pattern is unknown a priori, as is common in new operating environments. We formalize this challenge as a novel timing bandit problem, where each arm represents a candidate update interval with a fixed update cost and an unknown, stochastic degradation cost. Three structural properties distinguish this setting from standard multi-armed bandits: selecting an interval commits the learner to multiple time slots before the next update; arm costs are composed of per-step degradation costs and a fixed update cost; and selecting a longer interval naturally reveals degradation at every intermediate step, providing consecutive feedback relevant to shorter intervals. By exploiting these structures, we develop Balanced Consecutive Arm Elimination (BCAE). BCAE achieves regret, improving upon the regret of standard bandit algorithms in this setting, where K is the number of candidate update intervals. We further propose an Optimism-Enhanced variant (OE-BCAE) that integrates lower-confidence-bound principles to improve empirical adaptivity while preserving the same regret order. Moreover, the regret bound achieved by our algorithms matches the theoretical lower bound up to logarithmic factors. Simulation results demonstrate that our algorithms achieve low regret and remain stable as both the number of arms and the update cost vary.
ACM Reference Format:
Qiulin Lin, Junyan Su, Liyuan Wang and Minghua Chen. 2026. Learning When to Update: A Near-Optimal Timing Bandit Approach. In The Twenty-seventh International Symposium on Theory, Algorithmic Foundations, and Protocol Design for Mobile Networks and Mobile Computing (MobiHoc '26), November 23-26, 2026, Tokyo, Japan. ACM, New York, NY, USA, 17 pages. https://doi.org/10.1145/3842721.3849669
Minghua Chen
The Chinese University of Hong Kong (Shenzhen), China
City University of Hong Kong, Hong Kong, China
models need to be retrained or fine-tuned to counteract model drift [23], a phenomenon in which the statistical properties of input data change over time since original training, leading to a gradual degradation in predictive performance [20, 35]. Digital twins of physical assets need frequent synchronization with the real-world state they mirror. Otherwise, the fidelity of simulation-based decisions degrades [15, 31].
However, performing an update is seldom free. Retraining a large-scale machine learning model may consume substantial computational resources and energy. Synchronizing a digital twin can require expensive sensor readings or communication bandwidth. More specifically, in networked and edge deployments, these costs are often dominated by communication overhead. Triggering an update may require waking up a radio transceiver or transmitting a large volume of data over a bandwidth-limited link, each of which drains the limited battery budget of an IoT device or edge node [3, 36]. Consequently, a system designer faces a fundamental trade-off: updating too frequently wastes resources on unnecessary refreshes, while updating too infrequently allows performance to degrade, potentially incurring costs that far exceed the savings from skipping an update.
Striking the right balance is further complicated by the fact that degradation patterns are often unknown a priori. The rate at which a model's accuracy declines, or a digital twin's fidelity erodes, depends on the volatility of the underlying environment—a quantity that is itself uncertain and may change across deployments. When the degradation cost associated with each possible update interval is known or can be modeled parametrically, the optimal update schedule can be computed offline. In practice, however, such prior information is rarely available, especially when a system is deployed in a new environment. This renders the problem inherently an online learning problem: the system must discover an effective update policy through its own operational experience. The Age of Information (AoI) literature has extensively studied update scheduling under various application scenarios [30, 37], but it predominantly assumes known degradation functions (or age penalty functions) and optimizes a closed-form objective. In contrast, the setting in which the degradation dynamics are stochastic and must be learned online remains largely open; existing studies either assume full knowledge of the degradation model [1, 3, 30] or adopt fully adversarial formulations [22, 32, 33] that do not exploit the stochastic structure; see a detailed discussion of related work in Section 2.
In this paper, we investigate the update scheduling problem (USP), which involves strategically determining the timing of updates under realistic conditions where future performance degradation patterns are stochastic and unknown. We aim to minimize the average total expected degradation cost and update expenses over a time horizon. The fundamental challenge lies in learning the
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
MobiHoc '26, Tokyo, Japan
© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM. ACM ISBN 979-8-4007-2975-1/2026/11 https://doi.org/10.1145/3842721.3849669
Lin et al.
unknown degradation costs while making real-time update decisions, without prior knowledge of the degradation cost patterns or their distributions. We frame this challenge as a novel variant of the multi-armed bandit (MAB) problem, named Timing Bandit, where each arm corresponds to a candidate update interval. We reveal three structural properties of Timing Bandit. First, timing decisions: selecting arm commits the learner to operate for the next time steps before performing an update, so a single decision occupies a variable number of rounds rather than a single slot. Second, arm cost composition: the cost of an arm comprises the stochastic degradation cost that accumulates as the system ages during the interval and a fixed update cost incurred at the end. Third, consecutive feedback: pulling an arm traverses every intermediate age in sequence, revealing degradation information relevant to every shorter interval. These structures distinguish our problem from existing variants of MAB problems (cf. Table 1) and necessitate novel algorithm design and analysis. To this end, we develop online algorithms that achieve provably near-optimal, sublinear regret bounds, where regret is defined as the performance gap relative to an optimal strategy with known degradation cost distributions. We summarize our contributions as follows.
▷ In Sec. 3, we introduce the update scheduling problem (USP), whose objective is to minimize the total cost comprising both stochastic degradation and update expenses by optimizing the timing of updates. We show that the optimal policy for minimizing the asymptotic time-average total cost reduces to a periodic one, i.e., updating at a fixed interval.
▷ Motivated by the optimality of periodic updates, in Sec. 4, we frame the online setting, where the stochastic degradation costs are unknown a priori, as a novel Timing Bandit problem. Here, each arm corresponds to a candidate update interval whose fixed update cost is known but whose degradation costs must be learned through interaction. We further identify three structural properties of Timing Bandit, including timing decisions, arm cost composition, and consecutive feedback.
▷ In Sec. 5, we demonstrate that, resulting from the timing decision structure, a direct application of standard MAB algorithms, i.e., treating each of the candidate intervals as an independent arm, yields a regret of rather than the usual . We then propose an efficient online algorithm, namely Balanced Consecutive Arm Elimination (BCAE), for the timing bandit. Built on arm elimination, our algorithm further leverages a novel idea of balancing the confidence gaps across all arms, enabling joint use of the specific arm cost composition and the consecutive feedback structures. We prove that our algorithm achieves sublinear regret bounds of for sufficiently large , removing the multiplicative overhead found in applying standard MAB algorithms. We show that the achieved regret matches the regret lower bound for the problem up to logarithmic factors. While analytically convenient, the elimination paradigm adapts only at infrequent, discrete elimination events, limiting empirical responsiveness. To address this, we further propose an Optimism-Enhanced variant (OE-BCAE) that integrates Lower Confidence Bound (LCB) principles into the elimination framework, enabling continuous adaptation while preserving the same order regret.
Table 1: Comparison with related stochastic multi-armed bandit (MAB) problems.
| MAB Problems | Timing Decisions | Consecutive Feedback | Arm Cost Composition | Regret |
|---|---|---|---|---|
| Standard, e.g., [19] | ✕ | ✕ | ✕ | |
| One-Sided, e.g., [5, 21, 38] | ✕ | ✓ | ✕ | |
| Side Info. [7] | ✕ | ✓ | ✕ | |
| Batch, e.g., [6, 14, 25] | ✓ | ✓ | ✕ | |
| Timing Bandit (this work) | ✓ | ✓ | ✓ |
- Denotes the regret bound matches its lower bound up to logarithmic factors.
† Result when applied to the consecutive or one-sided feedback case.
‡ , where represents the number of batches.
▷ We validate our theoretical findings through numerical evaluation in Sec. 6 and evaluate the empirical performance on a remote monitoring instance using real-world traces in Sec. 7. The experiments demonstrate that our approaches, in particular OE-BCAE, achieve lower regret and remain robust to changes in both the number of arms and the update cost.
2 Related Work
Multi-armed Bandit. We consider Timing bandit, a novel variant of the classical multi-armed bandit (MAB) framework [28] with structural properties tailored to our setting. This variant differs from traditional MAB problems in decision-making, feedback mechanisms, and arm cost composition, which require new algorithm design and analysis, as we will elaborate in Sec. 4 and Sec. 5. We summarize the comparison of the most-related variants of bandit problems in Table 1. While some properties of our problem can be considered individually as special cases of other MAB paradigms, there is no direct generalization from these paradigms that accounts for all of our problem's properties. In particular, in [5, 7, 21, 38], the authors consider bandits in which pulling an arm also provides samples of arms with smaller (or larger) indexes, similar to our consecutive feedback structure. Also, the timing decision structure that pulling an arm, say , occupies slots and reveals feedback of the first arms, can be viewed as pulling a batch of the first arms in the batched multi-armed bandit problem [6, 14, 25]. However, we note that, rather than the learner choosing a subset of arms to observe, it is the temporal physics of the timing bandit that determines the timing of observations, and we cannot choose arbitrary batches. Other examples include that the way the arm cost is composed in our problem can be connected to the combinatorial multi-armed bandit problem [10–12], The paper in [8], which focuses on the control of a renewal reward process, exhibits the property of consecutive feedback, where choosing a longer interrupt time also reveals feedback of a shorter one. Here, we exploit all three properties of the problem with novel algorithmic design and achieve a provable, improved sublinear regret, which matches the lower bound regret within logarithmic factors.
Age-of-Information Optimization. Our problem is also related to the Age-of-Information (AoI) optimization in communication networks [18, 37]. AoI captures the freshness of information received at the destination, and the general goal for AoI optimization is to maintain a low AoI by optimizing the update process.
Our approach extends to AoI optimization scenarios where the age-dependent penalty follows some unknown random distribution, in contrast to prior studies that typically consider known, deterministic penalties [3, 32], known, random age-dependent rewards [9], or unknown adversarial penalties [33, 34]. In addition, our problem generalizes to age-dependent update cost, whereas constant update cost is commonly considered in the literature, [33, 34]. Our work is closely related to the single-source, bandit-feedback framework explored in [34], where online decision-making is studied under adversarial penalty functions for information aging, using algorithms such as Follow the Perturbed Leader (FTPL) and EXP3. Another line of work studies AoI bandits, e.g., [13], where the arms are channels with unknown success probabilities and the age penalty is deterministic. In contrast, our study considers model degradation with an unknown, age-dependent distribution and further investigates how incorporating the specific problem structures can yield improved, near-optimal regret bounds.
3 Model and Problem Formulation
We consider a general scenario where a system operator maintains a deployed model in a dynamic environment, such as operating a machine learning inference model, a digital twin, or a remote monitoring system in volatile edge and IoT environments. As the underlying physical environment or data distribution evolves, the deployed model becomes stale, and the operator must determine the optimal schedule for retraining or synchronizing it. Our goal is to minimize the total cost, which comprises deterministic update costs (e.g., data acquisition and computation) and the stochastic performance degradation costs due to model staleness. We discuss the optimal solution with known degradation patterns and the performance metrics.
3.1 System Model
We consider a slotted time horizon with T slots. The deployed model is implemented at the beginning of the first slot. Similarly, we consider that updates of the model (if any) are conducted at the end of the slot and become available at the beginning of the next slot. An illustration of our system model is provided in Fig. 1.
System Age and Freshness. To quantify staleness, we denote the age of the model at slot t as . The age evolves as follows. It is initialized to one at slot 1. At any subsequent slot t, if no update was performed at the end of the previous slot, the age increments by one. If an update was performed, the age resets to one. Consequently, the age evolution is given by,
We note that a smaller indicates a fresher model. In our problem, we consider that there is a minimum requirement on the model update, i.e., the model cannot stay un-updated for more than slots to guarantee a minimum level of freshness. In such a case, we have . We note that our definition of model age is similar to the Age of Information (AoI) concept in communication networks [18, 37]; see more discussion in Sec. 2.

Figure 1: An illustration of the evolution of model age and the associated degradation cost. At each slot, the model age increments by one if no update is performed and resets to one upon an update. It incurs a random degradation cost following the probability distribution at age a.
Degradation Cost. Let denote the version of the deployed model updated at slot . At slot , if the model's age is , the model being used at slot is the one updated at , i.e., . We define the model degradation cost as the performance loss of applying at slot and denote it as . In practice, performance degradation is driven by volatile and often unpredictable factors, such as sudden shifts in user behavior, environmental noise, or random state transitions in a physical system. To capture this inherent uncertainty, we model the degradation cost as a random variable. For ease of presentation, we simplify the notation to . We assume that the degradation costs at different slots are independent and their distributions depend strictly on the model's age. We let denote the probability density function (PDF) of the degradation cost for a given age . Thus, is randomly generated from the distribution . We assume that the degradation cost is upper bounded by a maximum constant , i.e., . We denote the expected value of as .
Remark 1. Our model assumes i.i.d. degradation costs for a given age and independent costs across slots. While these assumptions may not capture all non-stationary drift, they provide a tractable and non-trivial foundation for algorithm design. Here, we discuss the applicability of the model and where it is an approximation. The independence assumption is plausible in systems serving independent requests, where the degradation noise stems primarily from the variance of individual request feedback. Moreover, the update interval materially affects performance in such systems [20], which supports modeling the degradation cost as a function of age. The age-based cost structure is also natural in remote monitoring of temporally correlated processes, where independence does not hold exactly; examples include remote estimation of a Wiener process [29] and the power-grid frequency trace of our empirical study (Sec. 7), on which the algorithms remain effective. The model is an approximation when the degradation is driven by observed context (e.g., ML retraining, digital twins) or the feasible action set by resource availability, rather than by age alone. These cases would require extensions, including a contextual-bandit formulation with observable context features and a constrained formulation with resource-dependent action sets. Further, time-varying degradation distributions could be handled by building on non-stationary [4] or rising-bandit [24] methods. We leave this for future work.
Note that setting the model age to start from one is for the convenience of presentation. Our results remain valid when the age is initialized to zero.
Lin et al.
System Updating Cost. Updating the deployed model incurs an explicit system cost, which may encompass data acquisition, computational overhead, and network transmission. We define as the cost to update an asset that currently has an age of a. Because updates occur at the end of a slot, an update at slot t operates on an asset of age , incurring a cost of . Formulating the cost as a function of age accommodates practical scenarios where updating a heavily degraded system requires more extensive data collection or longer retraining times, meaning may increase with a. It also generalizes from existing studies that consider a constant update cost, e.g., [32, 33].
Remark 2. Unlike the degradation cost, which must be learned online, we assume the update cost is known a priori: update expenses are dominated by deterministic system-level resources (radio energy, bandwidth tariffs, cloud fees) that a designer can profile offline.
3.2 Problem Formulation
We aim to find an optimal update policy that minimizes the expected total cost, encompassing both the update cost and the degradation cost. At the beginning of slot , the system operates with a model of age and incurs a realized degradation cost . At the end of slot , the decision-maker observes the history and makes an update decision , where denotes triggering an update and denotes no update. To meet the minimum requirement on the model update, we ensure the age does not exceed the maximum limit, . Then, the available action space depends on the current age: if , and if . A policy is a sequence of decision rules where maps the history to a valid action . Let denote the set of all such non-anticipatory (causal) policies. The optimization problem is formulated as follows:
We consider that our problem starts from a freshly updated model . If the underlying distributions of the degradation costs were known a priori, the Update Scheduling Problem (USP) could be solved optimally via standard dynamic programming. Under such known dynamics, we can also characterize the optimal policy for the asymptotic average cost objective, which exhibits a clear and highly interpretable structure. In practice, however, the operator rarely has access to these true degradation distributions beforehand. This motivates the core focus of our work: a challenging online scenario where the decision-maker must simultaneously learn the unknown degradation profile while making real-time, cost-efficient update decisions.
3.3 Optimal Solution and Performance Metrics
Optimal Solution. We consider minimizing the asymptotic average total cost defined as
We derive the optimal solution when the information of the expected degradation cost , is available.
PROPOSITION 1. Given the expected degradation cost , the optimal solution to the problem in (5) is to update the learning model periodically with the optimal period :
And the optimal average cost is given by .
Because the degradation cost is independent across slots and does not affect system dynamics, the optimal policy depends only on age; the system reduces to a Renewal Reward process, and the Renewal Reward Theorem gives (6). It also suggests that an efficient online algorithm should aim to find the optimal update period. Please refer to Appendix A. We note that Proposition 1 relates to Theorem 4 in [27], which optimizes over policies that decide based on the age alone: under our independence assumptions, the degradation history is decision-irrelevant, so our age-based optimum agrees with theirs once we take the per-slot penalty as .
Regret Minimization. We use regret as a performance metric for evaluating the performance of an online policy. We denote the total cost of the optimal solution in Proposition 1 as for a given period length T. Given an online algorithm, we denote its expected total cost as . We define the regret as the difference between these two total costs,
In regret analysis, our goal is to develop online algorithms with low regret. Specifically, a sublinear regret ensures that the long-term average cost of the online algorithm converges to the same value as the optimal solution; see e.g., [19].
4 A Novel Multi-Armed Bandit Variant
In this section, we first show that our problem can be viewed as a new variant of the multi-armed bandit (MAB) problem; we call it timing bandit. We then discuss its problem structures.
4.1 Connecting USP with Multi-armed Bandit
Following the optimal offline solution in Proposition 1, to achieve a lower regret in the online scenario, one should find the optimal update interval (the time between two successive updates) efficiently using the observed degradation costs from online update decisions. This follows a similar spirit to the multi-armed bandit problem, where we aim to learn the optimal arm with low regret. We connect the USP problem to MAB by treating each update interval as an arm. We define the average cost of arm as the average cost of choosing an update interval as

Figure 2: An illustrative example of timing bandit. Suppose we first pull arm 2. We will observe the degradation cost of age 1 and age 2 in the following two slots, from which we can derive feedback on arm 1 and arm 2. The cost of such a pull includes the degradation cost and the update cost (at age 2), the expectation of which equals (according to (8)).
With the above definition, suppose we choose an update interval , the average degradation cost and the update cost during these slots will be . Further, we denote as the expected number of times that the update interval occurs in running an online algorithm. Then, we can show the following approximation of the regret, which is easy to interpret under the multi-armed bandit paradigm:
We give the bounds of this approximation in the following Lemma, which is due to the rounding issue of a finite T.
LEMMA 2 (APPROXIMATION OF REGRET). The difference between the regret and is given by
Lemma 2 implies that an online algorithm achieves the same order of regret bounds under and . We thus focus on minimizing in the following discussion.
4.2 Timing Bandit and Problem Structures
We are now ready to relate our problem to the multi-armed bandit paradigm with specific structures; we call it Timing Bandit, referring to making timing update decisions. We consider each update interval as an arm in a K-arm multi-armed bandit problem. Each arm is associated with a random cost defined by , where , and the mean cost of the arm is (defined in (8)) for all . We provide an illustrative example in Fig. 2. The timing bandit paradigm differs from the standard MAB problem in its decision-making, feedback structure, and specific arm cost composition, as detailed below:
(1) Timing decision-making: in standard MAB, the decision is made at each time slot t and incurs a single random cost associated with the chosen arm. In contrast, in the timing bandit, pulling arm k would occupy the next k time slots and would incur , i.e., k times the expected cost of the arm.
(2) Arm cost composition: In timing bandit, the cost of arm k is defined as the sum of two components: the average of k random degradation costs, from age 1 to age k, and a fraction of the update cost, . This contrasts with standard MAB, where the cost of an arm is given by a single random variable associated with it.
(3) Consecutive feedback: in standard MAB, we receive feedback immediately after pulling an arm, which is a sample of the random cost associated with the arm. In the timing bandit, pulling arm k yields feedback from arm 1 to arm k consecutively over the next k rounds.
Intuitively, the timing decision-making property makes the timing bandit problem more challenging, since pulling one arm would occupy more time slots and incur more cost, while only giving one sample of the pulled arm. In contrast, the second property turns out to allow a tighter confidence bound for estimating the arm cost that facilitates the learning, as we will discuss in Lemma 4. The third property can facilitate learning by providing richer feedback from a single pulling.
In the following, we characterize the challenge due to the timing decision-making structure, which also reveals the regret bound of directly applying the standard MAB algorithm to our problem without utilizing the latter two properties.
PROPOSITION 3. Consider a multi-armed bandit problem with K arms and random costs with unknown means , where pulling an arm (say arm k) will occupy k slots, incur k times its cost, and receive one sample on its cost. Then, any online algorithm for the problem will incur an expected regret of at least .
The proof follows the lower bound proof for the standard MAB (see Theorem 5.1 in [2]) but with careful refinement to fit our case. Proposition 3 shows that the timing decision property increases the regret lower bound by a multiplicative factor of compared to the standard MAB setting. This indicates that maintaining low regret is fundamentally more challenging for any online algorithm under this property. However, as we will show, the other two properties can help mitigate this difficulty through appropriate algorithmic design.
Remark 3. Our mathematical formulation is related to the time-varying cost of AoI optimization studied in [34] (specifically, the single-sourcing case with bandit feedback, which is shown in the long version at arXiv [33]). The authors consider the adversary cost setting and apply the standard EXP3 algorithm. We note that directly applying their result to our setting will incur a regret of , which is consistent with our finding in Proposition 3; see more discussion in Appendix B. We will show an improved regret by exploring the problem structures next.
5 Algorithm and Regret Analysis
In this section, we introduce an online algorithm, BCAE, that leverages the structures of the timing bandit. We establish that BCAE achieves a regret of . Additionally, we present a matching regret lower bound of . We further propose an Optimism-Enhanced variant, OE-BCAE, that integrates lower confidence bound principles to improve empirical adaptivity while preserving the same regret order.
Lin et al.
5.1 Our Proposed Algorithm: BCAE
Our algorithm, namely Balanced Consecutive Arm Elimination (BCAE), integrates the arm elimination strategy from the standard stochastic MAB literature (see e.g., a book of MAB [28]) while exploring the special structures of the timing bandit. Specifically, our algorithm introduces a tighter confidence bound by the arm cost composition and a balanced consecutive feedback idea to efficiently explore the consecutive feedback and the tighter confidence bound. We provide a pseudocode of the algorithm in Algorithm 1.
In our BCAE algorithm, we maintain a set of candidate arms that includes the optimal arm with high probability. After making the last update, we check our cost estimation of the arms in the candidate set . If the cost of an arm is far away from the optimal one we observed so far, we eliminate such an arm from . We note that we use to denote the number of times arm is pulled before slot . We use to denote the number of samples for arm before slot . For ease of the presentation, we simplify them to be and in Algorithm 1, which represent the latest value of and . Similarly, we use to denote the latest estimation of . Our algorithm introduces the following new designs.
Tighter Confidence Bound. Following the arm cost composition property in Sec. 4.2, with samples of (each including samples of ), becomes that average of bounded, independent random variables. According to Hoeffding Inequality, it allows us to derive a tighter confidence bound for the estimation of , i.e., with high probability, compared with the standard bound (which replaces by ). We formalize it in Lemma 4 in the regret analysis. It leads to a refined condition for arm elimination, Line 26 in Algorithm 1.
Balanced Confidence Gaps with Consecutive Feedback. To explore the consecutive feedback, existing literature, e.g., [5, 21, 38], proposed the idea to pull the arm with the maximum index in the candidate set A, thereby efficiently collecting samples for all arms in A with a single pull. While it seems natural to combine this maximum-index-pulling idea with the tighter confidence bounds, this direct combination is insufficient to significantly reduce regret. This is because in arm elimination, the elimination condition (see Line 26 in Algorithm 1) relies on shrinking both confidence bounds of the compared arm pairs. The maximum-index-pulling method only ensures the same number of samples, . The arms with smaller indices have looser confidence bounds, compared with larger ones (due to the term in the denominator), and will dominate the number of samples needed to shrink the confidence bounds to a certain level, leading to a limited utilization of the tighter confidence bound.
Instead, we introduce the idea of strategically balancing the confidence gaps, , for all arms, while efficiently utilizing the consecutive feedback. We provide an illustration in Fig. 3. We introduce the concept of super-round, which includes a number of consecutive arm pullings. It corresponds to the period of running Line 10 to Line 29 for one iteration. Our design is to balance the confidence gaps of all arms at the end of each super-round, i.e., ensuring that are close to each other. Specifically, at a super-round, we identify arms with index , where and is the maximum index in . We call these
Arm pulls in a super round: Arm 8 → Arm 4 → Arm 2 → Arm 2
Values of after each pull:

Figure 3: An illustrative example of BCAE in a super-round. Suppose there are 8 arms. Then, the anchor arms are . Each square shape represents an observed sample; e.g., pulling arm 8, we have samples from all arms. The numbers represent the values of of the arms after each pull. We see that at the end of the super-round, the values of are within a factor of two of each other, which leads to a balanced confidence interval among all the arms.
arms anchors. For each anchor arm , we pull it times (or one time when ). In case the anchor arm has been eliminated, we delegate the updates to the closest arm to it from the left, .
For illustrative purposes, we assume that all anchor arms remain in . For each anchor arm , we obtain samples, either by pulling it or anchor arms with larger index (exploring the consecutive feedback). It ensures the increment of for all anchor arms are similar, i.e., . For each other arm, it obtains the same number of samples in the super-round as the anchor arm with the smallest index greater than its own, due to the consecutive feedback structure. And as its index is at least half of such an anchor arm, its increment in is also at least half of such an anchor arm. We provide a formal statement of this property in Lemma 5 within our regret analysis.
For the rest of the algorithm, after each arm pull, we update our estimates for arms with indices smaller than . We count the number of times the arm is pulled, , and the number of samples we obtained for the arms, , and . We apply the arm elimination condition to eliminate non-optimal arms. These correspond to Line 16 to Line 27 in Algorithm 1. We repeat the process until the end of the horizon .
5.2 Regret Analysis
Here, we illustrate the key properties of our proposed BCAE algorithm. We provide a theoretical analysis of its performance on regret minimization. Furthermore, we establish a corresponding regret lower bound for the USP problem, demonstrating the near-optimality of our approach.
We first formally describe the tighter confidence bound we applied in our algorithm BCAE and the balanced confidence gaps guaranteed by our designs in the algorithm.
LEMMA 4 (TIGHTER CONFIDENCE BOUND).
Algorithm 1: Balanced Consecutive Arm Elimination (BCAE)
1: Keep the model for K slots, receive degradation cost with , . Perform an update at the end of slot K.
2: Initialize .
3: Initialize .
4: and , .
5: .
6: for do
7: If , .
8: end for
9: while do
10: Let , and .
11: If , Update the model at the end of the slot; ; Continuous.
12: for do
13: Let . If no such , BREAK.
14: Let if ; otherwise, .
15: for do
16: Let . If no such , BREAK.
17: If , Keep the model till T and EXIT.
18: Pull arm , i.e., Keep the model for slots, observe , and update the model.
19: Update ; Update .
20: for and do
21: Obtain a sample of , i.e., let
;
22: Update ; Update .
23: end for
24: .
25: for do
26: If ,
.
27: end for
28: end for
29: end for
30: end while
The details of the proof are in Appendix D. The proof is based on the Hoeffding Inequality [17] and the specific arm-cost composition of our problem. In analysis of the standard MAB, e.g., [19], the confidence gap, usually defined as , shrinks with the number of samples . Our result introduces a tighter confidence bound, which shrinks faster in the arm index.
We denote as the beginning slot of the s-th super-round.
LEMMA 5. After the previous super-round, we have that
The lemma implies that, for all arms in , their confidence gaps, , , are tightly clustered, differing by no more than a multiplicative factor of . The lemma is due to our dedicated algorithmic design for balancing confidence gaps, which ensures that the increments of in each super-round are close for all arms in the candidate set. The details of the proof are in Appendix E.
Suppose that the optimal arm is with index , and we denote the difference between the expected cost of arm and arm as . We consider a clean event :
We can show that event happens with high probability based on Lemma 4 and the union bound. It would be sufficient to show that our algorithm can obtain the desired regret bound under the clean event. We note that under event , the optimal arm will always be in , by observing that the condition in the algorithm BCAE to eliminate an arm from will never hold for arm .
We show that, under the clean event , algorithm BCAE only requires a bounded number of samples to eliminate an arm i with optimality gap .
LEMMA 6. We have .
The details of the proof are in Appendix F. Unlike the standard bound, ours scales inversely with the arm index i as well as , thanks to the tighter confidence bound (Lemma 4) and the balanced confidence gaps (Lemma 5). The idea of the proof is that after the required number of samples has been collected, our balancing idea ensures that the confidence bounds for the suboptimal arm i and the optimal arm become sufficiently and consistently narrow, which triggers the elimination condition once the optimality gap can be reliably distinguished.
Our algorithm will pull arms with a smaller index to ensure balanced confidence gaps. Such behavior deviates from the maximum-index-pulling idea in the literature [5, 21, 38] and may not optimally utilize the consecutive feedback structure. For example, under the maximum-index-pulling idea, arms whose index values fall below that of the optimal arm are almost unlikely to be pulled since the optimal arm remains in the candidate set with high probability and will dominate the index comparison. As a comparison, our algorithm sometimes pulls these arms. Nevertheless, our novelty in the analysis is that we show that our algorithm is able to utilize the consecutive feedback efficiently (incurring a low regret) in each subset of a partition of the total K arms. Specifically, the partition, induced by the anchor arms, consists of subsets, which is denoted as , where and , for . We obtain the following upper bound on the regret incurred by pulling the arms in each subset.
LEMMA 7. We have that, for any ,
where and .
Lin et al.
The details of the proof are in Appendix G. Essentially, the lemma implies that the regret incurred by pulling suboptimal arms in each subset is bounded by . Together with the fact that the number of subsets in our partition is bounded by , we can conclude the regret upper bound of our algorithm, which will be shown in Theorem 8.
The lemma is based on the tighter bounds on the required number of samples shown in Lemma 6. We further show that in each subset, an arm will not be pulled before all arms with larger indices (in the subset) are eliminated. It ensures the following inequality under the clean event ,
That is, either that an arm k will never be pulled (it is eliminated due to sufficient samples from pulling arms with larger indices) or that its sample bound provides an upper bound to the total number of pulls of all arms with no smaller indices (in the subset). The bound is tighter than the one in the standard MAB, where the number of pulls of each arm is bounded by its required sample size individually. The proof of the lemma is based on solving the optimization problem of maximizing the incurred regret subject to the constraints on the number of pulls of the arms (including (15)).
We now show the regret guarantee of our proposed algorithm in the following theorem, which is obtained by summing up the regret incurred by all the subsets and Lemma 7.
THEOREM 8. The regret of our BCAE algorithm is upper bounded by , where and are as those defined in Lemma 7.
Theorem 8 shows that our BCAE algorithm achieves a sublinear regret upper bound of for sufficiently large T. Here, the notation suppresses logarithmic factors. We note that sublinear regret implies that the long-term average cost of our proposed algorithm converges to the same value as the optimal solution. Our approach could effectively learn to make optimal update decisions. In addition, it improves over simply applying standard MAB algorithms (achieving , Proposition 3). Finally, with the lower bound identified in the following Proposition 9, our algorithm achieves a regret bound close to the lower bound by up to logarithmic factors.
PROPOSITION 9. The regret for any online algorithm for USP is lower bounded by .
We prove the lower bound following the proof of the lower bound for stochastic multi-armed bandit with two arms; see Theorem 2.10 with in [28] for an illustration. We construct two instances of USP, where follows a Bernoulli distribution with mean , , and follows a Bernoulli distribution with mean in the first instance and with mean in the second case. Under both instances, we can check that playing a suboptimal arm will incur a loss of per round. Following the information-theoretic argument in [28], it requires rounds to determine the optimal arms in both instances. It will incur a regret of , which by tuning , leads to a regret lower bound of .
5.3 Optimism-Enhanced Balanced Consecutive Arm Elimination (OE-BCAE)
Our proposed BCAE algorithm follows the arm elimination paradigm. It permanently discards an arm only when there is high confidence that the arm is suboptimal. Because mistaken elimination is irrecoverable, the criterion is necessarily conservative, so the algorithm adapts only at infrequent elimination events. In contrast, the Lower Confidence Bound (LCB) paradigm reselects the arm with the smallest LCB every round, making it more responsive to incoming feedback. Such a behavior of arm elimination may not be preferable from an empirical evaluation perspective, as observed in the literature, e.g., [5, 38]. In this section, we incorporate the optimism idea in the lower confidence bound paradigm and propose Optimism-Enhanced Balanced Consecutive Arm Elimination (OE-BCAE). We show that OE-BCAE maintains the near-optimal regret bound. We will discuss numerical performance in Sec. 6.
Our OE-BCAE algorithm makes the following modification to BCAE. At Step 16 of Algorithm 1, instead of simply pulling the arm with the maximum index no larger than , we apply the lower confidence bound algorithm in a forward window from the arm. More specifically, for each , we consider the forward window,
where and is an upper bound on the window size that can be designed. And, we pull the arm
The use of the forward window ( is no smaller than ) allows us to efficiently utilize consecutive feedback, similar to pulling : we receive all the feedback from arm one to arm at once. Restricting the arm indexes in the window to can keep the confidence bounds among arms balanced. These two maintain the two properties of BCAE that are important for achieving the near-optimal regret guarantee. Further, by limiting the number of arms in the forward window, w, we can limit the additional regret or risk incurred compared with directly pulling arm . All together, these allow us to show that OE-BCAE also achieves the near-optimal regret .
THEOREM 10. The regret of our OE-BCAE algorithm is upper bounded by when w is a constant or .
The details of the proof are in Appendix I. Our idea to prove the theorem is twofold. First, we decompose the regret into two parts, where the first part is induced as if we play , and the second part is the additional regret from actually pulling according to (17). Second, we show the first part incurs a regret bounded by following a similar analysis as that of the BCAE algorithm, and the second part functions analogously to LCB with a constant number of arms, contributes an additional regret term bounded by .
6 Simulation Results
In this section, we evaluate the performance of our proposed online learning algorithms through numerical simulations. Our evaluation
A direct LCB-based design remains open (see SA-LCB in Sec. 6), as it is unclear how LCB variants can efficiently utilize the consecutive feedback structure; see e.g. [5, 38].

(a) Performance across the horizon

(b) Performance under different

(c) Performance under different
Figure 4: The performance of comparing algorithms under different parameters.
aims to demonstrate the efficiency of our proposed algorithms and compare them with the alternatives. An additional empirical evaluation on a remote monitoring instance using real-world traces is provided in Sec. 7.
6.1 Simulation Setup
Baselines for Comparison: We compare our proposed algorithms against the following baselines:
-
LCB: The standard Lower Confidence Bound algorithm.
-
ELMI, e.g., [5, 21, 38]: An arm-elimination variant that always pulls the maximum-index arm in the candidate set.
-
SA-LCB, Structure-Aware LCB: An LCB variant we adapt regarding the problem structures, i.e., replacing the confidence bound used in LCB with the one we develop in Lemma 4.
-
BCAE: Our proposed Balanced Consecutive Arm Elimination algorithm in Algorithm 1.
-
OE-BCAE: Our Optimism-Enhanced variant, which integrates LCB principles into BCAE, discussed in Sec. 5.3.
Environment and Cost Models: We simulate a dynamic system where an operator maintains a deployed model over a time horizon . The decision space consists of candidate update intervals (arms). The expected degradation cost is modeled as an increasing function of the model age , specifically . The realized degradation cost at slot is sampled from a truncated normal distribution with mean and a random standard deviation where is chosen as 0.2. The deterministic system update cost is set to be . The sublinear square root function captures diminishing marginal overhead for updating. We set the degradation and update costs to be parameterized by the normalized age . It ensures that increasing increases the number of available arms without proportionally enlarging the cost range, capturing a setting with more candidate intervals but comparable cost scale.
By default, we set the time horizon to slots, the maximum candidate interval to , and the base update cost . Results are averaged over 30 independent simulation runs to ensure statistical confidence.
6.2 Results and Discussion
Fig. 4a illustrates the cumulative regret of the evaluated algorithms under the default settings. In Fig. 4b, we demonstrate the regret of the algorithms under different maximum intervals . Fig. 4c shows the regret of the algorithms under different base update costs .
Table 2: Average regret of OE-BCAE versus the autocorrelation coefficient .
| ρ | 0 | 0.3 | 0.5 | 0.7 | 0.9 |
|---|---|---|---|---|---|
| OE-BCAE(×105) | 8.62 | 8.63 | 8.62 | 8.62 | 8.62 |
The results show that BCAE and OE-BCAE clearly improve over LCB and ELMI, which do not or only partially exploit the favorable problem structures, and remain robust across varying maximum intervals and base update costs, highlighting their scalability and adaptability. Compared with SA-LCB, a baseline we adapt from the standard LCB by incorporating the problem structures, SA-LCB achieves the lowest regret when the number of arms is small, whereas our algorithms, particularly OE-BCAE, are superior in larger search spaces. Although SA-LCB's competitive performance underscores the value of the structural insights in this paper, its theoretical regret analysis remains an open challenge.
The plots also highlight the empirical advantage of OE-BCAE over BCAE: by integrating LCB-style optimism, OE-BCAE avoids the delayed adaptation inherent to pure elimination paradigms, resulting in a lower-regret curve.
Robustness to temporal correlation. We relax the independence assumption (Remark 1) by making the degradation noise AR(1): with ( i.i.d. standard normal), leaving the per-age mean and variance unchanged, so recovers the i.i.d. model. Table 2 shows OE-BCAE's mean regret is flat across . Other baselines behave likewise, but details are omitted due to space limit. Intuitively, correlation inflates the variance of the estimates without shifting their means, while the confidence bounds of Lemma 4 are variance-free and far larger than the estimation noise. Hence, the arm-selection decisions and the mean regret barely change. We note that under correlation, the realized degradation predicts future degradation, so an optimal policy should adapt to the realized degradation. Designing such policies is left to future work.
Lin et al.

(a) Performance across the horizon T

(b) Performance under different K

(c) Performance under different C
Figure 5: Empirical Evaluation on Real Frequency Trace.

Figure 6: Total-cost comparison of OE-BCAE, SA-LCB, and periodic baselines on the real frequency trace.
7 Empirical Evaluation
In this section, we evaluate the performance of our proposed online learning algorithms through an empirical study on a remote monitoring problem using real-world traces.
7.1 Simulation Setup
We consider a remote monitoring problem in which a monitor maintains a cached view of an evolving physical process. The remote source decides when to refresh that view under a constant update cost. As the underlying process, we use the public historical frequency dataset released by Fingrid for the Nordic synchronous power system, which records frequency measurements from substations at multiple locations in Finland. We regularize the measurements onto a 1-second grid. Letting denote the regularized frequency value, we define the degradation cost of using a sample of age at time as , which captures the monitoring error induced by outdated information. We then compare with the algorithms listed in Sec. 6.1 and heuristic periodic algorithms on chronological traces under a constant-cost update model. Our main results use horizon , maximum update interval , and update cost , and we further report sensitivity to and . We choose the update cost to be comparable in magnitude to the degradation cost, so that the objective reflects a genuine trade-off between communication overhead and information staleness across the range of update intervals. Regret is measured relative to the empirically optimal static update interval computed on the realized trace. We demonstrate the results in Fig. 5 and Fig. 6.
7.2 Results and Discussion
The regret results in Fig. 5 on the real frequency trace are broadly consistent with the trends observed in the numerical evaluation in Sec. 6. First, our structure-aware methods BCAE and OE-BCAE, as well as SA-LCB, substantially outperform the unstructured or only partially structured baselines LCB and ELMI. This provides further empirical evidence that exploiting problem structure is critical for achieving low regret. Second, when compared with SA-LCB, we find that OE-BCAE becomes increasingly competitive as the search space grows, and eventually overtakes SA-LCB in the larger-K regime considered here. Third, OE-BCAE consistently improves upon BCAE, indicating that the addition of LCB-style optimism helps the elimination-based strategy adapt more effectively in practice.
Fig. 6 compares the total cost of our adaptive methods with heuristic periodic baselines under the default setting , , and . We set the update interval for the periodic baselines as 0.2, 0.5, 0.8 of K respectively. Both adaptive policies, SA-LCB and our OE-BCAE, outperform all three tested periodic rules by a clear margin. Specifically, our OE-BCAE achieves at least 13% reduction in total cost compared to heuristic periodic baselines. This indicates that when there is no prior knowledge about the degradation cost, setting a fixed update schedule heuristically may not be efficient. Instead, adaptive policies that exploit problem structures can efficiently adjust their decisions online based on observed costs and gain an empirical advantage in this setting.
Finally, we note that our empirical evaluation using real-world traces demonstrates that, while our designs rely on the assumptions that the degradation costs are i.i.d. given age and independent across ages, they remain effective in practical scenarios where these assumptions may not hold perfectly.
8 Conclusion
In this paper, we study the problem of jointly optimizing degradation costs and update expenses by strategically timing the updates, without prior information on the distribution of the degradation
https://data.fingrid.fi/en/datasets/339.
cost. We have formulated this problem as a novel timing multi-armed bandit problem. We identify the challenges of the problem by providing the lower bound of an ablated timing bandit problem. We then explore the problem-specific structures of timing feedback and develop two efficient online algorithms with sublinear, near-optimal regret for it. Our online algorithms derive an update strategy that achieves the sublinear regret bounds relative to the optimal policy with complete knowledge of the degradation cost distribution. As for future work, it would be interesting to generalize our approach under less restrictive assumptions. For example, we may incorporate techniques from rising bandits [24] to model scenarios where the degradation costs at a given age decrease in time due to technological advancements. More generally, we may adapt techniques from non-stationary bandits, e.g., [4], to handle environments without the i.i.d. assumption. Another interesting direction is to apply our algorithm and ideas to broader scenarios, including the age-of-information optimization in communication networks, product age optimization in business, etc.
Acknowledgments
This work is supported in part by a General Research Fund from Research Grants Council, Hong Kong (Project No. 11200223), a Collaborative Research Fund from Research Grants Council, Hong Kong (Project No. C1049-24G), and a Start-up Research Grant from The Chinese University of Hong Kong, Shenzhen (Project No. UDF01004086). The authors would also like to thank the anonymous reviewers for their helpful comments.
References
[1] Ahmed Arafa, Jing Yang, Sennur Ulukus, and H Vincent Poor. 2019. Age-minimal transmission for energy harvesting sensors with finite batteries: Online policies. IEEE Transactions on Information Theory 66, 1 (2019), 534–556.
[2] Peter Auer, Nicolo Cesa-Bianchi, Yoav Freund, and Robert E Schapire. 2002. The nonstochastic multiarmed bandit problem. SIAM journal on computing 32, 1 (2002), 48–77.
[3] Baran Tan Bacinoglu, Yin Sun, Elif Uysal, and Volkan Mutlu. 2019. Optimal status updating with a finite-battery energy harvesting source. Journal of Communications and Networks 21, 3 (2019), 280–294.
[4] Omar Besbes, Yonatan Gur, and Assaf Zeevi. 2014. Stochastic multi-armed-bandit problem with non-stationary rewards. Advances in neural information processing systems 27 (2014).
[5] Swapna Buccapatnam, Fang Liu, Atilla Eryilmaz, and Ness B. Shroff. 2018. Reward Maximization Under Uncertainty: Leveraging Side-Observations on Networks. Journal of Machine Learning Research 18, 216 (2018), 1–34.
[6] Shengyu Cao, Simai He, Ruoqing Jiang, Jin Xu, and Hongsong Yuan. 2023. Best Arm Identification in Batched Multi-armed Bandit Problems. arXiv:2312.13875
[7] Stéphane Caron, Branislav Kveton, Marc Lelarge, and Smriti Bhagat. 2012. Leveraging side observations in stochastic bandits. arXiv:1210.4839 (2012).
[8] Semih Cayci, Atilla Eryilmaz, and R. Srikant. 2019. Learning to Control Renewal Processes with Bandit Feedback. Proc. ACM Meas. Anal. Comput. Syst. 3, 2, Article 43 (June 2019), 32 pages. https://doi.org/10.1145/3341617.3326158
[9] Sirin Chakraborty and Yin Sun. 2025. Send Pilot or Data? Leveraging Age of Channel State Information for Throughput Maximization. arXiv:2503.13866 [eess.SP]
[10] Wei Chen, Wei Hu, Fu Li, Jian Li, Yu Liu, and Pinyan Lu. 2016. Combinatorial Multi-Armed Bandit with General Reward Functions. In Advances in Neural Information Processing Systems, Vol. 29. Curran Associates, Inc.
[11] Wei Chen, Yajun Wang, and Yang Yuan. 2013. Combinatorial Multi-Armed Bandit: General Framework and Applications. In Proceedings of the 30th International Conference on Machine Learning, Vol. 28. PMLR, Atlanta, Georgia, USA, 151–159.
[12] Wei Chen, Yajun Wang, Yang Yuan, and Qinshi Wang. 2016. Combinatorial multi-armed bandit and its extension to probabilistically triggered arms. Journal of Machine Learning Research 17, 50 (2016), 1–33.
[13] Santosh Fatale, Kavya Bhandari, Urvidh Narula, Sharayu Moharir, and Manjesh K. Hanawal. 2022. Regret of Age-of-Information Bandits. IEEE Transactions on Communications 70, 1 (2022), 87–100.
[14] Zijun Gao, Yanjun Han, Zhimei Ren, and Zhengqing Zhou. 2019. Batched Multi-armed Bandits Problem. In Advances in Neural Information Processing Systems,
Vol. 32. Curran Associates, Inc.
[15] Michael Grieves and John Vickers. 2016. Digital twin: Mitigating unpredictable, undesirable emergent behavior in complex systems. In Transdisciplinary perspectives on complex systems: New findings and approaches. Springer, 85–113.
[16] Onésimo Hernández-Lerma and Jean B Lasserre. 1996. Discrete-Time Markov Control Processes: Basic Optimality Criteria. Springer-Verlag, Chapter 5.
[17] Wassily Hoeffding. 1963. Probability Inequalities for Sums of Bounded Random Variables. J. Amer. Statist. Assoc. 58, 301 (1963), 13–30.
[18] Sanjit Kaul, Roy Yates, and Marco Gruteser. 2012. Real-time status: How often should one update?. In Proceedings IEEE INFOCOM. 2731–2735.
[19] Tor Lattimore and Csaba Szepesvári. 2020. Bandit algorithms. Cambridge University Press.
[20] Hyunsung Lee, Sungwook Yoo, Dongjun Lee, and Jaekwang Kim. 2023. How Important is Periodic Model update in Recommender System?. In Proceedings of ACM SIGIR (Taipei, Taiwan). 2661–2668.
[21] Fengjiao Li, Yu Sang, Zhongdong Liu, Bin Li, Huasen Wu, and Bo Ji. 2021. Waiting But Not Aging: Optimizing Information Freshness Under the Pull Model. IEEE/ACM Transactions on Networking 29, 1 (2021), 465–478.
[22] Qiulin Lin, Junyan Su, and Minghua Chen. 2025. Optimal Algorithms for Online Age-of-Information Optimization in Energy Harvesting Systems. IEEE Transactions on Networking 33, 6 (2025), 3146–3161.
[23] Jie Lu, Anjin Liu, Fan Dong, Feng Gu, Joao Gama, and Guangquan Zhang. 2018. Learning under concept drift: A review. IEEE transactions on knowledge and data engineering 31, 12 (2018), 2346–2363.
[24] Alberto Maria Metelli, Francesco Trovò, Matteo Pirola, and Marcello Restelli. 2022. Stochastic Rising Bandits. In Proceedings of the 39th International Conference on Machine Learning, Vol. 162. PMLR, 15421–15457.
[25] Vianney Perchet, Philippe Rigollet, Sylvain Chassang, and Erik Snowberg. 2016. Batched Bandit Problems. The Annals of Statistics 44, 2 (2016), 660–681.
[26] Sheldon M Ross. 2014. Introduction to probability models. Academic press.
[27] Md Kamran Chowdhury Shisher, Yin Sun, and I-Hong Hou. 2024. Timely Communications for Remote Inference. IEEE/ACM Transactions on Networking 32, 5 (2024), 3824–3839.
[28] Aleksandrs Slivkins. 2019. Introduction to multi-armed bandits. Foundations and Trends® in Machine Learning 12, 1-2 (2019), 1–286.
[29] Yin Sun, Yury Polyanskiy, and Elif Uysal. 2019. Sampling of the Wiener process for remote estimation over a channel with random delay. IEEE Transactions on Information Theory 66, 2 (2019), 1118–1135.
[30] Yin Sun, Elif Uysal-Biyikoglu, Roy D Yates, C Emre Koksal, and Ness B Shroff. 2017. Update or wait: How to keep your data fresh. IEEE Transactions on Information Theory 63, 11 (2017), 7492–7508.
[31] Fei Tao, He Zhang, Ang Liu, and Andrew YC Nee. 2018. Digital twin in industry: State-of-the-art. IEEE Transactions on industrial informatics 15, 4 (2018), 2405–2415.
[32] Vishrant Tripathi and Eytan Modiano. 2019. A whittle index approach to minimizing functions of age of information. In 2019 57th Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, 1160–1167.
[33] Vishrant Tripathi and Eytan Modiano. 2021. An Online Learning Approach to Optimizing Time-Varying Costs of AoL. arXiv:2105.13383 [cs.NI]
[34] Vishrant Tripathi and Eytan Modiano. 2021. An Online Learning Approach to Optimizing Time-Varying Costs of AoL. In Proceedings of ACM Mobihoc '21 (Shanghai, China). 241–250.
[35] Daniel Vela, Andrew Sharp, Richard Zhang, Trang Nguyen, An Hoang, and Oleg S Pianykh. 2022. Temporal quality degradation in AI models. Scientific Reports 12, 1 (2022), 11654.
[36] Shiqiang Wang, Tiffany Tuor, Theodoros Salonidis, Kin K. Leung, Christian Makaya, Ting He, and Kevin Chan. 2019. Adaptive Federated Learning in Resource Constrained Edge Computing Systems. IEEE Journal on Selected Areas in Communications 37, 6 (2019), 1205–1221.
[37] Roy D Yates, Yin Sun, D Richard Brown, Sanjit K Kaul, Eytan Modiano, and Sennur Ulukus. 2021. Age of information: An introduction and survey. IEEE Journal on Selected Areas in Communications 39, 5 (2021), 1183–1210.
[38] H. Zhao and W. Chen. 2019. Stochastic one-sided full-information bandit. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases. Springer International Publishing, Cham, 150–166.
A Proof of Proposition 1
PROOF. We first show that the problem can be framed as a Markov Decision Process (MDP). In such an MDP, it suffices to consider a stationary, deterministic policy that only depends on the current age. Second, we show that such a policy reduces to updating periodically and derive the optimal period.
First, we model the problem as a Markov Decision Process (MDP) defined by the tuple , 1) State Space, , where
Lin et al.
is the finite set of possible ages, and is the Borel space of possible degradation costs. A state at time is ; 2) Action Space: , representing "keep" (0) and "update" (1); 3) Cost Function, the immediate cost is , where is the cost of updating at age ; 4) Transition Kernel, Let denote the probability measure of the next state . The age transitions deterministically: if , and if . The next degradation cost is drawn from a probability measure which depends only on the new age . Note that we include the degradation cost into the state to make the cost function deterministic over the state and the action, which matches the standard MDP in the literature. Later, we will see that, because the degradation cost depends only on the current age and is independent of future degradation costs, it is sufficient to consider optimal policies that only depend on the age but not the realized degradation cost.
Follwoing [16], we establish the Average Cost Optimality Equation (ACOE). Let be the optimal long-run average cost, and be the relative value function [16]. The ACOE is given by:
where and . The last equation is obtained by substituting the explicit cost and transition dynamics, noting that only depends on and , and only depends on .
The optimal action is given by:
Notice that the current degradation g appears as an additive constant independent of the action u and we let . We have that the optimal action is given by:
Because is strictly a function of and , and is completely independent of , the minimizing action depends only on . Therefore, .
We can then focus on stationary, deterministic policy that maps the current age to an action . Under such a policy, the system will always update exactly when the age reaches some , which can be modeled as a renewal reward process. By the Elementary Renewal Reward Theorem [26], the long-run expected average cost of a periodic policy with period , is almost surely equal to the expected cost of one cycle divided by the expected length of one cycle, i.e., . Then, the optimal average cost is the minimum one over all possible choices of . And the optimal period is the argument that achieves this minimum. This completes the proof.
□
B Comparison with the Adversarial Setting [32, 33]
The authors in [34] introduce an epoch-based formulation, where a strategy fixes one update interval in an epoch and receives feedback on its cost, and consider the adversarial online setting where the degradation cost or the penalty on age is chosen adversarially. In more detail, they show that the EXP3 algorithm achieves a regret of , where is the number of epochs and is the length of the epochs (and also the maximum update interval). They consider that the total cost in an epoch is normalized to be within [0, 1]. However, when is large, such a normalization implies that the cost at each slot approaches zero, which may not be practical. Mapping to our case, the cost in an epoch will be in the order of . Taking it into account, their regret becomes . Noting the total number of slots and , applying their result to our case achieves a regret .
This is consistent with our finding in Proposition 3 that online algorithms not exploiting the consecutive feedback structure of the timing bandit could not achieve an expected regret smaller than . As a comparison, our online algorithm that explores the feedback structure of the timing bandit paradigm achieves a regret of , as shown in Theorem 8
C Proof of Proposition 3
Proof. We now discuss the proof of Proposition 3. Our proof is adapted from [2] by further considering that in our case, pulling an arm will take slots and times of cost to receive one feedback. We consider the following problem instances and we will show that at least one of them will have a large regret given any online algorithm. Let be the vector of the means of the arms in the -th instance, , and , , and , . Here, is a parameter to be determined later.
We consider that the cost of arm under instance follows a Bernoulli distribution with mean . We let . We define as the expected regard of an online algorithm under instance . We define as the number of arm is pulled. We note that the optimal arm in instance is arm , and the optimality gaps of other arms are . Therefore, the regret of the algorithm can be written as
Also, we have that (which is adapted from Lemma A.1 from [2], noting that is a random variable bounded by and the KL divergence between Bernoulli( ) and Bernoulli( ) is bounded by .)
Then, by the identity that and Cauchy–Schwarz inequality, we have
Then we have that
where the last equality is achieved by taken and noting that . We conclude that exist an such that .
D Proof of Lemma 4
PROOF OF LEMMA 4. We first define some notations. Not that there are feedback of the cost of arm at slot . For each arm , we use to denote the random variable of (or the distribution ) at its -th update. And we use as the -th sample of ; that is
Then, we have that
Noting that
We have that
where the final step follows Hoeffding's inequality by noting that are independent and bounded random variables in . And we show the lemma by putting the value of in the last step, which leads to
E Proof of Lemma 5
PROOF OF LEMMA 5. We prove it by showing that if arm i and j remain in A at the end of a super-round, we have
where represents the increment in the number of samples for arm that are obtained during the super-round. We do not specify the super-round in the notation for ease of presentation.
In Algorithm 1, we have that, for each arm in (which remains in after the super-round), we will obtain one sample if we pull an arm with index larger than . In a super-round, we have that (the arm we pull) will be no smaller than , when , according to Line 13. And for each , we have number of arm pulling. We have that,
And, we have that,
And, we conclude the lemma.
F Proof of Lemma 6
PROOF OF LEMMA 6. For clarity, we denote as the set at the beginning of slot . Recall that represents the beginning slot of the -th super-round. According to Lemma 5, we have that
If an arm, say j, is eliminated during or before the super-round, will not increase afterward. We can easily see that
We first show the following inequality for the number of samples of an arm at slot .
Lin et al.
Suppose not, we consider the first such that,
We have that
where (a) is by (47) noting that arm is always in A under the clean event E.
Then, we can show that
We will have the elimination condition (Line 26 in Algorithm 1) holds, and arm i will be eliminated, and will remain unchanged afterward. Noting that we at most obtained K samples of arm i and due to the definition of we choose, we have that,
And we have that is bounded by at the complete last super-round, plus the samples obtained from that to (which are bounded by ). We conclude the lemma.
G Proof of Lemma 7
PROOF OF LEMMA 7. We consider the subset of arms . We denote , which is the maximum index of the arms in . Note that, according to Line 16 in Algorithm 1, an arm in will only be pulled when all arms with larger indexes have been eliminated. If arm has never been pulled in the total horizon, we have . Otherwise, suppose the is the slot arm is eliminated; otherwise, we set . We have that the total number of pulling arms in the whole period, , as arm will not be pulled afterward. Also, all arms in with index larger than have been eliminated, and thus, , . Also, we will not obtain sample of arm afterward; thus, , as each pulling of arms with indexed larger than will provide a sample for arm if arm haven't been eliminated. We have that
We then apply Lemma 6 to the above inequality.
In summary, we have the following inequality.
In addition, it is not hard to see that
To derive an upper bound to , the left-hand side of (14), we consider an optimization problem to maximize it by optimizing while subject to constraint (60) and constraint (61).
We separately consider arms with large cost differences where condition (60) tends to dominate and those with small cost differences where condition (61) will likely dominate. With such a consideration, we separate arms in into the following two sets:
and
We consider two relaxed constraints to (60) and condition (61),
and
We can see that optimizing under the relaxed constraints will provide a greater objective value, and we can separate optimizing the in and in the relaxed problem.
We first considers optimizing in subject to (64) to maximizing
We denote such an optimization problem as . To find its optimal solution, we identify a special structure for the optimal solution, which is shown in Lemma 11. We consider one optimal solution to that satisfies the property stated in Lemma 11, i.e., and is a strictly increasing sequence in the index of the arms in . We note that fixing , the problem becomes to maximizing
(67) subject to
with decision variables . Moreover, according to Lemma 11, we have that and if . We list the elements in (note that if and only if ) in increasing order, i.e., . Noting that fixing is an LP with increasing weight in and tightening budget limits in , and the optimal solution is to allocate as most the budget as possible to larger . We can easily show that the optimal solution to the is by setting,
and
We have the following argument,
where the last equality is by noting that , and (following the definition of ).
As for the arms in , we can have that
where the first inequality is by that all arms in ,
, and the last inequality is due to .
As we discussed earlier in this proof, combining and will provide an upper bound to , and we conclude the lemma.
H An optimal structure to
LEMMA 11. There exists an optimal solution to such that is a strictly increasing sequence in the index of the arms in . Further, is also a strictly increasing sequence in the index of the arms in .
PROOF OF LEMMA 11. We prove it by showing that eliminating the diminishing sequence in will not decrease the objective value. We consider an optimal solution . Suppose that is not a non-decreasing sequence in the index of the arms . Then we can find two adjacent arms in , denoted as , such that , which is called an inversion pair. Also, according to condition (60), we have
and
Clearly, (81) implies (82). Next, we will show that under such a case, we have
and we can, therefore, eliminate this inversion pair by constructing a new optimal solution.
We prove it by contradiction. Suppose that . We construct an alternative solution where , and we keep all other . It is not hard to check that the constructed solution is also feasible to with a strictly larger objective than the previous one. It contradicts that the original solution is optimal to . We therefore have (83).
We consider an alternative solution that , and we keep all other . We can easily check that the constructed solution is also feasible to with an objective no smaller than the previous one. Thus, the newly constructed solution is also optimal. Moreover, is no longer in the index set with non-zero . We eliminate at least one inversion pair.
By continuously applying the same way to the optimal solution until there does not exist , such that , we obtain one optimal solution that achieves the desired property.
Lin et al.
Further, we show that is also a strictly increasing sequence in the index of the arms in . We prove it by contradiction. Suppose that . We construct an alternative solution where , and we keep all other . It is not hard to check that the constructed solution is also feasible to with a strictly larger objective than the previous one. It contradicts that the original solution is optimal to .
I Proof of Theorem 10
PROOF OF THEOREM 10. We denote the as the number of times that arm is selected as at Step 16 of Algorithm 1 up to time . We denote as the number of times that arm is actually pulled following the LCB algorithm in the forward window of , i.e., (17). Clearly, we have that
and
We decompose the regret of the algorithm into two parts,
(87)
We first handle part I. For part I, we note that, following LCB, if .
We can show it by contradiction. Suppose no, we would have that at some
and we have that
where the last equality follows (89), and thus arm will not be chosen following LCB defined in (17).
For ease of presentation, we denote
We have that
We have that
where (a) is by noting that the arm indexes in the forward window are bounded by .
We separately consider arms in where , depending on whether . For the "smaller" ones, we have that
For the "larger" ones, we have that
Then, for part I, we have that
, where (a) is by noting that and applying the Cauchy–Schwarz inequality, and the last equation is by noting that .
We then move on to part II.
Recall that is the number of times that arm is selected as at Step 16 of Algorithm 1 up to time . We actually pull an arm following the LCB algorithm in the forward window of , i.e., (17).
We note that is similar to the regret that we have analyzed for the BCAE algorithm. But there is a major difference: at each time to select at Step 16, we are based on the past pulling decisions that further involve the LCB component (17), instead of those selected at previous rounds of Step 16. Nevertheless, we can show that key properties for demonstrating the regret for BCAE still hold in the analysis of (with only differences in some constant factors).
The first property is the balanced confidence bound among all arms, i.e., analogous to Lemma 5. Specifically, we can show that
The constant increases for two to four, compared to Lemma 5. Nevertheless, this will only incur a larger constant factor in all our later analyses. As we showed in Appendix E, the critical step is to show that at the end of a super-round, we have
where represents the increment in the number of samples for arm that are obtained during the super-round. As the arm we actually pull is not smaller (in index) than that in the BCAE, we have that is at least that in the BCAE (in (44)), i.e.,
In addition, we get more samples of arm if we actually pull the larger arm. This only happens when at Step 16 of Algorithm 1 is within following the definition of the forward window in (16) and .⁴ The number of such pulling is at most when . We have that
With the lower bound and upper bound above, we can easily conclude (114) (similar to (45) and (113)). Further, with (113), we can prove the version of Lemma 6 for the analysis of (with a larger constant factor).
The second property is the specific bound on , analogous to (15), due to the feedback structure. We note that is the number of times that arm is selected as at Step 16 of Algorithm 1 up to time . Thus, is similar to that under BCAE, we will never choose at Step 16 unless all the arms in the corresponding subset with larger indexes are eliminated, which results in (15) (with a larger constant factor under the analysis of ).
With the above two key properties, we can follow the proof of Lemma 7 and Theorem 8 to show that is in . We omit the details for simplicity. Together with (111) and (87), we conclude the theorem.
According to Step 16 of Algorithm 1, if is larger, such an is too larger to be chosen. If is smaller, is chosen only when arm i has been eliminated.
We note that while in OE-BCAE, arm i may also be pulled when chosen by the introduced LCB, these are not counted in .