Ilya Tolstikhin
email: iliya.tolstikhin@gmail.

Gilles Blanchard

Marius Kloft
email: mkloft@cs.nyu.edu

Localized Complexities for Transductive Learning

Keywords: Statistical Learning, Transductive Learning, Fast Rates, Localized Complexities, Concentration Inequalities, Empirical Processes, Kernel Classes

We show two novel concentration inequalities for suprema of empirical processes when sampling without replacement, which both take the variance of the functions into account. While these inequalities may potentially have broad applications in learning theory in general, we exemplify their significance by studying the transductive setting of learning theory. For which we provide the first excess risk bounds based on the localized complexity of the hypothesis class, which can yield fast rates of convergence also in the transductive learning setting. We give a preliminary analysis of the localized complexities for the prominent case of kernel classes.

Introduction

The analysis of the stochastic behavior of empirical processes is a key ingredient in learning theory. The supremum of empirical processes is of particular interest, playing a central role in various application areas, including the theory of empirical processes, VC theory, and Rademacher complexity theory, to name only a few. Powerful Bennett-type concentration inequalities on the supnorm of empirical processes introduced in [START_REF] Talagrand | New concentration inequalities in product spaces[END_REF] (see also Bousquet (2002a)) are at the heart of many recent advances in statistical learning theory, including local Rademacher complexities [START_REF] Bartlett | Local rademacher complexities[END_REF]Koltchinskii, 2011b) and related localization strategies (cf. Steinwart and Christmann, 2008, Chapter 4), which can yield fast rates of convergence on the excess risk.

These inequalities are based on the assumption of independent and identically distributed random variables, commonly assumed in the inductive setting of learning theory and thus implicitly underlying many prevalent machine learning algorithms such as support vector machines [START_REF] Cortes | Support-vector networks[END_REF][START_REF] Steinwart | Support Vector Machines[END_REF]. However, in many cases the i.i.d. assumption breaks and substitutes for Talagrand's inequality are required. For instance, the i.i.d. assumption is violated when training and test data come from different distributions or data points exhibit (e.g., temporal) interdependencies (e.g., [START_REF] Steinwart | Learning from dependent observations[END_REF]. Both scenarios are typical situations in visual recognition, computational biology, and many other application areas.

Another example where the i.i.d. assumption is void-in the focus of the present paper-is the transductive setting of learning theory, where training examples are sampled independent and without replacement from a finite population, instead of being sampled i.i.d. with replacement. The learner in this case is provided with both a labeled training set and an unlabeled test set, and the goal is to predict the label of the test points. This setting naturally appears in almost all popular application areas, including text mining, computational biology, recommender systems, visual recognition, and computer malware detection, as effectively constraints are imposed on the samples, since they are inherently realized within the global system of our world. As an example, consider image categorization, which is an important task in the application area of visual recognition. An object of study here could be the set of all images disseminated in the internet, only some of which are already reliably labeled (e.g., by manual inspection by a human), and the goal is to predict the unknown labels of the unlabeled images, in order to, e.g., make them accessible to search engines for content-based image retrieval.

From a theoretical view, however, the transductive learning setting is yet not fully understood. Several transductive error bounds were presented in series of works [START_REF] Vapnik | Estimation of Dependences Based on Empirical Data[END_REF][START_REF] Vapnik | Statistical Learning Theory[END_REF][START_REF] Blum | PAC-MDL bounds[END_REF][START_REF] Derbeko | Explicit learning curves for transduction and application to clustering and compression algorithms[END_REF][START_REF] Cortes | On transductive regression[END_REF][START_REF] El-Yaniv | Transductive rademacher complexity and its applications[END_REF][START_REF] Cortes | Stability analysis and learning bounds for transductive regression algorithms[END_REF], including the first analysis based on global Rademacher complexities presented in El-Yaniv and Pechyony (2009). However, the theoretical analysis of the performance of transductive learning algorithms still remains less illuminated than in the classic inductive setting: to the best of our knowledge, existing results do not provide fast rates of convergence in the general transductive setting. 1In this paper, we consider the transductive learning setting with arbitrary bounded nonnegative loss functions. The main result is an excess risk bound for transductive learning based on the localized complexity of the hypothesis class. This bound holds under general assumptions on the loss function and hypothesis class and can be viewed as a transductive analogue of Corollary 5.3 in [START_REF] Bartlett | Local rademacher complexities[END_REF]. The bound is very generally applicable with loss functions such as the squared loss and common hypothesis classes. By exemplarily applying our bound to kernel classes, we achieve, for the first time in the transductive setup, an excess risk bound in terms of the tailsum of the eigenvalues of the kernel, similar to the best known results in the inductive setting. In addition, we also provide new transductive generalization error bounds that take the variances of the functions into account, and thus can yield sharper estimates.

The localized excess risk bound is achieved by proving two novel concentration inequalities for suprema of empirical processes when sampling without replacement. The application of which goes far beyond the transductive learning setting-these concentration inequalities could serve as a fundamental mathematical tool in proving results in various other areas of machine learning and learning theory. For instance, arguably the most prominent example in machine learning and learning theory of an empirical process where sampling without replacement is employed is cross-validation [START_REF] Stone | Cross-validatory choice and assessment of statistical predictors (with discussion)[END_REF], where training and test folds are sampled without replacement from the overall pool of examples, and the new inequalities could help gaining a non-asymptotic understanding of crossvalidation procedures. However, the investigation of further applications of the novel concentration inequalities beyond the transductive learning setting is outside of the scope of the present paper.

The Transductive Learning Setting and State of the Art

From a statistical point of view, the main difference between the transductive and inductive learning settings lies in the protocols used to obtain the training sample S. Inductive learning assumes that the training sample is drawn i.i.d. from some fixed and unknown distribution P on the product space X × Y, where X is the input space and Y is the output space. The learning algorithm chooses a predictor h from some fixed hypothesis set H based on the training sample, and the goal is to minimize the true risk E X×Y [ h(X), Y ] → min h∈H for a fixed, bounded, and nonnegative loss function :

Y 2 → [0, 1].
We will use one of the two transductive settings2 considered in [START_REF] Vapnik | Statistical Learning Theory[END_REF], which is also used in [START_REF] Derbeko | Explicit learning curves for transduction and application to clustering and compression algorithms[END_REF]; El-Yaniv and Pechyony (2009). Assume that a set X N consisting of N arbitrary input points is given (without any assumptions regarding its underlying source). We then sample m ≤ N objects X m ⊆ X N uniformly without replacement from X N (which makes the inputs in X m dependent). Finally, for the input examples X m we obtain their outputs Y m by sampling, for each input X ∈ X m , the corresponding output Y from some unknown distribution [START_REF] Derbeko | Explicit learning curves for transduction and application to clustering and compression algorithms[END_REF] and El-Yaniv and Pechyony (2009) consider a special case where the labels are obtained using some unknown but deterministic target function φ : X → Y so that P φ(X)|X = 1. We will adopt the same assumption here. The learner then chooses a predictor h from some fixed hypothesis set H (not necessarily containing φ) based on both the labeled training set S m and unlabeled test set X u . For convenience let us denote h (X) = h(X), φ(X) . We define the test and training error, respectively, of hypothesis h as follows:

P (Y |X). The resulting training set is denoted by S m = (X m , Y m ). The remaining unlabeled set X u = X N \ X m , u = N -m is the test set. Note that both
L u (h) = 1 u X∈Xu h (X) , Lm (h) = 1 m X∈Xm h (X)
, where hat emphasizes the fact that the training (empirical) error can be computed from the data. For technical reasons that will become clear later, we also define the overall error of an hypothesis h with regard to the union of the training and test sets as L N (h) = 1 N X∈X N h (X) (this quantity will play a crucial role in the upcoming proofs). Note that for a fixed hypothesis h the quantity L N (h) is not random, as it is invariant under the partition into training and test sets. The main goal of the learner in transductive setting is to select a hypothesis minimizing the test error L u (h) → inf h∈H , which we will denote by h * u . Since the labels of the test set examples are unknown, we cannot compute L u (h) and need to estimate it based on the training sample S m . A common choice is to replace the test error minimization by empirical risk minimization Lm (h) → min h∈H and to use its solution, which we denote by ĥm , as an approximation of h * u . For h ∈ H let us define an excess risk of h:

