Distribution-free two-sample testing with blurred total variation distance Rohan Hore, Rina Foygel Barber Abstract Two-sample testing, where we aim to determine whether two distributions are equal or not equal based on samples from each one, is challenging if we cannot place assumptions on the properties of the two distributions. In particular, certifying equality of distributions, or even providing a tight upper bound on the total variation (TV) distance between the distributions, is impossible to achieve in a distribution-free regime. In this work, we examine the blurred TV distance, a relaxation of TV distance that enables us to perform inference without assumptions on the distributions. We provide theoretical guarantees for distribution-free upper and lower bounds on the blurred TV distance, and examine its properties in high dimensions. 1 Introduction Suppose we observe two independent samples X_{1},\dots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P and Y_{1},\dots,Y_{m}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q , where P and Q are distributions on \mathbb{R}^{d} . A fundamental problem in classical statistics and modern machine learning is the two-sample testing problem , H_{0}:P=Q\quad\text{vs.}\quad H_{1}:P\neq Q, which seeks to determine whether the two distributions are identical. This problem naturally arises in numerous real-world applications, spanning fields like genomics ( 21 ) , finance ( 7 ) , and generative modeling ( 2 ) . Despite its long history, constructing a powerful non-parametric test that is not overly conservative remains a non-trivial task. This is particularly challenging in higher dimensions, but even for small d the problem is non-trivial if we wish to avoid placing assumptions on the distributions. A convenient way to reformulate the problem is by considering some measure of distance D(P,Q) , such as total variation (TV) distance, Kullback–Leibler (KL) divergence, or Wasserstein distance. If D is proper , meaning D(P,Q)=0 if and only if P=Q , then we may test for equality of distributions by constructing high-probability upper and lower bounds on D(P,Q) based on the combined data \mathcal{D}_{n,m}:=(X_{1},\ldots,X_{n},Y_{1},\ldots,Y_{m}) . Ideally, we would wish to derive such bounds without imposing assumptions on the underlying distributions, so that they remain valid uniformly over all P,Q\in\mathcal{P}_{d} , where \mathcal{P}_{d} denotes the set of distributions supported on \mathbb{R}^{d} . This leads to the following notion of distribution-free confidence bounds. Definition 1 (Distribution-free confidence bounds) . For any \alpha\in(0,1) , a statistic \hat{L}_{\alpha} is said to form a distribution-free lower confidence bound ( DF-LCB ) on D at level 1-\alpha if, for all n,m\in\mathbb{N} and all P,Q\in\mathcal{P}_{d} , \mathbb{P}_{{P^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{D(P,Q)\geq\hat{L}_{\alpha}(\mathcal{D}_{n,m},\zeta)}\right\}\geq 1-\alpha. Similarly, \hat{U}_{\alpha} is said to form a distribution-free upper confidence bound ( DF-UCB ) on D at level 1-\alpha if, for all n,m\in\mathbb{N} and all P,Q\in\mathcal{P}_{d} , \mathbb{P}_{{P^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{D(P,Q)\leq\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)}\right\}\geq 1-\alpha. In these definitions, the statistics \hat{L}_{\alpha} and \hat{U}_{\alpha} are each a function of the observed data \mathcal{D}_{n,m} , in addition to a random seed \zeta\sim\textnormal{Unif}[0,1] that allows for randomization in the construction of the statistics, if desired. Relating these confidence bounds to the original testing problem, note that a large value of the DF-LCB provides evidence against the null H_{0}:P=Q . In contrast, a small value of DF-UCB supports the claim that D(P,Q) is not large. Total variation distance. The total variation (TV) distance, \mathrm{d}_{\mathrm{TV}}(P,Q)=\sup_{A\subseteq\mathbb{R}^{d}}|P(A)-Q(A)| , is a canonical choice for the measure of distance D . TV-based analyses are central in classical statistics because of their fundamental connection to hypothesis testing and robustness of inference procedures ( 11 ) . More recently, TV has re-emerged in modern machine learning, particularly in the analysis of diffusion-based generative models, where it is used as a strong metric to study distributional convergence and stability properties of the learned dynamics ( 14 ; 13 ) . However, TV distance is difficult to estimate from finite samples and is highly sensitive to fine-scale differences between P and Q , making any inference on it statistically challenging in nonparametric regimes. We next elaborate on this difficulty and show that constructing a meaningful DF-UCB for \mathrm{d}_{\mathrm{TV}} is, in general, theoretically infeasible. 1.1 Non-trivial DF-UCB on total variation distance is impossible Although the definitions of a DF-UCB and DF-LCB appear symmetric (see Definition 1 ), the two problems are fundamentally different. In particular, for TV distance, we will now see that a non-trivial DF-UCB is often impossible without additional assumptions. Indeed, when P and Q are continuous distributions, finite samples of sizes n and m are almost surely distinct, and thus one cannot rule out the possibility that P and Q are mutually singular (i.e., the two distributions have nonoverlapping supports, and thus \mathrm{d}_{\mathrm{TV}}(P,Q)=1 ). As a consequence, in the absence of structural assumptions on the distributions, any distribution-free upper confidence bound on \mathrm{d}_{\mathrm{TV}}(P,Q) must be trivial, in the following sense: Theorem 1.1 . Fix \alpha\in[0,1] , any d\geq 1 , and any n,m\geq 1 . Let \hat{U}_{\alpha} be any (possibly randomized) distribution-free upper confidence bound for \mathrm{d}_{\mathrm{TV}}(\cdot,\cdot) . Then, for any pair of distributions P,Q\in\mathcal{P}_{d} satisfying \textnormal{atom}(P)\cap\textnormal{atom}(Q)=\varnothing , \mathbb{P}_{{P^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)=1}\right\}\;\geq\;1-\alpha. (Here, \textnormal{atom}(P)=\{x\in\mathbb{R}^{d}:P(\{x\})>0\} denotes the set of atoms of P .) In other words, any valid DF-UCB is inevitably as large as the following completely trivial solution: simply return \hat{U}_{\alpha}=1 with probability 1-\alpha , and \hat{U}_{\alpha}=0 otherwise, independently of the data. Although here we state this negative result in the specific context of constructing a DF-UCB , the statistical difficulty of working with total variation distance has been well documented in the literature through a range of different frameworks. In particular, when P and Q are supported on a finite alphabet of size K , consistent estimation of the TV distance requires sample sizes satisfying n,m\gg K , and even distinguishing between \mathrm{d}_{\mathrm{TV}}(P,Q)=0 and \mathrm{d}_{\mathrm{TV}}(P,Q)\geq c requires n,m\gtrsim\sqrt{K} ( 8 ; 22 ) . Consequently, even in discrete settings, a large support size means that constructing tight, finite-sample confidence bounds for TV distance remains challenging without strong assumptions; this challenge is even more severe for distributions that are continuous. In particular, we emphasize that this challenge is not simply due to high dimensionality: the result of Theorem 1.1 holds even in dimension d=1 , for arbitrarily large sample sizes n,m . In contrast, constructing a DF-LCB for \mathrm{d}_{\mathrm{TV}} is often comparatively straightforward. For any measurable set A\subseteq\mathbb{R}^{d} , it holds that \mathrm{d}_{\mathrm{TV}}(P,Q)\geq|P(A)-Q(A)| . Given samples X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P and Y_{1},\ldots,Y_{m}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q , the empirical probabilities consistently estimate P(A) and Q(A) , respectively. For any fixed A , we can therefore derive tight, distribution-free lower bounds on |P(A)-Q(A)| —and hence on \mathrm{d}_{\mathrm{TV}}(P,Q) . Unlike in the case of upper confidence bounds, such lower bounds can be non-trivial for suitably chosen sets A and distributions P,Q . This asymmetry between upper and lower confidence bounds motivates the central idea of this work: to introduce a principled relaxation of TV distance that permits non-trivial, assumption-free guarantees for providing an upper as well as a lower bound, while retaining the interpretability of the classical TV metric. 1.2 The blurred total variation distance The statistical difficulty of working with the classical TV distance has motivated a substantial body of work on alternative discrepancies that trade metric strength for improved estimability. Prominent examples include kernel-based distances such as the maximum mean discrepancy (MMD) ( 6 ; 20 ) , as well as optimal transport–based distances such as the Wasserstein distance ( 19 ; 24 ) . While these metrics may allow for distribution-free estimation, they lose the natural interpretation of TV metric in terms of its connections with hypothesis testing. In this paper, we investigate a different relaxation, the blurred total variation (blurred TV) distance, which compares smoothed versions of the underlying distributions, and which can be interpreted as an approximation of TV distance. We begin by defining the class of kernels used to induce smoothing. Let \mathcal{K}_{d} denote the collection of all probability densities on \mathbb{R}^{d} , which we refer to as kernels . Given a kernel \psi\in\mathcal{K}_{d} and a bandwidth parameter h>0 , define the scaled kernel \psi_{h}(u)=h^{-d}\psi(u/h) . A canonical and widely used choice of kernel is the Gaussian density: \psi(u)=\frac{1}{(2\pi)^{d/2}}\exp\bigl(-\|u\|^{2}_{2}/2\bigr). (1.1) Definition 2 (Blurred total variation distance) . Let \psi\in\mathcal{K}_{d} and h>0 . The blurred total variation distance between P,Q\in\mathcal{P}_{d} is defined as \mathrm{d}_{\mathrm{TV}}^{h}(P,Q):=\mathrm{d}_{\mathrm{TV}}(P\ast\psi_{h},\,Q\ast\psi_{h}). (1.2) Here \ast denotes the convolution operation: we can interpret P\ast\psi_{h} as the distribution of X+h\xi , where X\sim P and (independently) \xi\sim\psi . In words, the blurred TV distance corresponds to comparing distributions in total variation after passing them through a common smoothing operation. Intuitively, this measure is likely similar to TV distance if the bandwidth h>0 of the blur is small. For convenience, we will also interpret \mathrm{d}_{\mathrm{TV}}^{0}(P,Q) as \mathrm{d}_{\mathrm{TV}}(P,Q) . Prior work on blurred TV. The blurred TV distance, and related definitions, have been studied previously in several contexts. In information theory, total variation after smoothing arises naturally in the study of contraction properties of additive-noise channels ( 3 ) . 15 uses blurred TV to obtain generalization bounds on learning algorithms. More generally, 9 introduces smoothed total variation as a class of integral probability metrics. The work of 18 establishes a central limit theorem in blurred TV, while 4 ; 5 study convergence of the empirical measure in the blurred TV metric and its limiting distribution, particularly for the Gaussian kernel ( 1.1 ). 1.3 Our contributions In this work, we position blurred TV as a principled relaxation of the classical TV distance for distribution-free inference, and demonstrate that meaningful and practically usable finite-sample confidence bounds for blurred TV are possible, even though classical TV suffers from a fundamental hardness (Theorem 1.1 ). Our main contributions are: • We construct distribution-free lower and upper confidence bounds ( DF-LCB and DF-UCB ) for the blurred TV distance. These bounds are designed to satisfy assumption-free, finite-sample validity : the proposed confidence bounds are fully distribution-free and valid uniformly over all distributions P,Q\in\mathcal{P}_{d} , without requiring smoothness, moment, or other structural assumptions, with guarantees that hold for arbitrary sample sizes n,m and dimension d . • In the course of developing these confidence bounds, we establish several structural and analytical properties of the blurred TV distance that further justify its role as a principled relaxation of classical TV. • We study the behavior of blurred TV in high dimensions and show that, although distribution-free inference can lose power when the dimension d grows too quickly relative to the sample sizes n and m , the blurred TV distance depends primarily on the intrinsic dimension of the data. This suggests that meaningful distribution-free inference remains possible even in high dimensions when the distributions are supported on a low-dimensional subspace or manifold. 1.4 Organization of the paper The remainder of the paper is organized as follows. First, in Section 2 we establish some key properties of both the oracle and the blurred TV measure. In Section 3 , we present the distribution-free confidence bounds on the blurred TV, and in Section 4 , we study the behavior of these bounds in high dimensions. We conclude with a short discussion in Section 5 . All proofs are deferred to the appendix. 2 Properties of blurred TV distance In this section, we establish several fundamental properties of the blurred TV distance that motivate its choice as a principled relaxation of the classical TV distance. Together, these features position blurred TV as a natural and tractable surrogate for TV in nonparametric settings. 2.1 The role of the bandwidth We begin by establishing several properties of the blurred TV distance that clarify its relationship to the classical total variation metric, and in particular, the role of the bandwidth parameter h in governing this transition. Proposition 2.1 . Fix distributions P,Q\in\mathcal{P}_{d} and a kernel \psi\in\mathcal{K}_{d} . Then: (i) \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}(P,Q) for all h\geq 0 ; (ii) \lim_{h\to 0}\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)=\mathrm{d}_{\mathrm{TV}}(P,Q) ; (iii) \lim_{h\to\infty}\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)=0 ; (iv) the map h\mapsto\mathrm{d}_{\mathrm{TV}}^{h}(P,Q) is continuous on h\in[0,\infty) . In particular, parts (ii) and (iii) illustrate a fundamental trade-off in the choice of h : although a larger bandwidth h facilitates statistically tractable, distribution-free inference due to greater smoothing, a smaller choice of bandwidth h retains finer resolution with respect to the original distributions. We will return to this point in our results and experiments below. Based on Proposition 2.1 , one might ask whether \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) decreases monotonically as the bandwidth h increases, reflecting the increasing degree of smoothing induced by convolution. In particular, the commonly used Gaussian kernel satisfies this type of monotonicity property: Proposition 2.2 . Suppose \psi is the Gaussian kernel defined in ( 1.1 ). Then, for any two distributions P,Q\in\mathcal{P}_{d} , the blurred TV distance \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) is monotonically decreasing in the bandwidth h . However, for other choices of \psi , the blurred TV distance is not necessarily monotone in h in general. Figure 1 illustrates this phenomenon with an example. Figure 1: Near-monotonic behavior of blurred TV with bandwidth h . Here P=\mathcal{N}(1,1) , Q=\mathcal{N}(-1,1) , with \mathrm{d}_{\mathrm{TV}}(P,Q)=\Phi(1)-\Phi(-1)\approx 0.683 , marked with a \star in the figure. \psi is either the Gaussian kernel (left), or a multimodal kernel, given by a density of the mixture distribution \tfrac{1}{3}\,\mathcal{N}(-4,1)+\tfrac{1}{3}\,\mathcal{N}(0,1)+\tfrac{1}{3}\,\mathcal{N}(4,1) (right). 2.2 Convergence of the empirical blurred TV In practice, we do not have access to the true distributions P and Q , and instead can only work with the empirical distributions \widehat{P}_{n}=\frac{1}{n}\sum_{i=1}^{n}\delta_{X_{i}} and \widehat{Q}_{m}=\frac{1}{m}\sum_{j=1}^{m}\delta_{Y_{j}} of the available data X_{1},\dots,X_{n} and of Y_{1},\dots,Y_{m} , respectively. The appeal of blurred TV is that (unlike TV) it permits approximation via the empirical distributions, without assumptions on the original distributions. Here we develop some of these properties to build towards our main results, constructing the DF-LCB and DF-UCB later on. First, we verify that the empirical measure \widehat{P}_{n} converges to P in blurred TV, as n\to\infty . Theorem 2.3 . For any distribution P\in\mathcal{P}_{d} , any kernel \psi\in\mathcal{K}_{d} , and any fixed h>0 , \lim_{n\to\infty}\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]=0. It is also possible to give more precise, quantitative results, establishing a specific rate of convergence under mild assumptions on P,Q and on \psi . For instance, 4 establishes this type of result for Gaussian kernels; see also Appendix E for a quantitative result for general \psi . The above theorem implies that, with respect to the blurred TV metric, the empirical distributions \widehat{P}_{n} and \widehat{Q}_{m} offer accurate approximations to P and Q . In particular, this implies that \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) should be possible to estimate via the corresponding empirical quantity, \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) . Our next result makes this intuition precise by establishing bounds on the expected value of this empirical estimator. Before proceeding, we first define the split empirical measures \widehat{P}_{n/2}^{(1)}:=\frac{1}{\lfloor n/2\rfloor}\sum_{i=1}^{\lfloor n/2\rfloor}\delta_{X_{i}},\qquad\widehat{P}_{n/2}^{(2)}:=\frac{1}{\lceil n/2\rceil}\sum_{i=\lfloor n/2\rfloor+1}^{n}\delta_{X_{i}}, based on two (approximately) equal halves of the sample X_{1},\dots,X_{n} of data from P (where we implicitly assume n\geq 2 in order for this split to be defined). The analogous quantities \widehat{Q}_{m/2}^{(1)} and \widehat{Q}_{m/2}^{(2)} are defined similarly using the data Y_{1},\dots,Y_{m} (when m\geq 2 ). Proposition 2.4 . Fix any d\geq 1 , any distributions P,Q\in\mathcal{P}_{d} , any kernel \psi\in\mathcal{K}_{d} , and any bandwidth h>0 . Then, for all n,m\geq 1 , \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right]\geq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\geq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right]-\Delta_{n,m,h}, where \Delta_{n,m,h}:=\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})}\right]+\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})}\right], or we simply take \Delta_{n,m,h}=1 if \min\{n,m\}=1 . The gap \Delta_{n,m,h} quantifies the intrinsic variability within the X and Y samples and admits a natural, data-driven estimate via sample splitting. By Theorem 2.3 , \Delta_{n,m,h} converges to zero as n,m\to\infty (when h>0 is held constant). Consequently, this suggests that the empirical blurred TV distance \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) provides an accurate approximation of the oracle blurred TV measure \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) —but thus far, we have only examined its expected value. In the next section, we show that the empirical blurred TV distance can be used to construct both distribution-free lower and upper confidence bounds for \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) . 3 DF-UCB and DF-LCB for blurred TV In this section, we construct distribution-free confidence bounds for the blurred TV distance. Theorem 3.1 . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}_{\alpha}(\mathcal{D}_{n,m}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})+\epsilon_{n,m,\alpha} and \hat{L}_{\alpha}(\mathcal{D}_{n,m}):=\max\Bigl\{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})-3\,\epsilon_{n-1,m-1,\alpha},\,0\Bigr\}, where \epsilon_{n,m,\alpha}:=\left(\frac{\log(1/\alpha)}{2}\left(\frac{1}{n}+\frac{1}{m}\right)\right)^{1/2} . Then \hat{U}_{\alpha}(\mathcal{D}_{n,m}) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at level 1-\alpha , and 1 1 1 Here and throughout the paper, the DF-LCB can be interpreted as 0 if n=1 or m=1 (i.e., if the split empirical measures are not defined). \hat{L}_{\alpha}(\mathcal{D}_{n,m}) is a DF-LCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at level 1-\alpha . The validity of these bounds follows from the fact that the blurred TV can be bounded via the expected value of empirical blurred TV, as in Proposition 2.4 ; concentration is then established via McDiarmid’s inequality. Although this result offers clean and useful bounds on the blurred TV, several aspects can be improved for practical use. We summarize the main issues below and indicate how they are addressed. • The empirical blurred TV \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) is hard to compute exactly—numerical integration is possible for smooth kernels, but is computationally expensive. In Section 3.1 , we introduce a Monte Carlo approximation that is easy to compute and preserves distribution-free validity. • The above bounds are valid for a fixed bandwidth h>0 . In practice, it is often desirable to select h in a data-dependent way. This motivates the refined confidence bounds in Section 3.2 that are uniformly valid over a range of bandwidths, which we obtain via a monotonization approach. • For any P,Q , \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\to 0 as h increases. However, for fixed n,m , the error terms in the bounds above, \epsilon_{n,m,\alpha} , do not decay with h . To improve interpretability, we construct bounds in Section 3.3 that scale with h , to allow for a DF-UCB that is less conservative as h\to\infty . Each of the three following subsections addresses the above three aims individually. However, we emphasize that all of these issues can be handled simultaneously; we defer the full construction to Appendix E and here present only the individual results, for clarity. Since the DF-UCB and DF-LCB are handled in a symmetric manner, for clarity we present only the DF-UCB results in the remainder of this section, and give the corresponding DF-LCB results in the appendix. 3.1 Monte Carlo approximation of empirical blurred TV We introduce a Monte Carlo approximation of the empirical blurred TV that enables practical implementation of the confidence bounds in Theorem 3.1 while preserving distribution-free validity. First, observe that the empirical blurred TV admits the representation \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})=\frac{1}{2}\mathbb{E}_{{\begin{subarray}{c}W\sim\frac{1}{2}\widehat{P}_{n}+\frac{1}{2}\widehat{Q}_{m}\\ \xi\sim\psi\end{subarray}}}\left[{\left|\frac{\mathsf{d}(\widehat{P}_{n}\ast\psi_{h})-\mathsf{d}(\widehat{Q}_{m}\ast\psi_{h})}{\mathsf{d}\bigl(\frac{1}{2}\widehat{P}_{n}\ast\psi_{h}+\frac{1}{2}\widehat{Q}_{m}\ast\psi_{h}\bigr)}\bigl(W+h\xi\bigr)\right|}\right]. Motivated by this identity, we define the Monte Carlo estimator \widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B):=\frac{1}{2B}\sum_{k=1}^{B}\left|\frac{\mathsf{d}(\widehat{P}_{n}\ast\psi_{h})-\mathsf{d}(\widehat{Q}_{m}\ast\psi_{h})}{\mathsf{d}\bigl(\frac{1}{2}\widehat{P}_{n}\ast\psi_{h}+\frac{1}{2}\widehat{Q}_{m}\ast\psi_{h}\bigr)}\bigl(W_{k}+h\xi_{k}\bigr)\right|, where W_{1},\ldots,W_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\frac{1}{2}\widehat{P}_{n}+\frac{1}{2}\widehat{Q}_{m} and \xi_{1},\ldots,\xi_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\psi . Here B denotes the Monte Carlo sample size. The DF-UCB in Theorem 3.1 can be updated with only an additional O(1/\sqrt{B}) term. Theorem 3.2 . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}_{\alpha}(\mathcal{D}_{n,m},B):=\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)+\epsilon_{n,m,\alpha/2}+\epsilon_{B,\alpha/2}, where \epsilon_{B,\alpha}:=\left(\frac{\log(1/\alpha)}{2B}\right)^{1/2} . Then \hat{U}_{\alpha}(\mathcal{D}_{n,m},B) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha . 3.2 Uniform validity of confidence bounds across bandwidths We now construct a DF-UCB and a DF-LCB for \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) that are valid simultaneously for all bandwidths h>0 . As a warm-up, consider a finite collection \mathcal{H}_{L}=\{h_{0},h_{1},\ldots,h_{L}\},\qquad 00, where the last inequality follows from Proposition 2.1 . Thus, \mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}} positions itself as a uniform upper envelope that remains closer to the classical TV distance. Moreover, as illustrated in Figure 1 , \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) is typically monotone or nearly monotone in h , so the envelopes closely track the original blurred TV. This observation enables distribution-free confidence bounds that are uniformly valid over h\in(0,\infty) . Theorem 3.3 . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , and \alpha\in(0,1) . For all h>0 , define \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m}):=\mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}}(\widehat{P}_{n},\widehat{Q}_{m})+\epsilon_{n,m,\alpha/(n\wedge m)}+\frac{1}{n\wedge m}. Then \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m}) is DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) , uniformly for all h\in(0,\infty) , at confidence level 1-\alpha (that is, \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m})\ \forall\ h\in(0,\infty)}\right\}\geq 1-\alpha ). 3.3 Bandwidth-adaptive confidence bounds at a fixed h The confidence bounds in Theorem 3.1 are based on a bounded-differences argument that does not adapt to the variability of the empirical blurred TV. We now introduce variance-adaptive confidence bounds at a fixed bandwidth h>0 . The key ingredient is a data-dependent variance proxy that captures the sensitivity of the kernel to translations. For a kernel \psi , define its shift modulus by \omega_{\psi}(v):=\mathrm{d}_{\mathrm{TV}}(\delta_{v}\ast\psi,\psi) for v\in\mathbb{R}^{d} . For commonly used kernels, including the Gaussian kernel, \omega_{\psi}(v) grows at most linearly for small \|v\|_{2} , and is uniformly bounded, \omega_{\psi}(v)\leq 1 . Using this quantity, we define \hat{\Sigma}_{n,m}^{h}:=\frac{1}{n\binom{n}{2}}\sum_{1\leq i0 , but \hat{\Sigma}_{n,m}^{h} may be substantially smaller if h is large. Theorem 3.4 . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})+C_{\alpha}\left\{\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}+\frac{1}{n\wedge m}\right\}, where C_{\alpha} depends only on \alpha and is defined in the proof. Then \hat{U}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h}) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha . We see that this improves on the original DF-UCB of Theorem 3.1 , in terms of the magnitude of the terms added to the estimate \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) : this new result adds a margin of error that is \mathcal{O}(\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}+\frac{1}{n\wedge m}) , rather than \mathcal{O}(\frac{1}{\sqrt{n\wedge m}}) as in Theorem 3.1 , which is an improvement as h\to\infty . 3.4 Numerical experiment We illustrate the practical performance of our confidence bounds in a simple Gaussian setting, with P=\mathcal{N}(\beta,1) and Q=\mathcal{N}(-\beta,1) . Figure 2 displays the Monte Carlo confidence bounds from Theorem 3.2 (see Appendix C.2 for the full statement that includes both the DF-UCB and the DF-LCB ), together with the empirical and oracle blurred TV, for different values of \beta . Figure 2: Monte Carlo based confidence bounds on \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) . In each plot, \mathrm{d}_{\mathrm{TV}}(P,Q) is marked by a \star symbol. See Section 3.4 for simulation details. The empirical blurred TV \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) closely tracks the oracle quantity \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) , confirming its accuracy as an estimator. Although classical TV admits no non-trivial distribution-free upper bound (Theorem 1.1 ), the DF-UCB for blurred TV remains informative, staying well below 1 even at small bandwidths h>0 . 4 Blurred TV in high dimensions The distribution-free lower and upper confidence bounds for blurred TV established in the previous section are valid for any fixed dimension d . However, as d increases, samples from P and Q become increasingly diffuse, and consequently the empirical blurred TV tends to approach 1 even for moderate choices of the bandwidth, turning the resulting DF-UCB essentially uninformative. This raises a natural question: is this behavior an artifact of the empirical estimator we take, or does it reflect an intrinsic limitation of inference on the blurred TV in high dimensions? In this section, we show that the latter is the case. Throughout this section, we consider only the Gaussian kernel. 4.1 A curse of dimensionality We first develop a result that highlights the challenges of inference on blurred TV in high dimensions. For any C\geq 1 , let \mathcal{P}_{d}(C)\subseteq\mathcal{P}_{d} be the set of all distributions that are supported on the unit ball \mathbb{B}_{d}=\{x\in\mathbb{R}^{d}:\|x\|_{2}\leq 1\} and have a density bounded by C(\textnormal{Vol}(\mathbb{B}_{d}))^{-1} . (In particular, for C=1 , the set \mathcal{P}_{d}(1) contains only the uniform distribution on \mathbb{B}_{d} .) Theorem 4.1 . Fix any dimension d\geq 1 and sample sizes n,m\geq 1 . Let \psi be the Gaussian kernel ( 1.1 ), and let \hat{U}_{\alpha} be any DF-UCB on the blurred TV distance \mathrm{d}_{\mathrm{TV}}^{h} , for some h>0 . Fix any \epsilon,\delta\in(0,1) and C\geq 1 . Then there exist constants c_{0},c_{1},c_{2} depending only on C,\epsilon,\delta , such that if h\leq c_{0}\cdot\begin{cases}\frac{1}{(n\wedge m)^{2/d}\sqrt{d}},&\textnormal{ if }d\leq c_{1}\log(n\wedge m),\\ \frac{1}{\sqrt{\log(n\wedge m)}},&\textnormal{ if }d>c_{1}\log(n\wedge m),\end{cases} (4.1) and n,m\geq c_{2} , then for any P,Q\in\mathcal{P}_{d}(C) , \mathbb{P}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\right\}\geq 1-\alpha-\delta. Thus, for small h , a meaningful DF-UCB is impossible: even if P=Q , any valid DF-UCB will be close to 1 with \approx 1-\alpha probability (similar to the result of Theorem 1.1 ). On the other hand, if h is sufficiently large, then providing a DF-UCB is a trivial problem for any choice of kernel \psi . For the Gaussian kernel, for any P,Q supported on \mathbb{B}_{d} , \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\frac{\sqrt{2/\pi}}{h} . Consequently, for h\gg 1 , \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) (for bounded P,Q ) is trivial to bound, since it must necessarily be close to zero. h=0 h\asymp\frac{1}{n^{2/d}} h\asymp 1 h=0 h\asymp\frac{1}{\sqrt{\log n}} h\asymp 1 Impossible to construct a meaningful UCB Blurred TV is trivial Low-dim. ( d=\mathcal{O}(1) ) High-dim. ( d\gg\log n ) Figure 3: A visualization of the results of Section 4.1 , for distributions P,Q with bounded density on the unit ball. These findings are illustrated in Figure 3 . To summarize, if d=\mathcal{O}(1) , then the problem of a DF-UCB for blurred TV distance is meaningful across a broad range of bandwidths h ; there is a wide span of h values in between the regime where the problem is impossible ( h\ll 1/n^{2/d} ) or trivial ( h\gg 1 ). However, as soon as d\gg\log n , the range of bandwidths where the problem is meaningful becomes much narrower. It seems, therefore, that the blurred TV distance suffers from a curse of dimensionality if we wish to perform distribution-free inference. However, there is an important caveat to this conclusion: we have been assuming that the distributions P,Q generating the data have bounded density, which means that P,Q behave similarly to uniform distributions over the unit ball, and do not have latent low-dimensional structure. We turn to this aspect of the question next. 4.2 Dependence of blurred TV on the effective dimension In this section, we show that the blurred TV distance depends only on the effective dimension of the underlying distributions, rather than on the ambient dimension d . To emphasize the role of dimension, we will write \psi_{d} for the density of \mathcal{N}(\boldsymbol{0},I_{d}) , and denote blurred TV computed with kernel \psi_{d} by \mathrm{d}_{\mathrm{TV}}^{h,\psi_{d}} . Suppose P,Q\in\mathcal{P}_{d} are supported on some k -dimensional linear subspace in \mathbb{R}^{d} . The following result shows that the behavior of blurred TV depends on the “true” dimension k of these distributions, rather than the ambient dimension d . Theorem 4.2 . Let \psi_{d} be the Gaussian kernel ( 1.1 ). For any h>0 , and any P,Q\in\mathcal{P}_{d} supported on a k -dimensional subspace whose span is determined by an orthonormal matrix A\in\mathbb{R}^{d\times k} , \mathrm{d}_{\mathrm{TV}}^{h,\psi_{d}}(P,Q)\;=\;\mathrm{d}_{\mathrm{TV}}^{h,\psi_{k}}\bigl(A\circ P,A\circ Q\bigr), where A\circ P\in\mathcal{P}_{k} denotes the distribution of A^{\top}X when X\sim P , and similarly for A\circ Q . Since the empirical measures \widehat{P}_{n} and \widehat{Q}_{m} are also supported on the same subspace, the same identity holds empirically, i.e., \mathrm{d}_{\mathrm{TV}}^{h,\psi_{d}}(\widehat{P}_{n},\widehat{Q}_{m})\;=\;\mathrm{d}_{\mathrm{TV}}^{h,\psi_{k}}\bigl(A\circ\widehat{P}_{n},\,A\circ\widehat{Q}_{m}\bigr) . As a consequence, all confidence bounds developed in earlier sections depend on the intrinsic dimension k , rather than the ambient dimension d . In practice, it is more likely that a distribution will have approximate, rather than exact, low-dimensional structure: that is, P and Q may be concentrated near some k -dimensional subspace (or manifold). In such settings, we would expect that k still behaves as the effective dimension of the problem, allowing us to avoid the curse of dimensionality when we perform distribution-free inference on the blurred TV. We emphasize that the distribution-free guarantees of Section 3 do not assume any knowledge of the effective dimension: rather, any DF-UCB on the blurred TV will be valid regardless, but can be meaningful (i.e., not close to 1 ) only if the effective dimension is low. 4.3 Simulation study: blurred TV in high dimension We illustrate how the problem of empirically estimating blurred TV is governed by the effective dimension rather than the ambient dimension, even if the distributions are not exactly supported on a low-dimensional subspace. Define distributions P=\mathcal{N}\big(\beta\cdot\mathbf{e}_{1},(1-\tau)\mathbf{e}_{1}\mathbf{e}_{1}^{\top}+\tau I_{d}\big),\quad Q=\mathcal{N}\big(-\beta\cdot\mathbf{e}_{1},(1-\tau)\mathbf{e}_{1}\mathbf{e}_{1}^{\top}+\tau I_{d}\big), in dimension d=20 , where \mathbf{e}_{1}=(1,0,\dots,0) . The parameter \beta\geq 0 controls signal strength, with \beta=0 corresponding to P=Q , while larger \beta increases separation. The parameter \tau\in(0,1] controls effective dimension, with \tau\approx 0 corresponding to effective dimension \approx 1 . Figure 4 shows the empirical blurred TV \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) , computed via Monte Carlo approximation with B=5000 from n=m=200 samples of each distribution, for various \beta and \tau . When the effective dimension is low ( \tau\approx 0 ), curves corresponding to different \beta separate clearly: blurred TV decays rapidly for small \beta but remains positive over a wider range of h for larger \beta . In contrast, at high effective dimension (large \tau ), the curves collapse and decay at nearly the same bandwidth, indicating loss of empirical distinguishability between P=Q and P\neq Q . Figure 4: Effect of dimension on the empirical blurred TV \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) . See Section 4.3 for simulation details. 5 Discussion In this work, we have established distribution-free confidence bounds for the blurred TV distance, providing a useful proxy for the classical TV distance (which cannot be meaningfully bounded in an assumption-free regime). Our results are valid regardless of dimension and sample size, and our theoretical and empirical results show that the feasibility of meaningful inference on the blurred TV depends on intrinsic rather than ambient dimension: low effective dimension permits meaningful discrimination even in high-dimensional settings, while genuinely high-dimensional regimes mean that any assumption-free inference on blurred TV will be unable to distinguish whether distributions are similar or not. With these challenges in mind, a promising direction for future work would be to develop a meaningful blurred TV measure on low-dimensional projections or functions of high-dimensional data. Moreover, an important open question is whether assumption-free bounds on blurred TV (and any potential extensions for high-dimensional settings) may be useful in modern applications of two-sample testing problems, such as assessing the quality of generative models. Appendix A Proofs of results from Section 1 A.1 Proof of Theorem 1.1 : impossibility of DF-UCB on \mathrm{d}_{\mathrm{TV}} Fix P,Q such that \textnormal{atom}(P)\cap\textnormal{atom}(Q)=\varnothing . Let \hat{U}_{\alpha} be any DF-UCB on the total variation distance \mathrm{d}_{\mathrm{TV}}(P,Q) . Now, we consider \tilde{X}_{1},\dots,\tilde{X}_{N}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P , i.e., N samples from distribution P on \mathbb{R}^{d} , and let \widehat{P}_{N} be the corresponding empirical distribution. If \tilde{X}_{i}\not\in\textnormal{atom}(Q) for all i\in[N] , then \mathrm{d}_{\mathrm{TV}}(\widehat{P}_{N},Q)=1 , and therefore by Definition 1 , \mathbb{P}_{{(\widehat{P}_{N})^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}((X_{1},\dots,X_{n}),(Y_{1},\dots,Y_{m}),\zeta)=1}\ \middle|\ {\tilde{X}_{1},\dots,\tilde{X}_{N}}\right\}\\ \geq(1-\alpha)\cdot{\mathbbm{1}}\left\{{\{\tilde{X}_{1},\dots,\tilde{X}_{N}\}\cap\textnormal{atom}(Q)=\varnothing}\right\}. That is, \hat{U}_{\alpha} must provide a valid upper confidence bound when data is drawn from distributions \widehat{P}_{N} and Q . We can equivalently write this as follows. Conditionally on \tilde{X}_{1},\dots,\tilde{X}_{N} , let i_{1},\dots,i_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\textnormal{Unif}([N]) be indices sampled uniformly at random. Then, \tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}} are i.i.d. samples from \widehat{P}_{N} , and so it holds that \mathbb{P}_{{(\textnormal{Unif}([N]))^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}((\tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}}),(Y_{1},\dots,Y_{m}),\zeta)=1}\ \middle|\ {\tilde{X}_{1},\dots,\tilde{X}_{N}}\right\}\\ \geq(1-\alpha)\cdot{\mathbbm{1}}\left\{{\{\tilde{X}_{1},\dots,\tilde{X}_{N}\}\cap\textnormal{atom}(Q)=\varnothing}\right\}. Since \textnormal{atom}(P)\cap\textnormal{atom}(Q)=\varnothing , we therefore have \{\tilde{X}_{1},\dots,\tilde{X}_{N}\}\cap\textnormal{atom}(Q)=\varnothing almost surely, and so \mathbb{P}_{{(\textnormal{Unif}([N]))^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}((\tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}}),(Y_{1},\dots,Y_{m}),\zeta)=1}\ \middle|\ {\tilde{X}_{1},\dots,\tilde{X}_{N}}\right\}\geq 1-\alpha holds almost surely. After marginalizing over the draw of the data points \tilde{X}_{1},\dots,\tilde{X}_{N} , then, we have \mathbb{P}_{{P^{N}\times(\textnormal{Unif}([N]))^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}((\tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}}),(Y_{1},\dots,Y_{m}),\zeta)=1}\right\}\geq 1-\alpha. Lastly, note that the data set (\tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}}) is generated by sampling N i.i.d. draws from P , and then sampling n times with replacement from this data set; if N\gg n then this is nearly equivalent to simply sampling n i.i.d. draws from P , and in particular, \mathrm{d}_{\mathrm{TV}}\big((\tilde{X}_{i_{1}},\dots,\tilde{X}_{i_{n}}),(X_{1},\dots,X_{n})\big)\leq\frac{n(n-1)}{2N} (see, e.g., 1 ). Therefore, it follows that \mathbb{P}_{{P^{n}\times Q^{m}\times\textnormal{Unif}[0,1]}}\left\{{\hat{U}_{\alpha}((X_{1},\dots,X_{n}),(Y_{1},\dots,Y_{m}),\zeta)=1}\right\}\geq 1-\alpha-\frac{n(n-1)}{2N}. Finally, since N can be taken to be arbitrarily large, this completes the proof. \hfill\blacksquare Appendix B Proofs of results from Section 2 B.1 Proof of Proposition 2.1 : properties of blurred TV Throughout the proof, let X,Y,\xi be independent random variables with X\sim P , Y\sim Q , and \xi\sim\psi . We will repeatedly use the variational representation of total variation, \mathrm{d}_{\mathrm{TV}}(P_{0},P_{1})=\sup_{f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}_{{W\sim P_{0}}}\left[{f(W)}\right]-\mathbb{E}_{{W\sim P_{1}}}\left[{f(W)}\right]\bigr|, (B.1) as well as its restriction to continuous test functions, \mathrm{d}_{\mathrm{TV}}(P_{0},P_{1})=\sup_{\textnormal{continuous }f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}_{{W\sim P_{0}}}\left[{f(W)}\right]-\mathbb{E}_{{W\sim P_{1}}}\left[{f(W)}\right]\bigr|, (B.2) which holds for all distributions P_{0},P_{1} on \mathbb{R}^{d} (e.g. 10 , Lemma 2.3) . Proof of part (i). Fix any function f:\mathbb{R}^{d}\to[0,1] , and define g(x):=\mathbb{E}\left[{f(x+h\xi)}\right]. Then, we have \displaystyle\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr| \displaystyle=\bigl|\mathbb{E}\left[{\mathbb{E}\left[{f(X+h\xi)}\ \middle|\ {X}\right]}\right]-\mathbb{E}\left[{\mathbb{E}\left[{f(Y+h\xi)}\ \middle|\ {Y}\right]}\right]\bigr| \displaystyle=\bigl|\mathbb{E}\left[{g(X)}\right]-\mathbb{E}\left[{g(Y)}\right]\bigr| \displaystyle\leq\mathrm{d}_{\mathrm{TV}}(P,Q), where the final inequality follows from ( B.1 ). Since this bound holds for every f:\mathbb{R}^{d}\to[0,1] , applying ( B.1 ) once more time yields \displaystyle\mathrm{d}_{\mathrm{TV}}^{h}(P,Q) \displaystyle=\mathrm{d}_{\mathrm{TV}}(P\ast\psi_{h},Q\ast\psi_{h}) \displaystyle=\sup_{f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|\leq\mathrm{d}_{\mathrm{TV}}(P,Q). Proof of part (ii). By part (i), we already have \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}(P,Q) . It therefore suffices to show that for any fixed \epsilon>0 , there exists h_{*}>0 such that \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\geq\mathrm{d}_{\mathrm{TV}}(P,Q)-\epsilon\qquad\textnormal{for all }h\in(0,h_{*}). By ( B.2 ), we may choose a continuous function f:\mathbb{R}^{d}\to[0,1] satisfying \mathrm{d}_{\mathrm{TV}}(P,Q)\leq\bigl|\mathbb{E}\left[{f(X)}\right]-\mathbb{E}\left[{f(Y)}\right]\bigr|+\epsilon/2. By continuity and boundedness of f , \displaystyle\lim_{h\to 0}\bigl|\mathbb{E}\left[{f(X)}\right]-\mathbb{E}\left[{f(X+h\xi)}\right]\bigr| \displaystyle\leq\lim_{h\to 0}\mathbb{E}\left[{\bigl|f(X)-f(X+h\xi)\bigr|}\right] \displaystyle=\mathbb{E}\left[{\lim_{h\to 0}\bigl|f(X)-f(X+h\xi)\bigr|}\right]=0, where the interchange of limit and expectation follows from the dominated convergence theorem. An identical argument yields \lim_{h\to 0}\bigl|\mathbb{E}\left[{f(Y)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|=0. Consequently, there exists h_{*}>0 such that for all h\in(0,h_{*}) , \bigl|\mathbb{E}\left[{f(X)}\right]-\mathbb{E}\left[{f(X+h\xi)}\right]\bigr|+\bigl|\mathbb{E}\left[{f(Y)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|\leq\epsilon/2. By the triangle inequality, we further have \bigl|\mathbb{E}\left[{f(X)}\right]-\mathbb{E}\left[{f(Y)}\right]\bigr|\leq\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|\\ +\bigl|\mathbb{E}\left[{f(X)}\right]-\mathbb{E}\left[{f(X+h\xi)}\right]\bigr|+\bigl|\mathbb{E}\left[{f(Y)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|. Combining the previous displays, we obtain that for all h\in(0,h_{*}) , \mathrm{d}_{\mathrm{TV}}(P,Q)\leq\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|+\epsilon. Finally, by ( B.2 ), \bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr|\leq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q), and hence, \mathrm{d}_{\mathrm{TV}}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)+\epsilon\quad\textnormal{for all }h\in(0,h_{*}), which completes the proof. Proof of part (iii). We begin by observing that, by ( B.1 ), \displaystyle\mathrm{d}_{\mathrm{TV}}^{h}(P,Q) \displaystyle=\mathrm{d}_{\mathrm{TV}}(P\ast\psi_{h},Q\ast\psi_{h}) \displaystyle=\sup_{f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr| \displaystyle=\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h+\xi)}\right]-\mathbb{E}\left[{g(Y/h+\xi)}\right]\bigr|, where the last step holds by considering g(x)=f(hx) for any function f:\mathbb{R}^{d}\to[0,1] . Applying Jensen’s inequality and again using ( B.1 ), we obtain \displaystyle\mathrm{d}_{\mathrm{TV}}^{h}(P,Q) \displaystyle\leq\mathbb{E}\left[{\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h+\xi)}\ \middle|\ {X}\right]-\mathbb{E}\left[{g(Y/h+\xi)}\ \middle|\ {Y}\right]\bigr|}\right] \displaystyle=\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\delta_{Y/h}\ast\psi)}\right] \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\psi)+\mathrm{d}_{\mathrm{TV}}(\delta_{Y/h}\ast\psi,\psi)}\right], where the last step follows from the triangle inequality. By Lemma B.1 below, since X/h\to 0 almost surely as h\to\infty , it follows that \mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\psi)\to 0\quad\textnormal{almost surely}, and the same conclusion holds with Y in place of X . Consequently, \displaystyle\lim_{h\to\infty}\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathbb{E}\left[{\lim_{h\to\infty}\bigl(\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\psi)+\mathrm{d}_{\mathrm{TV}}(\delta_{Y/h}\ast\psi,\psi)\bigr)}\right]=0, where the interchange of limit and expectation is justified by the dominated convergence theorem, since the total variation distance is uniformly bounded by 1 . Proof of part (iv). Let (h_{k})_{k\geq 1} be any sequence in [0,\infty) such that h_{k}\to h\in[0,\infty) . We aim to show that \lim_{k\to\infty}\mathrm{d}_{\mathrm{TV}}^{h_{k}}(P,Q)=\mathrm{d}_{\mathrm{TV}}^{h}(P,Q). If h=0 , this follows immediately from part (ii). Hence, from now on we assume h>0 . Without loss of generality, we may further assume that h_{k}>0 for all k , since this holds for all sufficiently large k . As in the proof of part (iii), we can write \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)=\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h+\xi)}\right]-\mathbb{E}\left[{g(Y/h+\xi)}\right]\bigr|, and similarly, \mathrm{d}_{\mathrm{TV}}^{h_{k}}(P,Q)=\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h_{k}+\xi)}\right]-\mathbb{E}\left[{g(Y/h_{k}+\xi)}\right]\bigr|. Therefore, \displaystyle\left|\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)-\mathrm{d}_{\mathrm{TV}}^{h_{k}}(P,Q)\right| \displaystyle=\Biggl|\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h+\xi)}\right]-\mathbb{E}\left[{g(Y/h+\xi)}\right]\bigr| \displaystyle\hskip 42.67912pt-\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h_{k}+\xi)}\right]-\mathbb{E}\left[{g(Y/h_{k}+\xi)}\right]\bigr|\Biggr| \displaystyle\leq\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(X/h+\xi)}\right]-\mathbb{E}\left[{g(X/h_{k}+\xi)}\right]\bigr| \displaystyle\hskip 42.67912pt+\sup_{g:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{g(Y/h+\xi)}\right]-\mathbb{E}\left[{g(Y/h_{k}+\xi)}\right]\bigr| \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\delta_{X/h_{k}}\ast\psi)}\right]+\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{Y/h}\ast\psi,\delta_{Y/h_{k}}\ast\psi)}\right], where the last inequality follows by the same argument as in part (iii). Since X/h_{k}\to X/h almost surely as k\to\infty , Lemma B.1 , together with the dominated convergence theorem, yields \lim_{k\to\infty}\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\delta_{X/h_{k}}\ast\psi)}\right]=\mathbb{E}\left[{\lim_{k\to\infty}\mathrm{d}_{\mathrm{TV}}(\delta_{X/h}\ast\psi,\delta_{X/h_{k}}\ast\psi)}\right]=0, and the same conclusion holds for the term involving Y . Consequently, \lim_{k\to\infty}\left|\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)-\mathrm{d}_{\mathrm{TV}}^{h_{k}}(P,Q)\right|=0, which completes the proof. \blacksquare Lemma B.1 . Let \psi\in\mathcal{K}_{d} . Then \lim_{r\to 0}\sup_{\begin{subarray}{c}x,y\in\mathbb{R}^{d}\\ \|x-y\|_{2}\leq r\end{subarray}}\mathrm{d}_{\mathrm{TV}}(\delta_{x}\ast\psi,\delta_{y}\ast\psi)=0. Proof. Firstly, since total variation distance is invariant to translations, we have \mathrm{d}_{\mathrm{TV}}(\delta_{x}\ast\psi,\delta_{y}\ast\psi)=\mathrm{d}_{\mathrm{TV}}(\psi,\delta_{y-x}\ast\psi). Thus, it suffices to show that \lim_{r\to 0}\sup_{\|x\|_{2}\leq r}\mathrm{d}_{\mathrm{TV}}(\psi,\delta_{x}\ast\psi)=0. Fix an \epsilon>0 . Since the class of continuous densities is dense in \mathcal{K}_{d} with respect to total variation distance, we can choose a continuous density \psi_{1} such that \mathrm{d}_{\mathrm{TV}}(\psi,\psi_{1})\leq\epsilon. Then, for all x\in\mathbb{R}^{d} , \displaystyle\mathrm{d}_{\mathrm{TV}}(\psi,\delta_{x}\ast\psi) \displaystyle\leq\mathrm{d}_{\mathrm{TV}}(\psi_{1},\delta_{x}\ast\psi_{1})+\mathrm{d}_{\mathrm{TV}}(\psi,\psi_{1})+\mathrm{d}_{\mathrm{TV}}(\delta_{x}\ast\psi,\delta_{x}\ast\psi_{1}) \displaystyle=\mathrm{d}_{\mathrm{TV}}(\psi_{1},\delta_{x}\ast\psi_{1})+2\mathrm{d}_{\mathrm{TV}}(\psi,\psi_{1}) \displaystyle\leq\mathrm{d}_{\mathrm{TV}}(\psi_{1},\delta_{x}\ast\psi_{1})+2\epsilon, where the second step again uses translation invariance of total variation distance. The distribution \delta_{x}\ast\psi_{1} has density y\mapsto\psi_{1}(y-x) , and therefore \mathrm{d}_{\mathrm{TV}}(\psi_{1},\delta_{x}\ast\psi_{1})=\int_{\mathbb{R}^{d}}\bigl(\psi_{1}(y)-\psi_{1}(y-x)\bigr)_{+}\,\mathsf{d}y. Consequently, \displaystyle\lim_{r\to 0}\sup_{\|x\|_{2}\leq r}\mathrm{d}_{\mathrm{TV}}(\psi_{1},\delta_{x}\ast\psi_{1}) \displaystyle\leq\lim_{r\to 0}\int_{\mathbb{R}^{d}}\sup_{\|x\|_{2}\leq r}\bigl(\psi_{1}(y)-\psi_{1}(y-x)\bigr)_{+}\,\mathsf{d}y \displaystyle=\int_{\mathbb{R}^{d}}\lim_{r\to 0}\sup_{\|x\|_{2}\leq r}\bigl(\psi_{1}(y)-\psi_{1}(y-x)\bigr)_{+}\,\mathsf{d}y \displaystyle=0, where the last equality follows from continuity of \psi_{1} , and the interchange of limit and integral is justified by the dominated convergence theorem, using the bound 0\leq\sup_{\|x\|_{2}\leq r}\bigl(\psi_{1}(y)-\psi_{1}(y-x)\bigr)_{+}\leq\psi_{1}(y), together with the integrability of \psi_{1} . This completes the proof. ∎ B.2 Proof of Proposition 2.2 : monotonicity of blurred TV with a Gaussian kernel We start with observing that for 0R.\end{cases} Let Q denote the distribution of g(X) when X\sim P , and let \widehat{Q}_{n} be the empirical distribution of g(X_{1}),\ldots,g(X_{n}) . By construction, \widehat{Q}_{n} is the empirical distribution of n i.i.d. samples from Q . Next, let \mathrm{d}_{\mathrm{W}} denote the 1 -Wasserstein distance. By 12 , we have \mathbb{E}\left[{\mathrm{d}_{\mathrm{W}}(\widehat{Q}_{n},Q)}\right]\leq C\,R\begin{cases}n^{-1/2},&d=1,\\ n^{-1/2}\log n,&d=2,\\ n^{-1/d},&d\geq 3,\end{cases} where C is a universal constant. In particular, this bound can be relaxed to \mathbb{E}\left[{\mathrm{d}_{\mathrm{W}}(\widehat{Q}_{n},Q)}\right]\leq C\,R\,n^{-1/\max\{2,d\}}\log n. Now fix any \epsilon>0 . Applying Lemma B.2 below, with P_{0}=\widehat{Q}_{n} and P_{1}=Q , we obtain \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{n},Q)\leq\epsilon+\frac{\mathrm{d}_{\mathrm{W}}(\widehat{Q}_{n},Q)}{r(\epsilon,h,\psi)}, where r(\epsilon,h,\psi)>0 depends only on \epsilon,h,\psi . Taking expectations yields \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{n},Q)}\right]\leq\epsilon+\frac{C\,R\,n^{-1/\max\{2,d\}}\log n}{r(\epsilon,h,\psi)}. We now relate \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P) to the blurred TV between the truncated distributions. By the triangle inequality, \displaystyle\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right] \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{n},Q)+\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{n})+\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)}\right] \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{n},Q)+\mathrm{d}_{\mathrm{TV}}(\widehat{P}_{n},\widehat{Q}_{n})+\mathrm{d}_{\mathrm{TV}}(P,Q)}\right], where the second inequality follows from Proposition 2.1 . By construction of Q , we have \mathrm{d}_{\mathrm{TV}}(P,Q)=\mathbb{P}_{{P}}\left\{{\|X\|_{2}>R}\right\}. Similarly, by construction of \widehat{Q}_{n} , \mathrm{d}_{\mathrm{TV}}(\widehat{P}_{n},\widehat{Q}_{n})=\mathbb{P}_{{\widehat{P}_{n}}}\left\{{\|X\|_{2}>R}\right\},\qquad\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\widehat{P}_{n},\widehat{Q}_{n})}\right]=\mathbb{P}_{{P}}\left\{{\|X\|_{2}>R}\right\}. Combining these bounds, we obtain \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\epsilon+\frac{C\,R\,n^{-1/\max\{2,d\}}\log n}{r(\epsilon,h,\psi)}+2\,\mathbb{P}_{{P}}\left\{{\|X\|_{2}>R}\right\}. Letting n\to\infty and noting that, for fixed \epsilon>0 and R>0 , \lim_{n\to\infty}\frac{C\,R\,n^{-1/\max\{2,d\}}\log n}{r(\epsilon,h,\psi)}=0, we conclude that \lim_{n\to\infty}\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\epsilon+2\,\mathbb{P}_{{P}}\left\{{\|X\|_{2}>R}\right\}. Since the above bound holds for arbitrary \epsilon>0 and R>0 , it follows that \lim_{n\to\infty}\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\inf_{\epsilon>0,\;R>0}\left\{\epsilon+2\,\mathbb{P}_{{P}}\left\{{\|X\|_{2}>R}\right\}\right\}=0, which completes the proof. \blacksquare Lemma B.2 . Fix any \psi\in\mathcal{K}_{d} and any bandwidth h>0 . Then for every \epsilon>0 , there exists a constant r(\epsilon,h,\psi)>0 such that \mathrm{d}_{\mathrm{TV}}^{h}(P_{0},P_{1})\leq\epsilon+\frac{\mathrm{d}_{\mathrm{W}}(P_{0},P_{1})}{r(\epsilon,h,\psi)}, for all distributions P_{0},P_{1} on \mathbb{R}^{d} . Proof. First, we note that by Lemma B.1 (with \psi_{h} in place of \psi ), there exists a constant r>0 such that \mathrm{d}_{\mathrm{TV}}(\delta_{x}\ast\psi_{h},\delta_{y}\ast\psi_{h})\leq\epsilon\qquad\text{for all }\|x-y\|_{2}\leq r, where r depends only on \psi_{h} and \epsilon . Now, we fix arbitrary distributions P_{0} and P_{1} on \mathbb{R}^{d} . By the coupling representation of the 1 -Wasserstein distance, there exists a joint distribution P on \mathbb{R}^{d}\times\mathbb{R}^{d} such that (X,Y)\sim P has marginals X\sim P_{0} and Y\sim P_{1} , and \mathbb{E}_{{P}}\left[{\|X-Y\|_{2}}\right]=\mathrm{d}_{\mathrm{W}}(P_{0},P_{1}). Let \xi\sim\psi be independent of (X,Y) . Thus, by ( B.1 ), \mathrm{d}_{\mathrm{TV}}^{h}(P_{0},P_{1})=\mathrm{d}_{\mathrm{TV}}(P_{0}\ast\psi_{h},P_{1}\ast\psi_{h})=\sup_{f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{f(X+h\xi)}\right]-\mathbb{E}\left[{f(Y+h\xi)}\right]\bigr| Further, by Jensen’s inequality and ( B.1 ), \displaystyle\mathrm{d}_{\mathrm{TV}}^{h}(P_{0},P_{1}) \displaystyle\leq\mathbb{E}\left[{\sup_{f:\mathbb{R}^{d}\to[0,1]}\bigl|\mathbb{E}\left[{f(X+h\xi)}\ \middle|\ {X}\right]-\mathbb{E}\left[{f(Y+h\xi)}\ \middle|\ {Y}\right]\bigr|}\right] \displaystyle=\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X}\ast\psi_{h},\delta_{Y}\ast\psi_{h})}\right]. By the definition of r above, we have \mathrm{d}_{\mathrm{TV}}(\delta_{X}\ast\psi_{h},\delta_{Y}\ast\psi_{h})\leq\epsilon+{\mathbbm{1}}_{{\{\|X-Y\|_{2}>r\}}}. Taking expectations yields \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}(\delta_{X}\ast\psi_{h},\delta_{Y}\ast\psi_{h})}\right]\leq\epsilon+\mathbb{P}\left\{{\|X-Y\|_{2}>r}\right\}\leq\epsilon+\frac{\mathbb{E}\left[{\|X-Y\|_{2}}\right]}{r}, by Markov’s inequality. Finally, since \mathbb{E}\left[{\|X-Y\|_{2}}\right]=\mathrm{d}_{\mathrm{W}}(P_{0},P_{1}) by construction of the coupling P , the desired bound follows. ∎ B.4 Proof of Proposition 2.4 : bounds on expected empirical blurred TV We begin by establishing the left inequality. Fix a bandwidth h>0 and \epsilon>0 . By definition of \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) , there exists a measurable set A such that (P\ast\psi_{h})(A)-(Q\ast\psi_{h})(A)\geq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)-\epsilon. Next, note that \widehat{P}_{n}\ast\psi_{h}=\frac{1}{n}\sum_{i=1}^{n}\delta_{X_{i}}\ast\psi_{h} . Therefore, \displaystyle\mathbb{E}\left[{(\widehat{P}_{n}\ast\psi_{h})(A)}\right] \displaystyle=\frac{1}{n}\sum_{i=1}^{n}\mathbb{E}\left[{(\delta_{X_{i}}\ast\psi_{h})(A)}\right] \displaystyle=\mathbb{E}\left[{(\delta_{X}\ast\psi_{h})(A)}\right]\textnormal{ where $X\sim P$} \displaystyle=\mathbb{E}\left[{\mathbb{P}\left\{{X+h\xi\in A}\ \middle|\ {X}\right\}}\right]\textnormal{ where $\xi\sim\psi$ (with $\xi\mathchoice{\mathrel{\hbox to0.0pt{$\displaystyle\perp$\hss}\mkern 2.0mu{\displaystyle\perp}}}{\mathrel{\hbox to0.0pt{$\textstyle\perp$\hss}\mkern 2.0mu{\textstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptstyle\perp$\hss}\mkern 2.0mu{\scriptstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptscriptstyle\perp$\hss}\mkern 2.0mu{\scriptscriptstyle\perp}}}X$)} \displaystyle=\mathbb{P}\left\{{X+h\xi\in A}\right\} \displaystyle=(P\ast\psi_{h})(A). An identical argument shows that \mathbb{E}\left[{(\widehat{Q}_{m}\ast\psi_{h})(A)}\right]=(Q\ast\psi_{h})(A) . Therefore, by Jensen’s inequality, \displaystyle\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right] \displaystyle\geq\mathbb{E}\left[{\left|(\widehat{P}_{n}\ast\psi_{h})(A)-(\widehat{Q}_{m}\ast\psi_{h})(A)\right|}\right] \displaystyle\geq\left|\mathbb{E}\left[{(\widehat{P}_{n}\ast\psi_{h})(A)-(\widehat{Q}_{m}\ast\psi_{h})(A)}\right]\right| \displaystyle=(P\ast\psi_{h})(A)-(Q\ast\psi_{h})(A)\geq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)-\epsilon. Since \epsilon>0 is arbitrary, the left inequality follows. We now turn to the right inequality. Deterministically, \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})\leq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)+\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)+\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{m},Q). Thus, it suffices to show that \displaystyle\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right] \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})}\right], \displaystyle\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{m},Q)}\right] \displaystyle\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})}\right]. We prove the first inequality; the second follows by an analogous argument. Let X^{\prime}_{1},\ldots,X^{\prime}_{\lfloor n/2\rfloor}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P be independent of \widehat{P}_{n} , and let \widehat{P}^{\prime(1)}_{n/2} denote the corresponding empirical measure. View X_{\lfloor n/2\rfloor+1},\ldots,X_{n} as sampled from \widehat{P}_{n} without replacement, and denote the associated empirical measure by \widehat{P}^{(2)}_{n/2} . Then, for any measurable set A\subseteq\mathbb{R}^{d} , \mathbb{E}\left[{(\widehat{P}^{\prime(1)}_{n/2}\ast\psi_{h})(A)}\ \middle|\ {\widehat{P}_{n}}\right]=(P\ast\psi_{h})(A),\qquad\mathbb{E}\left[{(\widehat{P}^{(2)}_{n/2}\ast\psi_{h})(A)}\ \middle|\ {\widehat{P}_{n}}\right]=(\widehat{P}_{n}\ast\psi_{h})(A). Repeating the argument used in the first part, we obtain \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{\prime(1)}_{n/2},\widehat{P}^{(2)}_{n/2})}\ \middle|\ {\widehat{P}_{n}}\right]. Taking expectations over X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P yields \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{\prime(1)}_{n/2},\widehat{P}^{(2)}_{n/2})}\right]=\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})}\right], which completes the proof. \blacksquare Appendix C Proofs of results in Section 3 Before presenting the proofs, we introduce notation that will be used throughout this section. Let \mathbf{Z}=(X_{1},\dots,X_{n},Y_{1},\dots,Y_{m}) , where (X_{1},\ldots,X_{n})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P,\qquad(Y_{1},\ldots,Y_{m})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q. Independently of \mathbf{Z} , let (X^{\prime}_{1},\ldots,X^{\prime}_{n})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P,\qquad(Y^{\prime}_{1},\ldots,Y^{\prime}_{m})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q, and write \mathbf{Z}^{\prime}=(X^{\prime}_{1},\ldots,X^{\prime}_{n},Y^{\prime}_{1},\ldots,Y^{\prime}_{m}) . For i\in[n] , define the measure \widehat{P}^{(i)}_{n}=\frac{1}{n}\Big(\sum_{k\neq i}\delta_{X_{k}}+\delta_{X^{\prime}_{i}}\Big), which perturbs \widehat{P}_{n} by replacing a single data point X_{i} with X^{\prime}_{i} , and similarly for j\in[n+m]\setminus[n] define \widehat{Q}^{(j)}_{m} by replacing Y_{j-n} with Y^{\prime}_{j-n} . Similarly, for i=1,\ldots,\lfloor n/2\rfloor and j=\lfloor n/2\rfloor+1,\ldots,n , define \widehat{P}^{(1,i)}_{n/2}=\frac{1}{\lfloor n/2\rfloor}\Big(\sum_{k\neq i}\delta_{X_{k}}+\delta_{X^{\prime}_{i}}\Big),\qquad\widehat{P}^{(2,j)}_{n/2}=\frac{1}{\lceil n/2\rceil}\Big(\sum_{k\neq j}\delta_{X_{k}}+\delta_{X^{\prime}_{j}}\Big). The measures \widehat{Q}^{(1,i)}_{m/2} and \widehat{Q}^{(2,j)}_{m/2} are defined analogously. Finally, for i\in[n+m] , let \mathbf{Z}^{(i)} denote the data vector obtained from \mathbf{Z} by replacing Z_{i} with Z^{\prime}_{i} . C.1 Proof of Theorem 3.1 : distribution-free confidence bounds at fixed bandwidth h We first prove the DF-UCB . Define F(\mathbf{Z}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}). We show that F(\mathbf{Z}) has bounded sensitivity to the replacement of a single observation. For i\in[n] , replacing Z_{i}=X_{i} by Z^{\prime}_{i}=X^{\prime}_{i} yields the empirical measure \widehat{P}_{n}^{(i)} in place of \widehat{P}_{n} , so that F(\mathbf{Z}^{(i)})=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n}^{(i)},\widehat{Q}_{m}) . By the triangle inequality, |F(\mathbf{Z})-F(\mathbf{Z}^{(i)})|=\bigl|\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n}^{(i)},\widehat{Q}_{m})\bigr|\leq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{P}_{n}^{(i)})\leq\frac{1}{n}. Similarly, for any i\in[n+m]\setminus[n] , we have |F(\mathbf{Z})-F(\mathbf{Z}^{(i)})|\leq\frac{1}{m}. Applying McDiarmid’s inequality, we obtain that for any \epsilon>0 , \mathbb{P}\left\{{F(\mathbf{Z})\leq\mathbb{E}\left[{F(\mathbf{Z})}\right]-\epsilon}\right\}\leq\exp\!\left(-\frac{2\epsilon^{2}}{1/n+1/m}\right), and therefore, \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})\geq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right]-\epsilon_{n,m,\alpha}}\right\}\geq 1-\alpha. By Proposition 2.4 , \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right] provides a deterministic upper bound on \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) . This establishes the DF-UCB . We now turn to the DF-LCB . We define G(\mathbf{Z}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2}). We again verify bounded sensitivity. For any i=1,\ldots,\lfloor n/2\rfloor , \displaystyle|G(\mathbf{Z})-G(\mathbf{Z}^{(i)})| \displaystyle\leq\bigl|\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n}^{(i)},\widehat{Q}_{m})\bigr|+\bigl|\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1,i)}_{n/2},\widehat{P}^{(2)}_{n/2})\bigr| \displaystyle\leq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{P}_{n}^{(i)})+\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(1,i)}_{n/2}) \displaystyle\leq\frac{1}{n}+\frac{1}{\lfloor n/2\rfloor}=:c_{i} An analogous bound holds for i=\lfloor n/2\rfloor+1,\ldots,n , with c_{i}=\frac{1}{n}+\frac{1}{\lceil n/2\rceil}. And, analogous bounds hold for the samples from Q : for i\in[n+m]\backslash[n] , we have |G(\mathbf{Z})-G(\mathbf{Z}^{(i)})|\leq c_{i}\textnormal{ where }c_{i}=\begin{cases}\frac{1}{m}+\frac{1}{\lfloor m/2\rfloor},&i=n+1,\dots,n+\lfloor m/2\rfloor,\\ \frac{1}{m}+\frac{1}{\lceil m/2\rceil},&i=n+\lfloor m/2\rfloor+1,\dots,n+m.\end{cases} A straightforward calculation verifies that \sum_{i=1}^{n+m}c_{i}^{2}\leq\frac{9}{n-1}+\frac{9}{m-1}. Applying McDiarmid’s inequality, we obtain that for any \epsilon>0 , \mathbb{P}\left\{{G(\mathbf{Z})\geq\mathbb{E}\left[{G(\mathbf{Z})}\right]+\epsilon}\right\}\leq\exp\!\left(-\frac{2\epsilon^{2}}{9/(n-1)+9/(m-1)}\right), and therefore, \mathbb{P}\left\{{G(\mathbf{Z})\leq\mathbb{E}\left[{G(\mathbf{Z})}\right]+3\,\epsilon_{n-1,m-1,\alpha}}\right\}\geq 1-\alpha. By Proposition 2.4 , \mathbb{E}\left[{G(\mathbf{Z})}\right] yields a deterministic lower bound on \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) . This completes the proof of the DF-LCB . C.2 Proof of Theorem 3.2 : distribution-free validity of Monte Carlo confidence bounds The following result extends Theorem 3.2 to provide both a DF-UCB and a DF-LCB for the Monte Carlo setting. Theorem 3.2 (extended version) . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}_{\alpha}(\mathcal{D}_{n,m},B):=\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)+\epsilon_{n,m,\alpha/2}+\epsilon_{B,\alpha/2} and \hat{L}_{\alpha}(\mathcal{D}_{n,m},B):=\max\Bigl\{\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)-\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)};B)\\ -\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)};B)-3\,\epsilon_{n-1,m-1,\alpha/2}-\sqrt{3}\epsilon_{B,\alpha/2},\,0\Bigr\}, where \epsilon_{B,\alpha}:=\left(\frac{\log(1/\alpha)}{2B}\right)^{1/2} . Then \hat{U}_{\alpha}(\mathcal{D}_{n,m},B) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha , and \hat{L}_{\alpha}(\mathcal{D}_{n,m},B) is a DF-LCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha . Here \widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B) is defined as in Section 3.1 , and for the DF-LCB , we also define \widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)};B):=\frac{1}{2B}\sum_{k=1}^{B}\left|\frac{\mathsf{d}(\widehat{P}_{n/2}^{(1)}\ast\psi_{h})-\mathsf{d}(\widehat{P}_{n/2}^{(2)}\ast\psi_{h})}{\mathsf{d}(\frac{1}{2}\widehat{P}_{n/2}^{(1)}\ast\psi_{h}+\frac{1}{2}\widehat{P}_{n/2}^{(2)}\ast\psi_{h})}\bigl(W^{\prime}_{k}+h\xi^{\prime}_{k}\bigr)\right|, where W^{\prime}_{1},\ldots,W^{\prime}_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\frac{1}{2}\widehat{P}_{n/2}^{(1)}+\frac{1}{2}\widehat{P}_{n/2}^{(2)} and \xi^{\prime}_{1},\ldots,\xi^{\prime}_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\psi , and \widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)};B):=\frac{1}{2B}\sum_{k=1}^{B}\left|\frac{\mathsf{d}(\widehat{Q}_{m/2}^{(1)}\ast\psi_{h})-\mathsf{d}(\widehat{Q}_{m/2}^{(2)}\ast\psi_{h})}{\mathsf{d}(\frac{1}{2}\widehat{Q}_{m/2}^{(1)}\ast\psi_{h}+\frac{1}{2}\widehat{Q}_{m/2}^{(2)}\ast\psi_{h})}\bigl(W^{\prime\prime}_{k}+h\xi^{\prime\prime}_{k}\bigr)\right|, where W^{\prime\prime}_{1},\ldots,W^{\prime\prime}_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\widehat{Q}_{m} and \xi^{\prime\prime}_{1},\ldots,\xi^{\prime\prime}_{B}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\psi , where we draw each sample \{(W_{k},\xi_{k})\} , \{(W^{\prime}_{k},\xi^{\prime}_{k})\} , and \{(W^{\prime\prime}_{k},\xi^{\prime\prime}_{k})\} independently. Proof. We begin by defining \mathbf{W}=(W_{1},\ldots,W_{B}) and \boldsymbol{\xi}=(\xi_{1},\ldots,\xi_{B}) , and by writing \displaystyle F(\mathbf{W},\boldsymbol{\xi}) \displaystyle:=\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B) \displaystyle=\frac{1}{2B}\sum_{k=1}^{B}\left|\frac{\mathsf{d}(\widehat{P}_{n}\ast\psi_{h})-\mathsf{d}(\widehat{Q}_{m}\ast\psi_{h})}{\mathsf{d}\bigl(\frac{1}{2}\widehat{P}_{n}\ast\psi_{h}+\frac{1}{2}\widehat{Q}_{m}\ast\psi_{h}\bigr)}\bigl(W_{k}+h\xi_{k}\bigr)\right|. For any u\in\mathbb{R}^{d} , we observe that \frac{\mathsf{d}(\widehat{P}_{n}\ast\psi_{h})-\mathsf{d}(\widehat{Q}_{m}\ast\psi_{h})}{\mathsf{d}\bigl(\frac{1}{2}\widehat{P}_{n}\ast\psi_{h}+\frac{1}{2}\widehat{Q}_{m}\ast\psi_{h}\bigr)}(u)\leq 2. It follows that F(\mathbf{W},\boldsymbol{\xi}) satisfies a bounded difference property. Indeed, replacing any single coordinate (W_{i},\xi_{i}) by an independent draw (W^{\prime}_{i},\xi^{\prime}_{i})\sim(\frac{1}{2}\widehat{P}_{n}+\frac{1}{2}\widehat{Q}_{m})\times\psi changes the value of F(\mathbf{W},\boldsymbol{\xi}) by at most 1/B . Applying McDiarmid’s inequality conditional on \mathcal{D}_{n,m} therefore yields \mathbb{P}\left\{{\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)\geq\mathbb{E}\left[{\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)}\ \middle|\ {\mathcal{D}_{n,m}}\right]-\left(\frac{\log(2/\alpha)}{2B}\right)^{1/2}}\ \middle|\ {\mathcal{D}_{n,m}}\right\}\geq 1-\alpha/2. Consequently, since \mathbb{E}\left[{\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)}\ \middle|\ {\mathcal{D}_{n,m}}\right]=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}) by construction, with probability at least 1-\alpha/2 , \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})\leq\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)+\left(\frac{\log(2/\alpha)}{2B}\right)^{1/2}. Combining this bound with Theorem 3.1 , applied at confidence level 1-\alpha/2 , and using a union bound, we obtain \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\hat{U}_{\alpha}(\mathcal{D}_{n,m},B)}\right\}\geq 1-\alpha. This establishes the validity of the upper confidence bound. We now turn to the lower bound. We write The corresponding Monte Carlo approximations satisfy an analogous bounded difference property (where now we have 3B independent samples, \{(W_{k},\xi_{k})\} and \{(W^{\prime}_{k},\xi^{\prime}_{k})\} and \{(W^{\prime\prime}_{k},\xi^{\prime\prime}_{k})\} , each corresponding to a bounded difference of at most 1/B ). Thus, by McDiarmid’s inequality, we obtain that with probability at least 1-\alpha/2 , \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)})\\ \geq\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)};B,h)-\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B,h)-\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)};B,h)-\left(\frac{\log(2/\alpha)}{\frac{2}{3}B}\right)^{1/2}. Combining this bound with Theorem 3.1 , again applied at confidence level 1-\alpha/2 , applying a union bound yields \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\geq\hat{L}_{\alpha}(\mathcal{D}_{n,m},B)}\right\}\geq 1-\alpha. This completes the proof. ∎ C.3 Proof of Theorem 3.3 : distribution-free validity of confidence bounds uniformly over all bandwidths Here we state and prove a DF-UCB and DF-LCB on blurred TV that are valid uniformly over a range of bandwidths. Theorem 3.3 (extended version) . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , and \alpha\in(0,1) . For all h>0 , define \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m}):=\mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}}(\widehat{P}_{n},\widehat{Q}_{m})+\epsilon_{n,m,\alpha/(n\wedge m)}+\frac{1}{n\wedge m} and, for any fixed h^{*}>0 , for all h\geq h^{*} define \hat{L}^{h,\mathrm{lo}}_{\alpha}(\mathcal{D}_{n,m}):=\max\Bigl\{\,\inf_{h^{\prime}\in[h^{*},h]}\bigl\{\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})\bigr\}\\ -3\,\epsilon_{n-1,m-1,\alpha/(n\wedge m)}-\frac{1}{n\wedge m},\,0\Bigr\}. Then \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m}) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) , uniformly for all h\in(0,\infty) , at confidence level 1-\alpha , and \hat{L}^{h,\mathrm{lo}}_{\alpha}(\mathcal{D}_{n,m}) is a DF-LCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) , uniformly for all h\in[h^{*},\infty) , at confidence level 1-\alpha . Proof. First we consider the DF-UCB . Fix any distributions P,Q\in\mathcal{P}_{d} . We can assume \mathrm{d}_{\mathrm{TV}}(P,Q)>\frac{1}{n\wedge m} since otherwise the result holds trivially. Let k\in\{1,\dots,(n\wedge m)-1\} be the largest integer such that \mathrm{d}_{\mathrm{TV}}(P,Q)>\frac{k}{n\wedge m} . For each i=1,\dots,k , define h_{i}=\sup\left\{h\in[0,\infty):\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\geq\frac{i}{n\wedge m}\right\}. Recalling Proposition 2.1 , we can see that h_{i} is finite and positive, and \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)=i/(n\wedge m) , for each i . By Theorem 3.1 , \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})+\epsilon_{n,m,\alpha/(n\wedge m)} holds with probability \geq 1-\alpha/(n\wedge m) , for each i . By a union bound, therefore, \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})+\epsilon_{n,m,\alpha/(n\wedge m)}\textnormal{ for all $i=1,\dots,k$}}\right\}\geq 1-\alpha. Now suppose this event holds. We will now show that \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m})\textnormal{ for all $h\in(0,\infty)$}. Fix any h . If \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)<1/(n\wedge m) then this is trivial. Otherwise, let i=\min\{k,\lfloor(n\wedge m)\cdot\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\rfloor\} , so that \frac{i}{n\wedge m}\leq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\frac{i+1}{n\wedge m}. By definition of h_{i} we must have h\leq h_{i} , and therefore \mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}}(\widehat{P}_{n},\widehat{Q}_{m})\geq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})\geq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)-\epsilon_{n,m,\alpha/(n\wedge m)}, by the event assumed above. But \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)=\frac{i}{n\wedge m}\geq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)-\frac{1}{n\wedge m}, by definition of i , which completes the proof for the DF-UCB . Next we prove the DF-LCB with a similar argument. Let k\in\{1,\dots,(n\wedge m)-1\} be the largest integer such that \mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)>\frac{k}{n\wedge m} , or k=0 if \leq\frac{1}{n\wedge m} . For each i=0,1,\dots,k , we now define h_{i}=\inf\left\{h\in[h^{*},\infty):\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)-\frac{i}{n\wedge m}\right\}. Note that h_{0}=h^{*} . By Proposition 2.1 , we can see that h_{i} is finite and positive, and \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)=\mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)-i/(n\wedge m) , for each i . By Theorem 3.1 , \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)\geq\bigl\{\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)})\bigr\}-3\epsilon_{n-1,m-1,\alpha/(n\wedge m)} holds with probability \geq 1-\alpha/(n\wedge m) , for each i=0,1,\dots,k . By a union bound, therefore, \mathbb{P}\bigg\{\mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)\geq\bigl\{\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n/2}^{(1)},\widehat{P}_{n/2}^{(2)})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{Q}_{m/2}^{(1)},\widehat{Q}_{m/2}^{(2)})\bigr\}\\ -3\epsilon_{n-1,m-1,\alpha/(n\wedge m)}\textnormal{ for all $i=0,\dots,k$}\bigg\}\geq 1-\alpha. Now suppose this event holds. We will now show that \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\geq\hat{L}^{h,\mathrm{lo}}_{\alpha}(\mathcal{D}_{n,m})\textnormal{ for all $h\in[h^{*},\infty)$}. Fix any h\geq h^{*} . Then for some i\in\{0,\dots,k\} \mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)-\frac{i+1}{n\wedge m}\leq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)-\frac{i}{n\wedge m}. By definition of h_{i} we must have h\geq h_{i}\geq h^{*} , and therefore \displaystyle\hskip-15.00002pt\inf_{h^{\prime}\in[h^{*},h]}\bigl\{\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h^{\prime}}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})\bigr\} \displaystyle\leq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h_{i}}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})\bigr\} \displaystyle\leq\mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)+3\epsilon_{n-1,m-1,\alpha/(n\wedge m)}, by the event assumed above. But \mathrm{d}_{\mathrm{TV}}^{h_{i}}(P,Q)=\mathrm{d}_{\mathrm{TV}}^{h^{*}}(P,Q)-\frac{i}{n\wedge m}\leq\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)+\frac{1}{n\wedge m}, by definition of i , which completes the proof for the DF-LCB . ∎ C.4 Proof of Theorem 3.4 : bandwidth-adaptive distribution-free confidence bounds In this section, we state and prove the full version of Theorem 3.4 , to construct a bandwidth-adaptive DF-UCB and DF-LCB . Theorem 3.4 (extended version) . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h})=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})+\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}r_{1,\alpha}+\frac{1}{n\wedge m}\left(\frac{r_{1,\alpha}^{2}}{3}+2\sqrt{5}\,r_{1,\alpha}r_{2,\alpha}\right) and \hat{L}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h})=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})\\ -6\,\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}r_{1,\alpha}-\frac{1}{n\wedge m}\left(2r_{1,\alpha}^{2}+12\sqrt{5}r_{1,\alpha}r_{2,\alpha}\right), where r_{1,\alpha}=(2\log(2/\alpha))^{1/2} and r_{2,\alpha}=(\log(16/\alpha))^{1/2} . Then \hat{U}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h}) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha , and \hat{L}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h}) is a DF-LCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) at confidence level 1-\alpha . Proof. In order to prove the result, we introduce the variance proxy \tilde{\Sigma}:=\frac{1}{n}\mathbb{E}_{{X,X^{\prime}}}\left[{\omega_{\psi}\!\left(\frac{X-X^{\prime}}{h}\right)^{2}}\right]+\frac{1}{m}\mathbb{E}_{{Y,Y^{\prime}}}\left[{\omega_{\psi}\!\left(\frac{Y-Y^{\prime}}{h}\right)^{2}}\right], where (X,X^{\prime})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P and (Y,Y^{\prime})\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q . Applying Proposition 2.4 , \mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right]\leq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})+\tilde{\Sigma}^{1/2}r_{1,\alpha}+\frac{r_{1,\alpha}^{2}}{3(n\wedge m)}, where the last step holds with probability \geq 1-\alpha/2 by Lemma C.1 below, and moreover by Lemma C.2 below, \tilde{\Sigma}^{1/2}\leq\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}+\frac{2\sqrt{5}}{n\wedge m}\,r_{2,\alpha} also holds with probability \geq 1-\alpha/2 . Combining these calculations verifies the DF-UCB ; a similar argument holds for the DF-LCB . ∎ Lemma C.1 . In the setting of Theorem 3.4 (extended version), \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})\geq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})}\right]-\left(\tilde{\Sigma}^{1/2}r_{1,\alpha}+\frac{r_{1,\alpha}^{2}}{3(n\wedge m)}\right)}\right\}\geq 1-\alpha/2 and \mathbb{P}\Bigg\{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})\\ \leq\mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2})}\right]\\ +\left(6\tilde{\Sigma}^{1/2}r_{1,\alpha}+\frac{2r_{1,\alpha}^{2}}{n\wedge m}\right)\Bigg\}\geq 1-\alpha/2. Proof. To prove the first claim, let F(\mathbf{Z}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m}). For i\in[n] , replacing Z_{i}=X_{i} by an independent copy X^{\prime}_{i} yields the empirical measure \widehat{P}_{n}^{(i)} , so that F(\mathbf{Z}^{(i)})=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n}^{(i)},\widehat{Q}_{m}). By the triangle inequality, \displaystyle|F(\mathbf{Z})-F(\mathbf{Z}^{(i)})| \displaystyle=\bigl|\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n}^{(i)},\widehat{Q}_{m})\bigr| \displaystyle\leq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{P}_{n}^{(i)})=\frac{1}{n}\mathrm{d}_{\mathrm{TV}}(\delta_{(X_{i}-X^{\prime}_{i})/h}\ast\psi,\psi)=\frac{1}{n}\,\omega_{\psi}\!\left(\frac{X_{i}-X^{\prime}_{i}}{h}\right). (C.1) Since \omega_{\psi}(\cdot)\leq 1 , it follows that for all i\in[n] , |F(\mathbf{Z})-F(\mathbf{Z}^{(i)})|\leq\frac{1}{n}\leq\frac{1}{n\wedge m}. An identical argument gives analogous inequalities for i\in[n+m]\setminus[n] . Next define \tilde{\Sigma}^{*}:=\sum_{i=1}^{n+m}\sup_{\mathbf{Z}_{-i}}\,\mathbb{E}_{{Z_{i},Z^{\prime}_{i}}}\left[{\bigl(F(\mathbf{Z})-F(\mathbf{Z}^{(i)})\bigr)^{2}}\right], where for each i , the supremum is taken over all possible values in the remaining entries j\in[n+m]\backslash\{i\} of the random vector \mathbf{Z} , while the expected value is taken with respect to the distribution (i.e., Z_{i},Z^{\prime}_{i}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P if i\in[n] , and Z_{i},Z^{\prime}_{i}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q if i\in[n+m]\backslash[n] ). Observe that, by ( C.4 ), we have \tilde{\Sigma}^{*}\leq\tilde{\Sigma} , as follows: \displaystyle\tilde{\Sigma}^{*} \displaystyle=\sum_{i=1}^{n+m}\sup_{\mathbf{Z}}\mathbb{E}_{{Z_{i},Z^{\prime}_{i}}}\left[{\bigl(F(\mathbf{Z})-F(\mathbf{Z}^{(i)})\bigr)^{2}}\right] \displaystyle\leq\sum_{i=1}^{n}\sup_{\mathbf{Z}}\mathbb{E}_{{X_{i},X^{\prime}_{i}}}\left[{\left(\frac{1}{n}\omega_{\psi}\!\left(\frac{X_{i}-X^{\prime}_{i}}{h}\right)\right)^{2}}\right]+\sum_{j=1}^{m}\sup_{\mathbf{Z}}\mathbb{E}_{{Y_{j},Y^{\prime}_{j}}}\left[{\left(\frac{1}{m}\omega_{\psi}\!\left(\frac{Y_{j}-Y^{\prime}_{j}}{h}\right)\right)^{2}}\right] \displaystyle=\frac{1}{n}\mathbb{E}_{{X,X^{\prime}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\omega_{\psi}\!\left(\frac{X-X^{\prime}}{h}\right)^{2}}\right]+\frac{1}{m}\mathbb{E}_{{Y,Y^{\prime}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q}}\left[{\omega_{\psi}\!\left(\frac{Y-Y^{\prime}}{h}\right)^{2}}\right]=\tilde{\Sigma}. Applying ( 16 , Theorem 1) to the function F(\mathbf{Z}) , we conclude that for any \epsilon\geq 0 , \mathbb{P}\left\{{F(\mathbf{Z})\leq\mathbb{E}\left[{F(\mathbf{Z})}\right]-\epsilon}\right\}\leq\exp\!\left(-\frac{\epsilon^{2}}{2\bigl(\tilde{\Sigma}+\frac{\epsilon}{3(n\wedge m)}\bigr)}\right). Therefore, by the definition of r_{1,\alpha} , \mathbb{P}\left\{{F(\mathbf{Z})\leq\mathbb{E}\left[{F(\mathbf{Z})}\right]-\left(\tilde{\Sigma}^{1/2}\,r_{1,\alpha}+\frac{r_{1,\alpha}^{2}}{3(n\wedge m)}\right)}\right\}\leq\frac{\alpha}{2}. (C.2) Next we turn to the second claim. Let G(\mathbf{Z}):=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}^{(1)}_{n/2},\widehat{P}^{(2)}_{n/2})-\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{Q}^{(1)}_{m/2},\widehat{Q}^{(2)}_{m/2}). We may assume n\wedge m\geq 2 (since otherwise this part of the claim is vacuous). A similar calculation as for F shows that |G(\mathbf{Z})-G(\mathbf{Z}^{(i)})|\leq\frac{3}{n-1}\,\omega_{\psi}\!\left(\frac{X_{i}-X^{\prime}_{i}}{h}\right)\leq\frac{6}{n}\,\omega_{\psi}\!\left(\frac{X_{i}-X^{\prime}_{i}}{h}\right)\leq\frac{6}{n\wedge m} for all i\in[n] , and similar for i\in[n+m]\backslash[n] . Again applying ( 16 , Theorem 1) we then obtain \mathbb{P}\left\{{G(\mathbf{Z})\geq\mathbb{E}\left[{G(\mathbf{Z})}\right]+\left(6\tilde{\Sigma}^{1/2}\,r_{1,\alpha}+\frac{2r_{1,\alpha}^{2}}{n\wedge m}\right)}\right\}\leq\frac{\alpha}{2}. ∎ Lemma C.2 . In the setting of Theorem 3.4 (extended version), \mathbb{P}\left\{{\tilde{\Sigma}^{1/2}\leq\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}+\frac{2\sqrt{5}}{n\wedge m}\,r_{2,\alpha}}\right\}\geq 1-\alpha/2. Proof. We can assume n,m\geq 4 , since otherwise the result is vacuous. We write \hat{\Sigma}_{n,m}^{h}:=\frac{1}{n}U_{X}+\frac{1}{m}U_{Y}, where U_{X}:=\frac{1}{\binom{n}{2}}\sum_{1\leq i0 . Fix any distributions P,Q on \mathbb{R}^{d} , and suppose that for some sample size N\geq 1 and some \epsilon,\delta^{\prime}\in(0,1) that \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq 1-\epsilon}\right\}\geq 1-\delta^{\prime}, where \widehat{P}_{N} is the empirical distribution of N i.i.d. draws from P . Then, for any n,m\geq 1 , \mathbb{P}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\right\}\geq 1-\alpha-\delta^{\prime}-\frac{n(n-1)}{2N}, where the probability is calculated with respect to a data set \mathcal{D}_{n,m} comprised of X_{1},\dots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P and Y_{1},\dots,Y_{m}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q . We first complete the proof using this lemma, and then prove the lemma in Appendix D.1.3 . First, let \delta^{\prime}=\delta/2 and define N=\left\lceil\frac{n(n-1)}{\delta}\right\rceil. Applying Lemma D.1 , for any distributions P,Q we see that \textnormal{If }\mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq 1-\epsilon}\right\}\geq 1-\delta/2,\textnormal{\ then \ }\mathbb{P}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\right\}\geq 1-\alpha-\delta. Consequently, it suffices to verify that, if h satisfies the assumed upper bound ( 4.1 ), then \textnormal{For any $P,Q\in\mathcal{P}_{d}(C)$, and for $N=\left\lceil\frac{n(n-1)}{\delta}\right\rceil$,}\\ \textnormal{it holds that $\mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq 1-\epsilon}\right\}\geq 1-\delta/2$}. (D.1) We will verify this separately for the two cases of ( 4.1 ) (and will define the constants c_{0},c_{1},c_{2} along the way). D.1.1 Verifying ( D.1 ) for Case 1 Let \widehat{P}_{N}=\frac{1}{N}\sum_{i=1}^{N}\delta_{X_{i}} be the empirical distribution of data points X_{1},\dots,X_{N} , and define t_{d,\epsilon}=F^{-1}_{\chi_{d}}(1-\epsilon/2), where F_{\chi_{d}} is the CDF of the \chi_{d} distribution. We consider the set A=\cup_{i\in[n]}\mathbb{B}_{d}(X_{i},h\cdot t_{d,\epsilon}), where \mathbb{B}_{d}(x,r) is the ball with center x and radius r . Then, writing \xi\sim\psi , by definition of \widehat{P}_{N}\ast\psi_{h} , we have \displaystyle(\widehat{P}_{N}\ast\psi_{h})(A) \displaystyle=\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{X_{i}+h\xi\in A}\right\} \displaystyle\geq\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{X_{i}+h\xi\in\mathbb{B}_{d}(X_{i},h\cdot t_{d,\epsilon})}\right\} \displaystyle=\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{\|h\xi\|_{2}\leq h\cdot t_{d,\epsilon}}\right\}=1-\epsilon/2, where the last step holds since \|\xi\|_{2}\sim\chi_{d} . On the other hand, by definition of Q\ast\psi_{h} , for Y\sim Q and \xi\sim\psi with Y\mathchoice{\mathrel{\hbox to0.0pt{$\displaystyle\perp$\hss}\mkern 2.0mu{\displaystyle\perp}}}{\mathrel{\hbox to0.0pt{$\textstyle\perp$\hss}\mkern 2.0mu{\textstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptstyle\perp$\hss}\mkern 2.0mu{\scriptstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptscriptstyle\perp$\hss}\mkern 2.0mu{\scriptscriptstyle\perp}}}\xi , we have \displaystyle(Q\ast\psi_{h})(A) \displaystyle=\mathbb{P}\left\{{Y+h\xi\in A}\right\} \displaystyle\leq\sum_{i=1}^{N}\mathbb{P}\left\{{Y+h\xi\in\mathbb{B}_{d}(X_{i},h\cdot t_{d,\epsilon})}\right\} \displaystyle\leq\sum_{i=1}^{N}\textnormal{Vol}(\mathbb{B}_{d}(X_{i},h\cdot t_{d,\epsilon}))\cdot C(\textnormal{Vol}(\mathbb{B}_{d}))^{-1}=CN(ht_{d,\epsilon})^{d}, where the next-to-last step holds since Q has a density satisfying \sup_{y}|q(y)|\leq C(\textnormal{Vol}(\mathbb{B}_{d}))^{-1} , and convolution cannot increase the maximum value of a density. Therefore, it follows that \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq(\widehat{P}_{N}\ast\psi_{h})(A)-(Q\ast\psi_{h})(A)\geq 1-\epsilon/2-CN(ht_{d,\epsilon})^{d}, for any data points X_{1},\dots,X_{N}\in\mathbb{B}_{d} . Consequently, if h\leq\frac{1}{t_{d,\epsilon}}\left(\frac{\epsilon}{2CN}\right)^{1/d} then we have proved that \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq 1-\epsilon, almost surely, which verifies ( D.1 ). Now by definition of N , we have N\leq n^{2}/\delta . Since d\geq 1 , we also have \left(\frac{\epsilon\delta}{2C}\right)^{1/d}\geq\frac{\epsilon\delta}{2C} . Moreover, the \chi_{d} distribution is 1 -subgaussian and has mean \leq\sqrt{d} . Hence, it holds that t_{d,\epsilon}\leq c_{\epsilon}\sqrt{d} where c_{\epsilon} depends only on \epsilon . Together, it suffices to have h\leq\frac{\epsilon\delta}{2Cc_{\epsilon}\sqrt{d}}\cdot n^{-2/d}. Thus as long as we choose c_{0}\leq\frac{\epsilon\delta}{2Cc_{\epsilon}} , we have verified the result if the first case of ( 4.1 ) holds. Note that this holds for any d\geq 1 —that is, regardless of the choice of c_{1} . D.1.2 Verifying ( D.1 ) for Case 2 First let X_{1},\dots,X_{N}\in\mathbb{R}^{d} be a fixed set of data points and let \widehat{P}_{N}=\frac{1}{N}\sum_{i=1}^{N}\delta_{X_{i}} denote the empirical distribution. Define a set A=\left\{x\in\mathbb{R}^{d}:\max_{i\in[N]}X_{i}^{\top}x\geq 0.5\right\}. First, we calculate \displaystyle(\widehat{P}_{N}\ast\psi_{h})(A) \displaystyle=\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{X_{i}+h\xi\in A}\right\}\textnormal{ where $\xi\sim\psi$} \displaystyle=\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}(X_{i}+h\xi)\geq 0.5}\right\} \displaystyle\geq\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{X_{i}^{\top}(X_{i}+h\xi)\geq 0.5}\right\} \displaystyle\geq\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}-\frac{1}{N}\sum_{i=1}^{N}\mathbb{P}\left\{{h\cdot X_{i}^{\top}\xi\leq-0.25}\right\} \displaystyle\geq\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}-e^{-(0.25/h)^{2}/2}, where for the last step, we use the fact that h\cdot X_{i}^{\top}\xi\sim\mathcal{N}(0,h^{2}\|X_{i}\|^{2}_{2}) , and \|X_{i}\|_{2}\leq 1 , so \mathbb{P}\left\{{h\cdot X_{i}^{\top}\xi\leq-0.25}\right\}\leq\Phi(-0.25/h)\leq e^{-(0.25/h)^{2}/2} , where \Phi is the CDF of the standard normal distribution. Choosing h\leq\frac{1}{\sqrt{32\log(4/\epsilon)}} , then, (\widehat{P}_{N}\ast\psi_{h})(A)\geq\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}-\epsilon/4. On the other hand, \displaystyle(Q\ast\psi_{h})(A) \displaystyle=\mathbb{P}\left\{{Y+h\xi\in A}\right\}\textnormal{ for $\xi\sim\psi$, $Y\sim Q$ with $Y\mathchoice{\mathrel{\hbox to0.0pt{$\displaystyle\perp$\hss}\mkern 2.0mu{\displaystyle\perp}}}{\mathrel{\hbox to0.0pt{$\textstyle\perp$\hss}\mkern 2.0mu{\textstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptstyle\perp$\hss}\mkern 2.0mu{\scriptstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptscriptstyle\perp$\hss}\mkern 2.0mu{\scriptscriptstyle\perp}}}\xi$} \displaystyle=\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}(Y+h\xi)\geq 0.5}\right\} \displaystyle\leq\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}Y\geq 0.25}\right\}+\mathbb{P}\left\{{\max_{j\in[N]}h\cdot X_{j}^{\top}\xi\geq 0.25}\right\} \displaystyle\leq\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}Y\geq 0.25}\right\}+Ne^{-(0.25/h)^{2}/2}, since h\cdot X_{j}^{\top}\xi\sim\mathcal{N}(0,h^{2}\|X_{j}\|^{2}_{2}) and \|X_{j}\|_{2}\leq 1 . Next, since Q has density q with \sup_{y}|q(y)|\leq C(\textnormal{Vol}(\mathbb{B}_{d}))^{-1} , \displaystyle\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}Y\geq 0.25}\right\} \displaystyle=\int_{y\in\mathbb{B}_{d}}{\mathbbm{1}}\left\{{\max_{j\in[N]}X_{j}^{\top}y\geq 0.25}\right\}\cdot q(y)\;\mathsf{d}y \displaystyle\leq C\cdot\int_{y\in\mathbb{R}^{d}}{\mathbbm{1}}\left\{{\max_{j\in[N]}X_{j}^{\top}y\geq 0.25}\right\}\cdot\frac{{\mathbbm{1}}\left\{{\|y\|_{2}\leq 1}\right\}}{\textnormal{Vol}(\mathbb{B}_{d})}\;\mathsf{d}y \displaystyle=C\cdot\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}V\geq 0.25}\right\}\textnormal{ for $V\sim\textnormal{Unif}(\mathbb{B}_{d})$} \displaystyle\leq C\cdot\mathbb{P}\left\{{\max_{j\in[N]}X_{j}^{\top}U\geq 0.25}\right\}\textnormal{ for $U\sim\textnormal{Unif}(\mathbb{S}_{d-1})$} \displaystyle\leq C\cdot\mathbb{P}\left\{{\max_{j\in[N]}\left(\frac{X_{j}}{\|X_{j}\|_{2}}\right)^{\top}U\geq 0.25}\right\}\textnormal{ since $\|X_{j}\|_{2}\leq 1$ for all $j$} \displaystyle\leq CN\cdot 2e^{-(0.25)^{2}d/2}, where the last step holds since, for any unit vector v , the random variable v^{\top}U is \frac{1}{d} -subgaussian ( 23 , Theorem 3.4.5) . Combining everything, (Q\ast\psi_{h})(A)\leq CN\cdot 2e^{-(0.25)^{2}d/2}+Ne^{-(0.25/h)^{2}/2}\leq\epsilon/2, where for the last step we assume d\geq 32\log(8CN/\epsilon) and h\leq\frac{1}{\sqrt{32\log(4N/\epsilon)}} , so that each term is \leq\epsilon/4 . Therefore, \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq(\widehat{P}_{N}\ast\psi_{h})(A)-(Q\ast\psi_{h})(A)\geq\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}-\epsilon/4-\epsilon/2. Consequently, \frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}\geq 1-\epsilon/4\ \Longrightarrow\ \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)\geq 1-\epsilon. Finally, by the bounded density assumption on P , we have \mathbb{P}_{{P}}\left\{{\|X\|^{2}_{2}<0.75}\right\}=\int_{x\in\mathbb{B}_{d}}{\mathbbm{1}}\left\{{\|x\|_{2}<\sqrt{0.75}}\right\}\cdot p(x)\;\mathsf{d}x\\ \leq\int_{x\in\mathbb{B}_{d}}{\mathbbm{1}}\left\{{\|x\|_{2}<\sqrt{0.75}}\right\}\cdot\frac{C}{{\textnormal{Vol}(\mathbb{B}_{d})}}\;\mathsf{d}x=C\cdot 0.75^{d/2}. Therefore, \sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}<0.75}\right\}\sim\textnormal{Binomial}(N,\rho)\textnormal{ for some $\rho\leq C\cdot 0.75^{d/2}\leq\epsilon/8$}, where the last inequality holds if we assume d\geq\frac{\log(8C/\epsilon)}{0.5\log(4/3)} . Consequently by Hoeffding’s inequality, \mathbb{P}\left\{{\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}\geq 0.75}\right\}\geq 1-\epsilon/4}\right\}\\ =1-\mathbb{P}\left\{{\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|^{2}_{2}<0.75}\right\}>\epsilon/4}\right\}\geq 1-e^{-2N(\epsilon/8)^{2}}. Assuming also that N\geq\frac{32\log(2/\delta)}{\epsilon^{2}} , then, \mathbb{P}\left\{{\frac{1}{N}\sum_{i=1}^{N}{\mathbbm{1}}\left\{{\|X_{i}\|_{2}\geq 0.75}\right\}\geq 1-\epsilon/4}\right\}\geq 1-\delta/2, which completes the proof. To gather our assumptions, we have required that: \displaystyle d \displaystyle\geq\max\left\{32\log(8CN/\epsilon),\frac{\log(8C/\epsilon)}{0.5\log(4/3)}\right\}, \displaystyle h \displaystyle\leq\min\left\{\frac{1}{\sqrt{32\log(4N/\epsilon)}},\frac{1}{\sqrt{32\log(4/\epsilon)}}\right\}, \displaystyle N \displaystyle\geq\frac{32\log(2/\delta)}{\epsilon^{2}}. By definition, we have N\leq n^{2}/\delta , and so the conditions on d and h can be relaxed to d\geq\max\left\{32\log(8Cn^{2}/\epsilon\delta),\frac{\log(8C/\epsilon)}{0.5\log(4/3)}\right\},\quad h\leq\frac{1}{\sqrt{32\log(4n^{2}/\epsilon\delta)}}. Assuming that n\geq\frac{8C}{\epsilon\delta} this can be further relaxed to d\geq\max\left\{32\log(n^{3}),\frac{\log n}{0.5\log(4/3)}\right\},\quad h\leq\frac{1}{\sqrt{32\log(n^{3})}}. As long as c_{1}\geq\max\{96,\frac{1}{0.5\log(4/3)}\} and c_{0}\leq\frac{1}{\sqrt{96}} , then, these assumptions hold when we assume d\geq c_{1}\log n and h\leq c_{0}/\sqrt{\log n} . Finally, we have been assuming that n\geq\frac{8C}{\epsilon\delta},\quad N\geq\frac{32\log(2/\delta)}{\epsilon^{2}}. By definition of N=\left\lceil\frac{n(n-1)}{\delta}\right\rceil this can be relaxed to n\geq\max\left\{\frac{8C}{\epsilon\delta},\sqrt{\frac{64\delta\log(2/\delta)}{\epsilon^{2}}}\right\}, which yields our choice of c_{2} . D.1.3 Proof of lemma Proof. of Lemma D.1 . First let X^{(1)},\dots,X^{(N)}\in\mathbb{R}^{d} be a fixed set of data points and let \widehat{P}_{N}=\frac{1}{N}\sum_{i=1}^{N}\delta_{X^{(i)}} denote the empirical distribution. Then, since \hat{U}_{\alpha} is a DF-UCB, it must hold that \mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)}\right\}\geq 1-\alpha, where the notation \mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\ldots}\right\} means that probability is calculated with respect to a dataset \mathcal{D}_{n,m} comprised of X_{1},\dots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\widehat{P}_{N} and Y_{1},\dots,Y_{m}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}Q . Therefore, \mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\right\}\geq 1-\alpha-{\mathbbm{1}}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)<1-\epsilon}\right\}. Next let X^{(1)},\dots,X^{(N)}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P . Then, after conditioning on these data points (so that their empirical distribution \widehat{P}_{N} is now fixed), \mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\ \middle|\ {X^{(1)},\dots,X^{(N)}}\right\}\geq 1-\alpha-{\mathbbm{1}}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)<1-\epsilon}\right\}, and consequently after marginalizing over the draw of X^{(1)},\ldots,X^{(N)} , \mathbb{E}\left[{\mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\ \middle|\ {X^{(1)},\dots,X^{(N)}}\right\}}\right]\\ \geq 1-\alpha-\mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{N},Q)<1-\epsilon}\right\}\geq 1-\alpha-\delta^{\prime}. Finally, by 1 , the total variation distance between sampling X_{1},\dots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P , versus sampling \widehat{P}_{N} and then sampling X_{1},\dots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}\widehat{P}_{N} , is at most \frac{n(n-1)}{2N} . Therefore, \mathbb{P}_{{P,Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\right\}\\ \geq\mathbb{E}\left[{\mathbb{P}_{{\widehat{P}_{N},Q}}\left\{{\hat{U}_{\alpha}(\mathcal{D}_{n,m},\zeta)\geq 1-\epsilon}\ \middle|\ {X^{(1)},\dots,X^{(N)}}\right\}}\right]-\frac{n(n-1)}{2N}, which completes the proof. ∎ D.2 Proof of Theorem 4.2 : distributions supported on a low-dimensional subspace Fix h>0 and an orthonormal matrix A\in\mathbb{R}^{d\times k} . Let B\in\mathbb{R}^{d\times(d-k)} be an orthonormal matrix spanning the orthogonal complement of the span of A . Let \xi\sim\psi_{d}=\mathcal{N}(0,I_{d}) , and note that A^{\top}\xi\sim\psi_{k}=\mathcal{N}(0,I_{d}) . Then, for X\sim P drawn independently of \xi , A^{\top}(X+h\xi)=A^{\top}X+h\cdot A^{\top}\xi\sim(A\circ P)\ast(\psi_{k})_{h}. And, B^{\top}(X+h\xi)=B^{\top}X+h\cdot B^{\top}\xi=h\cdot B^{\top}\xi\sim(\psi_{d-k})_{h}, by our assumption on the support of P . Moreover, by properties of the Gaussian distribution, A^{\top}\xi\mathchoice{\mathrel{\hbox to0.0pt{$\displaystyle\perp$\hss}\mkern 2.0mu{\displaystyle\perp}}}{\mathrel{\hbox to0.0pt{$\textstyle\perp$\hss}\mkern 2.0mu{\textstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptstyle\perp$\hss}\mkern 2.0mu{\scriptstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptscriptstyle\perp$\hss}\mkern 2.0mu{\scriptscriptstyle\perp}}}B^{\top}\xi , and thus A^{\top}(X+h\xi)\mathchoice{\mathrel{\hbox to0.0pt{$\displaystyle\perp$\hss}\mkern 2.0mu{\displaystyle\perp}}}{\mathrel{\hbox to0.0pt{$\textstyle\perp$\hss}\mkern 2.0mu{\textstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptstyle\perp$\hss}\mkern 2.0mu{\scriptstyle\perp}}}{\mathrel{\hbox to0.0pt{$\scriptscriptstyle\perp$\hss}\mkern 2.0mu{\scriptscriptstyle\perp}}}B^{\top}(X+h\xi) . Therefore, \big(A^{\top}(X+h\xi),B^{\top}(X+h\xi)\big)\sim\big((A\circ P)\ast(\psi_{k})_{h}\big)\times(\psi_{d-k})_{h}. A similar calculation holds with Y in place of X . Therefore, \displaystyle\mathrm{d}_{\mathrm{TV}}^{h,\psi_{d}}(P,Q) \displaystyle=\mathrm{d}_{\mathrm{TV}}(X+h\xi,Y+h\xi) \displaystyle=\mathrm{d}_{\mathrm{TV}}\left((A\;B)^{\top}(X+h\xi),(A\;B)^{\top}(Y+h\xi)\right)\textnormal{ since $(A\;B)\in\mathbb{R}^{d\times d}$ is invertible} \displaystyle=\mathrm{d}_{\mathrm{TV}}\left(\big((A\circ P)\ast(\psi_{k})_{h}\big)\times(\psi_{d-k})_{h},\big((A\circ Q)\ast(\psi_{k})_{h}\big)\times(\psi_{d-k})_{h}\right) \displaystyle=\mathrm{d}_{\mathrm{TV}}((A\circ P)\ast(\psi_{k})_{h},(A\circ Q)\ast(\psi_{k})_{h}) \displaystyle=\mathrm{d}_{\mathrm{TV}}^{h}(A\circ P,A\circ Q). \blacksquare Appendix E Additional results and extensions E.1 Convergence of the empirical distribution in blurred TV In Theorem 2.3 , we showed that \mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P) vanishes as n\to 0 . In this section, we give a more quantitative version of this result. Theorem E.1 . Let P\in\mathcal{P}_{d} and \psi\in\mathcal{K}_{d} . Assume \psi is a bounded density, with \sup_{x\in\mathbb{R}^{d}}\psi(x)\leq B . Then for any bandwidth h>0 , \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\inf_{A\subseteq\mathbb{R}^{d}}\left\{\frac{B\cdot\textnormal{Vol}(A)}{h^{d}}\cdot n^{-1/2}+(P\ast\psi_{h})(A^{c})\right\}, where the infimum is taken over all measurable subsets A\subseteq\mathbb{R}^{d} . In particular, if P\ast\psi_{h} satisfies a moment bound, \mathbb{E}\left[{\|X+h\xi\|_{2}^{q}}\right]^{1/q}\leq M_{q} for some q>0 , then choosing A=\mathbb{B}_{d}(0,r) , we have (P\ast\psi_{h})(A^{c})=\mathbb{P}\left\{{\|X+h\xi\|_{2}>r}\right\}\leq\frac{M_{q}^{q}}{r^{q}} by Markov’s inequality. Therefore \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq\frac{B\cdot\textnormal{Vol}(\mathbb{B}_{d})\cdot r^{d}}{h^{d}}\cdot n^{-1/2}+\frac{M_{q}^{q}}{r^{q}}, where \mathbb{B}_{d} is the unit ball. Choosing r=\left(\frac{M_{q}^{q}h^{d}n^{1/2}}{B\cdot\textnormal{Vol}(\mathbb{B}_{d})}\right)^{1/(d+q)} , then, \mathbb{E}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]\leq n^{-\frac{q}{2(d+q)}}\cdot 2M_{q}^{\frac{dq}{d+q}}\left(\frac{B\cdot\textnormal{Vol}(\mathbb{B}_{d})}{h^{d}}\right)^{\frac{q}{d+q}}. Proof. We will use the following facts: the density of P\ast\psi_{h} is given by z\mapsto\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right] , and, for any distributions P,Q with densities f,g we can calculate \mathrm{d}_{\mathrm{TV}}(P,Q)=\int(f(z)-g(z))_{+}\;\mathsf{d}z . We then have \mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right]=\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\mathrm{d}_{\mathrm{TV}}(\widehat{P}_{n}\ast\psi_{h},P\ast\psi_{h})}\right]\\ =\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\int\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}\,\mathsf{d}z}\right]. Now fix a subset A\subseteq\mathbb{R}^{d} . For any z\in\mathbb{R}^{d} , we have \bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}\leq\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right], and therefore \int_{A^{c}}\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}\,\mathsf{d}z\\ \leq\int_{A^{c}}\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]\;\mathsf{d}z=(P\ast\psi_{h})(A^{c}), almost surely. This yields \displaystyle\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},P)}\right] \displaystyle\leq(P\ast\psi_{h})(A^{c})+\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\int_{A}\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}\,\mathsf{d}z}\right] \displaystyle=(P\ast\psi_{h})(A^{c})+\int_{A}\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}}\right]\,\mathsf{d}z, where the last step holds by the Fubini–Tonelli theorem. Next, for any z\in\mathbb{R}^{d} , we can calculate \displaystyle\hskip-15.00002pt\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}}\right] \displaystyle\leq\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\bigl(\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]\bigr)^{2}}\right]^{1/2} \displaystyle=\mathrm{Var}_{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}\left(\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\right)^{1/2} \displaystyle=\left[\frac{1}{n}\mathrm{Var}_{X_{1}\sim P}\bigl(\psi_{h}(z-X_{1})\bigr)\right]^{1/2}\leq\frac{B}{h^{d}}\cdot\frac{1}{n^{1/2}}, where the last step holds since \sup_{z\in\mathbb{R}^{d}}\psi_{h}(z)=\sup_{z\in\mathbb{R}^{d}}h^{-d}\psi(z/h)\leq B/h^{d} . Therefore, \int_{A}\mathbb{E}_{{X_{1},\ldots,X_{n}\stackrel{{\scriptstyle\textnormal{iid}}}{{\sim}}P}}\left[{\bigl(\mathbb{E}_{{X\sim P}}\left[{\psi_{h}(z-X)}\right]-\mathbb{E}_{{X\sim\widehat{P}_{n}}}\left[{\psi_{h}(z-X)}\right]\bigr)_{+}}\right]\,\mathsf{d}z\\ \leq\int_{A}\frac{B}{h^{d}}\cdot\frac{1}{n^{1/2}}\;\mathsf{d}z=\frac{B}{h^{d}}\cdot\frac{1}{n^{1/2}}\cdot\textnormal{Vol}(A), which completes the proof. ∎ E.2 Distribution-free DF-UCB that is bandwidth-adaptive and uniform over bandwidths In this section, we combine the strategies developed earlier to construct a DF-UCB for blurred TV that is simultaneously (a) computationally efficient, (b) uniformly valid over all bandwidths h>0 , and (c) adaptive to the choice of h . (An analogous construction is also possible to derive a DF-LCB , but we do not state the details here.) We begin by defining a Monte Carlo estimator of the monotonized blurred TV: \widehat{\mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}}}(\widehat{P}_{n},\widehat{Q}_{m};B):=\sup_{h_{1}\in[h,\infty)}\widehat{\mathrm{d}_{\mathrm{TV}}^{h_{1}}}(\widehat{P}_{n},\widehat{Q}_{m};B), where \widehat{\mathrm{d}_{\mathrm{TV}}^{h_{1}}}(\widehat{P}_{n},\widehat{Q}_{m};B) is the Monte Carlo estimator defined in Section 3.1 . Define also \hat{\Sigma}_{n,m}^{h,\mathrm{up}}=\sup_{h_{1}\in[h,\infty)}\hat{\Sigma}_{n,m}^{h_{1}} where \hat{\Sigma}_{n,m}^{h} is defined as in Section 3.3 . Theorem E.2 . Fix any d\geq 1 , n,m\geq 1 , \psi\in\mathcal{K}_{d} , h>0 , and \alpha\in(0,1) . Define \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}^{h,\mathrm{up}}_{n,m},B)=\widehat{\mathrm{d}_{\mathrm{TV}}^{h,\mathrm{up}}}(\widehat{P}_{n},\widehat{Q}_{m};B)+\bigl(\hat{\Sigma}_{n,m}^{h,\mathrm{up}}\bigr)^{1/2}\,r_{1,\alpha/2(n\wedge m)}\\ +\frac{1}{n\wedge m}\left(\frac{r_{1,\alpha/2(n\wedge m)}^{2}}{3}+2\sqrt{5}\,r_{1,\alpha/2(n\wedge m)}r_{2,\alpha/2(n\wedge m)}\right)+\epsilon_{B,\alpha/2(n\wedge m)}+\frac{1}{n\wedge m}, Then \hat{U}^{h,\mathrm{up}}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}^{h,\mathrm{up}}_{n,m},B) is a DF-UCB for \mathrm{d}_{\mathrm{TV}}^{h}(\cdot,\cdot) , uniformly over all h\in(0,\infty) , at confidence level 1-\alpha . Proof. We build the confidence bound in stages. We start from the bandwidth-adaptive DF-UCB in Theorem 3.4 , and then extend it to hold with a Monte Carlo approximation as in Theorem 3.2 . We then convert to a uniform bound (following the approach of Appendix C.3 for the proof of Theorem 3.3 as a final step. Constructing a Monte Carlo, bandwidth-adaptive DF-UCB on \mathrm{d}_{\mathrm{TV}}^{h}(P,Q) . Fix any h>0 . First define \hat{U}_{\alpha/2}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h})=\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})+\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}r_{1,\alpha/2}+\frac{1}{n\wedge m}\left(\frac{r_{1,\alpha/2}^{2}}{3}+2\sqrt{5}\,r_{1,\alpha/2}r_{2,\alpha/2}\right) exactly as in Theorem 3.4 (but with \alpha/2 in place of \alpha ). The result of that theorem tells us that \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\hat{U}_{\alpha/2}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h})}\right\}\geq 1-\alpha/2. Next, as in the proof of Theorem 3.2 , \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(\widehat{P}_{n},\widehat{Q}_{m})\leq\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)+\epsilon_{B,\alpha/2}}\right\}\geq 1-\alpha/2. Therefore, defining \hat{U}^{h}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}^{h}_{n,m},B)=\widehat{\mathrm{d}_{\mathrm{TV}}^{h}}(\widehat{P}_{n},\widehat{Q}_{m};B)\\ +\bigl(\hat{\Sigma}_{n,m}^{h}\bigr)^{1/2}r_{1,\alpha/2}+\frac{1}{n\wedge m}\left(\frac{r_{1,\alpha/2}^{2}}{3}+2\sqrt{5}\,r_{1,\alpha/2}r_{2,\alpha/2}\right)+\epsilon_{B,\alpha/2}, we obtain \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\hat{U}^{h}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h},B)}\right\}\geq 1-\alpha, (E.1) by a union bound. Hence, \hat{U}^{h}_{\alpha}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h},B) is a DF-UCB (for any fixed bandwidth h>0 ), that is bandwidth-adaptive and is constructed via a Monte Carlo approximation. Converting to a uniform bound. Following an identical argument as in the proof of Theorem 3.3 , we can leverage the fact that ( E.1 ) holds for any fixed h>0 and any \alpha\in(0,1) to obtain \mathbb{P}\left\{{\mathrm{d}_{\mathrm{TV}}^{h}(P,Q)\leq\sup_{h_{1}\in[h,\infty)}\hat{U}^{h_{1}}_{\alpha/(n\wedge m)}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h_{1}},B)+\frac{1}{n\wedge m}\ \forall\ h\in(0,\infty)}\right\}\geq 1-\alpha. Noting that \hat{\Sigma}^{h,\mathrm{up}}_{n,m}\geq\hat{\Sigma}_{n,m}^{h_{1}} for all h_{1}\in[h,\infty) , by construction, this implies \sup_{h_{1}\in[h,\infty)}\hat{U}^{h_{1}}_{\alpha/(n\wedge m)}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h_{1}},B)\leq\sup_{h_{1}\in[h,\infty)}\hat{U}^{h_{1}}_{\alpha/(n\wedge m)}(\mathcal{D}_{n,m},\hat{\Sigma}_{n,m}^{h,\mathrm{up}},B). Combining all these calculations completes the proof. ∎