Sharp oracle bounds for monotone and convex regression through aggregation

Pierre C. Bellec, Alexandre B. Tsybakov

Introduction

We will measure the error of an estimator μ^\boldsymbol{\hat{\mu}} of μ\boldsymbol{\mu} by the distance ∥μ^−μ∥\|\boldsymbol{\hat{\mu}}-\boldsymbol{\mu}\|. Let S↑\mathcal{S}^{\uparrow} be the set of all non-decreasing sequences:

A well-studied estimator under the monotonicity and convexity assumptions is the least squares estimator

In Nemirovski et al. 1985 it was shown that μ^LS(S)\boldsymbol{\hat{\mu}}^{LS}({\cal S}) attains, up to logarithmic factors, the rates n−2/3n^{-2/3} and n−4/5n^{-4/5} of the mean squared risk for classes S{\cal S} of monotone and convex functions respectively and that these rates are optimal up to logarithmic factors when the minimax squared risk is used as a criterion. Under monotonicity constraints, the rate n−2/3n^{-2/3} was later observed in different settings, see for instance Banerjee and Wellner 2001; Balabdaoui and Wellner 2007.

One class of monotone functions we will be interested in here is defined as

where V(μ)=μn−μ1V(\boldsymbol{\mu})=\mu_{n}-\mu_{1} for any μ=(μ1,…,μn)∈S↑\boldsymbol{\mu}=(\mu_{1},\dots,\mu_{n})\in\mathcal{S}^{\uparrow}, and V>0V>0 is a given constant. In Meyer and Woodroofe 2000; Zhang 2002 it was shown that for any μ∈S↑\boldsymbol{\mu}\in\mathcal{S}^{\uparrow} we have

for μ^=μ^LS(S↑)\boldsymbol{\hat{\mu}}=\boldsymbol{\hat{\mu}}^{LS}(\mathcal{S}^{\uparrow}) and some absolute constant c>0c>0. This immediately implies an upper bound on the minimax risk on S↑(V)\mathcal{S}^{\uparrow}(V). A recent paper Chatterjee et al. 2015 establishes the oracle inequality

valid for all μ∈S↑\boldsymbol{\mu}\in\mathcal{S}^{\uparrow} where either C∗=6,c∗=1C_{*}=6,c_{*}=1 (Chatterjee et al. 2015, inequality (18)) or C∗=4,c∗=4C_{*}=4,c_{*}=4 (Chatterjee et al. 2015, inequality (30)). Here, k(u)≥1k(\boldsymbol{u})\geq 1 for u=(u1,…,un)∈S↑\boldsymbol{u}=(u_{1},\dots,u_{n})\in\mathcal{S}^{\uparrow} is the integer such that k(u)−1k(\boldsymbol{u})-1 is the number of inequalities ui≤ui+1u_{i}\leq u_{i+1} that are strict for i=1,…,n−1i=1,\dots,n-1 (number of jumps of u\boldsymbol{u}). Inequality (1.6) implies (up to a logarithmic factor) a bound as in (1.5) and also gives some more insight into the problem. For example, (1.6) shows that the fast rate log⁡nn\frac{\log n}{n} is achieved if μ\boldsymbol{\mu} has only one jump or a fixed, independent of nn, number of jumps. This is not granted by (1.5).

Along with the least squares estimator, one may consider estimation of monotone functions via penalized least squares with total variation penalty. The corresponding estimator μ^TV\boldsymbol{\hat{\mu}}^{TV} is defined as

where λ>0\lambda>0 is a tuning parameter. Statistical properties of this estimator were first studied in Mammen and van de Geer 1997 where it was shown that ∥μ^TV−μ∥\|\boldsymbol{\hat{\mu}}^{TV}-\boldsymbol{\mu}\| attains the optimal rate n−1/3n^{-1/3} in probability on the class of functions of bounded variation (and thus on S↑(V)\mathcal{S}^{\uparrow}(V)). Recently, the performance of μ^TV\boldsymbol{\hat{\mu}}^{TV} was analyzed in Dalalyan et al. 2014 by considering μ^TV\boldsymbol{\hat{\mu}}^{TV} as a special instance of the Lasso estimator. If μ↑\boldsymbol{\mu}^{\uparrow} is the projection of μ\boldsymbol{\mu} onto S↑\mathcal{S}^{\uparrow}, δ∈(0,1)\delta\in(0,1) is a constant, and the tuning parameter λ\lambda is given by