E u (h) = L u (h) -inf g∈H L u (g) = L u (h) -L u (h * u ).
A natural question is: how well does the hypothesis ĥm chosen by the ERM algorithm approximate the theoretical-optimal hypothesis h * u ? To this end, we use E u ( ĥm ) as a measure of the goodness of fit. Obtaining tight upper bounds on E u ( ĥm )-so-called excess risk bounds-is thus the main goal of this paper. Another goal commonly considered in learning literature is the one of obtaining upper bounds on L u ( ĥm ) in terms of Lm ( ĥm ), which measures the generalization performance of empirical risk minimization. Such bounds are known as the generalization error bounds. Note that both ĥm and h * u are random, since they depend on the training and test sets, respectively. Note, moreover, that for any fixed h ∈ H its excess risk E u (h) is also random. Thus both tasks (of obtaining excess risk and generalization bounds, respectively) deal with random quantities and require bounds that hold with high probability.

The most common way to obtain generalization error bounds for ĥm is to introduce uniform deviations over the class H:

L u ( ĥm ) -Lm ( ĥm ) ≤ sup h∈H L u (h) -Lm (h).
(1)

The random variable appearing on the right side is directly related to the sup-norm of the empirical process [START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF]. It should be clear that, in order to analyze the transductive setting, it is of fundamental importance to obtain high-probability bounds for functions f (Z 1 , . . . , Z m ), where {Z 1 , . . . , Z m } are random variables sampled without replacement from some fixed finite set.

Of particular interest are concentration inequalities for sup-norms of empirical processes, which we present in Section 3.

State of the Art and Related Work

Error bounds for transductive learning were considered by several authors in recent years. Here we name only a few of them3 . The first general bound for binary loss functions, presented in [START_REF] Vapnik | Estimation of Dependences Based on Empirical Data[END_REF], was implicit in the sense that the value of the bound was specified as an outcome of a computational procedure. The somewhat refined version of this implicit bound also appears in [START_REF] Blum | PAC-MDL bounds[END_REF]. It is well known that generalization error bounds with fast rates of convergence can be obtained under certain restrictive assumptions on the problem at hand. For instance, [START_REF] Blum | PAC-MDL bounds[END_REF] provide a bound that has an order of 1 min(u,m) in the realizable case, i.e., when φ ∈ H (meaning that the hypothesis having zero error belongs to H). However, such an assumption is usually unrealistic: in practice it is usually impossible to avoid overfitting when choosing H so large that it contains the Bayes classifier.

The authors of [START_REF] Cortes | On transductive regression[END_REF] consider a transductive regression problem with bounded squared loss and obtain a generalization error bound of the order Lm ( ĥm ) log N min(m,u) , which also does not attain a fast rate. Several PAC-Bayesian bounds were presented in [START_REF] Blum | PAC-MDL bounds[END_REF]; [START_REF] Derbeko | Explicit learning curves for transduction and application to clustering and compression algorithms[END_REF] and others. However their tightness critically depends on the prior distribution over the hypothesis class, which should be fixed by the learner prior to observing the training sample. Transductive bounds based on algorithmic stability were presented for classification in El-Yaniv and [START_REF] El-Yaniv | Stable transductive learning[END_REF] and for regression in [START_REF] Cortes | Stability analysis and learning bounds for transductive regression algorithms[END_REF]. However both are roughly of the order min(u, m) -1/2 . Finally, we mention the results of El-Yaniv and Pechyony (2009) based on transductive Rademacher complexities. However, the analysis was based on the global Rademacher complexity combined with a McDiarmid-style concentration inequality for sampling without replacement and thus does not yield fast convergence rates.

Novel Concentration Inequalities for Sampling Without replacement

