Active Bipartite Ranking with Smooth Posterior Distributions James Cheshire, Stephan Clémençon Abstract In this article, bipartite ranking, a statistical learning problem involved in many applications and widely studied in the passive context, is approached in a much more general active setting than the discrete one previously considered in the literature. While the latter assumes that the conditional distribution is piece wise constant, the framework we develop permits in contrast to deal with continuous conditional distributions, provided that they fulfill a Hölder smoothness constraint. We first show that a naive approach based on discretisation at a uniform level, fixed a priori and consisting in applying next the active strategy designed for the discrete setting generally fails. Instead, we propose a novel algorithm, referred to as smooth-rank and designed for the continuous setting, which aims to minimise the distance between the ROC curve of the estimated ranking rule and the optimal one w.r.t. the sup \sup norm. We show that, for a fixed confidence level ε > 0 \varepsilon>0 and probability δ ∈ ( 0 , 1 ) \delta\in(0,1) , smooth-rank is PAC ( ε , δ ) (\varepsilon,\delta) . In addition, we provide a problem dependent upper bound on the expected sampling time of smooth-rank and establish a problem dependent lower bound on the expected sampling time of any PAC ( ε , δ ) (\varepsilon,\delta) algorithm. Beyond the theoretical analysis carried out, numerical results are presented, providing solid empirical evidence of the performance of the algorithm proposed, which compares favorably with alternative approaches. 1 Introduction Whether in the medical field (diagnostic assistance), in signal processing (anomaly detection), in finance (credit-risk screening) or in automatic document retrieval (search engines), the goal pursued is not always to learn how to predict a binary label Y , valued in \{0,1\} say ( e.g. ill vs healthy, abnormal vs normal, default vs repayment, irrelevant vs relevant) based on some related random input information X like in binary classification, the flagship problem in machine-learning. More often, the aim is to learn a (real valued) ranking function f(x) so as to order all possible values x for X like any increasing transform of the posterior probability \eta(x)=\mathbb{P}(Y=1\mid X=x) would do. This statistical learning problem is known as Bipartite Ranking and, due to the wide range of its applications, has received much attention these last few years. Because of its global (and not local) nature, the gold standard to measure ranking performance is of functional nature, namely the P - P plot referred to as the \mathrm{ROC} curve, i.e. the plot of the true positive rate \mathbb{P}(f(X)>t\mid Y=1) against the false negative rate \mathbb{P}(f(X)>t\mid Y=0) as the threshold t\in\mathbb{R} varies. Most of the works documented in the literature consider the passive batch learning situation, where the ranking function f(x) is first built based on the preliminary observation of n\geq 1 independent copies of the generic random pair (X,Y) in the training stage and next applied to new (temporarily) unlabeled observations in the test/predictive phase. Various algorithmic approaches and dedicated theoretical guarantees have been elaborated, based on direct optimization of the empirical \mathrm{ROC} curve (see 14 or 9 for instance) or on maximization of scalar summary criteria such as the \rm AUC ( i.e. the empirical Area Under the \mathrm{ROC} Curve), refer to e.g. 1 , 11 or 26 . Various extensions of the original framework have been recently studied: Multipartite Ranking , which corresponds to the case where the ordinal label Y takes a (finite) number of values strictly larger than 2 , is considered in 12 , the situation, referred to as as Continuous Ranking ), where Y is a continuous real valued r.v. is investigated in 10 while the case where no label is available, known as Unsupervised Ranking , is investigated in 13 . In bipartite ranking, the statistical framework is as follows. One observes n\geq 1 independent copies \{(X_{1},Y_{1}),\;\ldots,\;(X_{n},Y_{n})\} of a generic random pair (X,Y)\in[0,1]\times\{0,1\} . We assume X is draw in uniformly from [0,1] and models some information hopefully useful to predict Y . Specifically, Y\sim\mathcal{D}_{X} , for some unknown distribution \mathcal{D}_{X} . In contrast to classification, the goal pursued is of global (and not local) nature. It is not to assign a label, positive or negative, to any new input observation X but to rank any new set of (temporarily unlabeled) observations X^{\prime}_{1},\;\ldots,\;X^{\prime}_{n^{\prime}} by means of a (measurable) scoring function s:[0,1]\rightarrow\mathbb{R} , so that those with greater labels appear on top of the list ( i.e. are those with the highest scores) with high probability. More formally, the accuracy of any scoring rule can be evaluated through the \mathrm{ROC} curve criterion or its popular scalar summary, the \rm AUC (standing for the Area Under the \mathrm{ROC} Curve), and, as expected, optimal scoring functions w.r.t. these performance measures can be shown to be increasing transforms of the posterior probability \eta(x)=\mathbb{P}(Y=1\mid X=x) . Though easy to formulate, this problem encompasses many applications, ranging from credit risk screening to the design of decision support tools for medical diagnosis through (supervised) anomaly detection. The vast majority of dedicated articles consider the batch situation solely, where the learning procedure fully relies on a set of training examples given in advance, however, more recently in 8 , bipartite ranking has been considered in an active learning framework. In such an active setting the learner is able to formulate queries in a sequential manner, so as to observe the labels at new data points in order to refine progressively the scoring/ranking model. In the work of 8 a key (restrictive) assumption is made that the regression function \eta is piece wise constant on a grid of known size K on the feature space. In one dimension, this means the learner assumes there are some (\mu_{k})_{k\in[K]}\in[0,1]^{K} such that: \eta(x)=\sum_{i=1}^{K}\mu_{k}\mathbb{I}\big(x\in[i/K,(i+1)/K)\big)\;. (1) where \mathbb{I} denotes the indicator function. As pointed out in 8 , we see that under the assumption of Equation ( 1 ), the problem becomes equivalent to a multi armed bandit . In the multi armed bandit problem, the learner is presented with a set of K "arms", each one corresponding to some unknown distribution. The learner then plays a game of several rounds, where in each round the learner must choose one of the K arms from which they receive a sample from the corresponding distribution, see 23 for an overview. Much of the literature on multi armed bandits concerns maximisation of cumulative reward, however, several strands of literature consider so called "pure exploration" bandit problems, where the learner does not care about there cumulative reward, but rather aims to uncover some underlying property of the arms. The classical example of a pure exploration bandit problem is best arm identification. We see that, as K , the size of the grid upon which \eta is assumed to be piecewise constant, is taken as known to the learner, the problem under assumption of Equation ( 1 ) is then equivalent to a K armed pure exploration bandit problem - one can view each piece wise constant section of the grid as an arm. In this setup, as studied in 8 , the goal of the learner is to uncover the ranking of the arms, with their regret given by the ROC criterion. A fundamental problem, recognised in the bandit literature, is that, assuming one has a finite set of arms, which can all be sampled in reasonable time, is unsuitable in practice. There have been various responses to this problem, one being continuous armed bandits, otherwise known as \mathcal{X} -armed bandits. Here, instead of a finite set of arms, one considers a function on some feature space \mathcal{X} . The actions of the learner now correspond to querying points of the feature space and receiving noisy evaluations of the function at said points. Many works have considered the classical bandit problems of minimising cumulative regret and best arm identification, in the \mathcal{X} -armed bandit setting, see 5 , 16 , 4 , 2 and 24 . As the above works have considered classical bandit problems in the \mathcal{X} -armed setting, our goal in this paper is to consider the problem of bipartite ranking in a continuous setting. That is, we remove the piece wise constant assumption on \eta , which is rather assumed to be a continuous function, subject to certain smoothness constraints, as in the classic \mathcal{X} -armed bandit setting. Our contributions In this paper we consider the bipartite ranking problem under a smoothness constraint on the posterior \eta . Specifically, we remove the piece wise constant assumption of 8 and instead assume that the regression function \eta is \beta -Hölder smooth in each dimension, see Assumption 1 , where \beta is known to the learner . We describe an algorithm, smooth-rank , which sequentially queries points of the feature space \mathcal{X} . Given a confidence level \varepsilon>0 and probability \delta>0 , the goal of smooth-rank is, in a few queries as possible, to output a ranking of \mathcal{X} , such that the induced ROC curve of said ranking is within \varepsilon of the optimal ROC curve, in terms of the sup norm, with probability greater than 1-\delta . Theorem 1 then shows that smooth-rank satisfies the above statistical guarantee and provides an upper bound on it’s expected total number of queries. In Theorem 2 , we also demonstrate a lower bound on the expected number of queries of any PAC (\varepsilon,\delta) algorithm, matching the upper bound of Theorem 1 , up to log terms. 2 Background and Preliminaries Notation Here we introduce several dedicated notions that will be extensively used in the subsequent analysis. By \lambda is meant the Lebesgue measure on [0,1]^{d} . For any a,\;b in [0,1] , \Ber(a) refers to the Bernoulli distribution with mean a and \kl(a,b) to the Kullback Leibler divergence between the Bernoulli distributions \Ber(a) and \Ber(b) . The indicator function of any event \xi is denoted by \mathbb{I}\mathopen{}\mathclose{{\left(\xi}}\right) , for d\in\mathbb{N},\varepsilon>0 , we write \mathcal{E}_{d}(\varepsilon) for the \varepsilon -net on [0,1]^{d} and for x\in[0,1]^{d} , r>0 , \mathcal{B}_{x}^{d}(r) for the d -dimensional ball of radius r centered at x . Bipartite ranking A rigorous formulation of ranking involves functional performance measures. Let \mathcal{S} be the set of all scoring functions, any s\in\mathcal{S} defines a preorder \preceq_{s} on \mathcal{X} : for all x,x^{\prime}\in\mathcal{X} , x\preceq_{s}x^{\prime}\Leftrightarrow s(x)\leq s(x^{\prime}) . From a quantitative perspective, the accuracy of any scoring rule, can be evaluated through the \mathrm{ROC} curve criterion, namely the PP-plot t\in\mathbb{R}\mapsto(1-H_{s}(t),\;1-G_{s}(t)) , where H_{s}(t)=\mathbb{P}\mathopen{}\mathclose{{\left\{s(x)\leq t\mid Y=0}}\right\} and G_{s}(t)=\mathbb{P}\mathopen{}\mathclose{{\left\{s(x)\leq t\mid Y=1}}\right\} , for all t\in\mathbb{R} . The curve can also be viewed as the graph of the càd-làg function \alpha\in(0,1)\mapsto\mathrm{ROC}(s,\alpha)=1-G_{s}\circ H^{-1}_{s}(1-\alpha) . The notion of \mathrm{ROC} curve defines a partial order on the set of all scoring functions (respectively, the set of all preorders on \mathcal{X} ): s_{1} is more accurate than s_{2} when \mathrm{ROC}(s_{2},\alpha)\leq\mathrm{ROC}(s_{1},\alpha) for all \alpha\in(0,1) . As can be proved by a straightforward Neyman-Pearson argument, the set \mathcal{S}^{*} of optimal scoring functions is composed of increasing transforms of the posterior probability \eta(x)=\mathbb{P}\{Y=1\mid X=x\} , x\in\mathcal{X} . We have \mathcal{S}^{*}=\{s\in\mathcal{S}:\;\;\forall x,\;x^{\prime}\in[0,1]^{d},\;\;\eta(x)<\eta(x^{\prime})\Rightarrow s^{*}(x). An alternative convention to represent the ROC of a scoring function s , which we will use for the remainder of this paper, is to consider the broken line \widetilde{\mathrm{ROC}}(s,.) , which arises from connecting the PP-plot by line segments at each possible jump of the cdf H_{s} . From here on out when referring to the \mathrm{ROC} of a scoring function s , we refer to the broken line \widetilde{\mathrm{ROC}}(s,.) . The active learning setting Whereas in the batch mode, the construction of a nearly optimal scoring function ( i.e. a function s\in\mathcal{S} such that d_{\infty}(s,s^{*}) is ’small’ with high probability) is based on a collection of independent training examples given in advance, the objective of an active learner is to formulate queries in order to recover sequentially the optimal preorder on the feature space \mathcal{X} defined by the supposedly unknown function \eta . That is, the active learner plays a game with multiple time steps, where, at time each step t>0 , they must choose a point a_{t}\in\mathcal{X} to query, so as to observe the random label Y_{t}\sim\mathcal{B}er\mathopen{}\mathclose{{\left(\eta(a_{t})}}\right) and refine the scoring model incrementally. After a sufficient number of rounds has elapsed, chosen at the learner’s discretion, a final scoring function \hat{\eta} , is output. We refer to the regret of the learner as the distance in the sup-norm between the ROC curves of \hat{\eta} and \eta , that is the regret of the learner is given as, d_{\infty}(\eta,\hat{\eta}) . Assumptions on the feature space and posterior We assume the feature space \mathcal{X} is of the form [0,1]^{d} for some dimension d\in\mathbb{N} . We assume that the regression function, i.e. the posterior probability \eta is \beta -Holder smooth in each dimension, see Assumption 1 . Assumption 1 . For some \beta>0 , known to the learner, there exists a constant C>0 such that \forall,x,y\in[0,1]^{d} , \forall i\leq d,|\eta(x_{i})-\eta(y_{i})|\leq C|x_{i}-y_{i}|^{\beta}\;. For clarity we assume C=1 , otherwise our results and algorithms would change only in the constant terms, which would then depend upon C . We write \mathcal{B} for the set of all problems, where each problem \nu\in\mathcal{B} is defined by a specific posterior probability \eta:\mathcal{X}\rightarrow[0,1] satisfying Assumption 1 . For simplicity, we suppress the dependency upon the smoothness constant \beta and dimension d in the notation \mathcal{B} . Policies and fixed confidence regime. We denote the outputted scoring function of the learner \hat{\eta}\in S . The way the learner interacts with the environment - i.e. their choice of points to query, how many samples to draw in total and their choice of \hat{\eta}\in S , we term the policy of the learner. We write \mathcal{C} for the set of all possible policies of the learner. For a policy \pi\in\mathcal{C} and problem \nu\in\mathcal{B} we denote random variable \tau_{\nu}^{\pi} as the stopping time of policy \pi . We write \hat{\eta}_{\nu}^{\pi} for the scoring function outputted by policy \pi on problem \nu . Where obvious we may drop the dependency on \pi,\nu in the notation, referring to the scoring function outputted by the learner as simply \hat{\eta} . We write \mathbb{P}_{\nu,\pi} as the distribution on all samples gathered by a policy \pi on problem \nu . We similarly define \mathbb{E}_{\nu,\pi} . For the duration of this paper we will work in the fixed confidence regime . For a confidence level \varepsilon>0 and \delta>0 , a policy \pi is said to be PAC (\delta,\varepsilon) (probably approximately correct), on the class of problems \mathcal{B} , if, \forall\nu\in\mathcal{B},\;\mathbb{P}_{\nu,\pi}\mathopen{}\mathclose{{\left(d_{\infty}(\hat{\eta},\eta)\leq\varepsilon}}\right)\geq 1-\delta\;. (2) The goal of the learner is to then obtain a PAC (\delta,\varepsilon) policy \pi , such that the expected stopping time in the worst case, \sup_{\nu\in\mathcal{B}}\mathbb{E}_{\nu,\pi}[\tau_{\nu}^{\pi}] , is minimised. Problem complexity With the term "problem complexity", we refer to the minimum number of samples the learner can expect to draw, while remaining PAC (\varepsilon,\delta) . It is a quantity that will depend upon the features the problem, i.e. the shape of the posterior \eta . Our problem complexity will follow from 8 where the authors consider the problem under the assumption \eta is piece wise constant on a uniform grid of known size K , where the sequence of means \mu_{1},...\mu_{K} denote the value of \eta on each grid point, see Equation ( 1 ). In 8 , the authors demonstrate that, for a grid point i\in[K] , a PAC (\varepsilon,\delta) learner must be able to correctly distinguish \mu_{i}>\mu_{j} vs \mu_{j}>\mu_{i} for all j\in[K]:|\mu_{i}-\mu_{k}|\leq\Delta_{i} , where, \Delta_{i}:=\min\bigg\{z>0:z\sum_{i\neq j}\mathbb{I}\big(|\mu_{i}-\mu_{j}|\leq x\big)\geq K\varepsilon p(1-\mu_{i})\bigg\}\;. Furthermore they show that this gap \Delta_{i} is tight, in the sense that if the learner cannot correctly distinguish \mu_{i}>\mu_{j} vs \mu_{j}>\mu_{i} for all pairs i,j:|\mu_{j}-\mu_{i}|\geq\Delta_{i} , they are not PAC (\delta,\varepsilon) , see Lemmas 2.2 and 2.3 in 8 . We adapt the discrete gap \Delta_{i} to our continuous setting as follows, for a point x\in\mathcal{X} define the following gap \Delta(x) , \Delta(x):=\min\bigg\{z>0:z\lambda(\{y:|\eta(x)-\eta(y)|\leq z\})\geq\varepsilon p(1-\eta(x))\bigg\}\wedge(1-\eta(x))\;, (3) where p:=\int_{x\in[0,1]^{d}}\eta(x)\;dx and we remind the reader that \lambda denotes the Lebesgue measure on [0,1]^{d} . The gap \Delta(x) can be seen as the minimum radius of the ball around x , such that in the worst case, miss ranking all points in \mathcal{B}_{\Delta(x)}^{d}(x) , in comparison to x , one suffers more than \varepsilon regret, i.e. d_{\infty}(\hat{\eta},\eta)>\varepsilon . Naturally the gap \Delta(x) decreases with the tolerance parameter \varepsilon , the smaller our tolerance for error, the more precise we must be in our ranking. We note that \Delta(x) also depends on several properties of the regression function \eta in the neighborhood of x . Firstly, as the posterior probability at x increases compared to the average posterior probability p , the gap \Delta(x) will decrease. This follows our intuition, as points of the feature space with high posterior probability correspond to the start of the ROC curve, where the gradient is higher and small errors correspond to a greater regret. Secondly, when the set of points with similar posterior probability to x is large, the gap \Delta(x) will again decrease. This dynamic also follows our intuition, as misranking a large sections of the feature space, even if only by a small amount, can have a substantial effect on our regret. To correctly rank x against all points y:|\eta(x)-\eta(y)|\geq\Delta(x) , with high probability, the learner will need an estimate of the posterior probability at x , with high probability and precision at least \Delta(x) . Referring to well known results from A/B testing, see 21 and the discussion in Section 2.2 of 8 , we see that, to do this, the learner will need to draw at least roughly \frac{1}{\kl(\eta(x)-\Delta(x),\eta(x)+\Delta(x))} samples from point x . Of course, the learner cannot sample all points in our continuous feature space, they must instead exploit the smoothness constraint of Assumption 1 , with this in mind, we now define the complexity of a point, H(x):=\frac{\Delta(x)^{-d/\beta}}{\kl(\eta(x)-\Delta(x),\eta(x)+\Delta(x))}\;, (4) with the minimum number of samples needed by the learner then of the order, \int_{x\in[0,1]^{d}}H(x)\;dx\;. Our sample complexity is seen to be well chosen, as it is attained by the upper and lower bounds of Theorems 1 and 2 respectively, up to constant and log terms. 2.1 Related literature Comparison to the discrete setting There is a wide range of literature concerning ranking in the discrete setting - that is, where one has a finite number of actions to rank. To the best of our knowledge the closest work to our own is that of 8 , as they consider directly the discrete version of our setting. For completeness we will first mention other related strands of literature. Several works consider the problem of ranking n experts based on there performance across m tasks. Recently, in 27 they consider this problem in the batch setting. Specifically they deal with the task of ranking the rows of a matrix with isotonic columns, from which the learner receives a batch of noisy observations. As pointed out in 8 , algorithms designed for the batch setting perform poorly in active bipartite ranking. In 28 the authors tackle the problem of ranking experts in an active learning setting, wherein the learner makes sequential queries to pairs of actions and experts, receiving a noisy evaluation of an experts performance on said action. They make a monotonictiy assumption on the experts, that is for each pair of experts, one outperforms the other on all tasks. If one restricts to the setting m=1 , their setting is very similar to that considered in 8 . However, crucially, they only consider the case where the learner is required to return a perfect ranking with high probability. This fundamentally changes the problem when compared to 8 and our own setting, as here the learner is only required to return an essentially " \varepsilon good ranking" - that is the the ROC curve of their estimated scoring function must be within epsilon of the optimal ROC curve, in the d_{\infty} distance. Another stream of literature concerns pairwise comparisons. In the active setting, see e.g. 19 , 17 . In 17 , each pair of actions i,j\in[K] has a corresponding probability M_{i,j} , being the probability item i beats item j . The correct ranking is then given by an ordering according to the Borda scores of the actions. Compared to our setting, differing strategies are required to deal with noisy pairwise comparisons. To estimate the Borda score of a particular action, one must sample many pairs. However, in our setting, one can estimate the score, i.e. the \eta of an action by sampling it in isolation. Furthermore in 17 , the goal of the learner is to give a perfect ranking with high probability, which again distances their work from our own. In the 15 the authors tackle the problem of finding a " \varepsilon -good" Borda ranking of the arms, in the sense that the learner cannot incorrectly rank any two arms who’s Borda scores differ by more than \varepsilon . In this setting, for a certain arm, one needs to ensure that either, it is well ranked against all others with high probability, or that the width of the confidence interval for the Borda score of said arm, is less than \varepsilon . In our setting, on the other hand, the required confidence for a single point is more complex. Due to the global nature of the ROC curve, it does not suffice to simply have the level of confidence at \varepsilon , across the feature space, but rather the confidence level must depend on local and global properties of the regression function, see Equation ( 4 ). For similar reasons, considering a PAC (\varepsilon,\delta) setup with regards to either the maximum difference between missed ranked arms or the number of incorrectly ranked arms, as in 6 , is of a very different nature to our work. Comparison to \mathcal{X} - armed bandits The \mathcal{X} armed bandit is well studied, particularly for the problems of optimisation and cumulative regret minimisation. As in our case, the majority of the literature makes some form of smoothness assumption on the regression function. For both optimisation and cumulative regret minimisation, it is natural to consider functions that are smooth around one of their global optima. This is in contrast to our setting, as ranking is a global problem, one needs a global smoothness constraint. In 5 the authors propose an algorithm HOO which utilises a hierarchical partitioning of the feature space, by iteratively growing a binary tree. When choosing the next node to split, they follow an optimistic policy, choosing the node with the highest upper bound on its expected payoff. Naturally, the expected utility of a node differs fundamentally from the case of optimisation to that of ranking. Further more, such a tree based algorithm would be cumbersome in our setting, as the width of KL divergence based confidence intervals varies across the feature space. The algorithm HOO takes the smoothness parameters as known, in 16 , and further developed in 4 , the authors consider the problem of optimisation and propose an algorithm POO , which takes HOO as a subroutine and runs across many smoothness parameters, this cross validation step is an attempt at dealing with unknown smoothness. In 16 the authors also consider a none topological smoothness assumption, that relates directly to the hierarchical partition of the feature space. Essentially, they assume that in the cell of depth h containing the optima, the regression function is close to the optima on some rate depending on h , this idea is further developed in 4 . It would be difficult to formulate our problem under such a hierarchical smoothness assumption. As the ranking problem is global, we would need to control the variance of the function in each cell, giving something similar to our Hölder smoothness assumption while being more cumbersome. In addition to optimisation, the \mathcal{X} armed bandit has been studied under cumulative regret minimisation. In 24 it is shown that optimal adaptation to the smoothness constraint is impossible when one wishes to minimise cumulative regret. The \mathcal{X} armed bandit has also seen interest for quantile and CVaR optimisation, see 29 . The \mathcal{X} armed bandit has also been considered in the noiseless setting, see 25 , 22 . There are multiple works considering infinite armed bandit problems where there is no topological relation between the arm indices and means, i.e. when the learner draws arms from a reservoir, see 7 , 3 , ( 20 ) , 18 . The lack of such topological relation gives the above literature a very different flavour to our own. Novelty of our results in comparison to 8 Let us consider the performance of a naive adaptation of the active-rank algorithm of 8 to our setting. The active-rank algorithm is designed to operate under the assumption that \eta is piece wise constant on some uniform grid of known size K . Under our Hölder smoothness constraint on \eta , if one runs active-rank on a uniform grid of high enough level, i.e. set K large enough, we can expect active-rank to be PAC (\varepsilon,\delta) in our setting. For this to be the case, roughly speaking, the discretisation error associated with our proposed adaptation must be at most \min_{x\in[0,1]}\Delta(x) . Consequently, for such a naive approach we would need to run the active-rank on the grid \mathcal{E}_{d}\mathopen{}\mathclose{{\left(\min_{x\in[0,1]^{d}}\Delta(x)^{1/\beta}}}\right) , i.e. set K=\min_{x\in[0,1]^{d}}\Delta(x)^{-d/\beta} which would then have roughly the following upper bound on expected sampling time, up to log terms, \sum_{i\in\mathcal{E}_{d}\mathopen{}\mathclose{{\left(\min\limits_{x\in[0,1]^{d}}\Delta(x)^{1/\beta}}}\right)}\max_{y\in[0,1]}\frac{1}{\kl(\eta(y)-\Delta_{i},\eta(y)+\Delta_{i})}\;, (5) where we let \Delta_{i} be the maximum of \Delta(x) for x in the ith section of the grid. The above bound can differ considerably from our sample complexity, Equation ( 4 ), in the case where the gap \Delta(x) varies across the feature space. In such cases, the level of discretisation may be far too high in certain parts of the feature space, resulting in the learner drawing an unnecessary number of samples. Such a cases are exactly the ones of interest, where one wishes to exploit the benefits of active learning. Also, to adapt the active-rank algorithm in such a way, one would need to have knowledge of \min_{x\in[0,1]^{d}}\Delta(x) , which is an unreasonable assumption in practice. For these two reasons, adapting the previous approach of 8 to our setting is not suitable and a novel approach is required. Our proposed algorithm, smooth-rank , is able to vary the level of discretisation across the interval, according to \Delta(x) , without requiring any knowledge of \Delta(x) itself. Furthermore, the theoretical bounds in 8 fail to exploit the fact that KL divergence based confidence intervals change in width across the interval [0,1] , being tighter when closer to 0 or 1. This problem is acknowledged and stated as an open question in 8 and our Theorem 1 correctly captures this dependency. 3 Main Theoretical Results 3.1 The smooth-rank algorithm We first establish some notation. We start at time t=0 and each time smooth-rank draws a sample we progress to the next time step. The algorithm smooth-rank exclusively samples points from the finite, active set of points \mathcal{X}_{t}\subset\mathcal{X} , where at each time step, there is the possibility of adding new points to \mathcal{X}_{t} . At time t , for i\in\mathcal{X}_{t} we write N_{t}(i) for the total number of samples drawn from point i up to time t and \hat{\mu}^{t}_{i} for the empirical mean of point i , calculated from all samples drawn from point i up to time t . For exploration parameter \beta(t,i,\delta):\mathbb{N}\times[0,1]^{d}\times\mathbb{R_{+}}\rightarrow\mathbb{R_{+}} , we then define the LCB and UCB index, \mathrm{LCB}(i,t):=\min\mathopen{}\mathclose{{\left\{q\in\mathopen{}\mathclose{{\left[0,\hat{\mu}^{t}_{i}}}\right]:\kl\mathopen{}\mathclose{{\left(\hat{\mu}^{t}_{i},q}}\right)\leq\frac{\beta(t,i,\delta)}{N_{t}(i)}}}\right\}\;, (6) \mathrm{UCB}(i,t):=\max\mathopen{}\mathclose{{\left\{q\in\mathopen{}\mathclose{{\left[\hat{\mu}^{t}_{i},1}}\right]:\kl\mathopen{}\mathclose{{\left(\hat{\mu}^{t}_{i},q}}\right)\leq\frac{\beta(t,i,\delta)}{N_{t}(i)}}}\right\}\;. (7) For the empirical gap at time t at point i , we write, \hat{\Delta}_{i,t}:=\mathrm{UCB}(i,t)-\mathrm{LCB}(i,t) . For t>0 , the algorithm smooth-rank maintains an estimate \widehat{p}_{t} of the proportion p , regularly updating \widehat{p}_{t} by drawing additional samples uniformly from [0,1]^{d} , see line 6 of smooth-rank . By slight abuse of notation, we write N_{t}(0) for the number of samples used to generate the empirical mean \widehat{p}_{t} at time t . We then define \mathrm{LCB}(0,t):=\min\mathopen{}\mathclose{{\left\{q\in\mathopen{}\mathclose{{\left[0,\hat{p}_{t}}}\right]:\kl\mathopen{}\mathclose{{\left(\hat{p}_{t},q}}\right)\leq\frac{\beta(t,0,\delta)}{N_{t}(0)}}}\right\}\;, as the lower confidence bound on our estimation of p and similarly define \mathrm{UCB}(0,t) . We write \hat{\Delta}_{0,t}=\mathrm{UCB}(0,t)-\mathrm{LCB}(0,t) for the width and upper and lower bounds of the confidence interval centered at \widehat{p}_{t} . The algorithm smooth-rank is an elimination algorithm, in that it maintains an active section of the feature space, denoted S_{t}\subset[0,1]^{d} at time t , with S_{0}=[0,1]^{d} and sequentially eliminates sections of the active set, until time t at which S_{t}=\emptyset . Sections are eliminated as follows, we maintain an active, finite, set of points \mathcal{X}_{t}\subset[0,1]^{d} , and smooth-rank draws samples from the intersection of the sets \mathcal{X}_{t}\cap S_{t} . At each time step we sample the point \mathop{\rm arg\,max}_{i\in\mathcal{X}_{t}\cap S_{t}}(\hat{\Delta}_{i,t}) , then, if a point i in \mathcal{X}_{t}\cap S_{t} satisfies our elimination rule, see Equation 8 , we remove it and the set of points in its neighborhood from S_{t} , specifically we remove the set, \{x:\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(\lVert j-x\rVert_{d})=i\} from S_{t} , see line 13 of smooth-rank . Note that we never remove points from \mathcal{X}_{t} , rather, once a point i\in\mathcal{X}_{t} does not exist in S_{t} , we no longer have the possibility of drawing samples from it. Our elimination rule is designed such that, we only eliminate sections of S_{t} , once we are sufficiently confident in their ranking. At all times we have a natural ordering on the points within \mathcal{X}_{t} , according to their empirical means, we can then also provide a scoring function of the entire feature space, \hat{\eta}_{t}(x)=\hat{\sigma}_{t}\mathopen{}\mathclose{{\left(\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(||j-x||_{d})}}\right)\>\;, where \hat{\sigma}_{t} is the permutation sorting (\widehat{\mu}^{t}_{i})_{i\in\mathcal{X}_{t}} into ascending order. The regret incurred by such a scoring function, i.e. d_{\infty}(\hat{\eta}_{t},\eta) can be controlled via our stochastic regret, that is the differences between the empirical and true means of points in \mathcal{X}_{t} and also our discretisation error, that is the error incurred by approximating the continuous function \eta from a finite set of points \mathcal{X}_{t} . For maximum efficiency we wish for our stochastic and discretisation errors to be roughly the same. We estimate our maximum stochastic error across our active set, at time t , via \Delta_{(t)}:=\max_{i\in\mathcal{X}_{t}\cap S_{t}}(\hat{\Delta}_{i,t}) . We then ensure that \mathcal{X}_{t} provides a covering of level \Delta_{(t)}^{1/\beta} on our active set S_{t} , adding new points to \mathcal{X}_{t} if necessary, see line 16 of smooth-rank . Thus via Assumption 1 , we maintain across all t , that our disctritisation error is of the same order as our estimated stochastic error. In this fashion, our algorithm smooth-rank adds new points to \mathcal{X}_{t} across the running time, as \Delta_{(t)} decreases with t . As a result, smooth-rank will vary the final discretisation level across the feature space - the longer a section of the feature space remains in the active set S_{t} , the greater the ultimate level of disctretisation will be on that section. As the max size of \mathcal{X}_{t} is not fixed, the exploration parameter will need to grow with the size of \mathcal{X}_{t} we will set \beta(t,i,\delta)=c\log(t^{2}\hat{\Delta}_{i,t}^{-d/\beta}/\delta) , with c>0 an absolute constant. This is in contrast to the active-rank algorithm of 8 , which does not have this problem as they have an upper bound K , on the number of points the algorithm will draw samples from. Elimination rule Roughly speaking, we wish to design our elimination rule, such that, a point i\in\mathcal{X}_{t} satisfies our elimination rule when \Delta_{(t)}\lesssim\Delta(i) . To do this, we will use our estimates of the \Delta(i) , \hat{\Delta}_{i,t} , via their maximum \Delta_{(t)} and define our elimination rule as follows. At time t>0 for i\in\mathcal{X}_{t} , z>0 , define, U_{i,t}(z):=\mathopen{}\mathclose{{\left\{j\in\mathcal{X}_{t}\cap S_{t}:|\widehat{\mu}_{i}^{t}-\widehat{\mu}_{j}^{t}|\leq z}}\right\} and then define the set of points to be eliminated at the end of round t as, \mathcal{Q}_{t}:=\Bigg\{i\in\mathcal{X}_{t}\cap S_{t}:\Delta_{(t)}\leq\mathopen{}\mathclose{{\left(\frac{\varepsilon\hat{p}_{t}}{\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|}\wedge 1}}\right)(1-\widehat{\mu}_{i}^{t})\Bigg\}\;. (8) If a point i is in \mathcal{Q}_{t} , itself and its neighborhood, specifically the set \{x:\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(\lVert j-x\rVert_{d})=i\} , is removed from the active set S_{t} , i.e. S_{t+1}=S_{t}\setminus\bigcup_{i\in\mathcal{Q}_{t}}\{x:\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(\lVert j-x\rVert_{d})=i\} . Algorithm 1 smooth-rank 1: Input: \varepsilon>0,\delta>0,\beta>0 2: Initialise: S_{0}=[0,1]^{d} , \mathcal{X}_{0}=\mathcal{E}_{d}(0.5) 3: repeat 4: if \hat{\Delta}_{0,t}\geq\Delta_{(t)} then 5: repeat 6: Update the empirical mean \widehat{p}_{t} by Y_{t} where a_{t} is drawn uniformly from [0,1]^{d} 7: until \hat{\Delta}_{0,t}\leq\max_{i\in\mathcal{X}_{t}\cap S_{t}}(\hat{\Delta}_{i,t}) 8: else 9: Sample point \mathop{\rm arg\,max}_{i\in\mathcal{X}_{t}\cap S_{t}}(\hat{\Delta}_{i,t}) 10: end if 11: for i\in S_{t}\cap\mathcal{X}_{t} do 12: if i\in\mathcal{Q}_{t},\max_{i\in\mathcal{X}_{t}\cap S_{t}}(\hat{\Delta}_{i,t})\leq\hat{p}_{t}/4 then 13: S_{t}=S_{t}\setminus\{x:\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(\lVert j-x\rVert_{d})=i\} 14: end if 15: end for 16: Let \tilde{n}_{t}=\min\mathopen{}\mathclose{{\left(n:2^{-n}\leq\Delta_{(t)}^{1/\beta}}}\right) . Add the points \mathcal{E}_{d}(2^{-\tilde{n}_{t}})\cap S_{t}\setminus\mathcal{X}_{t} to \mathcal{X}_{t} . 17: until S_{t}=\emptyset 18: Let \hat{\sigma} be the permutation sorting (\widehat{\mu}^{t}_{i})_{i\in\mathcal{X}_{t}} into ascending order. 19: Output: \hat{\eta}(x)=\hat{\sigma}\mathopen{}\mathclose{{\left(\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(||j-x||_{d})}}\right) Figure 1 : (Left) Regression function \eta , generated by random walk. (Right) Scoring function outputted by smooth-rank . As mentioned, for smooth-rank , the final level of discretisation will differ across the feature space. The goal is for the local level of discretisation, to ultimately match the local gap \Delta(x) . Otherwise, our discretisation error is either too large, or we sample an unnecessary number of points. As an illustrative example, in Figure 1 we see both the true regression function \eta and the scoring function outputted by smooth-rank . We see the algorithm has a higher level of discretisation where \eta is more flat, as the gap, \Delta(x) will be smaller on this section. In addition to our varying level of discretisation, our algorithm smooth-rank is further distanced from active-rank as follows. Instead of pulling all points in the active set at each time step, it samples only the one with maximum gap. This change allows us to capture the true dependence on KL divergence based confidence intervals, an open question stated in 8 . 3.2 Theoretical guarantees for smooth-rank In the following Theorem we demonstrate that smooth-rank is PAC (\varepsilon,\delta) , as in Equation ( 2 ) and provide an upper bound on its expected sampling time. Theorem 1 . For \varepsilon,\delta>0 , with \beta(t,i,\delta)=c\log(t^{2}\hat{\Delta}_{i,t}^{-d/\beta}/\delta) where c>0 is an absolute constant, on all problems \nu\in\mathcal{B} , we have that smooth-rank is PAC (\varepsilon,\delta) , and it’s expected sampling time is upper bounded by, c^{\prime}\int_{x\in[0,1]^{d}}H(x)\log\mathopen{}\mathclose{{\left(c^{\prime\prime}H(x)/\delta}}\right)\;dx\;, where c^{\prime},c^{\prime\prime}>0 are absolute constants. Note that the rate exhibited in Theorem 1 depends upon the dimension d , through the sample complexity H(x) . 3.3 Sketch proof of Theorem 1 The proof of Theorem 1 can be split into two parts. The first is to show that the algorithm smooth-rank is PAC (\varepsilon,\delta) , see Lemma 4 in the Appendix, the second is to then upper bound the expected stopping time of smooth-rank , see Lemma 7 in the Appendix. We will now provide a sketch of proof. All referenced Propositions and Lemmas, can be found in the Appendix, along with their respective proofs. Proving smooth-rank is PAC (\varepsilon,\delta) To prove smooth-rank is PAC (\varepsilon,\delta) , we will consider the favourable event, where at each time step, the true values of \eta at the sampled points, are within their respective confidence intervals. We define and bound the probability of such an event in the following Lemma. Lemma 5 . We have that the event, \mathcal{E}=\bigcap_{t\in\mathbb{N}}\bigcap_{i\in[\mathcal{X}_{t}]}\bigg\{\eta(i)\in[\mathrm{LCB}(t,i),\mathrm{UCB}(t,i)]\bigg\}\;\cap\bigg\{p\in[\mathrm{LCB}(t,0),\mathrm{UCB}(t,0)]\bigg\}\;, (9) occurs with probability greater than 1-\delta . The proof of Lemma Lemma can be found in Appendix B . While similar in nature to Lemma 3.1 of 8 , our Lemma Lemma does not follow immediately from a concentration inequality and a union bound, the reason being our exploration parameter grows with the size of the grid. Instead we apply multiple union bounds over many grids, which increase in size geometrically. To suffer less than \varepsilon regret, we know intuitively that, for any given x , the learner must be able to correctly rank the pair x,y for all y:|\eta(x)-\eta(y)|\leq\Delta(x) . Our careful choice of elimination rule ensures that points are only removed from the active set S_{t} , when we are confident that this condition is satisfied. The following Lemma demonstrates this property. Lemma 6 . Upon execution of smooth-rank , on event \mathcal{E} , for all x\in[0,1]^{d} , we have that, \forall y:|\eta(x)-\eta(y)|\leq\Delta(x), \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;. The proof of Lemma 6 follows from Propositions 2 and 3 , found in the Appendix. The remainder of proof that smooth-rank is PAC (\varepsilon,\delta) , then follows as in 8 , from analysis of the ROC curve of \hat{\eta} , under the condition of Lemma 6 . Upper bounding the expected sampling time of smooth-rank Having demonstrated that smooth-rank is PAC (\varepsilon,\delta) , to complete the proof of Theorem 1 , it remains to upper bound the expected total number of samples smooth-rank draws across its running time. In the discrete setting, as studied in 8 , \eta is piece wise constant on some uniform grid of known size K and one can then upper bound the total expected number of samples, by upper bounding the expected number of samples on each individual section of the grid. In our continuous setting this strategy is no longer viable, as our level of discretisation will not be fixed across the feature space. However, we can expect certain subsections of the feature space, on which the gap \Delta(x) does not vary too much, to have similar levels of discretisation. To upper bound the expected number of samples drawn by smooth-rank on the feature space [0,1]^{d} , we will first upper bound the expected number of total samples on a given subset of the feature space W\subset[0,1]^{d} . We write N(W) for the total number of samples the learner draws on W and \Delta_{W}=\min_{x\in W}(\Delta(x)) . In what follows, c,c^{\prime} are absolute constants which change line by line. First we define the sequence (t_{i})_{i\in\mathbb{N}} , where t_{i}:=\mathop{\rm arg\,min}\Bigg\{s:\frac{\log(s^{2}\Delta_{W}^{-d/\beta}/\delta)}{s}\leq\max_{x\in W}\kl\mathopen{}\mathclose{{\left(\eta(x),\eta(x)+2^{-i}\Delta_{W}/120}}\right)\Bigg\}\;, (10) we suppress the dependence on W in the notation t_{i} . Roughly speaking once points in W have been sampled t_{i} times, we can expect their confidence intervals to be tight enough, such that they are removed from the active set with probability quickly converging to 1 as i increases. As the actions of the algorithm are indexed by a global time t , we define T_{i} as the global time at which a point in W is first sampled t_{i} times, that is, T_{i}:=\min\mathopen{}\mathclose{{\left(s:\exists j\in\mathcal{X}_{s}\cap W,N_{j}(s)\geq t_{i}}}\right) . We are now ready to define our "good event" \xi_{W,i} . Essentially on this event, at time T_{i} , when a point in W is first sampled t_{i} times, the empirical means of all active points, \mathcal{X}_{T_{i}}\cap S_{t} , will be within a distance \Delta_{W} multiplied by a small constant, to their true means, specifically we define, \xi_{W,i}:=\{\forall j\in\mathcal{X}_{T_{i}}\cap S_{T_{i}},|\widehat{\mu}_{j}^{T_{i}}-\eta(j)|\leq\Delta_{W}/120\}. First, we upper bound the probability of the event \xi_{W,i} not occurring, \mathbb{P}(\xi_{W,i}^{c})\leq c2^{-i}t_{i}^{-3}\;, (11) where c>0 is an absolute constant, see Proposition 4 . We then go on to show that on the event \xi_{W,i} , all points in W are eliminated from the active set by time T_{i} , i.e. S_{T_{i}}\cap W=\emptyset see Proposition 6 . While Proposition 6 uses similar techniques to the proof of Lemma A.6 in 8 , these techniques themselves adapted from the fixed confidence best arm identification literature, our event \xi_{W,i} is fundamentally different to that considered in 8 . The remaining components of the proof, up to Proposition 13 deal with difficulties specific to the continuous setting and have no counterpart in 8 . The total number of samples the learner draws on W does not only depend upon the number of times individual points in W are sampled, but also the number of distinct points sampled in W . The number of points in W depends upon the discretisation level of the algorithm, \Delta_{(T_{i})} in that we can upper bound the number of points in W as follows, |\mathcal{X}_{t}\cap W|\leq\Delta_{(T_{i})}^{-d/\beta}\lambda(W)\;, however, we would like our upper bound to depend on \Delta_{W} , not \Delta_{(T_{i})} as the latter is a random variable. Thus, we demonstrate, that on the event \xi_{W,i} we \Delta_{(T_{i})} is close to 2^{-i}\Delta_{W} , see Proposition 5 . This result then gives us our upper bound on the number of points in W , |\mathcal{X}_{t}\cap W|\leq(2^{-i}\Delta_{W})^{-d/\beta}\lambda(\bar{W})\;, and from this a bound on the total number of samples drawn from points in W . N(W)\leq\lambda(W)(2^{-i}\Delta_{W})^{-d/\beta}t_{i}\;, (12) Via a combination of Equations ( 11 ) and ( 12 ), we have that for all i>0 \mathbb{P}\mathopen{}\mathclose{{\left(N(W)\leq\lambda(W)(2^{-i}\Delta_{W})^{-d/\beta}t_{i}}}\right)\leq c2^{-i}t_{i}^{-3}\;. Considering the above for all i\in\mathbb{N} , we are then able to demonstrate the following upper bound on \mathbb{E}[N(W)] , \frac{\mathbb{E}[N(W)]}{\lambda(W)}\leq c\Delta^{-d/\beta}_{W}\max_{x\in W}H(x)\log(c^{\prime}H(x)/\delta)\;, (13) see the proof Proposition 9 for the exact derivation of Equation ( 13 ). Finally we consider the sequence of sets, indexed by n,k\in\mathbb{N} , as, G_{n,k}=\mathopen{}\mathclose{{\left\{x:\Delta(x)\in[2^{-n},2^{-n-1}],H(x)\in[2^{-k},2^{-k-1}]}}\right\}\;. We then use ( 13 ), for the following upper bound, \sum_{n,k=1}^{\infty}\mathbb{E}[N(G_{n,k})]\leq c\sum_{n,k\in\lambda(G_{n,k})\mathbb{N}}\max_{x\in G_{n,k}}\Delta(x)^{-d/\beta}H(x)\log(c^{\prime}H(x)/\delta)\;, where c>0 is an absolute constant, see Proposition 13 . It then remains to lower bound the integral, c\sum_{n,k\in\lambda(G_{n,k})\mathbb{N}}\max_{x\in G_{n,k}}\Delta(x)^{-d/\beta}H(x)\log(c^{\prime}H(x)/\delta)\leq c^{\prime}\int_{x\in[0,1]^{d}}\frac{\Delta(x)^{-d/\beta}\log(H(x))}{\kl(\eta(x)-\Delta(x),\eta(x)+\Delta(x))}\;dx\;, where c,c^{\prime}>0 are absolute constants. 3.4 Lower bound In the following theorem we demonstrate a lower bound on the expected sampling time of any PAC (\varepsilon,\delta) algorithm, for the 1 dimensional case, the proof can be found in section D . Theorem 2 . Let \varepsilon\in[0,1/4),0<\delta<1-\exp(-1/8),d=1 and \nu\in\mathcal{B} . For any PAC (\varepsilon,\delta) policy \pi , there exists a problem \bar{\nu}\in\mathcal{B} such that, for all x\in[0,1] , \bar{\Delta}(x)\geq\Delta(x)/2 where \bar{\Delta}(x) is the gap of point x on problem \bar{\nu} , where the expected stopping time of policy \pi on problem \bar{\nu} is bounded as follows, c^{\prime}\int_{x\in[0,1]^{d}}\bar{H}(x)\;dx\;, where c^{\prime}>0 is an absolute constant and \bar{H}(x) is the complexity of point x on problem \bar{\nu} . We see that the above lower bound matches our upper bound on the expected sampling time of smooth-rank , see Theorem 1 , up to logarithmic terms. 3.5 Continuous label fixed threshold setting In the continuous label fixed threshold setting, the setup is as follows. We no longer restrict the labels Y to take a binary value in \{0,1\} , but rather allow for continuous labels, taking a value in \mathbb{R} . That is, when sampling a point x\in[0,1]^{d} , the learner observes the realisation of some random variable, with distribution function F_{x} . For a fixed threshold \rho\in(0,1) , known to the learner, we can then define the regression function \eta_{\rho}(x)=1-F_{x}(\rho)=\mathbb{P}(Y\geq\rho|X=x) . For \rho\in(0,1) , the ROC curve of a scoring function s , is then the PP-plot t\in\mathbb{R}\mapsto(1-H_{s}^{\rho}(t),\;1-G_{s}^{\rho}(t)) , where H_{s}(t)=\mathbb{P}\mathopen{}\mathclose{{\left\{s(x)\leq t\mid Y<\rho}}\right\} and G_{s}(t)=\mathbb{P}\mathopen{}\mathclose{{\left\{s(x)\leq t\mid Y\geq\rho}}\right\} , for all t\in\mathbb{R} . Now the set \mathcal{S_{\rho}}^{*} of optimal scoring functions is composed of increasing transforms of the posterior probability \eta_{\rho}(x)=\mathbb{P}\{Y\geq\rho\mid X=x\} . The setup is then exactly the same as in the binary label setting, the learner must ensure, given threshold \rho>0 , their estimated scoring function \hat{\eta}_{\rho} , satisfies, d_{\infty}(\eta_{\rho},\hat{\eta}_{\rho})\leq\varepsilon , with probability greater than 1-\delta , while minimising their expected number of samples. Our results extend to this setting, see Appendix section A where we propose the algorithm continuous-smooth-rank , which is similar to smooth-rank but makes it’s decisions on confidence intervals based on the Dvoretzky–Kiefer–Wolfowitz inequality as opposed to the KL divergence. 4 Numerical Experiments Figure 2 : (Top left, top right respectively) Performance of smooth-rank compared with active-rank , for scenario 1 and scenario 2, for K=(100,200,300,400,500), regret estimated by 50 Monte Carlo realisations of each algorithm. (Bottom left, bottom right respectively) Example simulation of scenario 1 and 2. To the best of our knowledge, ranking an \mathcal{X} -armed bandit has not been considered in the literature. We can instead compare with discrete methods, adapted to the \mathcal{X} -armed setting. The most suitable candidate is the active-rank algorithm of 8 , as they consider directly the discrete version of our setting and the active-rank algorithm is shown to perform well against other potential competitors. The algorithm active-rank takes as a parameter K , relating to the piece wise constant assumption of 8 , see Equation ( 1 ). As in our setting we make no such assumption, we will run the active-rank algorithm across multiple values of K . We compare the performance of the algorithms active-rank and smooth-rank , on 1-Hölder smooth regression functions \eta , where each \eta is a step function, where the step values correspond to the path taken by some random walk on the interval [0,1] . We consider two scenarios: in scenario 2, \eta is generated by a classical random walk, that is, if b_{t} is the state of the walk at time t , b_{t+1}=b_{t}+\phi_{t} , where \phi_{t} is iid, centered truncated gaussian noise. In scenario 1 the random walk used to generate \eta , when progressing from time t to t+1 , will remain constant with probability 0.9, i.e. with probability 0.9, b_{t+1}=b_{t} and otherwise, b_{t+1}=b_{t}+\phi_{t} , as in Scenario 2. The result is that, for scenario 1 the gap \Delta(x) will remain constant across large sections of the feature space, as opposed to scenario 2 where it will change more frequently. Thus, one could expect algorithms designed for the discrete case to perform better on scenario 1 than 2. This appears to be the case, Figure 2 shows how the regret, i.e. d_{\infty}(\hat{\eta},\eta) , of smooth-rank and active-rank evolve with increasing sampling time. We see that smooth-rank performs favourably against active-rank , especially for small sample times, with the difference being more striking in scenario 2. 4.1 Experiments on simulated credit risk data Carrying out experiments on real world data, in an active setting has inherent difficulties, i.e. one cannot simply train a classifier on already labeled data. As such, we propose to simulate an active setting, via a real world data set. Credit risk evaluation has been a key motivating application for bipartite ranking in the batch setting. We will use the Home Credit Default Risk Extensive EDA data set, which shows the credit default for over 30000 users, with variety of features. We focus on the features credit and annuity. The regression function, i.e. the posterior probability \eta being approximated via kernel regression, with the optimal bandwidth chosen via cross validation. The performance of our smooth-rank and the active-rank of 8 are then to be evaluated for said \eta . As with our synthetic experiments, we run the active-rank of 8 for a variety of K , this essentially gives the active-rank algorithm the "benefit of the doubt" and assumes one is somehow able to access the optimal or near optimal value of K , which in practice would require knowledge of the gaps \Delta(x) , see the discussion in Section 2.1 . In Figure 3 we see that smooth-rank performs well against active-rank when we simulating credit default rate, given user credit. Increasing the grid size K appears to have little effect on the performance of active-rank , suggesting a fixed level of discretisation is unsuitable in this setting. In the case of simulating credit default given user annuity, active-rank again outperforms active-rank for in for low sampling times, however, as the sampling times of the algorithms increases, the performance of smooth-rank begins to flat line, while that of active-rank continues to decrease, eventually outperforming smooth-rank . We conjecture that the limiting factor in the performance of smooth-rank is down to it’s fixed assumption on the smoothness constraint. The connection between the bandwidth of the kernel regression and the smoothness parameter passed to the algorithm is purely heuristic. It would be of interest to consider practical settings for which the smoothness parameter is known exactly and choosing a reasonable smoothness parameter \beta to pass to smooth-rank , remains an interesting question for the general case. In the above experiments, we only consider a small subset of the features, this is to keep running time manageable. Ideally one would do feature selection via say PCA, again, we leave this for a more application oriented work. As no attempt was made to minimise the constants appearing in Theorem 1 , they are likely to be largely overestimated. In the running of our experiments, the constants used in smooth-rank , differ from their theoretical counterparts. Figure 3 : (Top right, top left respectively) Result of KDE for modeling credit default risk given user credit and annuity on EDA data. (Bottom right, bottom left respectively) Performance of smooth-rank compared with active-rank , for credit default given user credit and annuity, for K=(500,600,700), regret estimated by 50 Monte Carlo realisations of each algorithm. 5 Discussion and Perspectives Adaptation to unknown smoothness Following the work done in optimisation, e.g. 16 and 4 , where the authors consider optimisation of the \mathcal{X} -armed bandit under unknown smoothness, a natural question is what happens when the smoothness parameter \beta is unknown in our bipartite ranking setting. However, in optimisation, adaptation to an unknown smoothness parameter is somewhat easier than in ranking. The reason being, one can take a sub routine, which requires a known smoothness parameter and run many such sub routines in parallel for varying degrees of smoothness. The output of the sub routine with best performance can then be chosen. However, in ranking - as opposed to optimisation, it is not so simple to judge the best ranking rule from a variety of contenders, or more specifically to our setting, judge when a ranking rule guarantees less than epsilon regret. Thus in our opinion, adaptation to smoothness constraints in active ranking, represents a unique and challenging problem, distinct from that faced in optimisation of continuous armed bandits. Multi partite and continuous label ranking Our results extend to the case where one observes a continuous label Y , and ranks the feature space according to the probability Y is above some fixed threshold \rho , known to the learner, see section A of the appendix. The case where the threshold \rho is not fixed - instead, for instance, equipped with some prior, remains an open problem. Also of interest is multipartite ranking, in this case the label Y takes a finite number of values, as opposed to being binary as in our setting. An active multipartite ranking would be closely related the ranking experts problem, see 28 , but with the modification that, for each query the learner observes the performance of an expert on a single problem, chosen at random, as apposed to the experts performance on all problems simultaneously. Appendix A Extension of results to continuous label fixed threshold setting In the continuous label fixed threshold setting, the setup is as follows. We no longer restrict the labels Y to take a binary value in \{0,1\} , but are rather allow for continuous labels, taking a value in \mathbb{R} . That is, when sampling a point x\in[0,1]^{d} , the learner observes the realisation of some real valued random variable, with distribution function F_{x} . For a fixed threshold \rho\in[0,1] , known to the learner we can then define the regression function \eta_{\rho}(x)=1-F_{x}(\rho)=\mathbb{P}(Y\geq\rho|X=x) . The setting then follows as in the bipartite case, indeed bipartite ranking can be seen as a restricted version of the continuous label setting. Our approach in the continuous label setting, will mirror that for bipartite ranking, the main difference being that our algorithm will base its decisions on confidence bounds constructed via the Dvoretzky–Kiefer–Wolfowitz (DKW) inequality, as opposed to the KL divergence. The DKW inequality controls the probability that an empirical distribution function differs from its true counterpart. Specifically, for some iid real valued random variables X_{1},...,X_{n} with distribution function F , we can define the empirical distribution, \hat{F}^{n}(x)=\frac{1}{n}\sum_{i=1}^{n}\mathbb{I}(X_{i}\geq x)\;, the DKW inequality then states, for \varepsilon>0 , \mathbb{P}\mathopen{}\mathclose{{\left(\sup_{x\in\mathbb{R}}|\hat{F}^{n}(x)-F(x)|\geq\varepsilon}}\right)\leq c\exp\mathopen{}\mathclose{{\left(-2n\varepsilon^{2}}}\right)\;. As the DKW is known to be tight in the worst case, it is reasonable to then update our sample complexity for the continuous label case as follows, H(x)=\Delta(x)^{-d/\beta-2}\;. As one can see, the DKW inequality is not locally dependent, i.e. for a fixed number of samples the width of the generated confidence bound is not dependent on the value of the respective empirical mean, as opposed to KL divergence based confidence intervals which become tighter as one approaches 0 or 1. As a result, our algorithm for the continuous label case is simpler than smooth-rank . We no longer sample the point in the active set with largest confidence interval, but rather progress round by round, where at each round all all points in the active set are sampled. That is, t no longer tracks the time step of the algorithm, with the algorithm taking one sample per time step. Instead, t tracks the number of rounds, with the algorithm drawing many samples per round. As a result, for a given round t , the widths of the confidence bound, on all points in the active will be constant, denoted \Delta_{(t)} , where, \Delta_{(t)}:=\mathop{\rm arg\,min}\mathopen{}\mathclose{{\left\{\Delta\in[0,1]:\Delta\geq\sqrt{\frac{\log(t^{2}\Delta^{-d/\beta}/\delta)}{t}}}}\right\}\;. With our new confidence interval in mind, the elimination rule then follows as for smooth-rank , \mathcal{Q}_{t}:=\mathopen{}\mathclose{{\left\{i\in\mathcal{X}_{t}\cap S_{t}:\Delta_{(t)}\leq\mathopen{}\mathclose{{\left(\frac{\varepsilon\hat{p}}{\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|}\wedge 1}}\right)(1-\widehat{\mu}_{i}^{t})}}\right\}\;. At round t , for a point i\in\mathcal{X}_{t} , let \hat{F}_{i}^{t}(\rho) denote the empirical distribution function of the point i , based on all samples collected from point i thus far. As in smooth-rank , we will maintain an estimate of the overall proportion \mathbb{P}(Y\geq\rho) , denoted \hat{F}^{t}_{0}(\rho) . Algorithm 2 continuous-smooth-rank Input: \varepsilon,\delta,\beta,\rho Initialise: S_{0}=[0,1]^{d} , \mathcal{X}_{0}=\mathcal{E}_{d}(0.5) , t=1 repeat Update the empirical mean \hat{F}_{0}^{t}(\rho) by x_{t} be a point drawn uniformly from [0,1]^{d} , Sample all points i\in\mathcal{X}_{t} once and update empirical means \hat{F}_{i}^{t}(\rho) . for i\in S_{t}\cap\mathcal{X}_{t} do if i\in\mathcal{Q}_{t},\Delta_{(t)}\leq\hat{F}_{0}^{t}/4 then S_{t}=S_{t}\setminus\{x:\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(\lVert j-x\rVert_{d})=i\} end if end for Let \tilde{n}=\min\mathopen{}\mathclose{{\left(n:2^{-n}\leq\Delta_{(t)}^{1/\beta}}}\right) . Add the points \mathcal{E}_{d}(2^{-\tilde{n}})\setminus\mathcal{X}_{t} to \mathcal{X}_{t} . t=t+1 until S_{t}=\emptyset Let \hat{\sigma} be the permutation sorting (\hat{F}^{t}_{i}(\rho))_{i\leq|\mathcal{X}_{t}|} into ascending order. Output: \hat{\eta}(x)=\hat{\sigma}\mathopen{}\mathclose{{\left(\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}}(||j-x||_{d})}}\right) The following Lemma mirrors Lemma 5 , adapted to the continuous label setting, Lemma 1 . We have that the event, \mathcal{E}=\bigcap_{t\in\mathbb{N}}\bigcap_{i\in[\mathcal{X}_{t}]}\{|\hat{F}_{i}^{t}(\rho)-F_{i}(\rho)|\leq\Delta_{(t)}\}\cap\{|\hat{F}_{0}^{t}(\rho)-\mathbb{P}(Y>\rho)|\leq\Delta_{(t)}\}\;, occurs with probability greater than 1-\delta . Proof. Let t>0 and i\in\mathcal{X}_{t} , via the DKW inequality we have that, \mathbb{P}\mathopen{}\mathclose{{\left(|\hat{F}_{i}^{t}(\rho)-F_{i}(\rho)|\leq\Delta_{(t)}}}\right)\leq\frac{\delta\Delta_{(t)}^{d/\beta}}{t^{2}} The proof of Lemma 1 then follows as in the proof of Lemma 5 .∎ With Lemma 1 in mind, as our elimination rule remains unchanged, the proof that continuous-smooth-rank is PAC (\varepsilon,\delta) , demonstrated in the following Lemma, follows as in the proof of 4 . Lemma 2 . For \varepsilon,\delta>0 , on all problems \nu\in\mathcal{B} , we have that continuous-smooth-rank is PAC (\varepsilon,\delta) . In the following Lemma we demonstrate an upper bound on the expected sampling time of continuous-smooth-rank . Lemma 3 . For \varepsilon,\delta>0,\rho\in(0,1) , on all problems \nu\in\mathcal{B} , we have that the expected sampling time of continuous-smooth-rank is upper bounded by, c^{\prime}\int_{x\in[0,1]^{d}}H(x)\log\mathopen{}\mathclose{{\left(c^{\prime\prime}H(x)/\delta}}\right)\;dx\;, where c^{\prime} , c^{\prime\prime} are absolute constants. Proof. To upper bound the expected sampling time of continuous-smooth-rank it is straightforward to adapt the proof of 7 , with some slight modifications. First we redefine the t_{i} s as follows, t_{i}=\mathop{\rm arg\,min}\mathopen{}\mathclose{{\left\{t:t\geq\frac{\log\mathopen{}\mathclose{{\left(2^{i}t^{2}\Delta_{(t)}^{-1/\beta}/\delta}}\right)}{\Delta_{W}^{2}}}}\right\} and then consider the slightly reformulated "good event", \xi_{W,t}:=\mathopen{}\mathclose{{\left\{\forall j\in\mathcal{X}_{t}\cap S_{t},|\hat{F}_{j}^{t}(\rho)-F_{j}(\rho)|\leq\Delta_{W}/120}}\right\}\cap\{|\mathbb{P}(Y\geq\rho)-\hat{F}_{0}^{t}(\rho)|\leq p/2\}\;. For t\geq t_{i} , via the DKW inequality we have that for i\in\mathcal{X}_{t} , \mathbb{P}\mathopen{}\mathclose{{\left(|\hat{F}_{i}^{t}(\rho)-F_{i}(\rho)|\leq\Delta_{W}/120}}\right)\leq\exp\mathopen{}\mathclose{{\left(-ct\Delta_{W}^{2}}}\right)\leq\delta t^{-2}2^{-i}\Delta_{(t)}^{-1/\beta}\;. and thus via a union bound, \mathbb{P}(\xi_{W,t}^{c})\leq\delta t^{-2}2^{-i} . This matches the result of Proposition 4 . What remains is to upper bound t_{0} similarly and the proof then follows as in the proof of Lemma 7 . ∎ Appendix B Proof that smooth-rank is PAC (\varepsilon,\delta) In this section we will prove the following Lemma which demonstrates the PAC (\varepsilon,\delta) guarantee for our algorithm smooth-rank . Lemma 4 . For \varepsilon,\delta>0 , with \beta(t,i,\delta)=c\log(t^{2}\hat{\Delta}_{i,t}^{-d/\beta}/\delta) where c is an absolute constant, on all problems \nu\in\mathcal{B} , we have that smooth-rank is PAC (\varepsilon,\delta) . The proof of Lemma 4 will follow from several sub lemmas and propositions. Firstly we bound the probability of a good event, on which all empirical means generated across the run time of the algorithm, are close to their true means. Lemma 5 . We have that the event, \mathcal{E}=\bigcap_{t\in\mathbb{N}}\bigcap_{i\in[\mathcal{X}_{t}]}\{\mu_{i}\in[\mathrm{LCB}(t,i),\mathrm{UCB}(t,i)]\}\cap\{p\in[\mathrm{LCB}(t,0),\mathrm{UCB}(t,0)]\;, occurs with probability greater than 1-\delta . Proof. Let T_{(i)} be the set of time points for which the set of points \mathcal{X}_{t} is of size between 2^{i} and 2^{i+1} , that is, T_{(i)}=\{t:2^{i}\leq|\mathcal{X}_{t}|\leq 2^{i+1}\}\;, let \mathcal{X}_{(i)} be the set of points, that are sampled on points of time in T_{(i)} , that is, \mathcal{X}_{(i)}:=\{j:\exists t\in T_{(i)}:a_{t}=j\}\;. We can rewrite event \mathcal{E} as, \bigcap_{i\in\mathbb{N}}\bigcap_{j\in\mathcal{X}_{(i)}}\bigcap_{t\in\{\mathbb{N}:\exists s\in T_{(i)}:N_{j}(s)=t\}}\{\mu_{k}\in[\mathrm{LCB}(t,i),\mathrm{UCB}(t,i)]\}\;. The sets \mathcal{X}_{(i)} are of course themselves random variables, however as everything that follows holds for any possible realisation of the \mathcal{X}_{(i)} s, we can treat them as deterministic. For all i\in\mathcal{X}_{(i)},t\in T_{(i)} , we have that, \hat{\Delta}_{i,t}^{d/\beta}\leq 2^{i} , and thus, via Chernoff and the choice of exploration parameter, \beta(t,i,\delta)=c\log(t^{2}\hat{\Delta}_{i,t}^{-d/\beta}/\delta) , for i\in\mathbb{N} , j\in\mathcal{X}_{(i)} , t\in\{\mathbb{N}:\exists s\in T_{(i)}:N_{j}(s)=t\} we have that, \mathbb{P}(\mu_{i}\notin[\mathrm{LCB}(t,i),\mathrm{UCB}(t,i)])\leq 2^{-ci}t^{-2c}\delta\;. then, via a union bound \displaystyle\mathbb{P}(\mathcal{E}^{c}) \displaystyle\leq\sum_{i\in N}\sum_{j\in\mathcal{X}_{(i)}}\sum_{t\in\{\mathbb{N}:\exists s\in T_{(i)}:N_{j}(s)=t\}}2^{-ci}t^{-2c}\delta (14) \displaystyle\leq\frac{\delta\pi^{2}}{6}\sum_{i\in N}\sum_{j\in\mathcal{X}_{(i)}}2^{-ci} (15) \displaystyle\leq\frac{\delta\pi^{2}}{6}\sum_{i\in N}2^{i+1}2^{-ci} (16) \displaystyle\leq\frac{2\delta\pi^{2}}{6}\sum_{i\in N}2^{-i(c-1)}\;, (17) as |\mathcal{X}_{(i)}|\leq 2^{i+1} , it remains to choose c=2+\log_{2}(2\pi^{2}/6) and the result follows. ∎ Our algorithm smooth-rank also maintains an estimate \widehat{p}_{t} of the true proportion p across its run time. The algorithm only eliminates points, when the confidence intervals around \widehat{p}_{t} for p are sufficiently tight, see line 6 . In the following proposition, we demonstrate that whenever the algorithm eliminates an arm at some time t , our estimate \widehat{p}_{t} is sufficiently close to the true p . Proposition 1 . On event \mathcal{E} we have that, for all times t such that a point is removed from the active set, 2p/3\leq\hat{p}_{t}\leq 4p/3 . Proof. If a section is removed from the active set at time t , we have that \Delta_{(t)}\leq\hat{p}/4 . Now, on event \mathcal{E} we have |p-\hat{p}|\leq\Delta_{(t)} which, in combination with the fact \Delta_{(t)}\leq\hat{p}/4 , implies \Delta_{(t)}\leq(\widehat{p}+\Delta_{(t)})/3 and thus \Delta_{(t)}\leq p/3 . ∎ In the following two Propositions, we show that on our favorable event \mathcal{E} , the smooth-rank only removes sections of the active set S_{t} , when our ranking on them is corrrect. Proposition 2 . On event \mathcal{E} , at time t , let i\in\mathcal{X}_{t} be such that i\in\mathcal{Q}_{t} and \{x:|\eta(i)-\eta(x)|\leq\Delta(i)\}\subset S_{t} . For all x:|\eta(x)-\widehat{\mu}_{i}^{t}|\leq 4\Delta_{(t)} , we have that, \forall y\in S_{t}:|\eta(y)-\eta(x)|\geq\Delta(x), \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;. Proof. Let us fix an x\in S_{t} such that x:|\eta(x)-\widehat{\mu}_{i}^{t}|\leq 4\Delta_{(t)} . The first step of the proof will be to show that \Delta_{(t)}\leq\Delta(x) . Now as as i\in\mathcal{Q}_{t} at time t , we have that, \displaystyle 6\Delta_{(t)} \displaystyle\leq\frac{\varepsilon\widehat{p}_{t}(1-\widehat{\mu}_{i}^{t})}{\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|} \displaystyle\leq\frac{4\varepsilon p(1-\widehat{\mu}_{i}^{t})}{3\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|} \displaystyle\leq\frac{4\varepsilon p(1-\eta(x))+5\varepsilon\Delta_{(t)}}{3\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|}\;. (18) where the second line comes from Proposition 1 . We then have that \displaystyle 4\Delta_{(t)} \displaystyle\leq\frac{4\varepsilon p(1-\eta(x))}{3\Delta_{(t)}^{d/\beta}|U_{i,t}(6\Delta_{(t)})|} (19) \displaystyle\leq\frac{4\varepsilon p(1-\eta(x))}{3\Delta_{(t)}^{d/\beta}|U_{x,t}(4\Delta_{(t)})|}\;. (20) where the second line comes from the fact that U_{x,t}(4\Delta_{(t)})\subset U_{i,t}(6\Delta_{(t)}) . We now note that, via line 16 of smooth-rank , \Delta_{(t)}^{d/\beta}|U_{x,t}(4\Delta_{(t)}))|\geq\lambda(\{z:|\eta(x)-\eta(z)|\leq 4\Delta_{(t)}\}) and so we have \Delta_{(t)}\leq\frac{4\varepsilon p(1-\eta(x))}{3\lambda(\{z:|\eta(x)-\eta(z)|\leq 4\Delta_{(t)}\})} and thus 4\Delta_{(t)}\leq\Delta(x) . Now let us fix a y\in S_{t} and j_{y}\in\mathcal{X}_{t}\cap S_{t} , such that, |\eta(y)-\eta(x)|\geq\Delta(x) and let j_{y}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}\cap S_{t}}\mathopen{}\mathclose{{\left(\lVert y-j\rVert_{d}}}\right) similarly let j_{x}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t}\cap S_{t}}\mathopen{}\mathclose{{\left(\lVert x-j\rVert_{d}}}\right) . Showing that \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;, amounts to demonstrating that \mathrm{sign}(\hat{\eta}(j_{x})-\hat{\eta}(j_{y}))=\mathrm{sign}(\eta(x)-\eta(y))\;. We see that via line 16 of smooth-rank , |\eta(j_{x})-\eta(x)|\vee|\eta(j_{y})-\eta(y)|\leq\Delta_{(t)} and then as we have shown \Delta(x)\geq 6\Delta_{(t)} , this then implies via the triangle inequality, |\eta(j_{x})-\eta(j_{y})|\geq 5\Delta_{(t)} and then on event \mathcal{E} , \sign(\widehat{\mu}_{j_{y}}^{t}-\widehat{\mu}_{j_{x}}^{t})=\sign(\eta(j_{x})-\eta(j_{y}))\;, which provides the result. ∎ Proposition 3 . On event \mathcal{E} , at time t , let x\in S_{t} , we have that, \forall y\in[0,1]^{d}\setminus S_{t}:|\eta(x)-\eta(y)|\geq\Delta(x), \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;. Proof. The proof will follow by induction. Assume at time t that \forall x\in S_{t-1} we have that, \forall y\in[S_{t}]\setminus S_{t-1}:|\eta(x)-\eta(y)|\geq\Delta(x) , \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;. Now let x\in S_{t} , and y\in[0,1]^{d}\setminus S_{t}:|\eta(x)-\eta(y)|\geq\Delta(x) , we must show that, \mathrm{sign}(\hat{\eta}(\tilde{x})-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;, which amounts to demonstrating that \sign(\eta(j_{x})-\eta(j_{y}))=\sign(\widehat{\mu}_{j_{y}}^{t}-\widehat{\mu}_{j_{x}}^{t}) where j_{x}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t-1}\cap S_{t-1}}\mathopen{}\mathclose{{\left(\lVert x-j\rVert_{d}}}\right) and j_{y}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{t-1}\cap S_{t-1}}\mathopen{}\mathclose{{\left(\lVert y-j\rVert_{d}}}\right) . If y\notin S_{t-1} we are done, via the inductive assumption, thus assume y\in S_{t-1} . If x\in U_{j_{y},t-1}(4\Delta_{(t)}) the proof then follows via Proposition 2 , thus assume x\notin U_{j_{y},t-1}(4\Delta_{(t)}) . In this case, as on event \mathcal{E} , |\eta(j_{y})-\widehat{\mu}_{j_{y}}^{t}|\leq\hat{\Delta}_{j_{y},t}\leq\Delta_{(t)}\;, via the triangle inequality, |\eta(j_{y})-\eta(x)|\geq 2\Delta_{(t)} (21) we also have via line 16 of smooth-rank , that |\eta(y)-\eta(j_{y})|\vee|\eta(x)-\eta(j_{x})|\leq\Delta_{(t)}\;, (22) and thus by combination of Equations ( 21 ) and ( 22 ), \sign(\eta(x)-\eta(y))=\sign(\eta(j_{x})-\eta(j_{y}))\;, and then on event \mathcal{E} that, \sign(\eta(j_{x})-\eta(j_{y}))=\sign(\widehat{\mu}_{j_{y}}^{t}-\widehat{\mu}_{j_{x}}^{t}) and the proof follows. . ∎ The following Lemma now follows as an immediate corollary of Proposition 3 . Lemma 6 . Upon execution of smooth-rank , on event \mathcal{E} , for all x\in[0,1] , we have that, \forall y:|\eta(x)-\eta(y)|\leq\Delta(x), \mathrm{sign}(\hat{\eta}(x)-\hat{\eta}(y))=\mathrm{sign}(\eta(x)-\eta(y))\;. With the above Lemma in hand, it remains to show that our choice of \Delta(x) is appropriate, i.e. we must demonstrate that with the guarantee of Lemma 6 , it is implied that d_{\infty}(\hat{\eta},\eta)\leq\varepsilon . This result will follow as in the proof of Lemma A.3, 8 . For completeness we include it here, slightly adapted to or setting. Proof of Lemma 4 . We reuse the notation of 8 , where for a set C\subset[0,1]^{d} , define, \kappa(C):=\frac{1}{\lambda(C)}\int_{C}\eta(x)\;,dx\;. Let \alpha\in[0,1] , define the subset Z_{\alpha}\subset[0,1]^{d} such that, \mathbb{P}(X\in Z_{\alpha}|Y=-1)=\alpha , that is, \frac{\lambda(Z_{\alpha})(1-\kappa(Z_{\alpha}))}{1-p}=\alpha\;, and such that, for some x_{\alpha}\in[0,1] , \forall y:\eta(y)>\eta(x_{\alpha}),y\in Z_{\alpha}\;,\qquad\forall j:\eta(y)<\eta(x_{\alpha}),y\notin Z_{\alpha}\;. (23) We then have \mathrm{ROC}^{*}(\alpha)=\mathbb{P}(X\in Z_{\alpha}|Y=+1)=\frac{\lambda(Z_{\alpha})(\kappa(Z_{\alpha}))}{p} . The choice of Z_{\alpha} is not necessarily unique, and as \eta me be constant across sections of the feature space, likewise x_{\alpha} is also not necessarily unique, in this case we take arbitrary Z_{\alpha} , x_{\alpha} . Now define the subset \hat{Z}_{\alpha}\in[0,1] such that, \frac{\lambda(\hat{Z}_{\alpha})(1-\kappa(\hat{Z}_{\alpha}))}{1-p}=\alpha\;, and, \forall x\in\hat{Z}_{\alpha},y\notin\hat{Z}_{\alpha},\hat{\eta}(x)\geq\hat{\eta}(y)\;, so \mathrm{ROC}(\hat{\eta},\alpha)=\frac{\lambda(\hat{Z}_{\alpha})(\kappa(\hat{Z}_{\alpha}))}{p} . Again \hat{Z}_{\alpha} is not necessarily unique, in which case we choose arbitrarily. Via Lemma 6 , we have that, \forall y\in[0,1]:|\eta(y)-\eta(x_{\alpha})|\leq\Delta(x_{\alpha}) , \mathrm{sign}(\hat{\eta}(y)-\hat{\eta}(x_{\alpha}))=\mathrm{sign}(\eta(y)-\eta(x_{\alpha}))\;. (24) Let Z_{\alpha}^{\prime}=\{y\in Z_{\alpha}:|\eta(y)-\eta(x_{\alpha})|\leq\Delta(x)\}\;,\qquad\hat{Z}_{\alpha}^{\prime}=\{y\in\hat{Z}_{\alpha}:|\eta(y)-\eta(x_{\alpha})|\leq\Delta(x)\}\;. Via Equation 24 , we have that, \mathrm{ROC}(\alpha,\eta)-\mathrm{ROC}(\alpha,s_{\hat{\mathcal{P}}})=\frac{\lambda(Z_{\alpha}^{\prime})\kappa(Z_{\alpha}^{\prime})}{p}-\frac{\lambda(\hat{Z}_{\alpha}^{\prime})\kappa(\hat{Z}_{\alpha}^{\prime})}{p}\;. Before finalising the proof we must lower bound \lambda(\hat{Z}_{\alpha}^{\prime}) and \kappa(\hat{Z}_{\alpha}^{\prime}) . We first lower bound \kappa(\hat{Z}_{\alpha}^{\prime}) . \kappa(\hat{Z}_{\alpha}^{\prime})\geq\eta(x_{\alpha})-\Delta_{i_{\alpha}}\;,\qquad\kappa(Z_{\alpha}^{\prime}),\leq\eta(x_{\alpha})+\Delta_{i_{\alpha}}\;. (25) We will now lower bound \lambda(\hat{Z}_{\alpha}^{\prime}) \frac{\lambda(\hat{Z}_{\alpha}^{\prime})}{\lambda(Z_{\alpha}^{\prime})}=\frac{1-\kappa(Z_{\alpha}^{\prime})}{1-\kappa(\hat{Z}_{\alpha}^{\prime})}\leq\frac{1-\eta(x_{\alpha})+\Delta_{i_{\alpha}}}{1-\eta(x_{\alpha})-\Delta_{i_{\alpha}}}\;. (26) Via combinations of Equations ( 25 ) and ( 26 ), we have, \displaystyle\frac{\lambda(Z_{\alpha}^{\prime})\kappa(Z_{\alpha}^{\prime})}{p}-\frac{\lambda(\hat{Z}_{\alpha}^{\prime})\kappa(\hat{Z}_{\alpha}^{\prime})}{p} \displaystyle\leq\frac{1}{p}\mathopen{}\mathclose{{\left(\lambda(Z_{\alpha}^{\prime})(\eta(x_{\alpha})+\Delta(x_{\alpha}))-\lambda(\hat{Z}_{\alpha}^{\prime})(\eta(x_{\alpha})-\Delta(x_{\alpha}))}}\right) (27) \displaystyle\leq\frac{1}{p}\mathopen{}\mathclose{{\left(\lambda(Z_{\alpha}^{\prime})(\eta(x_{\alpha})+\Delta(x_{\alpha}))-\lambda(Z_{\alpha}^{\prime})\frac{(\eta(x_{\alpha})-\Delta(x_{\alpha}))(1-\eta(x_{\alpha})+\Delta(x_{\alpha})))}{1-\eta(x_{\alpha})-\Delta(x_{\alpha})}}}\right) (28) \displaystyle\leq\frac{2\lambda(Z_{\alpha}^{\prime})\Delta(x_{\alpha})}{p(1-\eta(x_{\alpha})-\Delta(x_{\alpha}))}\leq\frac{2\lambda(Z_{\alpha}^{\prime})\Delta(x_{\alpha})}{p(1-\eta(x_{\alpha}))} (29) It remains to remark that, \Delta(x_{\alpha})\leq\frac{\varepsilon p}{\lambda(Z_{\alpha}^{\prime})} , by definition, and thus, \mathrm{ROC}\mathopen{}\mathclose{{\left(\alpha,\eta}}\right)-\mathrm{ROC}\mathopen{}\mathclose{{\left(\alpha,s_{\hat{\eta}}}}\right)\leq\varepsilon\;. As we chose \alpha w.l.o.g the proof then follows. ∎ Appendix C Proof of expected sampling time for smooth-rank In this section we will upper bound the expected sampling time of smooth-rank , as stated in the following Lemma. Lemma 7 . For \varepsilon,\delta>0 , with \beta(t,i,\delta)=c\log(t^{2}\hat{\Delta}_{i,t}^{-d/\beta}/\delta) where c is an absolute constant, on all problems \nu\in\mathcal{B} , the expected sampling time of smooth-rank is upper bounded by, c^{\prime}\int_{x\in[0,1]^{d}}H(x)\log\mathopen{}\mathclose{{\left(c^{\prime\prime}H(x)/\delta}}\right)\;dx\;, where c^{\prime} , c^{\prime\prime} are absolute constants. The proof of the above Lemma 7 will follow from several sub lemmas and propositions. For the entirety of this section, c,c^{\prime},c^{\prime\prime} are absolute constants which vary line by line. Also for clarity, we restrict to the 1 dimensional case, however, all results generalise immediately to higher dimensions . To upper bound the expected number of samples the learner draws on the entire feature space, we will first demonstrate an upper bound on a subset of the feature space. Consider a subset W\subset[0,1] . Let \Delta_{W}:=\min_{W}(\Delta(x)) be the minimum gap across the subset W . For our given subset W , we will now define a deterministic sequence of integers t_{0},t_{1},... , here for clarity, we suppress dependency on W in the notation. For i\in\mathbb{N} , define, t_{i}:=\mathop{\rm arg\,min}\mathopen{}\mathclose{{\left\{s:\frac{\log(s^{2}\Delta_{W}^{-1/\beta}/\delta)}{s}\leq\max_{x\in W}\kl\mathopen{}\mathclose{{\left(\eta(x),\eta(x)+2^{-i}\Delta_{W}/120}}\right)}}\right\}\;. We will show that, once points in W have been sampled t_{0} times, they will be eliminated from the active set with constant probability, this probability will converge to 1, as points are sampled t_{1},t_{2}... etc. times. As our notations and the actions of the algorithm are indexed by a global time t , we define T_{i} as the global time at which a point in W is first sampled t_{i} times, that is for i\in\mathbb{N} , T_{i}:=\min\mathopen{}\mathclose{{\left(s:\exists j\in\mathcal{X}_{s},N_{j}(s)\geq t_{i}}}\right)\>. We are now ready to define our "good event" \xi_{W,i} . Essentially on this event, at time T_{i} , when a point in W is first sampled t_{i} times, the empirical means of all active points, \mathcal{X}_{T_{i}}\cap S_{t} , will be within a distance \Delta_{W} multiplied by a small constant, to their true means, specifically, \xi_{W,i}:=\{\forall j\in\mathcal{X}_{T_{i}}\cap S_{T_{i}},|\widehat{\mu}_{j}^{T_{i}}-\eta(j)|\leq\Delta_{W}/120\}\cap\{|\widehat{p}_{T_{i}}-p|\leq p/2\}\;. We will go on to show that on the good event \xi_{W,i} , all points within W will be eliminated from the active set, see Proposition 6 . Before doing so, we first upper bound the probability of \xi_{W,i}^{c} in the following proposition. Proposition 4 . For W\subset[0,1] , i\in\mathbb{N} , we have that, \mathbb{P}(\xi_{W,i}^{c})\leq c2^{-i}t^{-3}_{i}\;. where c>0 is an absolute constant. Proof. We fix i\in\mathbb{N} and for clarity of notation, let us set j=a_{T_{i}} , that is the point sampled by the algorithm at time T_{i} , we have that N_{j}(T_{i})=t_{i} . Now, \mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{UCB}(t_{i},j)\geq\eta(j)+\Delta_{W}/120}}\right)\leq\mathbb{P}\mathopen{}\mathclose{{\left(\kl(\widehat{\mu}_{j}^{T_{i}},\eta(j)+\Delta_{W}/120)\leq\kl(\eta(j),\eta(j)+\Delta_{W}/120)}}\right)\;. (30) Let, r(\gamma)=\{z\in(\eta(j),\eta(j)+\Delta_{W}/120):\kl(z,\eta(j)+\Delta_{W}/120)=\kl(\eta(j),\eta(j)+\Delta_{W}/120)/\gamma\}\;. Consider the function \phi(z)=\kl(\eta(j)+z,\eta(j)+\Delta_{W}/120) , on the interval [0,\Delta(x)/120] . We have that \phi is convex and \phi(\Delta(x)/120)=0 . Thus for all z\in\mathopen{}\mathclose{{\left[0,\frac{\Delta_{W}}{120}}}\right] , \phi(z)\leq(1-z)\frac{120\kl(\eta(j),\eta(j)+\Delta_{W}/120)}{\Delta_{W}}\;. (31) Now consider Equation ( 31 ) evaluated at z=r(\gamma)-\eta(j) , giving, \frac{\kl(r(\gamma),\eta(j)+\Delta_{W}/120)}{\kl(\eta(j),\eta(j)+\Delta_{W}/120)}\leq\frac{120}{\Delta_{W}}(1+\eta(j)-r(\gamma))\;. (32) By definition of r(\gamma) , we have, \kl(r(\gamma),\eta(j)+\Delta_{W}/120)=\kl(\eta(j),\eta(j)+\Delta_{W}/120)/\gamma (33) A combination of Equations ( 32 ) and ( 33 ) then leads to, r(\gamma)\geq\eta(j)+\Delta_{W}\mathopen{}\mathclose{{\left(\frac{1}{120}-\frac{2}{\gamma}}}\right)\geq\eta(j)+\frac{\Delta_{W}}{240}\;, for \gamma>480 . We now have, \displaystyle\mathbb{P}\Big(\kl(\widehat{\mu}_{j}^{T_{i}},\eta(j)+\Delta_{W}/120) \displaystyle\leq\frac{\kl(\eta(j),\eta(j)+\Delta_{W}/120)}{\gamma}\Big) \displaystyle=\mathbb{P}\mathopen{}\mathclose{{\left(\kl(\widehat{\mu}_{j}^{T_{i}},\eta(j)+\Delta_{W}/120)\leq\kl(r(\gamma),\eta(j)+\Delta_{W}/120)}}\right) \displaystyle=\mathbb{P}(\widehat{\mu}_{j}^{T_{i}}\geq r(\gamma)) \displaystyle\leq c\exp\mathopen{}\mathclose{{\left(-t_{i}\kl\mathopen{}\mathclose{{\left(\eta(j),r(\gamma)}}\right)}}\right) \displaystyle\leq c\exp\mathopen{}\mathclose{{\left(-\frac{\gamma\kl\mathopen{}\mathclose{{\left(\eta(j),r(\gamma)}}\right)}{\kl(\eta(j),\eta(j)+\Delta_{W}/120)}\log(t_{i}^{2}\Delta_{W}^{-1}/\delta)}}\right) \displaystyle\leq c\exp\mathopen{}\mathclose{{\left(-\frac{\gamma\kl\mathopen{}\mathclose{{\left(\eta(j),\eta(j)+\frac{\Delta_{W}}{240}}}\right)}{\kl(\eta(j),\eta(j)+2^{-i}\Delta_{W}/120)}\log(t_{i}^{2}\Delta_{W}^{-1}/\delta)}}\right) \displaystyle\leq c\exp\mathopen{}\mathclose{{\left(-4^{i}\log(t_{i}^{2}\Delta_{W}^{-1/\beta}/\delta)c_{\gamma}}}\right) \displaystyle\leq c4^{-i}t_{i}^{-3}\Delta_{W}^{1/\beta} (34) where c_{\gamma} is a constant depending only on \gamma . Thus, via combination of Equations ( 30 ) and ( 34 ), \mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{UCB}(t_{i},j)\geq\eta(j)+\Delta_{W}/120}}\right)\leq c4^{-i}t_{i}^{-3}\Delta_{W}^{-1/\beta}\;, via similar reasoning we have also that, \mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{LCB}(t_{j,i},j)\leq\mu_{j}-\Delta_{W}/120}}\right)\leq c4^{-i}t_{i}^{-3}\Delta_{W}^{-1/\beta}\;. Now fix some k\in\mathcal{X}_{T_{i}}\cap S_{T_{i}} . As point j is sampled at time T_{i} , we have that, \hat{\Delta}_{j,T_{i}}=\max_{i\in\mathcal{X}_{T_{i}}\cap S_{T_{i}}}\mathopen{}\mathclose{{\left(\hat{\Delta}_{i,T_{i}}}}\right) and thus \hat{\Delta}_{k,T_{i}}\leq\hat{\Delta}_{j,T_{i}} , leading to, \mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{LCB}(T_{i},k)\leq\eta(k)-\Delta_{W}/120}}\right)\leq\mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{LCB}(T_{i},j)\leq\eta(j)-\Delta_{W}/120}}\right)\;, and \mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{UCB}(T_{i},k)\geq\eta(k)+\Delta_{W}/120}}\right)\leq\mathbb{P}\mathopen{}\mathclose{{\left(\mathrm{UCB}(T_{i},j)\geq\eta(j)+\Delta_{W}/120}}\right)\;. And thus, \mathbb{P}\mathopen{}\mathclose{{\left(|\widehat{\mu}_{k}^{T_{i}}-\eta(k)|\leq\Delta_{W}/120}}\right)\leq c4^{-i}t_{i}^{-3}\Delta_{W}^{-1/\beta}\;. (35) and similarly as \hat{\Delta}_{0,T_{i}}\leq\hat{\Delta}_{j,T_{i}} , thus |\widehat{p}_{T_{i}}-p|\leq p/2 . It remains to remark that via the action of the algorithm |\{\mathcal{X}_{T_{i}}\cap S_{T_{i}}\}|\leq\Delta_{(T_{i})}^{-1/\beta}\leq 2^{-i}\Delta_{W}^{-1/\beta} , and thus via a union bound and Equation ( 35 ), conditional on \hat{\Delta}_{j,T_{i}}^{-1/\beta}>2^{-i}\Delta_{W}^{-1/\beta} , \mathbb{P}(\xi_{W,i}^{c})\leq c2^{-i}t_{i}^{-3} (36) ∎ To show that all points in W will be eliminated on our good event, we must demonstrate that on event \xi_{W,i} , the discretisation level - that is maximum width of the confidence interval, across all active points, \Delta_{(T_{i})} , is not too large . Specifically we need to ensure that \Delta_{(T_{i})} is smaller than \Delta_{W} multiplied by some constant. When we later upper bound the expected number of samples the algorithm draws from W , it will also be necessary to show the level of discretisation is not too small . Thus in the following proposition we both upper and lower bound \Delta_{(T_{i})} on the event \xi_{W,i} . Proposition 5 . For i\in\mathbb{N} , on the event \xi_{W,i} we have that, c^{\prime}2^{-i}\Delta_{W}\leq\Delta_{(T_{i})}\leq c2^{-i}\Delta_{W} Proof. Let j=a_{T(i)} . We have the following, \displaystyle\kl(\widehat{\mu}_{j}^{T_{i}},\widehat{\mu}_{j}^{T_{i}}+c\Delta_{W}) \displaystyle\leq\kl(\eta(j)+c\Delta_{W},\eta(j)+2c\Delta_{W}) \displaystyle\leq 2\kl(\eta(j),\eta(j)+c\Delta_{W})\;. Now we consider the definition of t_{i} , and apply the above inequality, \displaystyle t_{i} \displaystyle\geq\log(t_{i}^{2}\Delta_{W}^{-1}/\delta)\max_{j\in W}\kl\mathopen{}\mathclose{{\left(\eta(j),\eta(j)+2^{-i}\Delta_{W}/120}}\right) \displaystyle\geq\log(t_{i}^{2}\Delta_{W}^{-1}/\delta)\max_{j\in W}\kl\mathopen{}\mathclose{{\left(\widehat{\mu}_{j}^{T_{i}}+\Delta_{W},\widehat{\mu}_{j}^{T_{i}}+\Delta_{W}+2^{-i}\Delta_{W}/120}}\right) \displaystyle\leq c\log(t_{i}^{2}\Delta_{W}^{-1}/\delta)\max_{j\in W}\kl\mathopen{}\mathclose{{\left(\widehat{\mu}_{j}^{T_{i}},\widehat{\mu}_{j}^{T_{i}}+2^{-i}\Delta_{W}/120}}\right)\;. (37) By Definition of \hat{\Delta}_{j,T_{i}} we also have \forall z\leq\hat{\Delta}_{j,T_{i}} , t_{i}\leq\log(t_{i}^{2}z^{2}/\delta)\max_{x\in W}\kl\mathopen{}\mathclose{{\left(\widehat{\mu}_{j}^{T_{i}},\widehat{\mu}_{j}^{T_{i}}+z/120}}\right) (38) Thus via combination of Equations ( 37 ) and ( 38 ) the proof follows. ∎ We are now ready to show that on our good event, we will eliminate all points within W . For technical reasons, we are required to condition on the intersection of events \xi_{W,i-1} and \xi_{W,i} , to ensure all points are eliminated from W at time T_{i} . Proposition 6 . For i\in\mathbb{N} , W\subset[0,1] , x\in W\cap S_{T_{i}} with j_{x}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{T_{i}}\cap S_{T_{i}}}(|j-x|) , we have that, on event \xi_{W,i-1}\cap\xi_{W,i} , j_{x}\in\mathcal{Q}_{T_{i}}\;. Proof. Via Proposition 5 we have that, on event \xi_{W,i-1} , for all x\in W , \Delta_{(T_{i-1})}\leq\Delta_{W}/120\leq\Delta(x)/120 . Thus via the discretisation action of the algorithm, see line 16 of smooth-rank \max_{x,y\in\mathcal{X}_{T_{i-1}}\cap S_{T_{i-1}}}|x-y|\leq(\Delta(x)/120)^{1/\beta}\;. (39) Now take y\in U_{j_{x},T_{i}}(6\Delta_{(T_{i})}) with j_{y}=\mathop{\rm arg\,min}_{j\in\mathcal{X}_{T_{i}}\cap S_{T_{i}}}(\lVert j-y\rVert) , under event \xi_{W,i} , we have via Equation ( 39 ), |y-j_{y}|\leq(\Delta(x)/120)^{1/\beta}\;, and then via Assumption 1 , |\eta(y)-\eta(j_{y})|\leq\Delta(x)/120\;, (40) via definition of U_{j_{x},T_{i}}(6\Delta_{(T_{i})}) , on event \xi_{W,i} we have |\eta(j_{x})-\eta(j_{y})|\leq\Delta(x)/120\;, (41) and thus via combination of Equations ( 40 ) and ( 41 ), |\eta(j_{x})-\eta(y)|\leq\Delta(x)/120+\Delta(x)/120\leq\Delta(x)/60\;, giving, U_{j_{x},T_{i}}(6\Delta_{(T_{i})})\subset\{y:|\eta(j_{x})-\eta(y)|\leq\Delta(x)/60\}\subset\{y:|\eta(x)-\eta(y)|\leq\Delta(x)/30\}\;. (42) Now, via definition of \Delta(x) , \lambda\mathopen{}\mathclose{{\left(\{y:|\eta(x)-\eta(y)|\leq\Delta(x)\}}}\right)\leq\frac{p\varepsilon(1-\eta(x))}{\Delta(x)}\;, (43) and so, via the fact that \Delta_{(T_{i})}\leq\Delta(x)/120 and combination of Equations ( 42 ) and ( 43 ), \displaystyle\Delta_{(T_{i})}\leq 3\Delta(x)/160 \displaystyle\leq\frac{3\varepsilon p(1-\eta(x))}{160\lambda(U_{j_{x},T_{i}}(6\Delta_{(T_{i})}))} \displaystyle\leq\frac{3\varepsilon p((1-\widehat{\mu}^{t}_{j_{x}})+\Delta_{(T_{i})})}{80\lambda(U_{j_{x},T_{i}}(6\Delta_{(T_{i})}))} \displaystyle\leq\mathopen{}\mathclose{{\left(\frac{\varepsilon\hat{p}_{T_{i}}}{\lambda(U_{j_{x},T_{i}}(6\Delta_{(T_{i})}))}\wedge 1}}\right)(1-\widehat{\mu}^{t}_{j_{x}})\;, where the third inequality comes from the fact that on event \xi_{W,i} , |\widehat{p}_{T_{i}}-p|\leq p/2 . ∎ For the expected number of samples on a given subset W , we can expect our upper bound to depend upon the size of W , however, this relationship is not completely straightforward. The reason being, that the algorithm maintains a set of active points \{\mathcal{X}_{t}\cap S_{t}\} , from which it samples. A disjoint set W can be arbitrarily small but contain a large number of points in the active set \{\mathcal{X}_{t}\cap S_{t}\} . Thus we introduce the following, For W\in[0,1] , let, \tilde{n}=\mathop{\rm arg\,min}\mathopen{}\mathclose{{\left(n:2^{-n}\leq c\Delta_{W}^{-1/\beta}}}\right) and consider the set of cells, \bar{W}:=\bigcup_{x\in\mathcal{E}_{1}(2^{-\tilde{n}}):\exists z\in W:|x-z|\leq 2^{-\tilde{n}}}\{y:|x-y|\leq 2^{-\tilde{n}}\}\;. (44) The set \bar{W} is essentially the smallest possible extension of W , to a set comprised of the union of cells, on the dyadic grid of level smaller than \Delta_{W}^{-1/\beta} . Proposition 7 . For W\in[0,1] , such that \forall x\in W , i\in\mathbb{N} , on the event \xi_{W,i-1}\cap\xi_{W,i} we have that N(W)\leq\lambda(\bar{W})2^{i}\Delta_{W}^{-d/\beta}t_{i}\;, where N(W) is the total number of samples drawn by the learner on W . Proof. Via Proposition 6 we have that on event \xi_{W,i-1}\cap\xi_{W,i} , \forall j\in\{W\cap\mathcal{X}_{T_{i}}\},j\in\mathcal{Q}_{(T_{i})}\;, as a result we have that for all t>T_{i},W\cap S_{t}=\emptyset\;. Thus, N(W)\leq t_{i}|\{\mathcal{X}_{T_{i}}\cap W\}|\;. From Proposition 5 we have that on the event \xi_{W,i-1}\cap\xi_{W,i} , \Delta_{(T_{i})}\geq c\Delta_{W}^{-1/\beta}2^{-i} , and therefore, each cell of the dyadic grid of level smaller than c\Delta_{W}^{-1/\beta}2^{-i} contains at most one point of \{\mathcal{X}_{T_{i}}\cap S_{t}\} . Thus, the set \bar{W} is a union of cells, each of volume \Delta_{W}^{-1/{\beta}} and containing at most one point of the set \{\mathcal{X}_{T_{i}}\cap W\} , thus, |\{\mathcal{X}_{T_{i}}\cap W\}|\leq\lambda(\bar{W})\Delta_{W}^{-1/\beta}\;, and the result follows. ∎ To bound in expectation the expected sampling time of the algorithm, on a given subset W , we will make use of the following equality \mathbb{E}[N(W)]\leq\int_{z=0}^{\infty}\mathbb{P}\mathopen{}\mathclose{{\left(N(W)\geq z}}\right)\;dz . A key step of our proof will be to replace the aforementioned integral, with a summation, c\sum_{i=0}^{\infty}\mathbb{P}\mathopen{}\mathclose{{\left(N(W)\geq t_{i}}}\right) . However, to do this we need to ensure the t_{i} grow at most geometrically. We show just that in the following Proposition. Proposition 8 . For all i\in\mathbb{N} , we have that 4t_{i}\geq t_{i+1} . Proof. For all x\in W , via definition of \Delta(x) , we have that, \Delta(x)\leq(1-\eta(x)) , thus, \forall x\in W,\eta(x)+120\Delta_{W}\leq 1\;. (45) From Equation ( 45 ), we have the following, \max_{x\in W}\kl(\eta(x),\eta(x)+2^{-i}\Delta_{W}/120)\leq\kl(\eta(x),\eta(x)+2^{-i-1}\Delta_{W}/120)/2\;, (46) Now assume t_{i+1}\geq 4t_{i} , under this assumption we would have, 4t_{i}\leq\frac{\log(16t_{i}^{2}\Delta_{W}^{-a/\beta}/\delta)}{\kl(\eta(x),\eta(x)+2^{-i-1}\Delta_{W}/120)}\leq\frac{\log(t_{i}^{2}\Delta_{W}^{-a/\beta}/\delta)}{4\kl(\eta(x),\eta(x)+2^{-i}\Delta_{W}/120)} where the second inequality comes from application of Equation ( 46 ). Which is a contradiction, according to the definition of t_{i} . ∎ We are now ready to upper bound the expected number of samples on a given subset W . Proposition 9 . For W\subset[0,1] , such that \forall x\in W , let N(W) denote the total number of samples drawn on W . We have the following upper bound on, N(W) , \frac{\mathbb{E}[N(W)]}{\lambda(\bar{W})}\leq c\Delta^{-1/\beta}_{W}\max_{x\in W}H(x)\log(c^{\prime}H(x)/\delta)\;. Proof. \displaystyle\frac{\mathbb{E}[N(W)]}{\lambda(\bar{W})} \displaystyle\leq\int_{z=0}^{\infty}\mathbb{P}\mathopen{}\mathclose{{\left(N(W)/\lambda(\bar{W})\geq z}}\right)\;dz (47) \displaystyle\leq t_{0}\Delta^{-1/\beta}_{W}+\sum_{i=1}^{\infty}\int_{z=2^{i}t_{i}\Delta_{W}^{-1/\beta}}^{2^{i+1}t_{i+1}\Delta_{W}^{-1/\beta}}\mathbb{P}\mathopen{}\mathclose{{\left(N(W)/\lambda(\bar{W})\geq z}}\right)\;dz (48) \displaystyle\leq t_{0}\Delta^{-1/\beta}_{W}+c\sum_{i=1}^{\infty}t_{i}2^{i}\Delta_{W}^{-1/\beta}\mathbb{P}\mathopen{}\mathclose{{\left(N(W)/\lambda(\bar{W})\geq 2^{i}t_{i}\Delta_{W}^{-1/\beta}}}\right) (49) \displaystyle\leq´t_{0}\Delta^{-1/\beta}_{W}+c\Delta_{W}^{-1/\beta}\sum_{i=1}^{\infty}t_{i}2^{i}\mathbb{P}\mathopen{}\mathclose{{\left(\xi_{W,i-1}^{c}\cup\xi_{W,i}^{c}}}\right) (50) \displaystyle\leq´t_{0}\Delta^{-1/\beta}_{W}+c\Delta_{W}^{-1/\beta}\sum_{i=1}^{\infty}t_{i}2^{i}\mathbb{P}\mathopen{}\mathclose{{\left(\xi_{W,i}^{c}}}\right) (51) Where the inequality of Equation ( 49 ) follows from Proposition 7 and the inequality of Equation ( 50 ) follows from Proposition 8 . We now need to upper bound \Delta_{W}^{-1/\beta}\sum_{i=1}^{\infty}t_{i}2^{i}\mathbb{P}\mathopen{}\mathclose{{\left(\xi_{W,t_{i}}^{c}}}\right) . Via Proposition 4 we have, \Delta_{W}^{-1/\beta}\sum_{i=1}^{\infty}t_{i}2^{i}\mathbb{P}\mathopen{}\mathclose{{\left(\xi_{W,i}^{c}}}\right)\leq\Delta_{W}^{-1/\beta}\sum_{t=1}^{\infty}t_{i}2^{i}2^{-i}t_{i}^{-3}\leq c\Delta^{-1/\beta}_{W}\;. (52) Combination of Equations ( 52 ) and ( 51 ) then leads to, \frac{\mathbb{E}[N(W)]}{\lambda(\bar{W})}\leq ct_{0}\Delta^{-1/\beta}_{W}\;. It now remains to upper bound t_{0} , set H_{W}=\max_{x\in W}\kl(\eta(x),\eta(x)+\Delta_{W}) , t_{0}\leq H_{W}\log(c^{\prime}H_{W}/\delta\Delta_{W})\leq\max_{x\in W}H(x)\log(c^{\prime}H(x)/\delta\Delta_{W}) ∎ Now for a given subset W , we have a upper bound on the expected number of samples, which depends upon the minimum gap and maximum sample complexity across W . What remains is to then divide our feature space \mathcal{X} into areas of similar sample complexity and gap. With this in mind, consider the sequence of sets G_{1,1},G_{1,2},... where, G_{n,k}=\mathopen{}\mathclose{{\left\{x:\Delta(x)\in[2^{-n},2^{-n-1}],H(x)\in[2^{-k},2^{-k-1}]}}\right\}\;. The final step of the proof will be to apply Proposition 9 , to achieve a tight bound on the expected sampling time on each of the subsets G_{n,k} , individually. We can then upper bound the total expected sampling time by a summation across all n,k\in\mathbb{N} . However, as the reader will recall from Propisiton 9 , for a given subset W our upper bound on the expected sampling time across W , depends upon the expanded subset \bar{W} , see equation ( 44 ). Therefore, we must ensure that, for a given n,k , the sample complexity and gap across \bar{G}_{n,k} do not differ to greatly from 2^{-n},2^{-k} respectively. This is shown in the following Propositions. Proposition 10 . For a subset W\subset[0,1] , for all x\in\bar{W} , \Delta(x)\leq 3\Delta_{W} Proof. As x\in\bar{W} , we have that \exists z\in W,|x-y|\leq\Delta^{-1/\beta}_{W} , and via Assumption 1 , |\eta(x)-\eta(z)|\leq\Delta_{W} . Now, \displaystyle\lambda\mathopen{}\mathclose{{\left(\{y:|\eta(y)-\eta(z)|\leq\Delta_{W}\}}}\right) \displaystyle\geq\frac{p\varepsilon(1-\eta(z))}{\Delta_{W}} \displaystyle\geq\frac{p\varepsilon(1-\eta(x)+\Delta_{W})}{2\Delta_{W}} \displaystyle\geq\frac{p\varepsilon(1-\eta(x))}{2\Delta_{W}}\;. Where the second inequality comes from the fact that \Delta_{W}\leq 1-\eta(x) . As, \{y:|\eta(y)-\eta(z)|\leq 2\Delta_{W}\}\subset\{y:|\eta(y)-\eta(x)|\leq 3\Delta_{W}\}\;. we then have \lambda(\{y:|\eta(y)-\eta(x)|\leq 3\Delta_{W}\})\geq\frac{p\varepsilon(1-\eta(x))}{2\Delta_{W}} (53) Thus from Equation ( 53 ) we have that, \lambda\mathopen{}\mathclose{{\left(\{y:|\eta(y)-\eta(x)|\leq 3\Delta_{W}\}}}\right)\geq\frac{p\varepsilon(1-\eta(x))}{2\Delta_{W}}\geq\frac{p\varepsilon(1-\eta(x))}{3\Delta_{W}}\;, and as via definition of \Delta(x) , we have that, \forall w\leq\Delta(x),\;\lambda\mathopen{}\mathclose{{\left(\{y:|\eta(y)-\eta(x)|\leq w\}}}\right)\leq\frac{p\varepsilon(1-\eta(x))}{w}\;, (54) it follows that \Delta(x)\leq 3\Delta_{W} . ∎ Proposition 11 . For a subset W\subset[0,1] , for all x\in\bar{W} , \Delta(x)\geq\Delta_{W} . Proof. As x\in\bar{W} , we have that \exists z\in W,|x-y|\leq\Delta^{-1/\beta}_{W} , and via Assumption 1 , |\eta(x)-\eta(z)|\leq\Delta_{W} . We now prove by contradiction, let us assume that \Delta(x)\leq\Delta_{W} , we then have, \displaystyle\lambda\mathopen{}\mathclose{{\left(\{y:|\eta(y)-\eta(x)|\leq\Delta_{W}\}}}\right) \displaystyle>\frac{p\varepsilon(1-\eta(x))}{\Delta_{W}} \displaystyle>\frac{p\varepsilon(1-\eta(z)+\Delta_{W})}{\Delta_{W}} \displaystyle>\frac{p\varepsilon(1-\eta(z))}{2\Delta_{W}}\;. (55) Where the second inequality comes from the fact that \Delta_{W}\leq 1-\eta(z) . As, \{y:|\eta(y)-\eta(x)|\leq\Delta_{W}\}\subset\{y:|\eta(y)-\eta(z)|\leq 2\Delta_{W}\} From Equation ( 55 ) we have directly that, \lambda\mathopen{}\mathclose{{\left(\{y:|\eta(y)-\eta(z)|\leq 2\Delta_{W}\}}}\right)\geq\frac{p\varepsilon(1-\eta(z))}{2\Delta_{W}}\;, which is then a contradiction, via the definition of \Delta(z) - see Equation ( 54 ) in the proof of Proposition 10 as \Delta(z)\geq 2\Delta_{W} . ∎ Proposition 12 . Let n,k\in\mathbb{N} , for all x\in\bar{G}_{n,k} , 2^{k-4}\leq H(x)\leq 2^{k+4}\;. Proof. Let W=G_{n,k} , x\in\bar{W} we have that \exists z\in W:|x-z|\leq\Delta^{-1/\beta}_{W} , and via Assumption 1 , |\eta(x)-\eta(z)|\leq\Delta_{W} . Now, \displaystyle\kl(\eta(x),\eta(x)+c\Delta(x)) \displaystyle\leq\kl(\eta(z)+\Delta_{W},\eta(z)+\Delta_{W}+c\Delta(x)) \displaystyle\leq 2\kl\mathopen{}\mathclose{{\left(\eta(z),\eta(z)+c\Delta(x)}}\right) (56) \displaystyle\leq 2\kl\mathopen{}\mathclose{{\left(\eta(z),\eta(z)+2c\Delta(z)}}\right) (57) \displaystyle\leq 4\kl\mathopen{}\mathclose{{\left(\eta(z),\eta(z)+c\Delta(z)}}\right)\;. (58) Similarly we have, \kl(\eta(z),\eta(z)+c\Delta(z))\leq 4\kl(\eta(x),\eta(x)+c\Delta(x))\;. ∎ Combination of Propositions 12 , 11 and 10 leads to the following Proposition. Proposition 13 . Let n,k\in\mathbb{N} , for all x\in\bar{G}_{n,k} , we have that, x\in\bigcup_{i=n-1,j=k-1}^{i=n+1,j=k+1}G_{n,k}\;, and thus, c\sum_{n,k\in\mathbb{N}}\max_{x\in\bar{G}_{n,k}}\Delta(x)^{-\beta}H(x)\leq\sum_{n,k\in\mathbb{N}}\max_{x\in G_{n,k}}\Delta(x)^{-\beta}H(x)\;, for some absolute constant c>0 . We are now ready to prove Lemma 7 . Proof of Lemma 7 . Via combination of Propositions 13 and 9 we have that, \sum_{n,k=1}^{\infty}\mathbb{E}[N(G_{n,k})]\leq c\sum_{n,k\in\lambda(G_{n,k})\mathbb{N}}\max_{x\in G_{n,k}}\Delta(x)^{-\beta}H(x)\log(c^{\prime}H(x)/\delta) It now remains to lower bound the integral \int_{0}^{1}\frac{\Delta(y)^{-\beta}\log(H(y))}{\kl(\eta(y)-\Delta(y),\eta(y)+\Delta(y))}\;dy\;, with the following, c\sum_{n=1,k=1}^{\infty}\lambda(G_{n,k})2^{-n\beta}2^{-k}\log(c^{\prime}H_{W}/\delta)\;, where c,c^{\prime} are absolute constants. ∎ Appendix D Proof of lower bound Piece wise \beta -Holder regression functions The class of problems \mathcal{B} consists of all problems \nu such that the regression function \eta is \beta -Holder. We define a new class of problems \tilde{\mathcal{B}} , for which \eta is piece wise \beta -holder continuous, on some known ordered partition of the interval [0,1] . Specifically, the class \tilde{\mathcal{B}} consists of the problems, for which there exists a known M sized ordered partition of the interval \mathcal{P}=\{C_{1},...,C_{M}\} , where, for each m\in[M] \eta is \beta -Holder on C_{m} , and furthermore, for all m,n\in[M]:m>n , we have that, \forall x\in C_{m},y\in C_{n},\eta(x)>\eta(y)\;. Again, the ordered partition \mathcal{P} is known by the learner. We will now show that problems of the class \tilde{\mathcal{B}} are strictly easier than that of \mathcal{B} . As the class of problems \mathcal{B} allows for any feature space of the form [a,b]^{d} for a,b\in\mathbb{R} with a0 . If there exists a PAC (\varepsilon,\delta) strategy \pi such that on all problems \nu\in\mathcal{B} the expected sampling time of strategy \pi is upper bounded by, c\int H_{\nu}(x)\;dx, for some constant c>0 , where H_{\nu}(x) is the complexity of point x on problem \nu , then we have that on all problems \nu\in\tilde{\mathcal{B}} , the expected sampling time of \pi is upper bounded by c\int H_{\nu}(x)\;dx. Proof of Theorem 2 . The proof will now follow by application of a Fano type inequality on a well chosen set of problems. Step 1: Constructing our well chosen set of problems As is typical in lower bounds, for a given problem \nu , we will wish to find a set of alternate problems, carefully chosen such that the gaps \Delta(x) and therefore complexity, are close on the alternate set to \nu . In our setting this is tricky, as the gaps \Delta(x) are dependent on the shape of the regression function \eta . Modifying \eta locally can potentially have a global effect on the gaps \Delta(x) . To overcome this problem we will consider a well chosen M sized partition the interval [0,1] , comprised of the sets D_{0},D_{1},...,D_{M} . For each m\in[M] there is a corresponding representative U_{m}\in D_{m} . The partition is chosen such that on each set D_{m} the gaps \Delta(x) do not vary too much from \Delta(U_{m}) . Furthermore, the representatives are chosen to be sufficiently far from one another in terms of \Delta . In this fashion we can essentially modify \eta on each set D_{m} without effecting the value of \Delta on the other sets, and as such construct our alternate set of problems. We define a set of points U_{0},U_{1},... recursively as follows, U_{0}=\mathop{\rm arg\,min}_{x\in[0,1]}(\Delta(x)) , for m\geq 0 we then define, U_{m+1}=\mathop{\rm arg\,min}_{x\in[0,1]}\{\Delta(x):\forall j\leq m,\exists k\in[U_{j},x]:|\eta(U_{j})-\eta(k)|\geq 3\Delta(k)+3\Delta(U_{j})\}\;, note that we adopt the convention that, for all a,b\in[0,1] , [a,b]=[b,a] , thus [U_{j},x] is well defined in the case where xM} is monotonically increasing and furthermore, for all x\in[0,1] , |\{m\in[M]:\nexists y\in[U_{m},x]:|\eta(U_{m})-\eta(y)|\leq 3\Delta(U_{m})+3\Delta(y)\}|\leq 2\;. (59) We then define the corresponding set of groups, D_{0},D_{1},...,D_{M} as follows. For x\in[0,1] let m,n\in[M] be such that, U_{m}\leq x\leq U_{n} then set i^{+}=m\vee n and i^{-}=m\wedge n . If \nexists k\in[x,U_{i^{+}}]:|\eta(U_{i^{+}})-\eta(k)|\leq 3\Delta_{k}+3\Delta(U_{i^{+}}) then x\in D_{i^{+}} , otherwise i\in D_{i^{-}} . Proposition 14 . For all m\in[M] we have that, \forall x\in D_{m},\Delta(U_{m})\leq\Delta(x) . Proof. Case:1 Assume x\geq U_{m} Let n be such that U_{m}\leq x\leq U_{n} . Via Equation ( 59 ), we must have that, \exists k\in[n,x]:|\eta(x)-\eta(k)|\leq 3\Delta(k)+3\Delta_{n}\;, and therefore, if \Delta(x)<\Delta(U_{m}) , then, \mathop{\rm arg\,min}\{\Delta(i):\forall j\leq m-1,\exists k\in[U_{j},i]:|\eta(U_{j})-\eta(k)|\geq 3\Delta_{k}+3\Delta(U_{j})\}\neq U_{m} which is a contradiction via the definition of U_{m} . Case:2 Assume x\leq U_{m} Let n be such that U_{n}\leq x\leq U_{m} . Via Equation ( 59 ), we must have that, \nexists k\in[x,m]:|\eta(x)-\eta(k)|\leq 3\Delta(k)+3\Delta(m)\;. (60) Now if we also have, \nexists k\in[n,x]:|\eta(x)-\eta(k)|\leq 3\Delta(k)+3\Delta(n)\;, (61) then, via combination of Equations ( 60 ) and ( 61 ), \nexists k\in[n,m]:|\eta(x)-\eta(k)|\leq 3\Delta(k)+3\Delta(m)\wedge\Delta(n)\;. Without loss of generality assume \Delta(U_{m})\leq\Delta(U_{n}) . In this case we have that m4\Delta(U_{m})^{\beta},\qquad f(x)=-(x-1)^{1/\beta}+1\;.\end{cases} Now let \mathcal{G}_{m}=\lfloor\lambda(W_{m})\Delta(U_{m})^{-\beta}\rfloor , and define the points, (G_{i,m})_{i\in[\mathcal{G}_{m}]}=\mathopen{}\mathclose{{\left(\sum_{n=0}^{m-1}\lambda(W_{n})+8i\Delta(U_{m})^{\beta}}}\right)_{i\in[\mathcal{G}_{m}]}\;. Now consider a family of problems \nu^{Q} indexed by Q\in\{-1,1\}^{\sum_{m\in[M]}\mathcal{G}_{m}} and for m\in[M],i\in[\mathcal{G}_{m}] , let Q_{i}^{m}=Q(\sum_{n=1}^{m-1}\mathcal{G}_{n}+i) , where the target function \eta_{Q} corresponding to \nu^{Q} is defined as follows, \eta_{Q}(x)=\sum_{m\in M}\sum_{i\in[\mathcal{G}_{m}]}\mathbb{I}(x\in[G_{i,m},G_{i+1,m}))\eta(U_{m})Q_{i}^{m}f_{m}(x)\;. We see that the peak of each bump Essentially the function \eta_{Q} can be split into m segments, each one being a series of "bumps" and "dips", each one beginning and ending at \eta(U_{m}) . The i th feature being a bump if Q_{i}=1 , and a dip if Q_{i}=1 . We see that for the m th segment the max of each bump is \eta(U_{m})+\Delta(U_{m}) and the minimum of each dip is \eta(U_{m})-\Delta(U_{m}) . Further more, by our choice of f_{m}(x) , we see \eta_{Q} is piecewise Hölder smooth. For m\in[M] we define the set of bumps in the m th segment as W^{Q,+}_{m}=\bigcup_{i\in[\mathcal{G}_{m}]:Q_{i}=1}[G_{i,m},G_{i+1,m})\;, and similarly the set of dips as, W^{Q,-}_{m}=\bigcup_{i\in[\mathcal{G}_{m}]:Q_{i}=-1}[G_{i,m},G_{i+1,m})\;. The following Lemma shows that, for a problem \nu\in\mathcal{B} , the gaps and complexity across our family problems, \nu^{Q} indexed by Q , does not differ too much from \nu . Lemma 9 . Given, \nu\in\mathcal{B} , write \Delta_{Q}(x) for the gap of point x on problem \nu_{Q} . We have that for all x\in[0,1] , \Delta(x)\geq c\Delta_{Q}(x) , where c>0 is an absolute constant. Proof. If \nexists m:x\in W_{m} , we have that \eta_{Q}(x)=0 and thus \Delta_{Q}(x)=1 . Thus assume \exists m:x\in W_{m} . As x\in W_{m} we have \Delta(x)\geq\Delta(U_{m}) . Via proposition 16 and identical reasoning to that in Equation ( 62 ) we have that \Delta_{Q}(x)\geq c\Delta(U_{m}) and the result follows. ∎ Step 2: showing that one suffers \varepsilon regret on a well chosen event We remind the reader that we denote the scoring function outputted by the learner as \hat{\eta} . For a set C\subset[0,1] , define, \kappa(C):=\frac{1}{\lambda(C)}\int_{C}\eta(x)\;,dx\;, and define z_{m}:=\min\mathopen{}\mathclose{{\left(z:H_{{\hat{\eta}}}(z)\geq\frac{\lambda\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)(1-\kappa\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)}{(1-p)}}}\right)\;, Where we remind the reader that we define, H_{\hat{\eta}}(t)=\mathbb{P}\mathopen{}\mathclose{{\left\{\hat{\eta}(x)\leq t\mid Y=0}}\right\} . Let \hat{Z}_{m}\subset[0,1] be the largest set such that, \forall x\in\hat{Z}_{m},y\notin\hat{Z}_{m},\hat{s}(x)\leq\hat{s}(y) , and, \lambda(\hat{Z}_{m})(1-\kappa(\hat{Z}_{m}))\leq\lambda\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)(1-\kappa\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)\;. that is, we have that \hat{Z}_{m}=\{x:\hat{s}(x)\geq z_{m}\} . Note that \hat{Z}_{m} is not necessarily unique, in this case we choose an arbitrary such \hat{Z}_{m} . Furthermore define, \hat{Z}_{m}^{0}=\mathopen{}\mathclose{{\left\{x\in\hat{Z}_{m}:x\in\bigcup_{n=1}^{m-1}W_{n}}}\right\},\qquad\hat{Z}_{m}^{1}=\mathopen{}\mathclose{{\left\{x\in\hat{Z}_{m}:x\in W^{Q,+}_{m}}}\right\}\;, and \hat{Z}_{m}^{2}=\mathopen{}\mathclose{{\left\{x\in\hat{Z}_{m}:x\in W_{m}^{Q,-}\cup\bigcup_{n=m+1}^{M}W_{n}}}\right\}\;. Now, define the event, \xi_{i,m}:=\bigg\{\{x\in[G_{i,m},G_{i+1,m}):\hat{s}(x)>z_{m}\}\leq\frac{\Delta(U_{m})^{\beta}}{2}\bigg\}\;. and then the events, \mathcal{E}_{1}^{m}:=\mathopen{}\mathclose{{\left\{\sum_{i\in\mathcal{G}_{m}:Q_{i}=1}\mathbf{1}(\xi_{i,m})\leq\frac{|\mathcal{G}_{m}|}{4}}}\right\},\qquad\mathcal{E}_{0}^{m}:=\mathopen{}\mathclose{{\left\{\sum_{i\in\mathcal{G}_{m}:Q_{i}=-1}\mathbf{1}(\xi_{i,m})\geq\frac{3|\mathcal{G}_{m}|}{4}}}\right\}\;. And let \hat{D}_{m}=\bigcup_{n=1}^{m-1}C_{n}\setminus\hat{Z}_{m}^{0} . Note that under event \mathcal{E}_{1}^{m} , we have \lambda\mathopen{}\mathclose{{\left(\hat{Z}_{m}^{1}}}\right)\leq\frac{3\lambda(W_{m}^{Q,+})}{4}\;. (63) Also, via the definition of \hat{Z}_{m} , we have that, \lambda(\hat{Z}_{m}^{1})(1-\kappa(W_{m}^{Q,+}))+\lambda(\hat{Z}_{m}^{2})(1-\kappa(\hat{Z}_{m}^{2}))=\lambda(W_{m}^{Q,+})(1-\kappa(W_{m}^{Q,+}))+\lambda(\hat{D}_{m})(1-\kappa(\hat{D}_{m}))\;. (64) which leads to, \lambda(\hat{Z}_{m}^{1})\kappa(\hat{Z}_{m}^{2})+\lambda(\hat{Z}_{m}^{2})\kappa(W_{m}^{Q,+})=\lambda(\hat{Z}_{m}^{1})+\lambda(\hat{Z}_{m}^{2})-\lambda(W_{m}^{Q,+})(1-\kappa(W_{m}^{Q,+}))+\lambda(\hat{D}_{m})(1-\kappa(\hat{D}_{m}))\;. (65) and also in combination with equation 63 (\lambda(W_{m}^{Q,+})/4+\lambda(\hat{D}_{m}))(1-\kappa(W_{m}^{Q,+}))\geq\lambda(\hat{Z}_{m}^{2})\kappa(1-\hat{Z}_{m}^{2})\;, (66) which also gives \lambda(\hat{Z}_{m}^{2})\geq\lambda(W_{m}^{Q,+})/4 . To complete Step: 2 we now lower bound d_{\infty}(\hat{s},\eta) on event \mathcal{E}_{1}^{m} . Firstly note that, \displaystyle\mathrm{ROC}\mathopen{}\mathclose{{\left(\frac{(1-\hat{Z}_{m})\lambda(\hat{Z}_{m})}{1-p},\eta}}\right) \displaystyle=\frac{\lambda\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)\kappa\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}\cup W_{m}^{Q,+}}}\right)}{p} \displaystyle=\frac{\lambda\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}}}\right)\kappa\mathopen{}\mathclose{{\left(\bigcup_{n=1}^{m-1}W_{n}}}\right)}{p}+\frac{\lambda\mathopen{}\mathclose{{\left(W_{m}^{Q,+}}}\right)\kappa\mathopen{}\mathclose{{\left(W_{m}^{Q,+}}}\right)}{p} therefore, for a problem \nu^{Q}:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\geq\mathcal{G}_{m}\lambda(W_{m})/2 , on event \mathcal{E}_{1}^{m} , \displaystyle d_{\infty}(\hat{s},\eta) \displaystyle=1/p\mathopen{}\mathclose{{\left(\lambda(\hat{D}_{m})\kappa(\hat{D}_{m})+\lambda\mathopen{}\mathclose{{\left(W_{m}^{Q,+}}}\right)\kappa\mathopen{}\mathclose{{\left(W_{m}^{Q,+}}}\right)-\frac{\kappa(W_{m}^{Q,+})\lambda(\hat{Z}^{1}_{m})}{p}-\kappa(W_{m}^{Q,-})\lambda(\hat{Z}^{2}_{m})}}\right) \displaystyle\geq 1/p\mathopen{}\mathclose{{\left(\lambda(\hat{D}_{m})+\lambda(W_{m}^{Q,+})-\lambda(\hat{Z}_{m}^{1})-\lambda(\hat{Z}_{m}^{2})}}\right) \displaystyle\geq 1/p\mathopen{}\mathclose{{\left(\lambda(W_{m}^{Q,+})/4+\lambda(\hat{D}_{m})-\lambda(\hat{Z}_{m}^{2})}}\right) \displaystyle\geq 1/p\mathopen{}\mathclose{{\left(\frac{\lambda(\hat{Z}_{m}^{2})(1-\kappa(\hat{Z}_{m}^{2})}{1-\kappa(\hat{D}_{m})}-\lambda(\hat{Z}_{m}^{2})}}\right) \displaystyle\geq 1/p\mathopen{}\mathclose{{\left(\frac{\lambda(\hat{Z}_{m}^{2})(\kappa(\hat{D}_{m})-\kappa(\hat{Z}_{m}^{2}))}{4(1-\kappa(\hat{D}_{m})})}}\right) \displaystyle\geq 1/p\mathopen{}\mathclose{{\left(\frac{\lambda(W_{m}^{Q,+})(\kappa(W_{m}^{Q,+})-\kappa(W_{m}^{Q,-}))}{1-\kappa(W_{m}^{Q,+})}}}\right)\geq 1/p\mathopen{}\mathclose{{\left(\frac{\lambda(W_{m}^{Q,+})\Delta(U_{m}))}{4(1-\kappa(W_{m}^{Q,+}))}}}\right)\geq\varepsilon where the first inequality follows from Equation ( 65 ) the second from ( 63 ) and the third from ( 66 ). Let \mathbb{P}_{Q} correspond to the probability under the distribution on all samples collected by strategy \pi on problem \nu^{Q} . Thus, as we assume policy \pi is PAC (\delta,\varepsilon) , on all problems \nu^{Q} , we must have that, on all problems \nu^{Q}:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\geq\mathcal{G}_{m}\lambda(W_{m})/2 , \mathbb{P}_{Q}(\mathcal{E}_{1}^{m})\leq\delta\;, (67) Via similar reasoning we can show that on all problems \nu^{Q}:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\leq\mathcal{G}_{m}/2 , we must have that, \mathbb{P}_{Q}(\mathcal{E}_{0}^{m})\leq\delta\;. (68) Step 4: bounding the probability of the sum of \xi_{i,m} Now, for m\in[M] , and \nu^{Q}:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\leq\mathcal{G}_{m}/2 , via the Azuma hoeffding inequality applied to the martingale, \sum_{i:[\mathcal{G}_{m}]\in C_{m},Q_{i}^{m}=0}\mathopen{}\mathclose{{\left[\mathbf{1}(\xi_{i,m})-\mathbb{P}_{Q}(\xi_{i,m})}}\right]\;, we have that, \mathbb{P}_{Q}\mathopen{}\mathclose{{\left(\sum_{i\in[\mathcal{G}_{m}]:Q_{i}^{m}=0}\mathopen{}\mathclose{{\left[\mathbf{1}(\xi_{i,m})-\mathbb{P}_{Q}(\xi_{i,m})}}\right]\geq\mathcal{G}_{m}\log\mathopen{}\mathclose{{\left(\frac{1}{1-\delta}}}\right)}}\right)\leq 1-\delta\;. (69) Thus via combination of Equations ( 68 ) and ( 69 ) we must have that, \forall Q:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\leq\mathcal{G}_{m}/2, \sum_{i\in[\mathcal{G}_{m}]:Q_{i}^{m}=0}\mathbb{P}_{Q}(\xi_{i,m})\leq\frac{\mathcal{G}_{m}}{4}-\mathcal{G}_{m}\log\mathopen{}\mathclose{{\left(\frac{1}{1-\delta}}}\right)\leq\frac{3\mathcal{G}_{m}}{8}\;, (70) where the second inequality comes from our assumption \delta\leq 1-\exp(-1/8) . Via similar reasoning we also have that, \forall Q:\sum_{i\in[\mathcal{G}_{m}]}Q_{i}^{m}\geq\mathcal{G}_{m}\lambda(W_{m})/2, \sum_{i\in[\mathcal{G}_{m}]:Q_{i}^{m}=0}\mathbb{P}_{Q}(\xi_{i,m})\geq\frac{\mathcal{G}_{m}}{2}-\mathcal{G}_{m}\log\mathopen{}\mathclose{{\left(\frac{1}{1-\delta}}}\right)\geq\frac{5\mathcal{G}_{m}}{8}\;. (71) Step 5: applying a Fano type inequality We write \tau_{m,i} for the total number of samples the learner draws on [G_{i,m},G_{i+1,m}) and \tau_{(m)} for the total number of samples the learner draws on the set W_{m} . Let Q^{(i)} be the transformation of Q that flips the i th coordinate, Q_{a}^{(k)}=\begin{cases}Q_{a}\text{ If }a\neq k,\\ 1-Q_{a}\text{ If }a=k\,.\end{cases} Consider the class of problems, \mathfrak{Q}_{0}=\mathopen{}\mathclose{{\left\{Q:\forall m\in[M],\sum_{i:[\mathcal{G}_{m}]}Q_{i}^{m}=\frac{\mathcal{G}_{m}}{2}-1}}\right\}\;, and \mathfrak{Q}=\mathopen{}\mathclose{{\left\{Q:\forall m\in[M],\sum_{i:[\mathcal{G}_{m}]}Q_{i}^{m}=\frac{\mathcal{G}_{m}}{2}}}\right\}\;, and fix m\in[M] , we see that, for all Q\in\mathfrak{Q}_{0},i:Q_{i}=0 , there exists a unique \tilde{Q}\in\mathfrak{Q} such that \tilde{Q}^{(i)}=Q , therefore, \sum_{Q\in\mathfrak{Q}}\sum_{m\in[M]}\;\sum_{i\in[\mathcal{G}_{m}]:Q_{i}=1}\mathbb{P}_{Q^{(i)}}(\xi_{i,m})=\sum_{Q\in\mathfrak{Q}_{0}}\;\sum_{i\in[\mathcal{G}_{m}]:Q_{i}=0}\mathbb{P}_{Q}(\xi_{i,m})\leq\frac{3\mathcal{G}_{m}}{8}\;, (72) where the final inequality follows from Equation ( 70 ). Thus, via combination of Equations ( 71 ) and ( 72 ), and using the data processing inequality and the convexity of the relative entropy we have, \displaystyle\kl\!\mathopen{}\mathclose{{\left(\underbrace{\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\sum_{m\in[M]}\frac{2}{\mathcal{G}_{m}}\;\sum_{i\in\mathcal{G}_{m}:Q_{i}=1}\mathbb{P}_{Q^{(i)}}(\xi_{i,m})}_{\leq 6/8},\underbrace{\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\frac{2}{\mathcal{G}_{m}}\;\sum_{i\in\mathcal{G}_{m}:Q_{i}=1}\mathbb{P}_{Q}(\xi_{i,m})}_{\geq 10/8}}}\right) \displaystyle\leq\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\;\frac{2}{\mathcal{G}_{m}}\sum_{i\in\mathcal{G}_{m}:Q_{i}=1}\mathbb{E}_{Q}[\tau_{m,i}]\frac{\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))}{2} \displaystyle\leq\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\;\frac{\mathbb{E}_{Q}[\tau_{(m)}]\kl(\eta(U_{m})-4/3\Delta_{U_{m}},\eta(U_{m})+4/3\Delta(U_{m}))}{\mathcal{G}_{m}}\;. Then using the Pinsker inequality \kl(x,y)\geq 2(x-y)^{2} , we obtain \frac{10}{8}\leq\frac{3}{8}+\sqrt{\leq\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\;\frac{\mathbb{E}_{Q}[\tau_{(m)}]\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))}{\mathcal{G}_{m}}}\;, and therefore, \leq\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\;\frac{\mathbb{E}_{Q}[\tau_{(m)}]\kl(\eta(U_{m})-\Delta(U_{m}),\eta(U_{m})+\Delta(U_{m}))}{\mathcal{G}_{m}}\geq\frac{9}{64} thus \displaystyle\leq\frac{1}{|\mathfrak{Q}|}\sum_{Q\in\mathfrak{Q}}\mathbb{E}_{Q}[\tau_{(m)}] \displaystyle\geq\;c^{\prime}\frac{\mathcal{G}_{m}}{\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))} (73) \displaystyle\geq\;c^{\prime}\frac{\lambda(W_{m})\Delta(U_{m})^{\beta}}{\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))} (74) and thus, \max_{Q\in\mathfrak{Q}}\sum_{m\in[M]}\mathbb{E}_{Q}[\tau_{(m)}]\geq\;c^{\prime}\sum_{m\in[M]}\frac{\lambda(W_{m})\Delta(U_{m})^{\beta}}{\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))} where c^{\prime}>0 is an absolute constant changing line by line. The proof now follows, as \forall m\in[M],x\in W_{m} , H(x)\geq\frac{\Delta(U_{m})^{\beta}}{\kl(\eta(U_{m})-4/3\Delta(U_{m}),\eta(U_{m})+4/3\Delta(U_{m}))}\;. ∎