the estimator μ^TV\boldsymbol{\hat{\mu}}^{TV} satisfies with probability greater than 1−2δ1-2\delta the following oracle inequality (Dalalyan et al. 2014, Proposition 6):

The expressions on the right hand sides of (1.6) and (1.10) are small if the unknown sequence μ\boldsymbol{\mu} is well approximated by a piecewise constant sequence with not too many pieces. In this regard, the two bounds have some similarity to sparsity oracle inequalities in high-dimensional linear regression, cf. Rigollet and Tsybakov 2011; Rigollet and Tsybakov 2012; Tsybakov 2014. This similarity can be easily explained as follows. Write (1.1) in the equivalent form

Sparsity pattern aggregation for piecewise constant sequences

For any non-empty set J⊆{1,...,n−1}J\subseteq\{1,...,n-1\}, let ∣J∣|J| denote the cardinality of JJ and define

where θ^{\boldsymbol{\hat{\theta}}} is the solution of the optimization problem

This optimization problem is a convex quadratic program with a simplex constraint. It performs aggregation of the linear estimators (PJy)J⊆{1,...,n−1}(P_{J}\mathbf{y})_{J\subseteq\{1,...,n-1\}} using the QQ-aggregation procedure Dai et al. 2012; Dai et al. 2014; Bellec 2014 with the prior weights (2.1). As the size of this quadratic program is of order 2n2^{n}, it is a computationally hard problem. The estimator μ^Q\boldsymbol{\hat{\mu}}^{Q} satisfies the following sharp oracle inequalities.

Let J⊆{1,...,n−1}J\subseteq\{1,...,n-1\}. Denote by d=∣J∣+1d=|J|+1 the dimension of the subspace VJV_{J}. Then, the projection estimator PJyP_{J}\mathbf{y} satisfies with probability at least 1−δ1-\delta (see, for example, Hsu et al. 2012):

The sharp oracle inequality from Bellec 2014 yields that with probability at least 1−2δ1-2\delta for all J⊆{1,...,n−1}J\subseteq\{1,...,n-1\} we have

for some absolute constant C>0C>0. Combining (2.7) and (2.8) with the union bound and the inequality (cf. (Rigollet and Tsybakov 2012, (5.4))) log⁡(1/πJ)≤2(∣J∣+1)log⁡(en/(∣J∣+1))+1/2\log(1/\pi_{J})\leq 2(|J|+1)\log(en/(|J|+1))+1/2, we find that with probability at least 1−3δ1-3\delta,

We now discuss some corollaries of Theorem 1. First, it follows that (1.11) is satisfied for μ^=μ^Q\boldsymbol{\hat{\mu}}=\boldsymbol{\hat{\mu}}^{Q}, so the remarks after (1.11) apply. Next, in view of (2.6), for the class of monotone sequences with at most kk jumps Sk↑={u∈S↑:k(u)≤k}\mathcal{S}^{\uparrow}_{k}=\{\boldsymbol{u}\in\mathcal{S}^{\uparrow}:k(\boldsymbol{u})\leq k\} we have the following bounds for the maximal expected regrets

where c>0c>0 is an absolute constant. The same bounds hold for the minimax risks over Sk↑\mathcal{S}^{\uparrow}_{k} since the minimax risk is smaller than the minimax regret. Proposition 4 below shows that the bounds (2.9) and (2.10) are optimal up to logarithmic factors.

Finally, consider the consequences of Theorem 1 for the class S↑(V)\mathcal{S}^{\uparrow}(V). To this end, define the integer k∗k^{*} such that