In this section, we present two new concentration inequalities for suprema of empirical processes when sampling without replacement. The first one is a sub-Gaussian inequality that is based on a result by [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF] and closely related to the entropy method [START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF]. The second inequality is an analogue of Bousquet's version of Talagrand's concentration inequality (Bousquet, 2002b,a;[START_REF] Talagrand | New concentration inequalities in product spaces[END_REF] and is based on the reduction method first suggested in [START_REF] Hoeffding | Probability inequalities for sums of bounded random variables[END_REF].

Next we state the setting and introduce the necessary notation. Let C = {c 1 , . . . , c N } be some finite set. For m ≤ N let {Z 1 , . . . , Z m } and {X 1 , . . . , X m } be sequences of random variables sampled uniformly without and with replacement from C, respectively. Let F be a (countable4 ) class of functions f :

C → R, such that E[f (Z 1 )] = 0 and f (x) ∈ [-1, 1] for all f ∈ F and x ∈ C. It follows that E[f (X 1 )] = 0 since Z 1 and X 1 are identically distributed. Define the variance σ 2 = sup f ∈F V[f (Z 1 )]. Note that σ 2 = sup f ∈F E[f 2 (Z 1 )] = sup f ∈F V[f (X 1 )].
Let us define the supremum of the empirical process for sampling with and without replacement, respectively:5

Q m = sup f ∈F m i=1 f (X i ), Q m = sup f ∈F m i=1 f (Z i ).
The random variable Q m is well studied in the literature and there are remarkable Bennett-type concentration inequalities for Q m , including Talagrand's inequality [START_REF] Talagrand | New concentration inequalities in product spaces[END_REF] and its versions due to Bousquet (2002a,b) and others. 6 The random variable Q m , on the other hand, is much less understood, and no Bennett-style concentration inequalities are known for it up to date.

The New Concentration Inequalities

In this section, we address the lack of Bennett-type concentration inequalities for Q m by presenting two novel inequalities for suprema of empirical processes when sampling without replacement.

Theorem 1 (Sub-Gaussian concentration inequality for sampling without replacement) For any ≥ 0,

P Q m -E[Q m ] ≥ ≤ exp - (N + 2) 2 8N 2 σ 2 < exp - 2 8N σ 2 . ( 2
)
The same bound also holds for

P {E[Q m ] -Q m ≥ }.
Also for all t ≥ 0 the following holds with probability greater than 1 -e -t :

Q m ≤ E[Q m ] + 2 √ 2N σ 2 t. (3)
Theorem 2 (Talagrand-type concentration inequality for sampling without replacement)

Define v = mσ 2 + 2E[Q m ]. For u > -1 define φ(u) = e u -u -1, h(u) = (1 + u) log(1 + u) -u.
Then for any ≥ 0:

P Q m -E[Q m ] ≥ ≤ exp -vh v ≤ exp - 2 2v + 2 3 .
Also for any t ≥ 0 following holds with probability greater than 1 -e -t :

Q m ≤ E[Q m ] + √ 2vt + t 3 .
The appearance of E[Q m ] in the last theorem might seem unexpected on the first view. Indeed, one usually wants to control the concentration of a random variable around its expectation. However, it is shown in the lemma below that in many cases

E[Q m ] will be close to E[Q m ]: Lemma 3 0 ≤ E[Q m ] -E[Q m ] ≤ 2 m 3 N . The above lemma is proved in Appendix B. It shows that for m = o(N 2/5 ) the order of E[Q m ] - E[Q m ] does not exceed √ m
, and thus Theorem 2 can be used to control the deviations of

Q m above its expectation E[Q m ] at a fast rate. However, generally E[Q m ] could be smaller than E[Q m ],
which may potentially lead to significant gap, in which case Theorem 1 is the preferred choice to control the deviations of

Q m around E[Q m ].

Discussion

It is worth comparing the two novel inequalities for Q m to the best known results in the literature. To this end, we compare our inequalities with the McDiarmid-style inequality recently obtained in El-Yaniv and Pechyony (2009) (and slightly improved in [START_REF] Cortes | Stability analysis and learning bounds for transductive regression algorithms[END_REF]):

Theorem 4 (El-Yaniv and Pechyony (2009)7 ) For all ≥ 0:

P Q m -E[Q m ] ≥ ≤ exp - 2 2m N -1/2 N -m 1 - 1 2 max(m, N -m) . (4)
The same bound also holds for

P {E[Q m ] -Q m ≥ }.
To begin with, let us notice that Theorem 4 does not account for the variance sup f ∈F V[f (X 1 )], while Theorems 1 and Theorem 2 do. As it will turn out in Section 4, this refined treatment of the variance σ 2 allows us to use localization techniques, facilitating to obtain sharp estimates (and potentially, fast rates) also in the transductive learning setup. The comparison between concentration inequalities (2) of Theorem 2 and (4) of Theorem 4 is as follows: note that the term 1 -1 2 max(m,N -m) is negligible for large N , so that slightly re-writing the inequalities boils down to comparing -

2 8mσ 2 m N and - 2 2m N -1/2 N -m
. For m = o(N ) (which in a way transforms sampling without replacement to sampling with replacement), the second inequality clearly outperforms the first one. However, for the case when m = Ω(N ) (frequently used in the transductive setting), say N = 2m, the comparison depends on the relation between -2 /(16 mσ 2 ) and -2 /m and the result of Theorem 1 outperforms the one of El-Yaniv and Pechyony for σ 2 ≤ 1/16. The comparison between Theorems 2 and 4 for both cases (m = o(N ) and m = Ω(N )) depends on the value of σ 2 .

Theorem 2 is a direct analogue of Bousquet's version of Talagrand's inequality (see Theorem 17 in Appendix A of the supplementary material), frequently used in the learning literature. It states that the upper bound on Q m , provided by Bousquet's inequality, also holds for Q m . Now we compare Theorems 1 and 2. First of all note that the deviation bound (3) does not have the term 2E[Q m ] ≥ 0 under the square root in contrast to Theorem 2. As will be shown later, in some cases this fact can result in improved constants when applying Theorem 1. Another nice thing about Theorem 1 is that it provides upper bounds for both

Q m -E[Q m ] and E[Q m ]-Q m , while Theorem 2 upper bounds only Q m -E[Q m ].
The main drawback of Theorem 1 is the factor N appearing in the exponent. Later we will see that in some cases it is more preferable to use Theorem 2 because of this fact.

We also note that, if m = Ω(N ) or m = o(N 2/5 ), we can control the deviations of Q m around E[Q m ] with inequalities that are similar to i.i.d. case. It is an open question, however, whether this can be done also for other regimes of m and N . It should be clear though that we can obtain at least as good rates as in the inductive setting using Theorem 2. To summarize the discussion, when N is large and m = o(N ), Theorems 2 or 4 (depending on σ 2 and the order of

E[Q m ] -E[Q m ]
) can be significantly tighter than Theorem 1. However, if m = Ω(N ), Theorem 1 is more preferable. Further discussions are presented in Appendix C.

Proof Sketch

Here we briefly outline the proofs of Theorems 1 and 2. Detailed proofs are given in Appendix B of the supplementary material.

Theorem 2 is a direct consequence of Bousquet's inequality and Hoefding's reduction method. It was shown in Theorem 4 of [START_REF] Hoeffding | Probability inequalities for sums of bounded random variables[END_REF] that, for any convex function f , the following inequality holds:

E f m i=1 Z i ≤ E f m i=1 X i .
Although not stated explicitly in [START_REF] Hoeffding | Probability inequalities for sums of bounded random variables[END_REF], the same result also holds if we sample from finite set of vectors instead of real numbers [START_REF] Gross | Note on sampling without replacing from a fnite collection of matrices[END_REF]. This reduction to the i.i.d. setting together with some minor technical results is enough to bound the moment generating function of Q m and obtain a concentration inequality using Chernoff's method (for which we refer to the Section 2.2 of [START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF]). The proof of Theorem 1 is more involved. It is based on the sub-Gaussian inequality presented in Theorem 2.1 of [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF], which is related to the entropy method introduced by M. Ledoux (see [START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF] for references). Consider a function g defined on the partitions X N = (X m ∪ X u ) of a fixed finite set X N of cardinality N into two disjoint subsets X m and X u of cardinalities m and u, respectively, where N = m + u. Bobkov's inequality states that, roughly speaking, if g is such that the Euclidean length of its discrete gradient |∇g(X m ∪ X u )| 2 is bounded by a constant Σ 2 , and if the partitions (X m ∪ X u ) are sampled uniformly from the set of all such partitions, then g(X m ∪ X u ) is sub-Gaussian with parameter Σ 2 .

Applications of the New Inequalities

The novel concentration inequalities presented above can be generally used as a mathematical tool in various areas of machine learning and learning theory where suprema of empirical processes over sampling without replacement are of interest, including the analysis of cross-validation and low-rank matrix factorization procedures as well as the transductive learning setting. Exemplifying their applications, we show in the next section-for the first time in the transductive setting of learning theory-excess risk bounds in terms of localized complexity measures, which can yield sharper estimates than global complexities.

Excess Risk Bounds for Transductive Learning via Localized Complexities

We start with some preliminary generalization error bounds that show how to apply the concentration inequalities of Section 3 to obtain risk bounds in the transductive learning setting. Note that (1) can be written in the following way:

L u ( ĥm ) -Lm ( ĥm ) ≤ sup h∈H L u (h) -Lm (h) = N u • sup h∈H L N (h) -Lm (h),
where we used the fact that

N • L N (h) = m • Lm (h) + u • L u (h). Note that for any fixed h ∈ H, we have L N (h) -Lm (h) = 1 m X∈Xm L N (h) -h (X)
, where X m is sampled uniformly without replacement from X N . Note that we clearly have

L N (h) -h (X) ∈ [-1, 1] and E[L N (h) - h (X)] = L N (h) -E[ h (X)] = 0.
Thus we can use the setting described in Section 3, with X N playing the role of C and considering the function class

F H = {f h : f h (X) = L N (h) -h (X), h ∈ H} associated with H, to obtain high-probability bounds for sup f h ∈F H X∈Xm f h (X) = m • sup h∈H L N (h) -Lm (h) .
Note that in Section 3 we considered unnormalized sums, hence we obtain a factor of m in the above equation. As already noted, for fixed h, L N (h) is not random; also centering random variable does not change its variance. Keeping this in mind, we define

σ 2 H = sup f h ∈F H V[f h (X)] = sup h∈H V[ h (X)] = sup h∈H   1 N X∈X N h (X) -L N (h) 2   . (5)
Using Theorems 1 and 2, we can obtain the following results that hold without any assumptions on the learning problem at hand, except for the boundedness of the loss function in the interval [0, 1]. Our first result of this section follows immediately from the new concentration inequality of Theorem 1:

Theorem 5 For any t ≥ 0 with probability greater than 1 -e -t the following holds:

∀h ∈ H : L N (h) -Lm (h) ≤ E sup h∈H L N (h) -Lm (h) + 2 2 N m 2 σ 2 H t,
where σ 2 H was defined in (5). Let {ξ 1 , . . . , ξ m } be random variables sampled with replacement from X N and denote

E m = E sup h∈H L N (h) - 1 m m i=1 h (ξ i ) .
The following result follows from Theorem 2 by simple calculus. We provide the detailed proof in the supplementary material.

Theorem 6 For any t ≥ 0 with probability greater than 1 -e -t the following holds:

∀h ∈ H : L N (h) -Lm (h) ≤ 2E m + 2σ 2 H t m + 4t 3m ,
where σ 2 H was defined in (5). Here we provide some discussion on the two generalization error bounds presented above. Note that σ 2 H ≤ 1/4, since σ 2 H is the variance of a random variable bounded in the interval [0, 1]. We conclude that the bound of Theorem 6 is of the order m -1/2 , since the typical order 8 of E m is also m -1/2 . Note that repeating the proof of Lemma 3 we immediately obtain the following corollary:

Corollary 8 Let {ξ 1 , . . . , ξ m } be random variables sampled with replacement from X N . For any countable set of functions F defined on X N the following holds:

E sup f ∈F E[f (X)] - 1 m X∈Xm f (X) ≤ E sup f ∈F E[f (X)] - 1 m m i=1 f (ξ i ) .
The corollary shows that for m = Ω(N ) the bound of Theorem 5 also has the order m -1/2 . However, if m = o(N ), the convergence becomes slower and it can even diverge for m = o(N 1/2 ).

Remark 9

The last corollary enables us to use also in the transductive setting all the established techniques related to the inductive Rademacher process, including symmetrization and contraction inequalities. Later in this section, we will employ this result to derive excess risk bounds for kernel classes in terms of the tailsum of the eigenvalues of the kernel, which can yield a fast rate of convergence. However, we should keep in mind that there might be a significant gap between

E[Q m ] and E[Q m ],
in which case such a reduction can be loose.

Excess Risk Bounds

The main goal of this section is to analyze to what extent the known results on localized risk bounds presented in series of works [START_REF] Koltchinskii | Rademacher processes and bounding the risk of function learning[END_REF][START_REF] Massart | Some applications of concentration inequalities to statistics[END_REF][START_REF] Bartlett | Local rademacher complexities[END_REF][START_REF] Koltchinskii | Local rademacher complexities and oracle inequalities in risk minimization[END_REF] can be generalized to the transductive learning setting. These results essentially show that the rate of convergence of the excess risk is related to the fixed point of the modulus of continuity of the empirical process associated with the hypothesis class. Our main tools to this end 8. For instance if F is finite it follows from Theorems 2.1 and 3.5 of Koltchinskii (2011a).

will be the sub-Gaussian and Bennett-style concentration inequalities of Theorems 1 and 2 presented in the previous section.

From now on it will be convenient to introduce the following operators, mapping functions f defined on X N to R:

Ef = 1 N X∈X N f (X), Êm f = 1 m X∈Xm f (X).
Using this notation we have: L N (h) = E h and Lm (h) = Êm h . Define the excess loss class

F * = { h -h * N , h ∈ H}.
Throughout this section, we will assume that the loss function and hypothesis class H satisfy the following assumptions:

Assumptions 10 1. There is a function h * N ∈ H satisfying L N (h * N ) = inf h∈H L N (h).
2. There is a constant B > 0 such that for every f ∈ F * we have Ef 2 ≤ B • Ef .

3. As before the loss function is bounded in the interval [0, 1].

Here we shortly discuss these assumptions. Assumption 10.1 is quite common and not restrictive. Assumption 10.2 can be satisfied, for instance, when the loss function is Lipschitz and there is a constant

T > 1 such that 1 N X∈X N h(X) -h * N (X) 2 ≤ T L N (h) -L N (h * N )
for all h ∈ H. These conditions are satisfied for example for the quadratic loss (y, y ) = (y -y ) 2 with uniformly bounded convex classes H (for other examples we refer to Section 5.2 of [START_REF] Bartlett | Local rademacher complexities[END_REF] and Section 2.1 of [START_REF] Bartlett | On the optimality of sample-based estimates of the expectation of the empirical minimizer[END_REF]). Assumption 10.3 could be possibly relaxed using some analogues of Theorems 1 and 2 that hold for classes F with unbounded functions9 .

Next we present the main results of this section, which can be considered as an analogues of Corollary 5.3 of [START_REF] Bartlett | Local rademacher complexities[END_REF]. The results come in pairs, depending on whether Theorem 1 or 2 is used in the proof. We will need the notion of a sub-root function, which is a nondecreasing and nonnegative function ψ : [0, ∞) → [0, ∞), such that r → ψ(r)/ √ r is nonincreasing for r > 0. It can be shown that any sub-root function has a unique and positive fixed point.

Theorem 11 Let H and be such that Assumptions 10 are satisfied. Assume there is a sub-root function ψ m (r) such that

B E sup f ∈F * :Ef 2 ≤r (Ef -Êm f ) ≤ ψ m (r). (6)
Let r * m be a fixed point of ψ m (r). Then for any t > 0 with probability greater than 1 -e -t we have:

L N ( ĥm ) -L N (h * N ) ≤ 51 r * m B + 17Bt N m 2 .
We emphasize that the constants appearing in Theorem 11 are slightly better than the ones appearing in Corollary 5.3 of [START_REF] Bartlett | Local rademacher complexities[END_REF]. This result is based on Theorem 1 and thus shares the disadvantages of Theorem 5 discussed above: the bound does not converge for m = o(N -1/2 ). However, by using Theorem 2 instead of Theorem 1 in the proof, we can replace the factor of N/m 2 appearing in the bound by a factor of 1/m at a price of slightly worse constants:

Theorem 12 Let H and be such that Assumptions 10 are satisfied. Let {ξ 1 , . . . , ξ m } be random variables sampled with replacement from X N . Assume there is a sub-root function ψ m (r) such that

B • E sup f ∈F * :Ef 2 ≤r Ef - 1 m m i=1 f (ξ i ) ≤ ψ m (r). (7)
Let r * m be a fixed point of ψ m (r). Then for any t > 0, with probability greater than 1 -e -t , we have:

L N ( ĥm ) -L N (h * N ) ≤ 901 r * m B + t(16 + 25B) 3m .
We also note that in Theorem 12 the modulus of continuity of the empirical process over sampling without replacement appearing in the left-hand side of ( 6) is replaced with its inductive analogue. As follows from Corollary 8, the fixed point r * m of Theorem 11 can be smaller than that of Theorem 12 and thus, for large N and m = Ω(N ) the first bound can be tighter. Otherwise, if m = o(N ), Theorem 12 can be more preferable.

Proof sketch: Now we briefly outline the proof of Theorem 11. It is based on the peeling technique and consists of the steps described below (similar to the proof of the first part of Theorem 3.3 in [START_REF] Bartlett | Local rademacher complexities[END_REF]). The proof of Theorem 12 repeats the same steps with the only difference being that Theorem 2 is used on Step 2 instead of Theorem 1. The detailed proofs are presented in Section D of the supplementary material.

STEP 1 First we fix an arbitrary r > 0 and introduce the rescaled version of the centered loss class: G r = r ∆(r,f ) f, f ∈ F * , where ∆(r, f ) is chosen such that the variances of the functions contained in G r do not exceed r.

STEP 2 We can use Theorem 1 to obtain the following upper bound on V r = sup g∈Gr (Eg -Êm g) which holds with probability greater than 1 -e -t : V r ≤ E[V r ] + 2 2t N m 2 r.

STEP 3 Using the peeling technique (which consists in dividing the class F * into slices of functions having variances within a certain range), we are able to show that E[V r ] ≤ 5ψ m (r)/B. Also, using the definition of sub-root functions, we conclude that ψ m (r) ≤ √ rr * m for any r ≥ r * m , which gives us

V r ≤ √ r 5 √ r * m B + 2 2t N m 2
.

STEP 4 Now we can show that by properly choosing r 0 > r * m we can get that, for any K > 1, it holds V r 0 ≤ r 0 KB . Using the definition of V r , we obtain that the following holds, with probability greater than 1 -e -t :

∀f ∈ F * , ∀K > 1 : Ef -Êm f ≤ max r 0 , Ef 2 r 0 r 0 KB = max r 0 , Ef 2 KB .
STEP 5 Finally it remains to upper bound Ef for the two cases Ef 2 > r 0 and Ef 2 ≤ r 0 (which can be done using Assumption 10.2), to combine those two results, and to notice that Êm f ≤ 0 for f (X) = ĥm (X)h * N (X). We finally present excess risk bounds for E u ( ĥm ). The first one is based on Theorem 11:

Corollary 13 Under the assumptions of Theorem 11, for any t > 0, with probability greater than 1 -2e -t , we have:

E u ( ĥm ) ≤ N u 51 r * m B + 17Bt N m 2 + N m 51 r * u B + 17Bt N u 2 .
The following version is based on Theorem 12 and replaces the factors N/m 2 and N/u 2 appearing in the previous excess risk bound by 1/m and 1/u, respectively:

Corollary 14 Under the assumptions of Theorem 12, for any t > 0, with probability greater than 1 -2e -t , we have:

E u ( ĥm ) ≤ N u 901 K B r * m + t(16 + 25B) 3m + N m 901 K B r * u + t(16 + 25B) 3u .
Proof sketch Corollary 13 can be proved by noticing that h * u is an empirical risk minimizer (similar to ĥm , but computed on the test set). Thus, repeating the proof of Theorem 11, we immediately obtain the same bound for h * u as in Theorem 11 with r * m and N/m 2 replaced by r * u and N/u 2 , respectively. This shows that the overall errors L N ( ĥm ) and L N (h * u ) are close to each other. It remains to apply an intermediate step, obtained in the proof of Theorem 11. Corollary 14 is proved in a similar way. The detailed proofs are presented in Appendix D.

In order to get a more concrete grasp of the key quantities r * m and r * u in Corollary 14, we can directly apply the machinery developed in the inductive case by [START_REF] Bartlett | Local rademacher complexities[END_REF] to get an upper bound. For concreteness, we consider below the case of a kernel class. Observe that, by an application of Corollary 8 to the left-hand side of (6), the bounds below for the inductive r * m , r * u of Corollary 14 are valid as well for their transductive siblings of Corollary 13; though by doing so we lose essentially any potential advantage (apart from tighter multiplicative constants) of using Theorem 11/Corollary 13 over Theorem 12/Corollary 14. As pointed out in Remark 9, the regime of sampling without replacement could lead potentially to an improved bound (at least when m = Ω(N )). Whether it is possible to take advantage of this fact and develop tighter bounds specifically for the fixed point of ( 6) is an open question and left for future work.

Corollary 15 Let k be a positive semidefinite kernel on X with sup x∈X k(x, x) ≤ 1, and C k the associated reproducing kernel Hilbert space. Let H := {f ∈ C k : f ≤ 1}, and F * the associated excess loss class. Suppose that Assumptions 10 are satisfied and assume moreover that the loss function is L-Lipschitz in its first variable. Let K N be the N × N normalized kernel Gram matrix with entries

(K N ) ij := 1 N k(X i , X j ), where X N = (X 1 , . . . , X N ); denote λ 1,N ≥ . . . ≥ λ N,N its ordered eigenvalues. Then, for k = u or k = m: r * k ≤ c L min 0≤θ≤k   θ k + 1 k i≥θ λ i,N   ,
where c L is a constant depending only on L.

This result is obtained as a direct application of the results of Bartlett et al., 2005, Section 6.3;[START_REF] Mendelson | On the performance of kernel classes[END_REF], the only important point being that the generating distribution is the uniform distribution on X N . Similar to the discussion there, we note that r * m and r * u are at most of order 1/ √ m and 1/ √ u, respectively, and possibly much smaller if the eigenvalues have a fast decay .

Remark 16

The question of transductive convergence rates is somewhat delicate, since all results stated here assume a fixed set X N , as reflected for instance in the bound of Corollary 15 depending on the eigenvalues of the kernel Gram matrix of the set X N . In order to give a precise meaning to rates, one has to specify how X N evolves as N grows. A natural setting for this is Vapnik (1998)'s second transductive setting where X N is i.i.d. from some generating distribution. In that case we think it is possible to adapt once again the results of [START_REF] Bartlett | Local rademacher complexities[END_REF] in order to relate the quantities r * m (N ) to asymptotic counterparts as N → ∞, though we do not pursue this avenue in the present work.

Conclusion

In this paper, we have considered the setting of transductive learning over a broad class of bounded and nonnegative loss functions. We provide excess risk bounds for the transductive learning setting based on the localized complexity of the hypothesis class, which hold under general assumptions on the loss function and the hypothesis class. When applied to kernel classes, the transductive excess risk bound can be formulated in terms of the tailsum of the eigenvalues of the kernels, similar to the best known estimates in inductive learning. The localized excess risk bound is achieved by proving two novel and very general concentration inequalities for suprema of empirical processes when sampling without replacement, which are of potential interest also in various other application areas in machine learning and learning theory, where they may serve as a fundamental mathematical tool.

For instance, sampling without replacement is commonly employed in the Nyström method [START_REF] Kumar | Sampling methods for the nyström method[END_REF], which is an efficient technique to generate low-rank matrix approximations in large-scale machine learning. Another potential application area of our novel concentration inequalities could be the analysis of randomized sequential algorithms such as stochastic gradient descent and randomized coordinate descent, practical implementations of which often deploy sampling without replacement [START_REF] Recht | Toward a noncommutative arithmetic-geometric mean inequality: Conjectures, case-studies, and consequences[END_REF]. Very interesting also would be to explore whether the proposed techniques could be used to generalize matrix Bernstein inequalities [START_REF] Tropp | User-friendly tail bounds for sums of random matrices[END_REF] to the case of sampling without replacement, which could be used to analyze matrix completion problems [START_REF] Koltchinskii | Nuclear-norm penalization and optimal rates for noisy low-rank matrix completion[END_REF]. The investigation of application areas beyond the transductive learning setting is, however, outside of the scope of the present paper.

Proof Let us show that, if g : R → R is a convex and nondecreasing function and f : R d → R is convex, then g f (x) is also convex. Indeed, for α ∈ [0, 1] and x , x ∈ R d :

g f αx + (1 -α)x ≤ g αf (x ) + (1 -α)f (x ) ≤ αg f (x ) + (1 -α)αg f (x ) .
Considering the fact that g(y) = e λy is convex and increasing for λ > 0, it remains to show that f (x) = sup i=1,...,d (x i ) is convex. For all α ∈ [0, 1] and x , x ∈ R d , the following holds:

sup i=1,...,d αx i + (1 -α)x i ≤ α sup i=1,...,d x i + (1 -α) sup i=1,...,d
x i , which concludes the proof.

We will proove Theorem 2 for a finite class of functions F = {f 1 , . . . , f M }. The result for uncountable case follows by taking a limit of a sequence of finite sets.

Proof of Theorem 2: Let {U 1 , . . . , U m } and {W 1 , . . . , W m } be sampled uniformly from a finite set of M -dimensional vectors {v 1 , . . . , v N } ⊂ R M with and without replacement respectively, where v j = f 1 (c j ), . . . , f M (c j )

T . Using Lemma 19 and Theorem 18, we get that for all λ > 0:

E e λQ m = E   exp   λ sup j=1,...,M m i=1 W i j     ≤ E   exp   λ sup j=1,...,M m i=1 U i j     = E e λQm , (12)
where the lower index j indicates the j-th coordinate of a vector. Using the upper bound (8) on the moment generating function of Q m provided by Theorem 17, we proceed as follows:

E e λQ m ≤ E e λQm ≤ e λE[Qm]+vφ(λ) , or, equivalently, E e λ(Q m -E[Q m ]) ≤ e λ(E[Qm]-E[Q m ])+vφ(λ) .
Using Chernoff's method, we obtain for all ≥ 0 and λ > 0:

P Q m -E[Q m ] ≥ ≤ E e λ(Q m -E[Q m ]) e λ ≤ exp λ(E[Q m ] -E[Q m ]) + vφ(λ) -λ . ( 13
)
The term on the right-hand side of the last inequality achieves its minimum for

λ = log v + -E[Q m ] + E[Q m ] v . (14)
Thus we have the technical condition

≥ E[Q m ] -E[Q m ].
Otherwise we set λ = 0 and obtain a trivial bound equal to 1. The inequality

E[Q m ] ≥ E[Q m ]
also follows from Theorem 18 by exploiting the fact that the supremum is a convex function (which we showed in the proof of Lemma 19). Inserting ( 14) into (13), we obtain the first inequality of Theorem 2. The second inequality follows from observing that h(u) ≥ u 2 2(1+u/3) for u > 0. The deviation inequality can then be obtained using standard calculus. For details we refer to Section 2.7.2 of [START_REF] Bousquet | Concentration Inequalities and Empirical Processes Theory Applied to the Analysis of Learning Algorithms[END_REF].

.

Remark 20 It should be noted that [START_REF] Klein | Concentration around the mean for maxima of empirical processes[END_REF] derive an upper bound on E e -λ(Qm-E[Qm]) for λ ≥ 0. This upper bound on the moment generating function together with Chernoff's method leads to an upper bound on P {E[Q m ] -Q m ≥ }. However, the proof technique used in Theorem 2 cannot be used in this case, since Lemma 19 does not hold for negative λ.

Proof of Lemma 3: We have already proved the first inequality of the lemma. Regarding the second one, using the definitions of E[Q m ] and E[Q m ], we have:

E[Q m ] -E[Q m ] = 1 N m x 1 ,...,xm sup f ∈F m i=1 f (x i ) + 1 N m - (N -m)! N ! z 1 ,...,zm sup f ∈F m i=1 f (z i ),
where the first sum is over all ordered sequences {x 1 , . . . , x m } ⊂ C containing duplicate elements, while the second sum is over all ordered sequences {z 1 , . . . , z m } ⊂ C with no duplicates. Note that the second sum has exactly m! • C m N summands, which means that the first one has

N m -m! • C m N summands. Considering the fact that 1 N m ≤ (N -m)! N !
and f (x) ∈ [-1, 1] for all x ∈ C, we obtain:

E[Q m ] -E[Q m ] ≤ m N m -m! • C m N N m + m (N -m)! N ! - 1 N m m! • C m N = 2m N m -m! • C m N N m = 2m -2m 1 • 1 - 1 N • • • 1 - m -1 N ≤ 2m -2m 1 - m -1 N m = 2m m -1 N 1 + 1 - m -1 N + • • • + 1 - m -1 N m-1 ≤ 2m m -1 N m ≤ 2 m 3 N ,
which was to show.

In order to prove Theorem 1, we need to state the result presented in Theorem 2.1 of [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF] and derive its slightly modified version. From now on we will follow the presentation in [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF].

Let us consider the following subset of discrete cube, which we call the slice:

D n,k = x = (x 1 , . . . , x n ) ∈ {0, 1} n : x 1 + • • • + x n = k .
Neighbors are points that differ exactly in two coordinates. Thus every point x ∈ D n,k has exactly k(n -k) neighbours {s ij x} i∈I(x),j∈J(x) , where

I(x) = {i ≤ n : x i = 1}, J(x) = {j ≤ n : x j = 0},
and (s ij x) r = x r for r = i, j, (s ij x) i = x j , (s ij x) j = x i . For any function g defined on D n,k and x ∈ D n,k , let us introduce the following quantity:

V g (x) = i∈I(x) j∈J(x) g(x) -g(s ij x) 2 ,
which can be viewed as the Euclidean length of the discrete gradient |∇g(x)| 2 of the function g.

The following result can be found in Theorem 2.1 of [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF]:

Theorem 21 [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF]) Consider the real-valued function g defined on D n,k and the uniform distribution µ over the set D n,k . Assume there is a constant Σ 2 ≥ 0 such that V g (x) ≤ Σ 2 for all x. Then for all ≥ 0:

µ{g(x) -E[g(x)] ≥ } ≤ exp - (n + 2) 2 4Σ 2 .
The same upper bound also holds for µ{E[g(x)] -g(x) ≥ }.

Using the notations of Section 3, we define the following function g : D N,m → R:

g(x) = sup f ∈F i∈I(x) f (c i ). (15)
Note that, if x is distributed uniformly over the set D N,m , the random variables Q m and g(x) are identically distributed. Thus we thus can use Theorem 21 to derive concentration inequalities for Q m . However, it is not trivial to bound the quantity V g (x). Instead we define the following quantity, related to V g (x):

V g + (x) = i∈I(x) j∈J(x) g(x) -g(s ij x) 2 1{g(x) ≥ g(s ij x)},
where 1{A} is an indicator function. Now we state the following modified version of Theorem 21:

Theorem 22 Consider a real-valued function g defined on D n,k and the uniform distribution µ over the set D n,k . Assume there is a constant Σ 2 ≥ 0 such that V g + (x) ≤ Σ 2 for all x. Then for all ≥ 0:

µ{g(x) -E[g(x)] ≥ } ≤ exp - (n + 2) 2 8Σ 2 .
The same upper bound also holds for µ{E[g(x)] -g(x) ≥ }.

Proof We are going to follow the steps of the proof of Theorem 21, presented in [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF].

