Constrained Best Arm Identification in Grouped Bandits Sahil Dharod, Malyala Preethi Sravani, Sakshi Heda, and Sharayu Moharir Abstract We study a grouped bandit setting where each arm comprises multiple independent sub-arms referred to as attributes. Each attribute of each arm has an independent stochastic reward. We impose the constraint that for an arm to be deemed feasible, the mean reward of all its attributes should exceed a specified threshold. The goal is to find the arm with the highest mean reward averaged across attributes among the set of feasible arms in the fixed confidence setting. We first characterize a fundamental limit on the performance of any policy. Following this, we propose a near-optimal confidence interval-based policy to solve this problem and provide analytical guarantees for the policy. We compare the performance of the proposed policy with that of two suitably modified versions of action elimination via simulations. I Introduction Many amenities are a collection of independent services and each customer of such a service may use one or more at a time. For instance, a typical auto garage may offer car wash services, AC servicing, tyre and wheel care services, car inspections, etc. Similarly, a typical salon offers hair services, skin services, nail services, make-up services, etc. To evaluate such services, it makes sense to have customers rate each service separately and maintain a rating for each service. A reasonable metric for evaluating such a service as a whole is the (weighted) average of the ratings of the different services. In addition, for an amenity to be deemed acceptable, it may be desirable that the ratings for each service exceed a threshold. Motivated by this, we consider a grouped bandit setting where each arm is a group of independent sub-arms. We refer to these sub-arms as attributes. All the attributes of all arms are modeled as an independent stochastic process with a corresponding mean reward. A group is said to be feasible if the mean reward of all its attributes exceeds a given threshold. In this work, we focus on the problem of identifying the feasible group with the highest mean reward averaged across all its attributes in the fixed confidence setting [ 1 ] . We consider the setting where the learning agent can choose to sample a specific attribute of a specific arm. I-A Our Contributions We first characterize a lower bound on the performance of any online policy. We then propose a policy that determines which arm-attribute pair(s) to sample at each round. We provide analytical performance guarantees for this policy and show that it is near-optimal. Further, we empirically compare the performance of the proposed policy with suitably adapted versions of a widely studied policy – action elimination. Our numerical results show that our algorithm outperforms these other algorithms. I-B Related Work The best arm identification problem for multi-armed bandits has been widely studied. The two settings of this problem that have received the most attention are the fixed confidence setting [ 1 ] and the fixed budget setting [ 2 ] . As mentioned above, in this work, we focus on the former. In the fixed confidence setting, we are given a confidence parameter \delta\in[0,1] as an input parameter. The goal of the learner is to identify the best arm with a probability of at least 1-\delta using as few samples of the arms as possible. A detailed survey of various algorithms proposed for this setting can be found in [ 3 ] . The two key features of the problem we are interested in are: (i) each arm is a group of independent sub-arms, and (ii) identifying the best arm among those which satisfy a “feasibility” constraint. We now discuss existing literature that looks at the best arm identification problem with these two features. A version of the grouped arm problem is the focus of [ 4 ] , where the goal is to identify the group with the highest minimum mean reward. Another grouped arm problem is studied in [ 5 ] , where authors discuss an algorithm to identify the best arm in each group. In [ 6 ] , the authors lay emphasis on identifying the best m arms that attain the highest rewards out of the group of arms. Another related problem is called the categorized multi-armed bandits [ 7 ] . Here, arms are grouped into different categories with an existing order between these categories, and the knowledge of the group structure is known. The goal is to find the overall best arm. Multiple works have added a feasibility constraint to the best arm identification problem, where the learning agent is expected to select an optimal arm that satisfies a feasibility rule. In [ 8 ] , the authors consider the best arm identification problem with linear and then monotonic safety constraints. A method to solve a feasibility-constrained best-arm identification (FC-BAI) problem for a general feasibility rule is shown in [ 9 ] . In [ 10 ] , the authors solve the FC-BAI problem with a constraint on arm mean using the track and stop technique [ 1 ] . In [ 11 ] , the feasibility constraint is in terms of the variance of an arm. Under this constraint, an arm is feasible if its variance is below a given threshold. We use ideas from [ 11 ] in the design and analysis of our algorithm. II Problem Setting There are N arms and [N]=\{1,2,\cdots,N\} denotes the set of all arms. Each arm has M attributes, denoted by [M]=\{1,2,\cdots,M\}. The reward corresponding to each attribute of each arm is modelled as an independent stochastic process. We use \nu_{ij} to denote the distribution of attribute j\in[M] of arm i\in[N]. The reward of attribute j of arm i in round t is a stochastic random variable denoted by X_{ij}(t)\sim\nu_{ij}. We define \mu_{ij}=\mathbb{E}[X_{ij}(t)]. Further, we are given a threshold, \mu_{\text{TH}} , which determines the feasibility of each arm. An arm i is said to be feasible if and only if the mean reward of each of its attributes is at least \mu_{\text{TH}}. We define the set of feasible arms, referred to as Feasible Set , denoted by \mathcal{F} as follows: \mathcal{F}\coloneqq\{i\in[N]:\min_{j}\mu_{ij}\geq\mu_{\text{TH}}\}. (1) A problem instance is said to be feasible if \mathcal{F}\neq\emptyset and is called infeasible otherwise. We define the feasibility flag f as follows: \displaystyle f\coloneqq\begin{cases}1&\text{if the instance is feasible}\\ 0&\text{otherwise.}\end{cases} For a feasible instance, the best arm i^{\star} is defined as the arm with the highest mean reward, \mu_{i} in \mathcal{F}. An arm’s mean reward, here denotes the average of the mean rewards of all of its attributes. i.e., \displaystyle i^{\star}\coloneqq \displaystyle\arg\max_{i\in\mathcal{F}}\mu_{i},\ \text{where, }\mu_{i}\coloneqq\left(\sum_{j=1}^{M}\mu_{ij}\right)/M. For example, consider the problem instance in Table I . Here, we have three arms, each with two attributes. Let \mu_{\text{TH}}=0.3. In this case, Arm 1 and Arm 3 are feasible, with Arm 1 being the best feasible arm. Arm 2 has the highest mean reward but is infeasible since the mean reward for Attribute 1 is less than \mu_{\text{TH}}. TABLE I : Illustrative Example Arm Attribute 1 Attribute 2 Mean Reward 1 0.6 0.4 0.5 2 0.2 1 0.6 3 0.4 0.4 0.4 We assume that the best arm, if it exists, is unique. The rewards are considered to be bounded in [0,1] . The algorithmic challenge for the learner is to decide which arm-attribute pairs to play in each round. Table II summarizes the notation used in the section. TABLE II : Notation Notation Description X_{ij}(t) Reward for arm i, attribute j in round t \mu_{ij} Mean reward of arm i, attribute j \mu_{i} Mean reward of arm i \mathcal{F} Feasible Set \mu_{\text{TH}} Threshold f Feasibility flag i^{\star} Index of the best feasible arm III Lower Bound In this section, we provide a fundamental lower bound on the expected cost incurred by any online policy. Theorem 1 (Lower bound) . Given any instance (\nu,\mu_{\text{TH}}) , we define a constant C(\nu,\mu_{\text{TH}}) and the lower bound on the expected sample complexity \tau_{\delta}^{\star} in terms of the hardness index (H_{\text{id}}) is given by : \displaystyle\tau_{\delta}^{\star}\geq\ln\bigg(\frac{1}{2.4\delta}\bigg)C(\nu,\mu_{\text{TH}})\,H_{\mathrm{id}}. (2) A detailed proof is given in the appendix below. IV Our Algorithm: Confidence Set Sampling We propose an LUCB-style algorithm [ 11 ] , where we sample multiple arms in each round. Note that we have an extra degree of freedom as we can choose the attributes to be sampled. We divide the arm-attribute pairs into subsets based on their potential feasibility and explore arms for which we are still determining the feasibility. We also explore the arms with assured feasibility to get tighter confidence bounds for their mean rewards. We stop when we ascertain that the mean reward of the current best feasible arm is greater than that of any other feasible arm. The algorithm starts with a uniform exploration for each attribute of each arm. Rounds are indexed by t, and the total number of pulls till round t is denoted by k(t). Let \mathcal{J}_{t} denote the set of arm-attribute pairs pulled in round t. We define T_{ij}(t) as the number of samples of attribute j of arm i taken till round t. Similarly, T_{i}(t) is the number of times the least explored attribute of arm i is sampled till time t. Formally, \displaystyle T_{ij}(t)\coloneqq\sum\limits_{s=1}^{t-1}\mathbbm{1}_{(i,j)\in\mathcal{J}_{s}},\ T_{i}(t)\coloneqq\min\limits_{j\in[M]}T_{ij}(t). The empirical mean of the reward of attribute j of arm i is denoted by \hat{\mu}_{ij}(t). The empirical average reward of arm i is denoted by \hat{\mu}_{i}(t). Formally, \begin{split}\hat{\mu}_{ij}(t)\coloneqq&\frac{1}{T_{ij}(t)}\sum_{s=1}^{t-1}X_{ij}(s)\mathbbm{1}_{(i,j)\in\mathcal{J}_{s}},\\ \hat{\mu}_{i}(t)\coloneqq&\left(\sum\limits_{j=1}^{M}\hat{\mu}_{ij}(t)\right)/{M}.\end{split} (3) Confidence radii for the arms and attributes is defined as \alpha(t,T(t))\coloneqq\sqrt{\frac{1}{2T(t)}\ln\left(\frac{4NMt^{4}}{\delta}\right)}, where \delta is the confidence parameter and T(t) corresponds to the arm or arm-attribute pair for which we are calculating the confidence radii. We define the confidence intervals for each attribute with the lower confidence bound (LCB, denoted by L_{ij}(t) ) and the upper confidence bound (UCB, denoted by U_{ij}(t) ) as follows: \begin{split}L_{ij}(t)\coloneqq\hat{\mu}_{ij}(t)-\alpha(t,T_{ij}(t),k(t)),\\ U_{ij}(t)\coloneqq\hat{\mu}_{ij}(t)+\alpha(t,T_{ij}(t),k(t)).\end{split} (4) Similarly, we define the confidence interval for arm i with the lower confidence bound (LCB, denoted by L_{i}(t) ) and the upper confidence bound (UCB, denoted by U_{i}(t) ) as follows: \begin{split}L_{i}(t)\coloneqq\hat{\mu}_{i}(t)-\alpha(t,T_{i}(t),k(t)),\\ U_{i}(t)\coloneqq\hat{\mu}_{i}(t)+\alpha(t,T_{i}(t),k(t)).\end{split} (5) Based on these confidence intervals, we define the following subsets for the arm-attribute pairs for round t : 1. Perfectly Feasible Attribute Set: the set of arm-attribute pairs whose lower confidence bound is above the threshold \mu_{\text{TH}}. Formally, \mathcal{F}_{Pt}^{A}\coloneqq\{(i,j)\in[N]\times[M]:L_{ij}(t)\geq\mu_{\text{TH}}\}. 2. Almost Feasible Attribute Set: the set of arm-attribute pairs whose lower confidence bound is less than the threshold \mu_{\text{TH}} and the upper confidence bound is higher than the threshold \mu_{\text{TH}}. In other words, the threshold lies within the confidence interval for these arm-attribute pairs. Formally, \partial\mathcal{F}_{t}^{A}\coloneqq\{(i,j)\in[N]\times[M]:L_{ij}(t)<\mu_{\text{TH}}\leq U_{ij}(t)\}. 3. Feasible Attribute Set: the union of the Perfectly Feasible Attribute Set and the Almost Feasible Attribute Set and is denoted by \mathcal{F}_{t}^{A}. Based on the confidence intervals, we define the following subsets of the set of all arms: 1. Perfectly Feasible Set: the set of arms with all the attributes in the Perfectly Feasible Attribute Set . Formally, \mathcal{F}_{Pt}\coloneqq\{i\in[N]:(i,j)\in\mathcal{F}_{Pt}^{A},\ \forall j\in[M]\}. 2. Feasible Set: the set of arms with all the attributes in the Feasible Attribute Set , i.e., all the attributes have UCB higher than \mu_{\text{TH}} . Formally, \mathcal{F}_{t}\coloneqq\{i\in[N]:(i,j)\in\mathcal{F}_{t}^{A},\ \forall j\in[M]\}. 3. Almost Feasible Set: the set of arms which are in the Feasible Set but not in the Perfect Feasible Set and is denoted by \partial\mathcal{F}_{t} . 4. Potential Set: the set of arms with UCB higher than the LCB of the empirically best arm. Formally, \mathcal{P}_{t}\coloneqq\begin{cases}\{i\in[N]:L_{i^{\star}_{t}}(t)\leq U_{i}(t)\}&\mathcal{F}\neq\phi\\ [N]&\mathcal{F}=\phi,\end{cases} (6) where i^{\star}_{t} is the best arm from Perfect Feasible Set These notations are summarized in Table III 1 1 1 Parameters that evolve over rounds are defined using the notation *(t) or *_{t} . . TABLE III : Notation used in algorithm. Notation Description k(t) Total number of pulls T_{ij}(t) Number of pulls - arm i, attribute j T_{i}(t) Number of pulls of arm i \hat{\mu}_{ij}(t) Empirical mean reward of arm i, attribute j \hat{\mu}_{i}(t) Empirical mean reward of arm i \alpha(t) Confidence radii L_{ij}(t),U_{ij}(t) Attribute confidence bounds L_{i}(t),U_{i}(t) Arm confidence bounds \mathcal{F}_{Pt}^{A} Perfectly feasible attribute set \partial\mathcal{F}_{t}^{A} Almost feasible attribute set {\mathcal{F}_{t}^{A}} Feasible attribute set \mathcal{F}_{Pt} Perfectly feasible arm set \partial\mathcal{F}_{t} Almost feasible arm set {\mathcal{F}_{t}} Feasible arm set \mathcal{P}_{t} Potential set \hat{f} Empirical feasibility flag i_{t} Best arm from perfect feasible set i^{\star}_{t} Best arm from feasible set Algorithm 1 Confidence Set Sampling (CSS-LUCB) 1: t\leftarrow 1, T_{ij}(t)\leftarrow 1\ \forall\ (i,j)\in[N]\times[M], T_{i}(t)\leftarrow 1\ \forall\ i 2: Initialize \partial\mathcal{F}_{t}^{A} , {\mathcal{F}_{t}^{A}} , \mathcal{F}_{Pt} , \partial\mathcal{F}_{t} , {\mathcal{F}_{t}},\mathcal{P}_{t} as \phi 3: Sample each of the N arms once 4: Set \mathcal{F}_{M\times N}=[N] 5: for time steps t>M\times N do 6: Calculate \hat{\mu}_{ij} , \hat{\mu}_{i} \forall i,j using ( 3 ) 7: Calculate confidence bounds using ( 4 ) and ( 5 ) 8: Update \partial\mathcal{F}_{t}^{A} , {\mathcal{F}_{t}^{A}} , \mathcal{F}_{Pt} , \partial\mathcal{F}_{t} , {\mathcal{F}_{t}} according to IV 9: Find i^{\star}_{t}\coloneqq\arg\max\{\hat{\mu}_{i}(t):i\in\mathcal{F}_{Pt}\} 10: Update \mathcal{P}_{t} according to ( 6 ) 11: Set i_{t}\coloneqq\arg\max\{\hat{\mu}_{i}(t):i\in\mathcal{F}_{t}\} 12: if \mathcal{F}_{t}\cap\mathcal{P}_{t}=\phi then 13: if \mathcal{F}_{t}\neq\phi then , set i_{out}=i_{t} , \hat{f}=1 14: else Set \hat{f}=0 15: end if 16: break 17: end if 18: if |\mathcal{F}_{t}|=1 then 19: Pull (i_{t},j) such that (i_{t},j)\in\mathcal{F}_{t}^{A} 20: else 21: Find i_{t} and c_{t} 22: Pull (i,j) such that i\in\{i_{t},c_{t}\} , (i,j)\in\mathcal{F}_{t}^{A} 23: end if 24: end for IV-A Sampling Criteria We consider two cases. The first case is when a single arm is in the Feasible Set. In this case, we find i_{t} defined as the arm with the highest empirical mean reward from the Feasible Set. i.e., i_{t}\coloneqq\arg\max\{\hat{\mu}_{i}(t):i\in\mathcal{F}_{t}\}. We then check the arm-attribute pairs in the Feasible Attribute Set and pull all the attributes of arm i_{t} in this set. In the second case, i.e., when there is more than one arm in the Feasible Set, i_{t} is defined as the best arm from the Feasible Set, and c_{t} is the potentially competitor arm , that is an arm other than i_{t} from the Feasible Set, which has the highest UCB. It is defined as follows: c_{t}\coloneqq\arg\max\{U_{i}(t):i\in\mathcal{F}_{t},i\neq i_{t}\}. We then check the Feasible Attribute Set and pull all the arm-attribute pairs corresponding to arms i_{t} and c_{t} . IV-B Stopping Criteria The algorithm stops when there are no competitor arms to be pulled, that is, the set {\mathcal{F}}_{t}\cap\mathcal{P}_{t}=\phi . We then check the feasible set; if {\mathcal{F}}_{t}=\phi , then the given instance is declared to be infeasible, and the feasibility flag \hat{f} is set to 0. Otherwise, the feasibility flag is set to 1, and the arm i_{t} is declared the best feasible arm. The pseudo-code of the above algorithm is given in Alg 1 . V Analytical Performance Guarantees In this section, we provide analytical guarantees for the performance of our algorithm. We define the following sets based on the ground truth: 1. Sub-optimal Set: the set of arms with mean reward less than that of the best feasible arm. Formally, \mathcal{S}\coloneqq\begin{cases}\{i\in[N]:\mu_{i}<\mu_{i^{\star}}\}&\mathcal{F}\neq\phi\\ \phi&\mathcal{F}=\phi.\end{cases} 2. Risky Set: the set of arms with mean reward more than the best feasible arm. Note that by definition, all these arms are infeasible. Formally, \mathcal{R}\coloneqq[N]\setminus\{\mathcal{S}\cup\{i^{\star}\}\}. We define i^{\star\star}\coloneqq\arg\max\limits_{i\in\mathcal{S}}\mu_{i} , and for all i\in\mathcal{S}\setminus\{i^{\star}\}, \Delta_{i}\coloneqq|\mu_{i^{\star}}-\mu_{i}|. Further, \Delta_{i^{\star}}\coloneqq|\mu_{i^{\star}}-\mu_{i^{\star\star}}|. (7) Similarly, \Delta_{ij}^{\text{attr}}\coloneqq|\mu_{ij}-\mu_{\text{TH}}| . We also define \Delta_{i}^{\text{attr}}\coloneqq|\min\limits_{j}{\mu_{ij}-\mu_{\text{TH}}}| . Further, the separator \bar{\mu} is defined as follows: \bar{\mu}\coloneqq\begin{cases}(\mu_{i^{\star}}+\mu_{i^{\star\star}})/2&\mathcal{F}\neq\phi\>\text{and }\>\mathcal{S}\neq\phi\\ -\infty&\text{otherwise}.\end{cases} (8) Next, we define the hardness index of a problem instance, denoted by H_{\text{id}} as \displaystyle H_{\text{id}}\coloneqq \displaystyle\frac{1}{\min\{\frac{\Delta_{i^{\star}}}{2},\Delta_{i^{\star}}^{\text{attr}}\}^{2}}+\sum\limits_{i\in\mathcal{F}\cap\mathcal{S}}\frac{1}{\left(\frac{\Delta_{i}}{2}\right)^{2}} \displaystyle+\sum\limits_{i\in\bar{\mathcal{\overline{F}}}\cap\mathcal{R}}\frac{1}{\left(\Delta_{i}^{\text{attr}}\right)^{2}}+\sum\limits_{i\in\bar{\mathcal{\overline{F}}}\cap\mathcal{S}}\frac{1}{\max\{\frac{\Delta_{i}}{2},\Delta_{i}^{\text{attr}}\}^{2}}. We also have Empirically Sub-optimal Set , Risky Set , and Neutral Set depending on the separator value and are defined according to the equations given below: \displaystyle\mathcal{S}_{t} \displaystyle\coloneqq\{i:U_{i}(t)<\bar{\mu}\} \displaystyle\mathcal{R}_{t} \displaystyle\coloneqq\{i:L_{i}(t)>\bar{\mu}\} \displaystyle\mathcal{N}_{t} \displaystyle\coloneqq[N]\setminus(\mathcal{S}_{t}\cup\mathcal{R}_{t})=\{i:L_{i}(t)\leq\bar{\mu}\leq U_{i}(t)\}. We now state an upper bound on the number of samples required by CSS-LUCB in the following theorem. Theorem 2 (Upper bound) . Given an instance and a confidence parameter \delta , with probability at least 1-\delta , the CSS-LUCB algorithm succeeds and terminates in \mathcal{O}\left(H_{\text{id}}\ln\frac{H_{\text{id}}}{\delta}\right) samples. The proof is in the appendix below. This result combined with Theorem 1 show that CSS-LUCB has near-optimal (up to logarithmic factors) performance with respect to the harness index H_{\text{id}} . VI Numerical Results In this section, we present our numerical results. We compare the performance of our policy with two suitably adapted variants of the widely studied action elimination algorithm [ 3 ] . More specifically, along with the usual elimination of arms whose mean reward is low, we also eliminate arms that have one or more attributes whose UCB is less than the given threshold ( \mu_{\text{TH}} ). In addition, we also simulate an algorithm that divides the problem into two sub-tasks. The first task is to eliminate arms that are infeasible, followed by the second task, which is to identify the best arm in the set of feasible arms. We use action elimination for the second task. We refer to this approach as Feasibility then BAI . TABLE IV : Experimental Data Experiment 1: x varies from 0.31 to 0.35, \mu_{\text{TH}}=0.3 Arm Attr1 Attr2 Attr3 Attr4 Attr5 Mean 1 x 0.6 0.7 0.6 0.7 0.58 - 0.59 2 0.4 0.2 0.4 0.4 0.45 0.37 3 0.15 0.7 0.8 0.9 0.9 0.69 4 x 0.35 0.35 0.35 0.4 0.35 - 0.36 5 x 0.35 0.35 0.35 0.35 0.34 - 0.35 Experiment 2 Experiment 2: x varies from 0.5 to 0.7, \mu_{\text{TH}}=0.3 Arm Attr1 Attr2 Attr3 Attr4 Attr5 Mean 1 0.7 0.6 0.8 0.7 0.9 0.74 2 0.7 x 0.7 0.7 0.8 0.68 - 0.72 3 0.15 0.7 0.8 0.9 0.9 0.69 4 0.15 0.9 0.9 0.9 0.8 0.73 5 0.1 0.9 0.9 0.8 0.8 0.7 Experiment 3 Experiment 3: x varies from 0.05 to 0.3, \mu_{\text{TH}}=0.35 Arm Attr1 Attr2 Attr3 Attr4 Attr5 Mean 1 0.5 0.6 0.6 0.5 0.8 0.6 2 0.7 0.5 0.4 0.4 0.6 0.52 3 x 0.5 0.9 0.8 0.9 0.63 - 0.68 4 0.6 0.2 0.4 0.7 0.6 0.5 5 0.3 0.7 0.4 0.9 0.5 0.56 For the results presented in this section, the reward of each attribute of each arm is an independent stochastic process with the beta distribution. We perform three different experiments: 1. We vary the mean reward of an attribute of the best arm, making it more difficult to assess the feasibility of that arm. 2. We vary the mean reward of a suboptimal arm, which increases the hardness of detecting the arm with highest mean. 3. The arm with the highest mean is infeasible ( Risky arm). We vary the mean reward of one of its attributes, making it difficult to detect its in-feasibility. We set \delta=0.1 , N=5, and M=5. The values of various parameters are given in Table IV . (The shaded rows depict infeasible arms.) The number of samples required by each algorithm is plotted against the hardness index, H_{\text{id}} . The results are shown in Fig. 1 . Our algorithm outperforms the standard algorithms in all the experiments. (a) Experiment 1 (b) Experiment 2 (c) Experiment 3 Fig. 1 : Sample-complexity as a function of the hardness Next, we vary the number of arms and attributes, comparing the results of the CSS-LUCB algorithm in the case where the arm with the highest mean was infeasible, and the results are shown in Fig. 2 . In Fig 2(a) , we plot the sample complexity as a function of the number of arms keeping the number of attributes constant. For N\in\{4,5,6\}, we consider arms 1,2,\cdots,N, shown in Table V . In Fig 2(b) , we vary the number of attributes for a fixed number of arms. For M\in\{2,3,4\}, we consider the first two, three, and four attributes, respectively, from Table V . As expected, sample complexity increases as the number of arms or attributes increases. TABLE V : Data for varying instance parameters Varying N , fixed M=2 , \mu_{\text{TH}}=0.5 , x varies from 0.38 to 0.46 Arm Attribute 1 Attribute 2 Mean 1 0.6 0.7 0.65 2 x 0.9 0.64 - 0.68 3 0.3 0.55 0.425 4 0.55 0.55 0.55 5 0.2 0.4 0.3 6 0.55 0.6 0.575 Experiment 2 Varying M , fixed N=5 , \mu_{\text{TH}}=0.5 , x varies from 0.38 to 0.46 Arm Attr 1 Attr 2 Attr 3 Attr 4 Mean 1 0.55 0.6 0.65 0.7 0.625 2 x 0.9 0.7 0.8 0.695 - 0.715 3 0.3 0.55 0.4 0.6 0.463 4 0.55 0.55 0.55 0.55 0.55 5 0.2 0.4 0.3 0.55 0.363 (a) Varying number of arms (b) Varying number of attributes Fig. 2 : Sample complexity of CSS-LUCB on varying the number of arms and attributes APPENDIX PROOF OF LOWER BOUND Lemma 1 (Reverse Pinsker’s inequality [ 12 ] ) . Let P and Q be two distributions that are defined in the same finite space \mathcal{A} and have the same support. We have \displaystyle\frac{1}{2}\mathrm{KL}(P,Q)\leq\frac{1}{\alpha_{Q}}\delta(P,Q)^{2} where \delta(P,Q):=\sup\{|P(A)-Q(A)|\,:\,A\subset\mathcal{A}\}=\frac{1}{2}\sum_{x\in\mathcal{A}}|P(x)-Q(x)| is the total variational distance, and \alpha_{Q}:=\min_{x\in\mathcal{A}:Q(x)>0}Q(x) . We fix a \delta -PAC algorithm and assume that all attributes of all the arms have Bernoulli reward distributions with expected reward of the j^{th} attribute of the i^{th} arm given by \mu_{ij} . Thus, the reward distribution of an arm-attribute pair (\nu_{ij}) is given by: \nu_{ij}=\begin{cases}1,&\text{w.p. }\mu_{ij},\\ 0,&\text{w.p }1-\mu_{ij}.\end{cases} We first look at two simpler cases before moving to the generic case with all types of arms: (i) All arms are infeasible : ( \exists j such that \mu_{ij}<\mu_{\text{TH}} \forall i\in N ) (ii) All arms are feasible : ( \mu_{ij}\geq\mu_{\text{TH}},\forall i\in N,\forall j\in M ) Subsequently, we analyze each of the cases separately. In each case, we construct N+1 environments with the expected reward of the j^{th} attribute of the i^{th} arm in environment k ( \mu_{ij}^{(k)} ) defined as follows : \mu_{ij}^{(k)}=\begin{cases}\mu_{ij}^{\prime},&\text{if }i=k,\\ \mu_{ij},&\text{otherwise}.\end{cases} where \mu_{ij}^{\prime} will be defined in each case. Thus, we keep everything unchanged in instance 0, and in instance k , we only modify the expected rewards of attributes of the k^{th} arm. Further we define, \mathcal{G}_{r}^{(k)} as the sequence of pulled arms and observed rewards upto and including round r in environment k . Assuming that the stopping time in instance k is \tau_{(k)} , we denote \mathcal{G}_{\tau_{(k)}}^{(k)} by \mathcal{G}_{k} for simplicity. Case (i) : In this case, as there is no feasible arm, the algorithm should output i_{out}=\phi under instance 0. Let \mathcal{S} be the set of all attributes of an arm, i.e. S=\{1,2,...,M\} and \mathcal{S}_{k} be the set of all attributes of arm k for which \mu_{kj}<\mu_{\text{TH}} . We define the other instances as follows : \mu_{kj}^{\prime}=\begin{cases}\mu_{\text{TH}}+\epsilon,&\text{if }j\in\mathcal{S}_{k}\\ \mu_{kj},&\text{otherwise}.\end{cases} Thus, we ensure that, under instance k , arm k is the unique optimal feasible arm as \mu_{kj}^{(k)}\geq\mu_{\text{TH}}\ (\forall j\in M) , while all the other arms remain infeasible. Since the algorithm \pi is \delta -PAC, we have \mathbb{P}_{\mathcal{G}_{0}}[i_{out}=k]<\delta , and for all other instances 1\leq k\leq N , we have \mathbb{P}_{\mathcal{G}_{k}}[i_{out}\neq k]<\delta or in other words, \mathbb{P}_{\mathcal{G}_{k}}[i_{out}=k]\geq 1-\delta . Lemma 2 (Lemma 1 in [ 13 ] ) . For any 1\leq j\leq N , \displaystyle\sum_{i=1}^{N}\mathbb{E}_{\mathcal{G}_{0}}[T_{i}(\tau^{(0)})]\cdot d\big(\mu_{i}^{(0)},\mu_{i}^{(k)}\big)\geq\sup_{\mathcal{E}\in\mathcal{G}_{0}}d\big(\mathbb{P}_{\mathcal{G}_{0}}(\mathcal{E}),~\mathbb{P}_{\mathcal{G}_{k}}(\mathcal{E})\big). In our case, as \mu_{i}^{(0)}=\mu_{i}^{(k)}\ (\forall i\neq k) , the inequality simplies into the following : \displaystyle\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})]\geq\frac{\sup_{\mathcal{E}\in\mathcal{G}_{0}}d\big(\mathbb{P}_{\mathcal{G}_{0}}(\mathcal{E}),~\mathbb{P}_{\mathcal{G}_{k}}(\mathcal{E})\big).}{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)} Now we use Lemma 2 to lower bound \mathbb{E}_{\mathcal{G}_{0}}[T_{i}(\tau^{(0)})] with the KL divergence. We define event \mathcal{E}_{k} to be { i_{out}=k } and using the arguments made above, we get: \displaystyle\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})]\geq\frac{d(\delta,1-\delta)}{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)} Therefore, we have \displaystyle\mathbb{E}_{\mathcal{G}_{0}}[\tau^{(0)}] \displaystyle\geq\sum_{k=1}^{N}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})] \displaystyle\geq\sum_{k=1}^{N}\frac{d(\delta,1-\delta)}{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)} \displaystyle\overset{\text{(a)}}{\geq}\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{{d\bigg(\frac{\sum_{j\in S}\mu_{kj}}{M},\frac{\sum_{j\in S}\mu_{kj}^{\prime}}{M}\bigg)}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{{d\bigg(\frac{\sum_{j\in S}\mu_{kj}}{M},\frac{\sum_{j\in S\setminus S_{k}}\mu_{kj}+\sum_{j\in S_{k}}\mu_{\text{TH}}+\epsilon}{M}\bigg)}} \displaystyle\overset{\text{(b)}}{\geq}\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{{d\bigg(\frac{\sum_{j\in S}\mu_{kj}}{M},\frac{\sum_{j\in S\setminus S_{k}}\mu_{kj}}{M}+\frac{|S_{k}|\cdot\mu_{\text{TH}}}{M}\bigg)}} \displaystyle\overset{\text{(c)}}{\geq}\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{c}{{2\bigg(\frac{\sum_{j\in S}\mu_{kj}}{M}-\bigg(\frac{\sum_{j\in S\setminus S_{k}}\mu_{kj}}{M}+\frac{|S_{k}|\cdot\mu_{\text{TH}}}{M}\bigg)\bigg)}^{2}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{\bigg(\sum_{j\in S_{k}}\big(\mu_{\text{TH}}-\mu_{kj}\big)\bigg)^{2}}\cdot\frac{M^{2}c}{2} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k=1}^{N}\frac{1}{|S_{k}|^{2}\big(\mu_{\text{TH}}-\min_{j}\mu_{kj}\big)^{2}}\cdot\frac{M^{2}c}{2} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\frac{M^{2}c}{2\cdot\max_{k}|S_{k}|^{2}}\sum_{k=1}^{N}\frac{1}{\big(\Delta_{k}^{attr}\big)^{2}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\frac{M^{2}c\ H_{\text{id}}}{2\cdot\max_{k}|S_{k}|^{2}} \displaystyle\overset{\text{(d)}}{\geq}\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)c_{1}{H_{\text{id}}}. Here, (a) follows from the fact that the KL Divergence between Bern( \delta ) and Bern( 1-\delta ) can be lower bounded by ln( \frac{1}{2.4\delta} ) and (b) is obtained by taking supremum over all \epsilon>0 . Inequality (c) follows from 1 and the constant c is given by: \displaystyle c=\min\bigg(\frac{\sum_{j\in S\setminus S_{k}}\mu_{kj}}{M}+\frac{|S_{k}|\cdot\mu_{\text{TH}}}{M},1-\Big(\frac{\sum_{j\in S\setminus S_{k}}\mu_{kj}}{M}+\frac{|S_{k}|\cdot\mu_{\text{TH}}}{M}\Big)\bigg). In (d) the constant c_{1} depends on the original instance and is given by: c_{1}=\frac{M^{2}c}{2\cdot\max_{k}|S_{k}|^{2}}\cdot Thus, we conclude that in this case the number of samples required for the algorithm to terminate can be lower bounded by c_{1}H_{\text{id}} or in other words, the number of samples are of the order of the hardness index ( H_{\text{id}} ). Case (ii) : All arms are feasible. Let’s assume without loss of generality that arm 1 is the best arm and define the event \mathcal{E} to be \{i_{out}\neq 1\} . So, under instance 0, the algorithm outputs arm 1 as the best arm and hence \mathbb{P}_{\mathcal{G}_{0}}[i_{out}\neq 1]<\delta . Let j^{\prime} be the attribute of arm 1 with the least expected reward i.e. j^{\prime}={\arg\min_{j}}\mu_{1j} . Under instance 1, we define \mu_{1j}^{\prime} as follows: \mu_{1j}^{\prime}=\begin{cases}\mu_{\text{TH}}-\epsilon,&j=j^{\prime}\\ \mu_{1j},&\text{otherwise}.\end{cases} By doing this, we make arm 1 infeasible and thus \mathbb{P}_{\mathcal{G}_{1}}[i_{out}\neq 1]\geq 1-\delta . Now, for all the other instances (2,...,N) , we define \mu_{kj}^{\prime}=\mu_{1}+\epsilon\ (\forall j\in M) . Thus, \mu_{k}^{\prime} becomes equal to \mu_{1}+\epsilon , making arm k the best arm and \mathbb{P}_{\mathcal{G}_{k}}[i_{out}\neq 1]\geq 1-\delta . Again, using the arguments made above and Lemma 2 , we can write: \displaystyle\mathbb{E}_{\mathcal{G}_{0}}[\tau^{(0)}] \displaystyle\geq\sum_{k=1}^{N}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})] \displaystyle\geq\sum_{k=1}^{N}\frac{d(\delta,1-\delta)}{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\bigg(\frac{1}{d\big(\mu_{1}^{(0)},\mu_{1}^{(1)}\big)}+\sum_{k=2}^{N}\frac{1}{{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\bigg(\frac{1}{d\big(\mu_{1},\mu_{1}-(\frac{\mu_{1j^{\prime}}+\epsilon-\mu_{\text{TH}}}{M})\big)}+\sum_{k=2}^{N}\frac{1}{{d\big(\mu_{k},\mu_{1}+\epsilon\big)}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\bigg(\frac{1}{d\big(\mu_{1},\mu_{1}-(\frac{\mu_{1j^{\prime}}-\mu_{\text{TH}}}{M})\big)}+\sum_{k=2}^{N}\frac{1}{{d\big(\mu_{k},\mu_{1}\big)}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\bigg(\frac{M^{2}c}{2\big(\mu_{1j^{\prime}}-\mu_{\text{TH}}\big)^{2}}+\sum_{k=2}^{N}\frac{\min(\mu_{1},1-\mu_{1})}{2\big(\mu_{1}-\mu_{k}\big)^{2}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\bigg(\frac{M^{2}c}{2(\Delta_{1}^{attr})^{2}}+\frac{\min(\mu_{1},1-\mu_{1})}{16(\Delta_{1}/2)^{2}}+\sum_{k=2}^{N}\frac{\min(\mu_{1},1-\mu_{1})}{16(\Delta_{k}/2)^{2}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\min\bigg(\frac{M^{2}c}{2},\frac{\min(\mu_{1},1-\mu_{1})}{16}\bigg)\bigg(\frac{1}{(\Delta_{1}^{attr})^{2}}+\frac{1}{(\Delta_{1}/2)^{2}}+\sum_{k=2}^{N}\frac{1}{(\Delta_{k}/2)^{2}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\min\bigg(\frac{M^{2}c}{2},\frac{\min(\mu_{1},1-\mu_{1})}{16}\bigg)\bigg(\frac{1}{\text{min}\big((\Delta_{1}^{attr})^{2},(\Delta_{1}/2)^{2}\big)}+\sum_{k=2}^{N}\frac{1}{(\Delta_{k}/2)^{2}}\bigg) \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\min\bigg(\frac{M^{2}c}{2},\frac{\min(\mu_{1},1-\mu_{1})}{16}\bigg)\cdot H_{\text{id}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)c_{2}H_{\text{id}}. Even for this case, we conclude that the number of samples required for an algorithm to terminate are of the order of hardness index. Again, c and c_{2} both depend on the original instance and are given by: \displaystyle c \displaystyle=\min\bigg(\mu_{1}-\big(\frac{\mu_{1j^{\prime}}-\mu_{\text{TH}}}{M}\big),1-\Big(\mu_{1}-\big(\frac{\mu_{1j^{\prime}}-\mu_{\text{TH}}}{M}\big)\Big)\bigg) \displaystyle c_{2} \displaystyle=\min\bigg(\frac{M^{2}c}{2},\frac{\min(\mu_{1},1-\mu_{1})}{16}\bigg). We now look at the general case where we have all types of arms. We again assume that arm 1 is the best arm and \mathcal{E}=\{i_{out}\neq 1\} . Note that for k such that arm k\in({\mathcal{F}}\cap\mathcal{S}+i^{*}) , we can create instances similar to case (ii) and obtain a lower bound. Likewise for all arms in (\bar{\mathcal{F}}^{c}\cap\mathcal{R}) , we increase the expected rewards of infeasible attributes similar to case (i), and given this, arm k now becomes the best arm as it was already risky and now we made it feasible as well. Further calculations for the bound are similar to that in case 1. Now, we only need to analyze the arms that belong to (\bar{\mathcal{F}}^{c}\cap\mathcal{S}) . Similar to the feasible and suboptimal arms, we define \mu_{kj}^{\prime}=\mu_{1}+\epsilon\ (\forall j\in M,\forall k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}) . For all these instances, arm k is now the best arm, and hence \mathbb{P}_{\mathcal{G}_{k}}[i_{out}\neq 1]\geq 1-\delta . So, we have: \displaystyle\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})] \displaystyle\geq\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{d(\delta,1-\delta)}{d\big(\mu_{k}^{(0)},\mu_{k}^{(k)}\big)} \displaystyle\geq\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{d(\delta,1-\delta)}{d\big(\mu_{k},\mu_{1}+\epsilon\big)} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{1}{d\big(\mu_{k},\mu_{1}\big)} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{\min(\mu_{1},1-\mu_{1})}{2\big(\mu_{1}-\mu_{k}\big)^{2}} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{\min(\mu_{1},1-\mu_{1})}{8\cdot\text{max}\big((\Delta_{k}^{attr})^{2},(\Delta_{k}/2)^{2}\big)} \displaystyle\geq\text{ln}\bigg(\frac{1}{2.4\delta}\bigg)c_{3}\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{1}{\text{max}\big((\Delta_{k}^{attr})^{2},(\Delta_{k}/2)^{2}\big)}, where c_{3}=\frac{\min(\mu_{1},1-\mu_{1})}{8} . Putting together the results obtained from the previous cases, we have: \displaystyle\mathbb{E}_{\mathcal{G}_{0}}[\tau^{(0)}] \displaystyle\geq\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})]+\sum_{k\in\{{\mathcal{F}}\cap\mathcal{S}+i^{*}\}}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})]+\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{R}}\mathbb{E}_{\mathcal{G}_{0}}[T_{k}(\tau^{(0)})] \displaystyle\geq\text{ln}\Bigg(\frac{1}{2.4\delta}\Bigg)\Bigg(\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\frac{c_{3}}{\text{max}\big((\Delta_{k}^{attr})^{2},(\Delta_{k}/2)^{2}\big)}+\frac{c_{2}}{\text{min}\big((\Delta_{1}^{attr})^{2},(\Delta_{1}/2)^{2}\big)}+\sum_{{\mathcal{F}}\cap\mathcal{S}}\frac{c_{2}}{(\Delta_{k}/2)^{2}}+\sum_{k\in\bar{\mathcal{F}}^{c}\cap\mathcal{R}}\frac{c_{1}}{\big(\Delta_{k}^{attr}\big)^{2}}\Bigg) \displaystyle\geq\text{ln}\Bigg(\frac{1}{2.4\delta}\Bigg)\cdot\min(c_{1},c_{2},c_{3})\cdot H_{\text{id}} \displaystyle=\text{ln}\Bigg(\frac{1}{2.4\delta}\Bigg)\cdot C(\nu,\mu_{\text{TH}})\cdot H_{\text{id}}, which completes the proof of the lower bound. PROOF OF UPPER BOUND To derive an upper bound on the sample complexity of CSS-LUCB, we first define some empirical sets as follows: \displaystyle\mathcal{S}_{t}:=\{i:U_{i}^{\mu}(t)<\bar{\mu}\},\quad\mathcal{R}_{t}:=\{i:L_{i}^{\mu}(t)>\bar{\mu}\},\quad\mbox{and} \displaystyle\mathcal{N}_{t}:=[N]\setminus(\mathcal{S}_{t}\cup\mathcal{R}_{t})=\{i:L_{i}^{\mu}(t)\leq\bar{\mu}\leq U_{i}^{\mu}(t)\}. Here, \mathcal{R}_{t} and \mathcal{S}_{t} can be thought of as empirical versions of \mathcal{R} and \mathcal{S} respectively. Next, we define the following events: \displaystyle E_{ij}^{\mu}(t):=\{|\hat{\mu}_{ij}(t)-\mu_{ij}|\leq\alpha(t,T_{ij}(t))\}, \displaystyle E_{i}^{\mu}(t):=\{|\hat{\mu}_{i}(t)-\mu_{i}|\leq\alpha(t,T_{i}(t))\}, \displaystyle E_{i}(t):=E_{i}^{\mu}(t)\bigcap\bigg(\underset{j\in[M]}{\bigcap}E_{ij}^{\mathrm{\mu}}(t)\bigg),\quad\forall\,i\in[N]. Further, for t\geq 2 , we define E(t):=\bigcap_{i\in[N]}E_{i}(t)\quad\mbox{and}\quad E:=\bigcap_{t\geq 2}E(t). Note that as we pull of all attributes of an arm in any round of CSS-LUCB, we can conclude that T_{ij}(t)=T_{i}(t) . We now show that given our definition of the confidence radius \alpha(t,T_{i}(t)) , the event E occurs with high probability. First of all, using Hoeffding’s inequality, we can claim that: \displaystyle\mathbb{P}[E_{ij}^{\mu}(t)^{c}]\leq\sum_{T_{ij}=1}^{t-1}2\cdot\exp(-2T_{ij}(t)\cdot\alpha(t,T_{ij})^{2})=\frac{\delta}{2NMt^{3}} \displaystyle\mathbb{P}[E_{i}^{\mu}(t)^{c}]\leq\sum_{T_{i}=1}^{t-1}2\cdot\exp(-2T_{i}(t)\cdot\alpha(t,T_{i})^{2})=\frac{\delta}{2NMt^{3}} Using DeMorgan’s laws and union bound, we can write: \displaystyle\mathbb{P}[E^{c}]\leq\mathbb{P}\Bigg[\underset{t\geq 2}{\bigcup}\Bigg(\underset{i\in[N]}{\bigcup}\Bigg(E_{i}^{\mu}(t)^{c}\bigcup\bigg(\underset{j\in[M]}{\bigcup}E_{ij}^{\mathrm{\mu}}(t)^{c}\bigg)\Bigg)\Bigg)\Bigg] \displaystyle\leq\sum_{t\geq 2}\Bigg(\sum_{i\in[N],j\in[M]}\mathbb{P}[[E_{ij}^{\mu}(t)^{c}]+\sum_{i\in[N]}\mathbb{P}[E_{i}^{\mu}(t)^{c}]\Bigg) \displaystyle\leq\sum_{t\geq 2}\Bigg(\sum_{i\in[N],j\in[M]}\bigg(\frac{\delta}{2NMt^{3}}\bigg)+\sum_{i\in[N]}\bigg(\frac{\delta}{2NMt^{3}}\bigg)\Bigg) \displaystyle\leq\sum_{t\geq 2}\frac{\delta}{2t^{3}}\bigg(1+\frac{1}{M}\bigg) \displaystyle\leq\frac{\delta}{8}\bigg(1+\frac{1}{M}\bigg) \displaystyle\leq\frac{\delta}{4}. Thus, we conclude that event E occurs with probability atleast 1-\frac{\delta}{4} . Given the definitions of our empricial sets and the CSS-LUCB algorithm, we can proceed in a manner similar to Lemma 3 in [ 11 ] to show that on the event E(t) , if CSS-LUCB does not terminate, then at least one of the following must hold: \displaystyle i_{t}\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t}) (9) \displaystyle c_{t}\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t}). (10) This gives us a sufficient condition for the termination of the algorithm i.e. when neither of the arms i_{t} or c_{t} belong to the set (\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t}). , the algorithm must have terminated. Our next aim is to show that after sufficiently many pulls of each arm (all its attributes), this set remains non empty with small probability. To begin with we define two quantities, for a sufficient large t , let u_{i}(t) be the smallest number of pulls of a suboptimal arm i such that \alpha(t,u_{i}(t)) is no greater than \Delta_{i} , i.e., u_{i}(t):=\left\lceil{\frac{1}{2(\Delta_{i})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil and v_{i}(t) be the smallest number of pulls of an arm i such that \alpha(t,u_{i}(t)) is no greater than \Delta_{i}^{attr} , i.e., v_{i}(t):=\left\lceil{\frac{1}{2(\Delta_{i}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil Lemma 3 . The function h:\mathbb{R}\rightarrow\mathbb{R} defined by h(x)=\exp\left(-2(\Delta_{i}^{\mathrm{v}})^{2}\big(\sqrt{x}-\sqrt{v_{i}(t)}\big)^{2}\right) is convex and decreasing on (4v_{i}(t),\infty) for all i\in[N] . Furthermore, \int_{4v_{i}(t)}^{\infty}h(x)\,\mathrm{d}x\leq\frac{\delta}{2(\Delta_{i}^{\mathrm{v}})^{2}Nt^{4}}. Next, we find the following probabilities : • Probability that a suboptimal arm i does not belong to the set \mathcal{S}_{t} , after being pulled more than 16u_{i}(t) times • Probability that the best arm i^{*} does not belong to the set \mathcal{R}_{t} , after being pulled more than 16u_{i^{*}}(t) times • Probability that a feasible arm i does not belong to the set \bar{\mathcal{F}_{t}} , after being pulled more than 4v_{i}(t) times • Probability that an infeasible arm i does not belong to the set \bar{\mathcal{F}_{t}}^{c} , after being pulled more than 4v_{i}(t) times (i) \displaystyle\mathbb{P}[T_{i}(t)>16u_{i}(t),i\notin\mathcal{S}_{t}] \displaystyle=\mathbb{P}[T_{i}(t)>16u_{i}(t),U_{i}^{\mu}(t)\geq\bar{\mu}] \displaystyle\leq\sum_{T=16u_{i}(t)+1}^{\infty}\mathbb{P}[T_{i}(t)=T,\hat{\mu}_{i}(t)-\mu_{i}\geq\bar{\mu}-\alpha(t,T)-\mu_{i}] \displaystyle\overset{(a)}{\leq}\sum_{T=16u_{i}(t)+1}^{\infty}\exp\left(-2T\left(\bar{\mu}-\alpha(t,T)-\mu_{i}\right)^{2}\right) \displaystyle\overset{(b)}{\leq}\sum_{T=16u_{i}(t)+1}^{\infty}\exp\left(-2T\left(\frac{\Delta_{i}}{2}-\sqrt{\frac{1}{2T}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right)^{2}\right) \displaystyle\leq\sum_{T=16u_{i}(t)+1}^{\infty}\exp\left(-2\Delta_{i}^{2}\left(\frac{\sqrt{T}}{2}-\sqrt{u_{i}(t)}\right)^{2}\right) \displaystyle\overset{(c)}{\leq}\int_{16u_{i}(t)}^{\infty}\exp\left(-2\Delta_{i}^{2}\left(\frac{\sqrt{x}}{2}-\sqrt{u_{i}(t)}\right)^{2}\right)\,\mathrm{d}x \displaystyle=\int_{4u_{i}(t)}^{\infty}4\exp\left(-2\Delta_{i}^{2}\left(\sqrt{x}-\sqrt{u_{i}(t)}\right)^{2}\right)\,\mathrm{d}x \displaystyle\overset{(d)}{\leq}\frac{4\delta}{4(\Delta_{i})^{2}MNt^{4}} \displaystyle\leq\frac{\delta}{4(\frac{\Delta_{i}}{2})^{2}MNt^{4}}. Here, (a) follows from Hoeffding’s inequality. The quantity \bar{\mu}-\alpha(t,T)-\mu_{i} is positive because for T>16u_{i}(t),\quad\alpha(t,T_{i}(t)) can be at most \Delta_{i}/4 , and \mu_{i} and \mu_{i} satisfy the following condition \frac{\Delta_{i}}{2}\leq\bar{\mu}-\mu_{i}\leq\Delta_{i} for any suboptimal arm. Inequality (b) follows from the same condition. As the integrand is convex and decreasing the summation can be upper bounded by the integral as done in (c), and (d) follows from 3 , (ii) Similarly for the best arm i^{*} : \displaystyle\mathbb{P}[T_{i^{*}}(t)>16u_{i^{*}}(t),i^{*}\notin\mathcal{R}_{t}] \displaystyle=\mathbb{P}[T_{i^{*}}(t)>16u_{i^{*}}(t),L_{i^{*}}^{\mu}(t)\leq\bar{\mu}] \displaystyle\leq\sum_{T=16u_{i^{*}}(t)+1}^{\infty}\mathbb{P}[T_{i}(t)=T,\hat{\mu}_{i^{*}}(t)-\mu_{i^{*}}\leq-(\mu_{i^{*}}-\bar{\mu}-\alpha(t,T))] \displaystyle\overset{(a)}{\leq}\sum_{T=16u_{i^{*}}(t)+1}^{\infty}\exp\left(-2T\left(\frac{\Delta_{i^{*}}}{2}-\alpha(t,T)\right)^{2}\right) \displaystyle\overset{(b)}{\leq}\frac{\delta}{4(\frac{\Delta_{i^{*}}}{2})^{2}MNt^{4}}. Here (a) uses the fact \frac{\Delta_{i^{*}}}{2}=\mu_{i^{*}}-\bar{\mu} and (b) follows from arguments similar to case (i). Also note that we can claim the following: \displaystyle\mathbb{P}[T_{i}(t)>16u_{i}(t),i\in\mathcal{N}_{t}]\leq\mathbb{P}[T_{i}(t)>16u_{i}(t),i\notin\mathcal{S}_{t}]\leq\frac{\delta}{4(\frac{\Delta_{i}}{2})^{2}MNt^{4}} (11) \displaystyle\mathbb{P}[T_{i^{*}}(t)>16u_{i^{*}}(t),i^{*}\in\mathcal{N}_{t}]\leq\mathbb{P}[T_{i^{*}}(t)>16u_{i^{*}}(t),i^{*}\notin\mathcal{R}_{t}]\leq\frac{\delta}{4(\frac{\Delta_{i^{*}}}{2})^{2}MNt^{4}}. (12) (iii) Let j^{\prime}=\underset{j}{\text{argmin}}\ L_{ij}\ \forall i\in[N] . Also, as the confidence radii for all the attributes of an arm are the same (in CSS-LUCB), we can claim that if j^{\prime\prime}=\underset{j}{\text{argmin}}\ \hat{\mu}_{ij},\ j^{\prime}=j^{\prime\prime} . Define j_{min}=\underset{j}{\text{min}}\ \mu_{ij} . Now, for a feasible arm i\in\mathcal{F} , we can write: \displaystyle\mathbb{P}[T_{i}(t)>4v_{i}(t),i\in\partial\mathcal{F}_{t}] \displaystyle\leq\mathbb{P}[T_{i}(t)>4v_{i}(t),i\notin\mathcal{F}_{t}] \displaystyle=\mathbb{P}[T_{i}(t)>4v_{i}(t),L_{ij^{\prime}}<\mu_{\text{TH}}] \displaystyle=\sum_{T=4v_{i}(t)+1}^{\infty}\mathbb{P}[T_{i}(t)=T,\hat{\mu_{ij^{\prime}}}-\alpha(t,T)<\mu_{\text{TH}}] \displaystyle=\sum_{T=4v_{i}(t)+1}^{\infty}\mathbb{P}[T_{i}(t)=T,\hat{\mu_{ij^{\prime}}}-\mu_{ij^{\prime}}<-(\mu_{ij^{\prime}}-\mu_{\text{TH}}-\alpha(t,T))] \displaystyle\overset{(a)}{\leq}\sum_{T=4v_{i}(t)+1}^{\infty}\exp\left(-2T\left({\mu_{ij^{\prime}}}-\mu_{\text{TH}}-\alpha(t,T)\right)^{2}\right) \displaystyle\overset{(b)}{\leq}\sum_{T=4v_{i}(t)+1}^{\infty}\exp\left(-2T\left({\mu_{ij_{min}}}-\mu_{\text{TH}}-\alpha(t,T)\right)^{2}\right) \displaystyle\overset{(c)}{\leq}\sum_{T=4v_{i}(t)+1}^{\infty}\exp\left(-2T\left(\Delta_{i}^{attr}-\sqrt{\frac{1}{2T}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right)^{2}\right) \displaystyle\leq\sum_{T=4v_{i}(t)+1}^{\infty}\exp\left(-2(\Delta_{i}^{attr})^{2}\left(\sqrt{T}-\sqrt{v_{i}(t)}\right)^{2}\right) \displaystyle\leq\int_{4v_{i}(t)}^{\infty}\exp\left(-2(\Delta_{i}^{attr})^{2}\left(\sqrt{x}-\sqrt{u_{i}(t)}\right)^{2}\right)\,\mathrm{d}x \displaystyle\leq\frac{\delta}{4(\Delta_{i}^{attr})^{2}MNt^{4}}. (13) To arrive at (a), we again use Hoeffding’s inequality. The term \mu_{ij^{\prime}}-\mu_{\text{TH}}-\alpha(t,T) is positive as \mu_{ij^{\prime}}-\mu_{\text{TH}}\geq\Delta_{i}^{attr} , and for T>4v_{i}(t),\ \alpha(t,T) is at most \Delta_{i}^{attr}/2 . Inequality (b) follows from the fact that \mu_{ij_{min}}=\underset{j}{min}\ \mu_{ij} and (c) uses the fact that \Delta_{i}^{attr}=\mu_{ij_{min}}-\mu_{\text{TH}} . Finally, in (d), we again use Lemma 3 to get the upper bound on the probability. (iv) Keeping the definitions of j^{\prime} and j_{min} the same, for an arm i\in\mathcal{F}^{c} , we can show that: \displaystyle\mathbb{P}[T_{i}(t)>4v_{i}(t),i\in\partial\mathcal{F}_{t}] \displaystyle\leq\mathbb{P}[T_{i}(t)>4v_{i}(t),i\notin\mathcal{\bar{F}}_{t}^{c}] \displaystyle=\mathbb{P}[T_{i}(t)>4v_{i}(t),U_{ij}>\mu_{\text{TH}}]\quad(\forall j\in[M]) \displaystyle\overset{(a)}{\leq}\mathbb{P}[T_{i}(t)>4v_{i}(t),U_{ij_{min}}>\mu_{\text{TH}}] \displaystyle\leq\sum_{T=4v_{i}(t)+1}^{\infty}\mathbb{P}[T_{i}(t)=T,\hat{\mu_{ij_{min}}}-\mu_{ij_{min}}>(\mu_{\text{TH}}-\mu_{ij_{min}}-\alpha(t,T))] \displaystyle\overset{(b)}{\leq}\frac{\delta}{4(\Delta_{i}^{attr})^{2}MNt^{4}}. (14) In this case, (a) follows as the event \{T_{i}(t)>4v_{i}(t),U_{ij}>\mu_{\text{TH}}\quad(\forall j\in[M])\} is a subset of the event \{T_{i}(t)>4v_{i}(t),U_{ij_{min}}>\mu_{\text{TH}}\} and (b) is obtained by using arguments similar to previous cases. Next using 11 , 12 , 13 and 14 , we show that after sufficiently many pulls, any of the arms belongs to the set. (\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t}) with low probability. • For any feasible and suboptimal arm i\in\mathcal{F}\cap\mathcal{S} , after T_{i}(t)>16u_{i}(t) , we showed in 11 that \mathbb{P}[i\in\mathcal{N}_{t}] as well as \mathbb{P}[i\notin\mathcal{S}_{t}] , with probability \frac{\delta}{4(\frac{\Delta_{i}}{2})^{2}MNt^{4}} , and thus: \displaystyle\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})] \displaystyle\leq\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})]+\mathbb{P}[i\in(\mathcal{F}_{t}\cap\mathcal{N}_{t})] \displaystyle\leq\mathbb{P}[i\notin\mathcal{S}_{t}]+\mathbb{P}[i\in\mathcal{N}_{t}] \displaystyle\leq\frac{\delta}{2(\frac{\Delta_{i}}{2})^{2}MNt^{4}}. • For the best arm i^{*} , note that if we show that i^{*}\in(\mathcal{F}_{t}\cap\mathcal{R}_{t})^{c} with low probability or in other words, it belongs to (\mathcal{F}_{t}\cap\mathcal{R}_{t}) with high probability, it implies that it belongs to the set (\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t}) with low probability. Thus, for T_{i^{*}}(t)>\text{max}(16u_{i^{*}}(t),4v_{i^{*}}(t)) using 12 and 13 \displaystyle\mathbb{P}[i^{*}\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})] \displaystyle\leq\mathbb{P}[i^{*}\in(\mathcal{F}_{t}\cap\mathcal{R}_{t})^{c}] \displaystyle=\mathbb{P}[i^{*}\in(\mathcal{F}_{t}^{c}\cup\mathcal{R}_{t}^{c})] \displaystyle\leq\mathbb{P}[i^{*}\in\mathcal{F}_{t}^{c}]+\mathbb{P}[i^{*}\in\mathcal{R}_{t}^{c}] \displaystyle=\mathbb{P}[i^{*}\notin\mathcal{F}_{t}]+\mathbb{P}[i^{*}\notin\mathcal{R}_{t}] \displaystyle\leq\frac{\delta}{4(\Delta_{i^{*}}^{attr})^{2}MNt^{4}}+\frac{\delta}{4(\frac{\Delta_{i^{*}}}{2})^{2}MNt^{4}}. • For an infeasible and risky arm i\in\mathcal{F}^{c}\cap\mathcal{R} , after T_{i}(t)>4v_{i}(t) , using 14 \displaystyle\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})] \displaystyle\leq\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})]+\mathbb{P}[i\in(\mathcal{F}_{t}\cap\mathcal{N}_{t})] \displaystyle\leq\mathbb{P}[i\in\partial\mathcal{F}_{t}]+\mathbb{P}[i\in\mathcal{F}_{t}] \displaystyle\leq\mathbb{P}[i\in\partial\mathcal{F}_{t}]+\mathbb{P}[i\notin\bar{\mathcal{F}_{t}^{c}}] \displaystyle\leq\frac{\delta}{2(\Delta_{i}^{attr})^{2}MNt^{4}}. • For an infeasible and suboptimal arm i\in\mathcal{F}^{c}\cap\mathcal{S} , if 16u_{i}(t)\geq 4v_{i}(t) , \displaystyle\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})]\leq\frac{\delta}{2(\Delta_{i}^{attr})^{2}MNt^{4}} and if 16u_{i}(t)<4v_{i}(t) , \displaystyle\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})]\leq\frac{\delta}{2(\frac{\Delta_{i}}{2})^{2}MNt^{4}}. Ignoring the ceiling operator, we can write \displaystyle\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})]\leq\frac{\delta}{2\cdot\text{max}\big((\Delta_{i}^{attr})^{2},(\frac{\Delta_{i}}{2})^{2}\big)MNt^{4}}. Let t be a sufficiently large integer and \mathcal{T}:=\{\lceil t/2\rceil,\ldots,t-1\} . Recall that the conditions 9 and 10 hold if and only if the event E(t) occurs. The algorithm does not terminate at any s\in\mathcal{T} either if the event E(s) does not occur or if E(s) occurs and any of the arms belongs to the set (\partial\mathcal{F}_{s}\backslash\mathcal{S}_{s})\cup(\mathcal{F}_{s}\cap\mathcal{N}_{s}) . We define the event F_{s}= {algorithm does not terminate at time s}. The algorithm fails to terminate at time t if the conditions are not met at some s\in\mathcal{T} and thus, using union bound, the probability that the algorithm does not terminate at time t can be upper bounded as follows : \displaystyle\mathbb{P}[F_{t}] \displaystyle\leq\sum_{s\in\mathcal{T}}\mathbb{P}[F_{s}] \displaystyle\leq\sum_{s\in\mathcal{T}}\bigg(\mathbb{P}[E(t)^{c}]+\sum_{i\in[N]}\mathbb{P}[i\in(\partial\mathcal{F}_{t}\backslash\mathcal{S}_{t})\cup(\mathcal{F}_{t}\cap\mathcal{N}_{t})]\bigg) \displaystyle\leq\sum_{s\in\mathcal{T}}\bigg(\frac{\delta}{2s^{3}}\Big(1+\frac{1}{M}\Big)+\frac{\delta}{2MNs^{4}}\Big(\sum_{i\in\mathcal{F}\cap\mathcal{S}}\frac{1}{(\frac{\Delta_{i}}{2})^{2}}+\sum_{i\in\mathcal{F}^{c}\cap\mathcal{R}}\frac{1}{(\Delta_{i}^{attr})^{2}}+ \displaystyle\qquad\qquad\sum_{i\in\mathcal{F}^{c}\cap\mathcal{S}}\frac{1}{\text{max}\big((\Delta_{i}^{attr})^{2},(\frac{\Delta_{i}}{2})^{2}\big)}+\frac{1}{2(\Delta_{i^{*}}^{attr})^{2}}+\frac{1}{2(\frac{\Delta_{i^{*}}}{2})^{2}}\Big)\bigg) \displaystyle\leq\frac{2\delta}{t^{2}}\Big(1+\frac{1}{M}\Big)+\sum_{s\in\mathcal{T}}\bigg(\frac{\delta}{2MNs^{4}}\Big(\sum_{i\in\mathcal{F}\cap\mathcal{S}}\frac{1}{(\frac{\Delta_{i}}{2})^{2}}+\sum_{i\in\mathcal{F}^{c}\cap\mathcal{R}}\frac{1}{(\Delta_{i}^{attr})^{2}}+ \displaystyle\qquad\qquad\sum_{i\in\mathcal{F}^{c}\cap\mathcal{S}}\frac{1}{\text{max}\big((\Delta_{i}^{attr})^{2},(\frac{\Delta_{i}}{2})^{2}\big)}+\frac{1}{2\cdot\text{min}\big((\Delta_{i^{*}}^{attr})^{2},(\frac{\Delta_{i^{*}}}{2})^{2}\big)}+\frac{1}{2\cdot\text{min}\big((\Delta_{i^{*}}^{attr})^{2},(\frac{\Delta_{i^{*}}}{2})^{2}\big)}\Big)\bigg) \displaystyle\overset{(a)}{\leq}\frac{2\delta}{t^{2}}\Big(1+\frac{1}{M}\Big)+\frac{\delta\cdot H_{\text{id}}}{2MN}\sum_{s\in\mathcal{T}}\frac{1}{s^{4}} \displaystyle\overset{(b)}{\leq}\frac{4\delta}{t^{2}}+\frac{2\delta\cdot H_{\text{id}}}{t^{3}}. Here (a) follows from the definition of hardness index and (b) uses the fact that M\geq 1 and N\geq 2 . From our analysis, the additional number of time steps after \left\lceil\frac{t}{2}\right\rceil-1 required for the algorithm to terminate ( T_{max} ) are given by: \displaystyle T_{max}=\max\{16u_{i^{\star}}(t),4v_{i^{\star}}(t)\}+\sum_{i\in\mathcal{F}\cap\mathcal{S}}16u_{i}(t) \displaystyle\;+\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{R}}4v_{i}(t)+\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\min\{16u_{i}(t),4v_{i}(t)\}. If we chose t=CH_{\text{id}}\ \text{ln}(H_{\text{id}}/\delta) , this can further be upper bounded as follows: \displaystyle T_{max} \displaystyle=\max\left\{16\left\lceil{\frac{1}{2\Delta_{i^{\star}}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil,4\left\lceil{\frac{1}{2(\Delta_{i^{\star}}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil\right\}+16\sum_{i\in\mathcal{F}\cap\mathcal{S}}\left\lceil{\frac{1}{2\Delta_{i}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil \displaystyle\quad+4\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{R}}\left\lceil{\frac{1}{2(\Delta_{i}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil+\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\min\left\{16\left\lceil{\frac{1}{2\Delta_{i}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil,4\left\lceil{\frac{1}{2(\Delta_{i}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\rceil\right\} \displaystyle\leq 16N+\max\left\{16{\frac{1}{2\Delta_{i^{\star}}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)},4{\frac{1}{2(\Delta_{i^{\star}}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\}+16\sum_{i\in\mathcal{F}\cap\mathcal{S}}{\frac{1}{2\Delta_{i}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)} \displaystyle\quad+4\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{R}}{\frac{1}{2(\Delta_{i}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}+\sum_{i\in\bar{\mathcal{F}}^{c}\cap\mathcal{S}}\min\left\{16{\frac{1}{2\Delta_{i}^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)},4{\frac{1}{2(\Delta_{i}^{attr})^{2}}\ln\left(\frac{4MNt^{4}}{\delta}\right)}\right\} \displaystyle\leq 16N+2H_{\text{id}}\ln\left(\frac{4MNt^{4}}{\delta}\right) \displaystyle\leq 16N+2H_{\text{id}}\ \text{ln}(4)+2H_{\text{id}}\ \text{ln}\left(\frac{N}{\delta}\right)+2H_{\text{id}}\ \text{ln}(M)+8H_{\text{id}}\ \text{ln}\left(CH_{\text{id}}\ \text{ln}\Big(\frac{H_{\text{id}}}{\delta}\Big)\right) \displaystyle\overset{(a)}{\leq}(16+2\ \text{ln}(4)+8\ \text{ln}(C))H_{\text{id}}+2H_{\text{id}}\ \text{ln}\left(\frac{N}{\delta}\right)+2H_{\text{id}}\ \text{ln}(M)+16H_{\text{id}}\ \text{ln}\Big(\frac{H_{\text{id}}}{\delta}\Big) \displaystyle\overset{(b)}{\leq}(16+2\ \text{ln}(4)+8\ \text{ln}(C)+2+2+16)\ H_{\text{id}}\ \text{ln}\Big(\frac{H_{\text{id}}}{\delta}\Big) \displaystyle=(36+2\ \text{ln}(4)+8\ \text{ln}(C))\ H_{\text{id}}\ \text{ln}\Big(\frac{H_{\text{id}}}{\delta}\Big) \displaystyle\overset{(c)}{\leq}\frac{1}{2}CH_{\text{id}}\ \text{ln}\Big(\frac{H_{\text{id}}}{\delta}\Big). To arrive at (a), we use the fact that H_{\text{id}}<(H_{\text{id}}/\delta) and (H_{\text{id}}/\delta)>\text{ln}(H_{\text{id}}/\delta) . To obtain (b), we notice that for Bernoulli reward distributions N159H_{\text{id}}\ \text{ln}(H_{\text{id}}/\delta)>6 with probability at least {6\delta}/{t^{2}} . So it succeeds after O(H_{\mathrm{id}}\ln({H_{\mathrm{id}}}/{\delta})) time steps with probability at least 1-({\delta}/{4}+{6\delta}/{6^{2}})\geq 1-\delta and this completes the proof of upper bound.