Let μ∈S↑\boldsymbol{\mu}\in\mathcal{S}^{\uparrow} and let 1≤k≤n1\leq k\leq n be an integer. Then there exists a sequence uˉ∈Sk↑\bar{\boldsymbol{u}}\in\mathcal{S}^{\uparrow}_{k} such that

Next, there exists a sequence uˉ∈Sk∗↑\bar{\boldsymbol{u}}\in\mathcal{S}^{\uparrow}_{k^{*}} such that

To construct the sequence uˉ\bar{\boldsymbol{u}}, consider the kk intervals

and Ik=[μ1+k−1kV(μ),μn]I_{k}=[\mu_{1}+\frac{k-1}{k}V(\boldsymbol{\mu}),\mu_{n}]. For all j=1,...,kj=1,...,k, let

For any i∈{1,...,n}i\in\{1,...,n\} there exists a unique j∈{1,...,k}j\in\{1,...,k\} such that i∈Iji\in I_{j}. Let uˉi=μ1+j−1/2kV(μ)\bar{u}_{i}=\mu_{1}+\frac{j-1/2}{k}V(\boldsymbol{\mu}) for all i∈Iji\in I_{j}. Then the sequence uˉ=(uˉ1,…,uˉn)\bar{\boldsymbol{u}}=(\bar{u}_{1},\dots,\bar{u}_{n}) is non-decreasing, it has at most kk pieces, i.e., k(uˉ)≤kk(\bar{\boldsymbol{u}})\leq k, and ∣uˉi−μi∣≤V(μ)2k|\bar{u}_{i}-\mu_{i}|\leq\frac{V(\boldsymbol{\mu})}{2k} for i=1,...,ni=1,...,n. Thus (2.11) follows. Next, note that if k∗=1k^{*}=1, then V(μ)2≤σ2log⁡(en)/nV(\boldsymbol{\mu})^{2}\leq\sigma^{2}\log(en)/n. If k∗>1k^{*}>1, then by definition of k∗k^{*}, V(μ)2/(k∗)2≤(σ2V(μ)log⁡(en)/n)2/3V(\boldsymbol{\mu})^{2}/(k^{*})^{2}\leq(\sigma^{2}V(\boldsymbol{\mu})\log(en)/n)^{2/3}. Thus, (2.12) follows. The bound (2.13) is straightforward by studying the cases k∗=1k^{*}=1 and k∗>1k^{*}>1 separately. ∎

We can now derive the following corollary of Theorem 1.

Under the assumptions of Theorem 1, there exists an absolute constant c>0c>0 such that, for any μ∈S↑\boldsymbol{\mu}\in\mathcal{S}^{\uparrow},

From (2.6) and the fact that the function x↦xlog⁡(enx)x\mapsto x\log\left(\frac{en}{x}\right) is increasing for 1≤x≤n1\leq x\leq n we get

for an absolute constant c′′>0c^{\prime\prime}>0 where the last inequality follows from (2.12) and (2.13). ∎

Finally, the following result shows that the upper bounds (2.9) and (2.10) are optimal up to logarithmic factors.

Let n≥2,V>0 and σ>0n\geq 2,V>0\text{ and }\sigma>0. There exist absolute constants c,c′>0c,c^{\prime}>0 such that for any positive integer k≤nk\leq n satisfying k3≤16nV2/σ2k^{3}\leq 16nV^{2}/\sigma^{2} we have

For k=1,...,nk=1,...,n, take any V>0V>0 large enough to satisfy k3≤16nV2/σ2k^{3}\leq 16nV^{2}/\sigma^{2}. Then, Proposition 4 and Markov’s inequality yield the following lower bounds on the minimax risks over the class Sk↑\mathcal{S}^{\uparrow}_{k}:

As the minimax risk is smaller than the minimax regret, (2.19) also provides lower bounds for the corresponding minimax regrets over Sk↑\mathcal{S}^{\uparrow}_{k}. Combining this with (2.9) and (2.10) we find that the estimator μ^Q\boldsymbol{\hat{\mu}}^{Q} achieves up to logarithmic factors the optimal rate with respect to the minimax regret.