The author shows that, for any real-valued function g defined on D n,k , the following holds:

(n + 2) E e g(x) log e g(x) -E e g(x) E log e g(x)

≤ E   i∈I(x) j∈J(x) g(x) -g(s ij x) e g(x) -e g(s ij x)   . (16)
Note that for any a, b ∈ R:

(a -b)(e a -e b ) ≤ e a + e b 2 (a -b) 2 . ( 17
)
We can re-write the right-hand side of inequality ( 16) in the following way:

E   i∈I(x) j∈J(x) g(x) -g(s ij x) e g(x) -e g(s ij x)   = 2 • E   i∈I(x) j∈J(x) g(x) -g(s ij x) e g(x) -e g(s ij x) 1{g(x) ≥ g(s ij x)}   .
Using ( 17), we get: x) .

E   i∈I(x) j∈J(x) g(x) -g(s ij x) e g(x) -e g(s ij x)   ≤ 2 • E   i∈I(x) j∈J(x) e g(x) + e g(s ij x) 2 g(x) -g(s ij x) 2 1{g(x) ≥ g(s ij x)}   ≤ 2 • E   i∈I(x) j∈J(x) e g(x) g(x) -g(s ij x) 2 1{g(x) ≥ g(s ij x)}   = 2E V g + (x)e g(
Thus we obtain the following inequality:

(n + 2) E e g(x) log e g(x) -E e g(x) E log e g(x) ≤ 2E V g + (x)e g(x) .

Applying this inequality to λg, where λ ∈ R, we get:

(n+2) E e λg(x) log e λg(x) -E e λg(x) E log e λg(x) ≤ 2E V λg + (x)e λg(x) ≤ 2Σ 2 λ 2 E e λg(x) .

(18) As mentioned in the proof of Theorem 21 in [START_REF] Bobkov | Concentration of normalized sums and a central limit theorem for noncorrelated random variables[END_REF], inequality (18) implies the following upper bound on the moment generating function:

E e λ(g(x)-E[g(x)]) ≤ e 2Σ 2 λ 2 n+2 . ( 19
)
This fact is known as the Herbst argument and plays an important role in the entropy method [START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF]. Now we apply Chernoff's method, which gives us for all λ, ≥ 0:

µ {g(x) -E[g(x)] ≥ } ≤ E e λ(g(x)-E[g(x)]) e λ ≤ e 2Σ 2 λ 2 n+2 -λ .
We conclude the proof by choosing λ = (n+2) 4Σ 2 .

An upper bound for µ{E[g(x)] -g(x) ≥ } can be obtained using (19) for λ < 0:

µ {E[g(x)] -g(x) ≥ } = µ λ g(x) -E[g(x)] ≥ -λ ≤ E e λ(g(x)-E[g(x)]) e -λ ≤ e 2Σ 2 λ 2 n+2 +λ . Now it remains to choose λ = -(n+2) 4Σ 2 .
We will need the following technical result:

Lemma 23 For any sequence of real numbers {x 1 , . . . , x n } the following holds:

1 n 2 1≤i<j≤n (x i -x j ) 2 = 1 n n i=1 x i - 1 n n j=1 x j 2 .
Proof Notice that it holds:

1 n n i=1 x i - 1 n n j=1 x j 2 = 1 n n i=1   x 2 i - 2 n x i n j=1 x j + 1 n 2 n j=1 x j 2   = 1 n   n i=1 x 2 i - 2 n n i=1 x i n j=1 x j + 1 n 2 n i=1 n j=1 x j 2   = 1 n   n i=1 x 2 i - 1 n n j=1 x j 2   = 1 n 2 (n -1) n i=1 x 2 i -2 1≤i<j≤n x i x j = 1 n 2 1≤i<j≤n (x i -x j ) 2 .
Now we are ready to prove Theorem 1.

Proof of Theorem 1: We will apply Theorem 22 for the function g(x) defined in (15), where x is distributed uniformly over D N,m . As noted above this will lead to a concentration inequality for Q m , since Q m and g(x) are distributed identically. Hence, all we need is to obtain an upper bound on V g + (x).

To this end, let us consider two functions g 1 , g 2 : A → R, defined on some set A. Assume that sup a∈A g 1 (a) = g 1 (ā) for some ā ∈ A. Then the following holds:

sup a∈A g 1 (a) -sup a∈A g 2 (a) 2 1 sup a∈A g 1 (a) ≥ sup a∈A g 2 (a) ≤ g 1 (ā) -g 2 (ā) 2 . ( 20
)
Let us assume that, for x ∈ D N,m , the supremum in the definition (15) of g(x) is achieved for f ∈ F. Then we have:

V g + (x) = i∈I(x) j∈J(x) (g(x) -g(s ij x)) 2 1 {g(x) ≥ g(s ij x)} ≤ i∈I(x) j∈J(x) k∈I(x) f (c k ) - k∈I(s ij x) f c k 2 = i∈I(x) j∈J(x) f (c i ) -f (c j ) 2 ≤ 1≤i<j≤N f (c i ) -f (c j ) 2 = N 2 V f (X 1 ) ,
where the first inequality follows from (20) and the second inequality follows from Lemma 23. Now note that, since the function f depends on the choice of x, the following holds for all x ∈ D N,m :

V g + (x) ≤ N 2 sup f ∈F V[f (X 1 )] = N 2 σ 2 .
We conclude the proof by an application of Theorem 22. which can further simplified using √ a + b ≤ √ a + √ b and then √ ab ≤ a+b 2 in the following way:

sup h∈H L N (h) -Lm (h) ≤ E m + 2σ 2 H t m + 2 E m t m + t 3m ≤ 2E m + 2σ 2 H t m + 4t 3m .
The proof of Theorem 11 is based on the following intermediate result appearing in the proof of Theorem 3.3 in [START_REF] Bartlett | Local rademacher complexities[END_REF]. We state it as a lemma:

Lemma 24 (Peeling Lemma using Theorem 1) Assume the conditions of Theorem 11 hold. Fix some λ > 1. For w(r, f ) = min{rλ k : k ∈ N, rλ k ≥ Ef 2 }, define the following rescaled version of excess loss class:

G r = r w(r, f ) f : f ∈ F * .
Then for any r > r * m and t > 0, with probability greater than 1 -e -t , we have:

sup g∈Gr Eg -Êm g ≤ √ r 5 √ r * m B + 2 2t N m 2 . ( 21
)
Proof We can repeat exactly the same steps presented in the proof of the first part of Theorem 3.3 of [START_REF] Bartlett | Local rademacher complexities[END_REF] (see pages 15-16), but using Theorem 1 in place of Talagrand's inequality.

Clearly, for any f ∈ F * , we have

V[f (X)] = Ef 2 -(Ef ) 2 ≤ Ef 2 . ( 22
)
Let us now fix some λ > 1 and r > 0 and introduce the following rescaled version of excess loss class:

G r = r w(r, f ) f : f ∈ F * , where w(r, f ) = min{rλ k : k ∈ N, rλ k ≥ Ef 2 }. Let us consider functions f ∈ F * such that Ef 2 ≤ r, meaning w(r, f ) = r. The functions g ∈ G r corresponding to those functions satisfy g = f and thus V[g(X)] = V[f (X)] ≤ Ef 2 ≤ r. Otherwise, if Ef 2 > r, then w(r, f ) = λ k r,
and thus the functions g ∈ G r corresponding to them satisfy g

= f /λ k and Ef 2 ∈ (rλ k-1 , rλ k ]. Thus we have V[g] = V[f ]/λ 2k ≤ Ef 2 /λ 2k ≤ r.
We conclude that, for any g ∈ G r , it holds V[g(x)] ≤ r. Now we want to upper bound the following quantity:

V r = sup g∈Gr Eg -Êm g. Note that any f ∈ F * satisfies f (X) ∈ [-1, 1], and, consequently, all g ∈ G r satisfy g(X) ∈ [-1, 1]. Notice that 1 2 Eg -Êm g = 1 m X∈Xm Eg -g(X) 2 .
Note that (Eg -g(X))/2 ∈ [-1, 1] and also E [Eg -g(X)] = 0. Since Eg is not random, using ( 22), we also have -g(X))/2] = V[g(x)]/4 ≤ r/4 for all g ∈ G r . We can now apply either Theorem 1 or Theorem 2 for the following function class: {(Eg -g(X))/2, g ∈ G r }. Here we present the proof based on Theorem 1. Applying it we get that for all t > 0 with probability greater than 1 -e -t , we have: Inserting this upper bound into (23), we conclude the proof.

