Budgeted and Non-budgeted Causal Bandits
Vineet Nair, Vishakha Patil, Gaurav Sinha
Introduction
Causal Bayesian Networks (CBN) [Pea09] have become the popular choice to model causal relationships in many real-world systems such as online advertising, gene interaction networks, brain functional connectivity, etc. The underlying directed acyclic graph (DAG) of a CBN is called its causal graph. The nodes of this graph are labeled by random variables The joint distribution of these random variables factorizes over the graph. representing the underlying system, and edges between these variables capture direct causal relationships. Once the causal graph is known, any external manipulations on the system that forcibly fixes some target variables can be modeled via an operation called intervention. An intervention simulates the effect of such a manipulation of the target variables on other system variables by disconnecting the target variables from their parents A process known as causal surgery. and setting them to the desired value.
Two key questions in causal learning are: 1) learning the causal graph itself, and 2) finding the intervention that optimizes some variable of interest (often called reward variable) assuming that the causal graph is known. In this work, we focus on the second question by modeling the causal learning problem as an extension of the Stochastic Multi-armed Bandit Problem (mab) [Rob52]. The Mab problem is a popular model used to capture decision-making in uncertain environments where a decision-maker is faced with choices (called arms) and at each time step the decision-maker has to choose one out of the arms (pull an arm). The arm that is pulled gives a reward drawn from an underlying distribution which is unknown to the decision-maker beforehand.
We study the Mab problem with dependencies between the arms modelled via a causal graph. This model, called causal bandits, was studied in the recent works of [BFP15, LLR16, SSDS17, SSK+17, LB18, YHS+18, LB19, LMTY20], where the interventions are modelled as the arms of the bandit and the influence of the arms on the reward is assumed to conform to a known causal graph. In addition to the possible interventions allowed, the set of arms also contains the empty intervention called the observational arm, where the algorithm does not perform any intervention on the causal graph. The goal of a causal bandit algorithm is to learn the intervention that maximizes the reward.
We explain the causal bandit problem with a motivating example from the marketing domain for which a simple causal graph is shown in Figure 1. An e-commerce company sells a product online and makes a profit whenever a customer purchases their product. This corresponds to the green (reward) node labeled Purchase in the causal graph. On every new customer visit, the product webpage is rendered using some values of the blue (intervenable) nodes, chosen from an underlying distribution. For example, a customer might see a large image, small description, no promotions, and comparison with a competing brand. The red nodes capture actions taken by the customer before they make any purchase decision. For example, based on the rendered product page, a customer might want to get more information from the reviews before deciding to add the product to their shopping cart. Note that, while the blue nodes are actionable and can be manipulated to increase the chances of purchase, the red nodes are not directly manipulable and can only be passively observed for any given values of the blue nodes. For example, the company might take an action by always offering a promotion, seeing which customers might decide to skip going through the reviews and directly add the product to their shopping cart. The objective here is to learn the intervention (on blue nodes) that maximizes the chances of the product being purchased.
However, in many situations, interventions are costly [KDV17, KSB17, LKDV18, AKMM20]. Consider the marketing example above where observational data from this graph can be collected via independent customer visits whereas to get an interventional sample, one needs to render a specific page configuration that would require additional expenditure. But recent works suggest that in many scenarios the effect of interventions can be efficiently estimated using observational samples [TP02, BGK+20, Pea09]. Hence, in the causal bandit framework, for a fixed budget, there is a trade-off between the more economical observational arm and the high-cost interventional arm. This is because the observational arm, though less rewarding, aids in the exploration of the possibly high rewarding interventional arms. This motivates the study of observation/intervention trade-off in the budgeted bandit setting.
We study the problem of finding the best intervention in a causal graph in two settings: with and without budget constraints. Further, we study these problems with two objectives that are common in the Mab literature: simple regret minimization and cumulative regret minimization.
Budgeted Setting: In Sections 3 and 4 we consider a class of causal graphs that we call no-backdoor graphs (see Section 3 for the definition). A special instance of the no-backdoor graph class is the parallel graph model defined in [LLR16]: consists of nodes, , and the only edges in are from each to . For this, [LLR16] propose an algorithm called the parallel bandit algorithm (PB-ALG henceforth). We observe that PB-ALG in fact works for the more general class of no-backdoor graphs.
We study the causal bandit problem for no-backdoor graphs in the budgeted bandit setting [TTCRJ12], where a budget is specified and the ratio of the cost of the intervention to the cost of observation is . The goal of an algorithm is to find the best intervention such that the total cost of arm pulls does not exceed . In Section 3, we first study this problem with the goal of minimizing simple regret. Note that PB-ALG does not take into account the cost of interventions and is only optimal in the non-budgeted setting. We show that when is higher than a threshold (unknown to the algorithm), the simple algorithm OBS-ALG that plays the observational arm every time achieves better simple regret in terms of than PB-ALG. Next, we propose -NB-ALG (Algorithm 1) which determines this unknown threshold online and successfully manages to trade-off interventions with observations for a specified budget.
In Section 4, we study the cumulative regret minimization (CRM) problem in the above setting and give the CRM-NB-ALG algorithm. CRM-NB-ALG is based on the algorithm ( henceforth) given in [TTCRJ12] for budgeted bandits with no side-information. CRM-NB-ALG achieves constant regret if the observational arm is the optimal arm and otherwise achieves logarithmic regret which is better than that of in terms of instance-specific constants.
Non-Budgeted Setting: In Section 5, we study the problem of minimizing the cumulative regret for general causal graphs in the non-budgeted setting. We assume that the distribution of parents of the reward variable for each intervention is known to the algorithm. This assumption though limiting in the practical setting is also made in the recent work of [LMTY20] (which studies the same problem) as well as in the work of [LLR16]. [LMTY20] proposed an algorithm called C-UCB which has a worst-case regret guarantee of where is the number of distinct values that each of the parents of the reward variable can take. For the same problem, we propose C-UCB-2 (Algorithm 3) and show it has constant expected cumulative regret in terms of instance parameters which is a significant improvement.
Model and Notations
An algorithm for this problem is a sequential decision-making process that at each time performs an intervention and observes reward . For each intervention , where , the expected reward of is denoted . We study a budgeted as well as a non-budgeted variant of this problem.
Simple regret: Let be an algorithm for the above problem that outputs arm when the budget given is . Then the simple regret of with budget , denoted , is
An algorithm whose objective is to minimize the simple regret is a pure-exploration algorithm and its goal is to identify the best arm without having to restrict the number of times a sub-optimal arm may be played using the budget . In many applications, we may require that a sub-optimal arm should not be pulled too many times right from the start. This motivates the definition of cumulative regret.
Cumulative regret: Let be the expected reward accumulated by algorithm with budget , and let . Then, the cumulative regret of an algorithm with budget , denoted , is
An algorithm for cumulative regret minimization has to carefully trade-off between exploration vs. exploitation. Hence, an algorithm with good simple regret guarantees may not have good cumulative regret guarantees and vice-versa.
2 Non-budgeted Causal Bandits
In the non-budgeted variant of the problem, the cost associated with every intervention is the same, i.e., we can assume for all . In Section 5, we study this problem with the objective of minimizing the expected cumulative regret when the time horizon is unknown but finite. The regret notion is defined as in Equation 2 with . Observe that . The cumulative regret of an algorithm after rounds, denoted , is then defined as
The goal of any algorithm for such a setting is to minimize the expected cumulative regret where the expectation is taken over the randomness in the rewards as well as in the algorithm.
Budgeted mab: No-backdoor Graphs
In this section and Section 4, we assume that the interventions are of size . Formally, let be the set of intervenable nodes such that for all . An intervention in this setting is defined as explicitly setting the value of a single node as either or . When not intervened upon, . Hence, we have interventions in total: interventions correspond to setting each of the variables to either or , denoted and respectively, and the last intervention corresponds to the empty intervention, . Moreover, we assume that there are no backdoor paths from to the reward variable. This implies (see Section 3.3.1 [Pea00]). We call a causal graph satisfying this property as a no-backdoor graph ( -graph).
For ease of notation, we denote the intervention by where and , and the empty intervention as . The set of interventions is then . The expected reward for the intervention and are and respectively. Throughout Sections 3 and 4, and . Also, we use to denote an intervention in when we do not differentiate between and . We study the budgeted causal bandit problem for no-backdoor graphs. As stated in Section 2, an algorithm for this problem is given as input the graph , the set of intervenable nodes , a budget , and which is the cost for pulling an arm . The algorithm does not know for any . Note that if then trivially the algorithm can only make observations.
In Section 3.1, we show that for the simple algorithm that plays the observation arm for rounds achieves better expected simple regret than PB-ALG. Since for all is unknown, the threshold is a priori unknown to an algorithm. Hence, in Section 3.2 we propose an algorithm that estimates this threshold online, and trades-off between interventions and observations dependent on and the threshold to minimize the expected simple regret.
Here, we analyze the simple-regret of the observational algorithm (OBS-ALG) which plays the arm for all the rounds, and at the end of rounds outputs the arm with the highest empirical mean estimate. The empirical estimate of is computed as the average of the rewards accrued in those rounds where was sampled as . Theorem 1 shows the dependence of the expected simple regret of OBS-ALG on .
The expected simple regret of OBS-ALG with budget is .
The proof of Theorem 1 is in Section 8.2. Theorem 1 is proved by crucially leveraging the fact that the arm aides in the exploration of all the other arms, which is the side-information available in -graphs. Observe that the guarantee of observational algorithm is better than that of PB-ALG in [LLR16] if .
2 Observation-Intervention Trade-off
-NB-ALG (Algorithm 1) trades-off between observations and interventions depending on the value of to minimize the expected simple regret. The idea behind -NB-ALG is that if is larger than the threshold then performing only observations gives a better regret (as stated at the end of Section 3.1), whereas if is less than this threshold then the algorithm follows the strategy of PB-ALG by playing the interventions in set (see step 11 of -NB-ALG ) for an equal number of times in the remaining rounds. At steps 13-14, the empirical estimates of only the arms in are updated. Since and are not known a priory, the algorithm has to estimate the threshold online as done in Step 6 of -NB-ALG. Note that at step 6, , where , and is defined similar to .
In Theorem 2, we bound the expected simple regret of -NB-ALG which depends upon and the value of the threshold.
If then the expected simple regret of -NB-ALG is , and if then it is .
The proof of Theorem 2 is in Section 8.3. Observe that the expected simple regret of -NB-ALG is equal to that of PB-ALG if , and is equal to the that of OBS-ALG if . For the optimality of the regret up to log factors follows from Theorem 2 in [LLR16] where they show a lower bound on the expected simple regret. The lower bound is shown in non-budgeted setting, which translates to lower bound in our setting if . The experiment 2 in Section 6 shows that the performance of -NB-ALG matches or is better than the performance of PB-ALG for all values of , which validates our theoretical claim.
Cumulative-Regret in No-backdoor Graphs with Budget
At the end of rounds CRM-NB-ALG computes and which are empirical estimates of and respectively, as follows:
Based on this estimates the CRM-NB-ALG computes the weighted UCB estimate and for the arms and as follows:
In each round CRM-NB-ALG first ensures arm is pulled at least times (steps 4-5), where is set as in steps 11-14 and otherwise pulls the arm with the highest weighted UCB estimate (steps 6-8). Ensuring the arm is pulled at least times at the end of rounds delicately balances the exploration-exploit trade-off: the causal side-information by pulling the arm ensuring free exploration of the other interventions and the loss experienced in pulling the arm (if is the sub-optimal arm). The reason for setting as in steps 11-14 is explained after Theorem 3, which bounds the expected cumulative regret of CRM-NB-ALG. Observe that CRM-NB-ALG halts once it has exhausted its entire budget . Crucially though, the decisions of CRM-NB-ALG do not depend on the budget, i.e., it is budget oblivious. But note that the decisions of the algorithm do take into account the cost of an intervention, i.e., the algorithm is not cost-oblivious.
Before stating Theorem 3, we introduce a few more notations which are used in the theorem. Let , and , and . Further, let and for each . Note that there could be such that .
If then the expected cumulative regret of the algorithm is and otherwise the expected cumulative regret of the algorithm is of order .
The optimal arm is equal to if the ratio of the expected reward of any intervention to expected reward of is at most . In particular, if then and in this case the expected cumulative regret of CRM-NB-ALG is bounded by a constant. The proof of Theorem 3 is given in Section 8.4. For the value of set as in steps 11-14, we show that if then (see Lemma 8.6 in Section 8.4). This in particular ensures that if then the expected number of pulls of a sub-optimal arm is at most . Hence note that, if then this sub-optimal arm is pulled at most a constant number of times. In Section 6, we show via simulation that CRM-NB-ALG performs much better than even for small values of . Note that does not take side information into account.
Cumulative Regret in General Graphs
In this section, we study the non-budgeted version of the causal bandit problem for general graphs (see Section 2.2) with the goal of minimizing the expected cumulative regret. This problem was studied in the recent work of [LMTY20] who gave a UCB based algorithm, called C-UCB, which has a worst-case regret bound of when each of the parent nodes of (the reward variable) in the graph can take one of values. For the same problem, we propose an algorithm called C-UCB-2 , which has constant regret in terms of instance-parameters. Additionally, C-UCB in [LMTY20] takes the time horizon as input, but our algorithm C-UCB-2 works for any unknown (but finite) time horizon.
if and otherwise . The algorithm also computes the empirical estimate and the UCB estimate for all using at the end of every round as follows:
The quantity is called the upper confidence radius around the empirical estimate at the end of rounds. We remark here that the difference between our algorithm C-UCB-2 and C-UCB by [LMTY20] is that C-UCB maintains a UCB estimate for each parent value tuple , whereas C-UCB-2 maintains a UCB estimate for each intervention .
Theorem 4 bounds the expected cumulative regret of C-UCB-2 . In Theorem 4, .
Observe that in Theorem 4, is a constant based on problem instance parameters, and hence Theorem 4 proves that C-UCB-2 achieves instance dependent constant regret. Theorem 4 is proved by showing that the expected number of pulls of a sub-optimal arm after time is at most (proof in Section 8.5). In Section 6, we show via simulations that the expected cumulative regret of C-UCB-2 is better than that of C-UCB, and the experiment also validates that the regret of C-UCB-2 is a constant.
Algorithm Simulations
Experiment (OBS-ALG vs. PB-ALG ): This experiment compares the performance of OBS-ALG with PB-ALG for a fixed budget on a parallel graph with , i.e the reward variable has parents : for . The rewards variable depends on ’s as follows (unknown to both the algorithms): if then and otherwise , where , and . The chosen causal graph structure is the same as in the experiments of [LLR16]. Throughout the experiment for , and is the minimum probability . The value of and , i.e. the minimum probability is increased from to . Figure 3 plots the simple regret of these algorithms with respect to minimum probability. The regret is computed by averaging it over independent runs. The budget is fixed to a moderate value of and the cost of intervention to . The plot in Figure 3 shows an inverse relationship between simple regret of OBS-ALG and as proved in Theorem 1, whereas the simple regret of PB-ALG does not depend on . Recall that the expected simple regret of PB-ALG depends on (and not on ) and for the ’s as stated before, the quantity , does not change. Note that the performance of -NB-ALG is best for and . Finally, also observe that after a threshold value of , OBS-ALG starts performing much better than PB-ALG as can be seen from the plot.
Experiment (-NB-ALG vs. PB-ALG): This experiment compares the performance of -NB-ALG and PB-ALG on a parallel graph with , i.e the reward variable has parents : for , , and for . For this choice of ’s the PB-ALG algorithm asymptotically achieves its best regret. The rewards variable depends on ’s as follows (unknown to both the algorithms): if then and otherwise , where , and . Under these settings, [LLR16] demonstrated a faster exponential decay of simple regret compared to the non-causal algorithms. Since in this experiment we compare -NB-ALG to PB-ALG (adapted to the budgeted version), we choose the same causal graph and distribution. The part a of this experiment in Figure 3 compares the simple regret of the two algorithms when and the budget is increased to . The regret is computed by averaging it over independent runs. The part b of this experiment in Figure 5 illustrates the effect on the simple regret of the algorithms as increases from to . In Figure 5, observe that till a threshold value of both algorithms have very close simple regret and post the threshold, -NB-ALG trades off between observations and interventions to yield a much better simple regret.
Experiment ( vs. CRM-NB-ALG): This experiment compares the performance of and CRM-NB-ALG . The model is as in Experiment 2, except , i.e. the best arm has reward . If the reward distribution is the same as in experiment the cumulative regret of CRM-NB-ALG even with converges very quickly to a small constant. This is attributed to the fact that the observation arm is closer to being optimal (i.e. is smaller). Even though this validates the better performance of our algorithm, for a better visual description we set the expected reward of the best arm to . Even with this reward distribution, the performance of CRM-NB-ALG is much better than . Figures 5, 7, and 7 illustrate the cumulative regrets of both the algorithms for equal to and respectively as the budget is increased. The regret is computed by averaging over independent runs. Notice that CRM-NB-ALG yields a much better regret in all three cases and its regret is constant for .
Experiment (C-UCB vs. C-UCB-2): This experiment compares the performance of C-UCB and C-UCB-2 . The causal graph used in this experiment is as shown in figure 9. Notice that this graph has a backdoor path from to and therefore algorithms such as PB-ALG , -NB-ALG and CRM-NB-ALG , which are for no-backdoor graphs, cannot be used. Our conditional probabilities for nodes () are given in Table 1.
The conditional distribution of the reward variable was chosen as , where and are fixed to (similar to that in [LMTY20]) and is distributed as . Here denotes the normal distribution with mean and standard deviation . The conditional probabilities in the above table are chosen to be close to each other in order to ensure that the expected rewards for all the arms are competitive and the algorithm takes longer to distinguish between them. The expected reward of the four arms are given in the Table 2.
Figure 9 shows a comparison between the cumulative regret incurred by both algorithms for values of in the range $500$ independent runs. Notice that the regret of C-UCB is much higher than C-UCB-2 and also grows with time. Moreover, the regret of C-UCB-2 grows a little initially and then becomes constant as proved in Theorem 4.
Discussion and Future Work
The Mab problem can be used to model several real-world scenarios where additional information besides the reward of the pulled arms is available and hence the study of the Mab problem with side-information has been an area of significant interest in the research community. One of the most prominent models with side-information is the contextual Mab problem where the algorithm receives extra information (called context) before each arm pull [LPP10]. A class of bandit problems where the side-information obtained conforms to a feedback graph has also been studied in the literature [ACBDK15]. The special case of parallel causal graphs studied in [LLR16] and in this work is in fact captured by such a model, but as shown by [LLR16] their regret bounds are not optimal in this setting.
In this work, we study the the causal bandit problem for no-backdoor graphs in the budgeted bandit framework. In this setting, observations are cheaper compared to interventions, which is practically well-motivated. In Sections 3 and 4 we provided two algorithms, -NB-ALG and CRM-NB-ALG , that minimized the expected simple regret and expected cumulative regret respectively. [SSDS17] also studies the best intervention identification problem via importance sampling under budget constraint. But in contrast to our work, they consider soft interventions on a single node , and also assume that the interventional distributions and the marginals of the parent distribution of the node are known. This is incomparable with hard interventions on no-backdoor graphs, where interventions can be performed on different variables and the parent distributions of the intervened nodes are not known. Also their setting is parameterized by and , where is the upper bound on the average cost of sampling and is the total number of samples that the algorithm draws. This can be mapped to our setting by setting the budget to be . In our budgeted setting is not given as input to the algorithm, and this is important for the trade-off between observations and interventions.
In the non-budgeted setting, we showed that our algorithm C-UCB-2 has constant expected cumulative regret in terms of instance-parameters. We conjecture that the worst-case regret bound of our algorithm matches that in [LMTY20], and resolving that remains open. The work by [SB17] studies a similar problem as that in our work and experimentally show the effectiveness of Thompson Sampling but do not provide any theoretical guarantees.
Finally, many of the works in the literature such as those of [LMTY20] and [LLR16] assume that the parent distribution for each intervention is known to the algorithm. We only make this assumption in Section 5. This assumption is limiting in practice and showing a non-trivial regret guarantee for settings without this assumption remains an important open direction.
Proofs of Theorems
We require the following two versions of the Chernoff-Hoeffeding inequality in our proof.
Suppose are independent random variables taking values in the interval $X=\sum_{t\in[T]}X_{t}\overline{X}=\frac{\sum_{t\in[T]}X_{t}}{T}\varepsilon\geq 0$ the following holds:
2 Proof of Theorem 1
where is value of sampled in round . Notice that is the empirical estimate of computed by OBS-ALG at the end of rounds. Similarly the empirical estimate of , denoted , is computed by OBS-ALG at the end of rounds as follows:
Finally, also let . The proof of the theorem is completed using the following lemma.
At the end of rounds played by OBS-ALG the following hold:
1) Part 1 directly follows from Lemma 8.1.
2) Observe that , and hence from Lemma 8.1, for an at the end of rounds we have
Since (from Equation 4), . This implies
Hence from Equations 5 and 6, for a fixed the following holds:
3) Notice that is the number of times was sampled as in rounds. In particular, part 2 of Lemma 8.2 bounds the probability that the number of times was sampled as is small. We use this to prove part 3. First observe that from Lemma 8.1 we have
In particular, Equation 7 bounds the error probability of estimating conditioned on the event that has been sampled as sufficiently many times. Next by law of total probability, for any fixed ,
Hence, from Equation 7 and part 2 of Lemma 8.2 we have
Let be the event that , and for any let be the event . Also let , denote the compliment of . Then applying union bound on the events in part 1 and 3 in Lemma 8.2, we have that
Let . Note that if event holds then the simple regret of OBS-ALG , . On the other hand, if the event holds, and is the arm output by the algorithm, then . Setting , and substituting the value of , we have . Hence, the expected simple regret is at most:
3 Proof of Theorem 2
For convenience, we denote and as and respectively. Throughout the proof we assume that is such that: a) and b) . Note that the two constraints hold for sufficiently large . To begin with observe that if then . Hence, it is sufficient to show that if then the expected simple regret of -NB-ALG is and if then the expected simple regret of -NB-ALG is . Theorem 2 is proved using Lemmas 8.3 and 8.4.
The following lemma is similar to Lemma 8 in [LLR16].
From Lemmas 8.3 and 8.4 it follows that if then at the end of rounds the following holds:
This implies that if then at then end of rounds the following holds:
Case a (): We condition on . Hence, from the argument above it follows that Equation 9 holds. Hence, . This implies at step 6 in -NB-ALG , , and -NB-ALG executes steps 11-14. That is -NB-ALG makes interventions in the remaining rounds. The algorithm constructs set . Now for arms in , is computed as in step 14 of -NB-ALG, i.e for
Notice that (from the definition of ). Hence
Thus from Lemma 8.1 for each arm and any
Also for arms not in , is computed as in step 3 of -NB-ALG, i.e. for
The last inequality holds since . Using Equations 10 and 11 we have for any arm ,
Substituting we have
To get the last inequality, we use that , as and . Finally, we use Equation 12 and Lemma 8.3 to bound the expected simple regret of -NB-ALG in this case as follows:
In last but one line of the above equation, we use that satisfies and implying is at most .
Case b (): Again we condition on , and hence Equation 9 holds. Hence, . This implies at step 6 in -NB-ALG , , and -NB-ALG executes steps 7-9. That is it plays the arm for rounds. Thus, from the analysis of Theorem 1 we have that (see Equation 8)
We use Equation 13 and Lemma 8.3 to bound the expected simple regret of -NB-ALG in this case as follows:
Again in the last but one line of the above equation, we use that and hence is at most .
4 Proof of Theorem 3
The proof of Theorem 3 requires the the following lemmas.
1. Since , at the end of rounds arm is pulled by CRM-NB-ALG at least times. Hence, , and from Lemma 8.1 we have
3. Recall that the effective number of arm pulls of arm at the end of rounds is
Hence, , where is as defined in part two of this lemma. Hence for any at the end of rounds if then . Further, as , it follows that at the end of rounds if then . Hence, from the definition of and Lemma 8.1, at the end of rounds we have for any fixed :
The last line in the above inequality follows from Equation 15 and part 2 of this lemma. ∎
Recall that is set as in steps 11-14 in CRM-NB-ALG . We begin by making the following easy to see observations.
If then .
Let (as computed in step 11 of CRM-NB-ALG ). If and for all then , and . Notice that since , .
Let be the event that , and for any let be the event . Also let , and let , , and denote the compliment of the events , and respectively. From parts 1 and 3 of Lemma 8.5, we have
Since satisfies , this implies , and hence . Similarly, from part 2 of Observation 8.1 we have that the event implies . Here, we use that if does not hold then . Hence
Since satisfies , we have , and hence . ∎
Suppose the algorithm pulls the arms for rounds and if . Then
For ease of notation we denote as . Observe that
We require the following observation which is easy to prove.
We continue by taking expectation on both sides of Equation 17 and use Observation 8.2,
If is true then at least one of the following events is true
The probability of the events in Equations 19a and 19b can be bounded using Lemma 8.1,
If then using the exact arguments as above we can show that Equation 20 still holds. Hence, using Equations 18 and 20 we have if then
The arguments used to bound (denoted for convenience), when is similar. In this case the equation corresponding to Equation 18 is
Finally using Equations 21 and 22, we have
If and suppose the algorithm pulls the arms for rounds then
For convenience, we denote and as and respectively. At the end of rounds we have
Taking expectation on both sides of the above equation and rearranging the terms we have,
Before we bound the regret of the algorithm we make the following observation regarding , which is the number of rounds CRM-NB-ALG pulls the arms before exhausting the budget :
Now are ready to bound the expected cumulative regret of CRM-NB-ALG for the two cases:
Case a (): In this case we bound the expected cumulative regret of CRM-NB-ALG for satisfying
Observe that the constraint on in Equation 24 is satisfied for any large . We begin by making the following observation which shows that in this case the expected number of pulls of a sub-optimal arm is bounded by a constant for any large . Observe that the constraint on in Observation 8.3 is satisfied for any large .
Let , and be the number of rounds CRM-NB-ALG pulls the arms before the budget is exhausted, where satisfies the constraint in Equation 24. Then .
From Lemmas 8.7 and 8.8 for any satisfying
we have . Notice that the constraint on in Equation 25 is the same as the constraint on in Equation 24. Moreover, observe that if satisfies the constraint in Equation 24 then satisfies Equation 25 with probability . Hence, . ∎
Next observe that in this case (see Equation 2) is , i.e the optimal solution is to play arm in all the rounds. We require the following observation which lower bounds in terms of , which is the total number of rounds played by the optimal solution.
Let , and be the number of rounds CRM-NB-ALG pulls the arms before the budget is exhausted, where satisfies the constraint in Equation 24. Then .
Let denote the cost of arm pulled at time . That is if and if . Then the following is always true, as CRM-NB-ALG pulls arms till the budget is the exhausted:
Taking expectation over and the sequence of arm pulls made by CRM-NB-ALG , on both sides of the above equation, we have
Finally we bound the expected cumulative regret of CRM-NB-ALG when as follows:
Thus, from Observations 8.3 and 8.4, we have
Observe that the expected regret of CRM-NB-ALG is bounded by a constant for large and hence .
Case b (): In this case we bound the expected cumulative regret of CRM-NB-ALG for satisfying , where is as in Lemma 8.6. Observe that the constraint is satisfied for any large . Let be the number of rounds CRM-NB-ALG pulls the arms before exhausting the budget . Then from Equation 25, we have . Hence, from Lemmas 8.6 and 8.7, and as (from Equation 23), we have for
Also observe that in this case is at most . Below we bound the expected cumulative regret of CRM-NB-ALG when
Hence, we have that the expected cumulative regret of CRM-NB-ALG is:
5 Proof of Theorem 4
Throughout this proof and indexes the sets and respectively. Let , , and for all , be as in the theorem statement. Let . As is standard in MAB literature, we assume without loss of generality that is unique. Further, let . The regret upper bound is proved using Lemmas 8.9 and 8.10.
Let be the number of rounds C-UCB 2 has pulled the arms. Then for the following holds:
1. Part 1 of the lemma follows from Lemma 8.1.
2. Using Lemma 8.1 again, it follows that for all such that , and for all ,
Hence, for all such that , using the law of total probability we have
implies there is a such that and . Hence, using part 2 of this lemma and applying union bound over all such that , we have for every
where . Since , . This implies , and
Let be a sub-optimal intervention. Then the expected number of times intervention is made after rounds is at most .
For ease of notation, we denote as . Note that is the confidence radius of intervention C-UCB-2 maintains at the end of rounds. Further, let denote the number of times the algorithm performs intervention from time to time , and also let denote the intervention performed at time . Hence,
Note that implies i.e. . Hence from Equation 30, we have
The event implies that at least one of the following events is true
Since , using Lemma 8.9 the probability of the events in Equations 31 and 32 can be bounded as:
The event in equation 33 can be written as . Substituting and since , we have
Now we bound the expected cumulative regret of C-UCB-2. From Equation 3 in Section 2, we have at the end of rounds
The inequality in the last line of the above equation follows from Lemma 8.10.
Acknowledgements
Vineet Nair is thankful to be supported by the European Union’s Horizon 2020 research and innovation program under grant agreement No 682203 -ERC-[ Inf-Speed-Tradeoff]. Vishakha Patil gratefully acknowledges the support of a Google PhD Fellowship.