Next, Proposition 4 implies the following lower bound on the minimax deviation risk on S↑(V)\mathcal{S}^{\uparrow}(V).

Let n≥2,V>0 and σ>0n\geq 2,V>0\text{ and }\sigma>0. There exist absolute constants c,c′>0c,c^{\prime}>0 such that

To prove this corollary it is enough to note that if 16nV2/σ2≥116nV^{2}/\sigma^{2}\geq 1, by choosing kk in Proposition 4 as the integer part of (16nV2/σ2)1/3(16nV^{2}/\sigma^{2})^{1/3}, we obtain the lower bound corresponding to (σ2Vn)2/3\left(\frac{\sigma^{2}V}{n}\right)^{2/3} under the maximum in (2.20). On the other hand, if 16nV2/σ2<116nV^{2}/\sigma^{2}<1 the term σ2n\frac{\sigma^{2}}{n} is dominant, so that we need to have the lower bound of the order σ2n\frac{\sigma^{2}}{n}, which is trivial (it follows from a reduction to the bound for the class composed of two constant functions).

It follows from (2.20) and (2.16) that the estimator μ^Q\boldsymbol{\hat{\mu}}^{Q} achieves, up to logarithmic factors, the optimal rate with respect to the minimax risk on the class S↑(V)\mathcal{S}^{\uparrow}(V). Using (2.17) and the fact that the minimax risk is smaller than the minimax regret, we conclude that it is also the optimal rate up to logarithmic factors for the minimax regret.

We assume for simplicity that nn is a multiple of kk. The general case is treated analogously. For any ω,ω′∈{0,1}k{\boldsymbol{\omega}},{\boldsymbol{\omega}}^{\prime}\in\{0,1\}^{k}, let dH(ω,ω′)=∣{i=1,...,k:ωi≠ωi′}∣d_{H}({\boldsymbol{\omega}},{\boldsymbol{\omega}}^{\prime})=|\{i=1,...,k:\omega_{i}\neq\omega_{i}^{\prime}\}| be the Hamming distance between ω{\boldsymbol{\omega}} and ω′{\boldsymbol{\omega}}^{\prime}. By the Varshamov-Gilbert bound (Tsybakov 2009, Lemma 2.9), there exists a set Ω⊂{0,1}k\Omega\subset\{0,1\}^{k} such that

where γ=(1/8)σ2k/n\gamma=(1/8)\sqrt{\sigma^{2}k/n}, and ⌊x⌋\lfloor x\rfloor denotes the maximal integer smaller than xx. For any ω∈Ω{\boldsymbol{\omega}}\in\Omega, uω\boldsymbol{u}^{\boldsymbol{\omega}} is a piecewise constant sequence with k(uω)≤kk(\boldsymbol{u}^{\boldsymbol{\omega}})\leq k, uω\boldsymbol{u}^{\boldsymbol{\omega}} is a non-decreasing sequence because γ≤V/(2k)\gamma\leq V/(2k), and by construction V(uω)≤VV(\boldsymbol{u}^{\boldsymbol{\omega}})\leq V. Thus, uω∈Sk↑∩S↑(V)\boldsymbol{u}^{\boldsymbol{\omega}}\in\mathcal{S}^{\uparrow}_{k}\cap\mathcal{S}^{\uparrow}(V) for all ω∈Ω{\boldsymbol{\omega}}\in\Omega. Moreover, for any ω,ω′∈Ω{\boldsymbol{\omega}},{\boldsymbol{\omega}}^{\prime}\in\Omega,

Applying (Tsybakov 2009, Theorem 2.7) with α=1/16\alpha=1/16 completes the proof. ∎

Estimation of convex sequences by aggregation

Assume that n≥3n\geq 3 and define the set of convex sequences SC\mathcal{S}^{\rm C} as follows:

The performance of the least squares estimator over convex sequences μ^LS(SC)\boldsymbol{\hat{\mu}}^{LS}(\mathcal{S}^{\rm C}) has been recently studied in Guntuboyina and Sen 2013. If the unknown vector μ\boldsymbol{\mu} belongs to the set SC\mathcal{S}^{\rm C}, Guntuboyina and Sen 2013 shows that the estimator μ^LS(SC)\boldsymbol{\hat{\mu}}^{LS}(\mathcal{S}^{\rm C}) satisfies the risk bound