Proof of Theorem 11: Using Lemma 24, we obtain that, for any r > r * m , t > 0, and λ > 1, with probability greater than 1 -e -t , we have:

sup g∈Gr Eg -Êm g ≤ √ r 5 √ r * m B + 2 2t N m 2 , ( 24
)
where we introduced the rescaled excess loss class:

G r = r w(r, f ) f : f ∈ F * ,
and w(r, f ) = min{rλ k : k ∈ N, rλ k ≥ Ef 2 }. Now we want to chose r 0 > r * m in such a way that the upper bound of (24) becomes of a form r 0 /(λBK). We achieve this by setting:

r 0 = K 2 λ 2 5 r * m + 2B 2t N m 2 2 > r * m .
Inserting r = r 0 into (24) we obtain:

sup g∈Gr 0 Eg -Êm g ≤ r 0 λBK . (25)
Moreover, using (u + v) 2 ≤ 2(u 2 + v 2 ), we have

r 0 ≤ 50K 2 λ 2 r * m + 16K 2 λ 2 B 2 t N m 2 . ( 26
)
Recall that, for any r > 0 and all g ∈ G r , the following holds with probability 1:

Eg -Êm g ≤ sup g∈Gr Eg -Êm g.
Using definition of G r , we get that, for all f ∈ F * , the following holds with probability 1: Setting r = r 0 and using (25), we obtain that with probability greater than 1 -e -t ∀f ∈ F * , ∀K > 1 : Ef -Êm f ≤ w(r 0 , f ) r 0 r 0 λKB = w(r 0 , f ) λKB .

Now we will use Assumption 10.2. If, for f ∈ F * , Ef 2 ≤ r 0 then w(r 0 , f ) = r 0 and using ( 26) we obtain:

Ef -Êm f ≤ w(r 0 , f ) λKB = r 0 λKB ≤ 50 K B λr * m + 16λKBt N m 2
or, rewriting,

Ef ≤ Êm f + 50 K B λr * m + 16λKBt N m 2 . ( 27
)
If otherwise Ef 2 > r 0 , then w(r 0 , f ) = λ i r for certain value of i > 0 and also Ef 2 ∈ (r 0 λ i-1 , r 0 λ i ].

Then we have:

Ef -Êm f ≤ w(r 0 , f ) λKB = λ i r 0 λKB = λ • (λ i-1 r 0 ) λKB ≤ Ef 2 KB ≤ Ef K . Thus Ef ≤ K K -1 Êm f. (28)
Combining ( 27) and ( 28), we finally get that with probability greater than 1 -e -t ∀f ∈ F * , ∀K > 1 : Ef ≤ inf Ef -

1 m m i=1 f (ξ i ) . ( 30
)
Repeating the proof of peeling Lemma 24 and using Theorem 2 instead of Theorem 1 we immediately obtain the following result:

Lemma 25 (Peeling Lemma using Theorem 2) Let H and be such that Assumptions 10 are satisfied. Assume there is a sub-root function ψ m (r) such that

B • E r,m ≤ ψ m (r),