where R(μ)=max⁡(1,min⁡{∥τ−μ∥2,τ is affine})R(\boldsymbol{\mu})=\max(1,\min\{\left\|\boldsymbol{\tau}-\boldsymbol{\mu}\right\|^{2},\boldsymbol{\tau}\text{ is affine}\}) and c>0c>0 is an absolute constant. It is proved in (Chatterjee et al. 2015, Example 2.3) that the least squares estimator μ^LS(SC)\boldsymbol{\hat{\mu}}^{LS}(\mathcal{S}^{\rm C}) satisfies the oracle inequality

where c>0c>0 is an absolute constant. The right hand side of (3.2) is small if the unknown vector μ\boldsymbol{\mu} can be well approximated by a piecewise linear sequence in SC\mathcal{S}^{\rm C} with not too many pieces.

The leading constant in (3.2) is 6. We will show that sparsity pattern aggregation achieves a substantially better performance. We obtain the sharp oracle inequality (3.5) below, improving upon (3.2) not only in the fact that the leading constant is 1 but also in the rate of the remainder term; we will see that the exponent 5/45/4 of the logarithmic factor is reduced to 1.

For any set J⊆{2,...,n−1}J\subseteq\{2,...,n-1\}, define

where θ^{\boldsymbol{\hat{\theta}}} is the solution of the optimization problem

The structure of this minimization problem is the same as of its analog introduced in Section 2. This is a quadratic program that aggregates the linear estimators (QJy)J⊆{2,...,n−1}(Q_{J}\mathbf{y})_{J\subseteq\{2,...,n-1\}} using the QQ-aggregation procedure Dai et al. 2012; Dai et al. 2014; Bellec 2014 with the prior weights (3.3).

The proof of this theorem is the same as that of Theorem 1 with the only difference that JJ is now a subset of {2,...,n−1}\{2,...,n-1\} rather than that of {1,...,n−1}\{1,...,n-1\}, and we replace the notation PJP_{J} and VJV_{J} by QJQ_{J} and WJW_{J} respectively.

The leading constant of the oracle inequality (3.5) is 1, and the remainder term is proportional to q(u)log⁡(en/q(u))q(\boldsymbol{u})\log(en/q(\boldsymbol{u})). These are two improvements upon (3.2), where the leading constant is 6 and the remainder term is proportional to q(u)log⁡(en/q(u))5/4q(\boldsymbol{u})\log(en/q(\boldsymbol{u}))^{5/4}.

In view of (3.5), for the class of piecewise linear convex sequences with at most qq linear pieces, SqC={u∈SC:q(u)≤q}\mathcal{S}^{\rm C}_{q}=\{\boldsymbol{u}\in\mathcal{S}^{\rm C}:q(\boldsymbol{u})\leq q\} we have the following bounds for the maximal expected regrets

where c>0c>0 is an absolute constant. The same bounds hold for the minimax risks over SqC\mathcal{S}^{\rm C}_{q} since the minimax risk is smaller than the minimax regret.

The following proposition shows that the rates of convergence in (3.6) and (3.7) are optimal up to logarithmic factors. We omit the discussion since it is similar to that after Proposition 4.

Let n≥3n\geq 3. There exist absolute constants c,c′>0c,c^{\prime}>0 such that, for any positive integer q≤nq\leq n,

where the infimum is taken over all estimators.

Assume that q≥2q\geq 2 since for q=1q=1 the result is trivial. We also assume for simplicity that nn is a multiple of qq. Let m=n/qm=n/q and γ=(1/8)σ2q/n\gamma=(1/8)\sqrt{\sigma^{2}q/n}. Set β0=0,α0=0\beta_{0}=0,\alpha_{0}=0 and define, for all integers j≥1j\geq 1,