Remark 7

 7 Note that E m is an expected sup-norm of the empirical process naturally appearing in inductive learning. Using the well-known symmetrization inequality (see Section 11.3 of Boucheron et al. (2013)), we can upper bound it by twice the expected value of the supremum of the Rademacher process. In this case, the last theorem thus gives exactly the same upper bound on the quantity sup h∈H L N (h) -Lm (h) as the one of Theorem 2.1 of[START_REF] Bartlett | Local rademacher complexities[END_REF] (with α = 1 and (b -a) = 1).

  V r ≤ E[V r ] + 2 2t N m 2 r. (23)Now we set F * (x, y) = {f ∈ F * : x ≤ Ef 2 ≤ y}. Note that by the assumptions of the theorem,for f ∈ F * , we have V[f (X)] ≤ Ef 2 ≤ B • Ef ≤ B.Define k to be the smallest integer such that rλ k+1 ≥ B. Notice that, for any sets A and B, we have:E sup g∈A∪B Eg -Êm g ≤ E sup g∈B Eg -Êm g + E sup g∈A Eg -Êm g .Indeed, since supremum is a convex function, we can use Jensen's inequality to show that each of the terms is positive. Then we have:E[V r ] = E sup g∈Gr Eg -Êm g ≤ E sup f ∈F * (0,r) Ef -Êm f + E sup f ∈F * (r,B) r w(r, f ) (Ef -Êm f ) ψ(rλ j+1 )where in the last step we used the assumptions of the theorem. Now since ψ m is sub-root, for any β ≥ 1, we have ψ m (βr) ≤ √ βψ m (r). ThusE[V r ] ≤ ψ m (r)Taking λ = 4 the r.h.s. is upper bounded by 5ψ m (r)/B. Finally we note that for r ≥ r * m we have that, for all r ≥ r * m , it holds ψ m ≤ r/r * m ψ m (r * m

  Êm f ≤ w(r, f ) r sup g∈Gr Eg -Êm g.

  last step, we recall the definition of F * and put fm = ĥmh * N . Notice that Êm fm = Êm ĥm -Êm h * N = Lm ( ĥm ) -Lm (h * N ) ≤ 0, while E fm = L N ( ĥm ) -L N (h * N ), which concludes the proof. Let {ξ 1 , . . . , ξ m } be random variables sampled with replacement from X N . Denote E r,m = E sup f ∈F * :Ef 2 ≤r

An exception are the works of[START_REF] Blum | PAC-MDL bounds[END_REF];[START_REF] Cortes | On transductive regression[END_REF], which consider, however, the case where the Bayes hypothesis has zero error and is contained in the hypothesis class. This is clearly an assumption too restrictive in practice, where the Bayes hypothesis usually cannot be assumed to be contained in the class.

The second setting assumes that both training and test sets are sampled i. i. d. from the same unknown distribution and the learner is provided with the labeled training and unlabeled test sets. It is pointed out by[START_REF] Vapnik | Statistical Learning Theory[END_REF] that any upper bound on Lu(h) -Lm(h) in the setting we consider directly implies a bound also for the second setting.

For an extensive review of transductive error bounds we refer to[START_REF] Pechyony | Theory and Practice of Transductive Learning[END_REF].

Note that all results can be translated to the uncountable classes, for instance, if the empirical process is separable, meaning that F contains a dense countable subset. We refer to page 314 of[START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF] or page 72 of[START_REF] Bousquet | Concentration Inequalities and Empirical Processes Theory Applied to the Analysis of Learning Algorithms[END_REF].

The results presented in this section can be also generalized to sup f ∈F m i=1 f (Zi) using the same techniques.

For completeness we present one such inequality for Qm as Theorem 17 in Appendix A. For the detailed review of concentration inequalities for Qm we refer to Section 12 of[START_REF] Boucheron | Concentration Inequalities: A Nonasymptotic Theory of Independence[END_REF].

This bound does not appear explicitly in El-Yaniv andPechyony (2009);[START_REF] Cortes | Stability analysis and learning bounds for transductive regression algorithms[END_REF], but can be immediately obtained using Lemma 2 of El-Yaniv andPechyony (2009) for Q m with β = 2.

[START_REF] Adamczak | A tail inequality for suprema of unbounded empirical processes with applications to markov chains[END_REF] show a version of Talagrand's inequality for unbounded functions in the i.i.d. case.

Acknowledgments

The authors are thankful to Sergey Bobkov, Stanislav Minsker, and Mehryar Mohri for stimulating discussions and to the anonymous reviewers for their helpful comments. Marius Kloft acknowledges a postdoctoral fellowship by the German Research Foundation (DFG).

Appendix A. Bousquet's version of Talagrand's concentration inequality

Here we use the setting and notations of Section 3.

Theorem 17 [START_REF] Bousquet | Concentration Inequalities and Empirical Processes Theory Applied to the Analysis of Learning Algorithms[END_REF]) Let v = mσ 2 + 2E[Q m ] and for u > -1 let φ(u) = e u -u -1, h(u) = (1 + u) log(1 + u) -u. Then for any λ ≥ 0 the following upper bound on the moment generating function holds: E e λ(Qm-E [Qm]) ≤ e vφ (λ) .

(8)

We also have for any ≥ 0:

Noting that h(u) ≥ u 2 2(1+u/3) for u > 0, one can derive the following more illustrative version:

Also for all t ≥ 0 the following holds with probability greater than 1 -e -t :

Note that Bousquet (2002a) provides similar bounds for

Appendix B. Proofs from Section 3

First we are going to prove Theorem 2, which is a direct consequence of Bousquet's inequality of Theorem 17. It is based on the following reduction theorem due to [START_REF] Hoeffding | Probability inequalities for sums of bounded random variables[END_REF]:

Theorem 18 [START_REF] Hoeffding | Probability inequalities for sums of bounded random variables[END_REF]) 10 Let {U 1 , . . . , U m } and {W 1 , . . . , W m } be sampled uniformly from a finite set of d-dimensional vectors {v 1 , . . . , v N } ⊂ R d with and without replacement, respectively. Then, for any continuous and convex function F : R d → R, the following holds:

Also we will need the following technical lemma:

Then the following function is convex for all λ > 0

x i .

10. Hoeffding initially stated this result only for real valued random variables. However all the steps of proof hold also for vector-valued random variables. For the reference see Section D of [START_REF] Gross | Note on sampling without replacing from a fnite collection of matrices[END_REF].

Appendix C. Further discussions on Section 3

First we note that the result of Theorem 4 is uniformly sharper than what could have been obtained for Q m using McDiarmid's inequality, by a factor of N -1/2 N -m (fraction of the training sample) in the exponent. This suggests that when sampling without replacement things are more concentrated than when sampling with replacement. This general phenomenon is pointed out by several authors: [START_REF] Serfling | Probability inequalities for the sum in sampling without replacement[END_REF] obtains a refinement of Hoeffding's inequality, El-Yaniv and Pechyony (2009) improves McDiarmid's inequality, and [START_REF] Bardenet | Concentration inequalities for sampling without replacement[END_REF] improve Bennet's and Bernstein's inequalities in the same way for sampling without replacement-opposed to the fact that the results of Theorems 1 and 2 unfortunately do not improve the known analogues for Q m . This drawback can possibly be overcome by a more detailed analysis. This direction is left for the future work.

Appendix D. Proofs for Section 4

Proof of Theorem 6: Applying Theorem 2, we get that with probability greater than 1 -e -t :

where E r,m was defined in (30). Let r * m be a fixed point of ψ m (r). Fix some λ > 1. Then, for any r > r * m and t > 0, with probability greater than 1 -e -t , we have:

where for w(r, f ) = min{rλ k : k ∈ N, rλ k ≥ Ef 2 } we define the following rescaled version of excess loss class:

Proof of Theorem 12 is based on the peeling Lemma 25 and is similar to the one of Theorem 11.

Proof of Corollary 13: Note that, since h * u is also an empirical risk minimizer (computed on the test set), the results of Theorems 11 and 12 also hold for h * u with every m in the statement replaced by u. Also note that the following holds almost surely:

and

where last equations in both cases use the following:

Now we are going to use inequality (29) obtained in the proof of Theorem 11. Using the last equation in (32) and, subsequently, employing (29) for f = ĥmh * N , where we subtract Êm f from both sides of (29), we obtain:

which holds with probability greater than 1 -e -t . As noted above the same argument can be used for h * u , which gives that the following holds:

with probability greater than 1 -e -t . The union bound gives us that both inequalities hold simultaneously with probability greater than 1 -2e -t . Or, equivalently,

Summing these two inequalities we obtain

Using the fact that ĥm and h * u are the empirical risk minimizers on the training and test sets, respectively, we finally get:

Proof of Corollary 14 repeats the same steps using Theorem 12 instead of Theorem 11.

We also provide the following auxiliary result:

Corollary 26 Under the assumptions of Theorem 11, for any t > 0 and any K > 1, with probability greater than 1 -2e -t , we have:

Proof Notice that L N (h * u ) -L N (h * N ) ≥ 0 as well as L N ( ĥm ) -L N (h * N ) ≥ 0 and then combine Theorem 11 with its analogue for h * u in a union bound.