The sequence uω\boldsymbol{u}^{\boldsymbol{\omega}} is piecewise linear. It is linear with slope αj\alpha_{j} on the set {jm+1,...,(j+1)m}\{jm+1,...,(j+1)m\} for any j=0,...,q−1j=0,...,q-1. Thus, q(uω)=qq(\boldsymbol{u}^{\boldsymbol{\omega}})=q. Next, we prove that uω∈SC\boldsymbol{u}^{\boldsymbol{\omega}}\in\mathcal{S}^{\rm C} for all ω∈Ω{\boldsymbol{\omega}}\in\Omega. It is enough to check the convexity condition at the endpoints of the linear pieces:

for all j=1,...,q−1j=1,...,q-1. Using (3.9) we get that, for all j=1,...,q−1j=1,...,q-1,

Hence, αj−1≤ujm+1ω−ujmω≤αj\alpha_{j-1}\leq u^{\boldsymbol{\omega}}_{jm+1}-u^{\boldsymbol{\omega}}_{jm}\leq\alpha_{j}. Since also αj−1=ujmω−ujm−1ω\alpha_{j-1}=u^{\boldsymbol{\omega}}_{jm}-u^{\boldsymbol{\omega}}_{jm-1} and αj=ujm+2ω−ujm+1ω\alpha_{j}=u^{\boldsymbol{\omega}}_{jm+2}-u^{\boldsymbol{\omega}}_{jm+1}, it follows that the two inequalities (3.10) hold, for all j=1,...,q−1j=1,...,q-1. Thus, uω∈SC\boldsymbol{u}^{\boldsymbol{\omega}}\in\mathcal{S}^{\rm C}. In summary, we have proved that uω∈SqC\boldsymbol{u}^{\boldsymbol{\omega}}\in\mathcal{S}^{\rm C}_{q} for all ω∈Ω{\boldsymbol{\omega}}\in\Omega.

Now, from the Varshamov-Gilbert bound, cf. (2.21), for ω,ω′∈Ω{\boldsymbol{\omega}},{\boldsymbol{\omega}}^{\prime}\in\Omega we have

where dH(⋅,⋅)d_{H}(\cdot,\cdot) is the Hamming distance. Finally, similarly to (2.23), the Kullback-Leibler divergence between PωP_{\boldsymbol{\omega}} and P0P_{\bf 0} satisfies K(Pω,P0)≤log⁡(∣Ω∣−1)16K(P_{\boldsymbol{\omega}},P_{\bf 0})\leq\frac{\log(|\Omega|-1)}{16}. Applying (Tsybakov 2009, Theorem 2.7) with α=1/16\alpha=1/16 completes the proof. ∎

Concluding remarks and discussion

In this short note, we have shown that the estimators μ^Q\boldsymbol{\hat{\mu}}^{Q} and μ^Q−conv\boldsymbol{\hat{\mu}}^{Q-conv} based on sparsity pattern aggregation (in its QQ-aggregation version) achieve oracle inequalities that improve on some previous results for isotonic and convex regression.

Another improvement is that we obtain oracle inequalities both with high probability and in expectation, which was not the case in the previous work.

Finally, note that instead of QQ-aggregation we could have used sparsity pattern aggregation by the Exponential Screening procedure of Rigollet and Tsybakov 2011. This would lead to sharp oracle inequalities in expectation of the form (2.6) and (3.5) but not to inequalities with high probability such as (2.5) and (3.4). This is the reason why we have opted for QQ-aggregation rather than for Exponential Screening in this paper. On the other hand, Exponential Screening estimators are computationally more attractive than QQ-aggregation since they can be successfully approximated by MCMC algorithms (see Rigollet and Tsybakov 2011; Rigollet and Tsybakov 2012 for details).

Acknowledgement. This work was supported by GENES and by the French National Research Agency (ANR) under the grants IPANEMA (ANR-13-BSH1-0004-02), and Labex ECODEC (ANR - 11-LABEX-0047). It was also supported by the "Chaire Economie et Gestion des Nouvelles Données", under the auspices of Institut Louis Bachelier, Havas-Media and Paris-Dauphine.

References