Tutorials › Statistical Learning (Graduate) › Bump Hypercubes for Function Estimation

Minimax Lower-Bound Methods · Tutorial 91 of 989

Bump Hypercubes for Function Estimation

Construct localized bump hypercubes and calculate the metric and distributional separations that make them useful for function-estimation lower bounds.

Intermediate 12 min read

What You'll Learn

  • Scale and place a smooth bump on disjoint cells to form a binary hypercube of functions.
  • Calculate exact \(L^p\) and \(L^2\) distances from the Hamming distance between vertices.
  • Derive neighboring Kullback–Leibler divergence in Gaussian regression.
  • Bound neighboring divergence in a Bernoulli regression model.
  • Convert testing difficulty across cube edges into a squared \(L^2\) minimax risk bound.
  • Check the support, smoothness, and amplitude conditions needed for the construction.

Why Localized Bumps Create Hard Function Families

A useful lower-bound construction should have many alternatives that are separated as functions, yet statistically difficult to distinguish when one small part of the function changes. A bump hypercube achieves both goals: place a scaled copy of one localized function on each of many disjoint cells, then independently switch each copy on or off. The resulting family is indexed by binary vectors, and changing one bit alters the function only on one cell.

The construction is particularly useful for applying Assouad’s lemma to function estimation. The geometry is controlled by the bump’s norm and the cell width; the statistical difficulty is controlled by the divergence between distributions corresponding to neighboring binary vectors. These two calculations are separate and should be checked separately.

Definition of a Bump Hypercube

Let the domain be \([0,1]^d\), let \(m\) be a positive integer, and set \(h=1/m\). Partition the domain into \(J=m^d\) cubes of side length \(h\), ignoring shared boundaries, which have Lebesgue measure zero. Index the cubes by \(k\in\{0,\ldots,m-1\}^d\), and let \(x_k=hk\) be the lower corner of cube \(k\). Choose a nonzero function \(\psi\) supported inside \((0,1)^d\). For a scale \(a>0\), define the localized bump

$$ \psi_k(x)=a h^s\psi\!\left(\frac{x-x_k}{h}\right), \qquad f_\theta(x)=\sum_{k\in\{0,\ldots,m-1\}^d}\theta_k\psi_k(x), \qquad \theta\in\{0,1\}^J. $$

Because the support of \(\psi\) lies strictly inside the unit cube, the supports of distinct \(\psi_k\) are disjoint and do not cross cell boundaries. Thus \(f_\theta\) switches a local feature on or off on each cell, without overlap between features.

Definition: A bump hypercube is the finite family \(\{f_\theta:\theta\in\{0,1\}^J\}\) formed from scaled copies of one localized bump on disjoint cells. The Hamming distance \(H(\theta,\theta')=\sum_k\mathbf{1}\{\theta_k\ne\theta'_k\}\) counts the cells on which two functions differ.

For integer smoothness \(s\), a sufficient regularity condition is \(\psi\in C_c^s((0,1)^d)\), meaning that \(\psi\) has continuous derivatives through order \(s\) and compact support inside the open unit cube. For a multi-index \(\nu\) of order \(|\nu|\le s\), the chain rule gives

$$ D^\nu\psi_k(x)=a h^{s-|\nu|}(D^\nu\psi)\!\left(\frac{x-x_k}{h}\right). $$

Since \(h\le1\), these derivatives are bounded by \(a\|D^\nu\psi\|_\infty\). Disjoint supports ensure that the same bound applies to the sum \(f_\theta\), rather than growing with the number of cells. To place every vertex in a specified smoothness ball, choose \(a\) small enough for the ball’s derivative bounds. Merely requiring \(\psi\) to be nonzero and supported inside the unit cube does not guarantee any derivative regularity; the smoothness assumption must be imposed when the target function class requires it.

Worked Example: Exact \(L^2\) Separation on Four Cells

Take \(d=s=1\), \(m=4\), \(h=1/4\), and use the bump \(\psi_0(t)=(t-\tfrac14)^2(\tfrac34-t)^2\) for \(1/4\le t\le3/4\), and zero otherwise. This function is continuously differentiable, supported inside \((0,1)\), and is suitable for an \(s=1\) construction. Its squared norm is

$$ \int_0^1\psi_0(t)^2\,dt =\int_0^{1/2}u^4(1/2-u)^4\,du =(1/2)^9\frac{4!\,4!}{9!} =\frac{1}{322560}. $$

Normalize it by setting \(\psi=\sqrt{322560}\,\psi_0\), so \(\|\psi\|_2=1\), and take \(a=0.1\). Each localized bump has norm

$$ \|\psi_k\|_2 =a h^{s+1/2}\|\psi\|_2 =0.1(1/4)^{3/2} =0.0125. $$

If two binary vectors differ on \(r\) cells, disjointness makes their squared distance the sum of \(r\) identical squared bump norms. Their \(L^2\) distance is therefore \(0.0125\sqrt r\). In particular, neighboring vertices are \(0.0125\) apart, while opposite vertices, which differ on all four cells, are \(0.025\) apart.

Metric Separation: A General Calculation

Result: For \(1\le p<\infty\), if \(\psi\in L^p\) and the scaled bumps have disjoint supports, then $$ \|f_\theta-f_{\theta'}\|_p^p =H(\theta,\theta')\,a^p h^{sp+d}\|\psi\|_p^p. $$ Consequently, neighboring vertices have distance \(a h^{s+d/p}\|\psi\|_p\).

To prove the formula, write the difference as a sum over the cells on which the bits disagree. On each such cell, the difference is either \(\psi_k\) or \(-\psi_k\). Since the supports are disjoint, the \(p\)th power of the absolute value of the sum equals the sum of the \(p\)th powers pointwise, apart from boundaries of measure zero. A change of variables \(u=(x-x_k)/h\), with \(dx=h^d\,du\), gives

$$ \int |\psi_k(x)|^p\,dx =a^p h^{sp}\int\left|\psi\!\left(\frac{x-x_k}{h}\right)\right|^p dx =a^p h^{sp+d}\|\psi\|_p^p. $$

There are exactly \(H(\theta,\theta')\) disagreeing cells, proving the displayed equality. For \(p=2\), write \(\delta=a h^{s+d/2}\|\psi\|_2\). Then \(\|f_\theta-f_{\theta'}\|_2^2=\delta^2 H(\theta,\theta')\). This exact linear relation between squared distance and Hamming distance is what makes squared \(L^2\) loss especially convenient.

Neighboring Divergence in Gaussian Regression

Consider \(n\) independent observations \((X_i,Y_i)\), with \(X_i\) uniform on \([0,1]^d\) and \(Y_i\mid X_i=x\sim N(f_\theta(x),\sigma^2)\), where \(\sigma^2>0\) is fixed. Denote the joint data distribution by \(P_\theta^n\). For neighboring vertices, the two regression functions differ by one bump. The Kullback–Leibler divergence is

Result: If \(H(\theta,\theta')=1\), then $$ D_{\mathrm{KL}}(P_\theta^n\|P_{\theta'}^n) =\frac{n}{2\sigma^2}a^2h^{2s+d}\|\psi\|_2^2. $$

For completeness, two normal distributions with the same variance and respective means \(\mu,\mu'\) have divergence \((\mu-\mu')^2/(2\sigma^2)\), as follows by taking the expectation under the first distribution of the log density ratio. Conditioning on \(X=x\) therefore gives divergence \((f_\theta(x)-f_{\theta'}(x))^2/(2\sigma^2)\). The covariate distribution is the same under both models, so averaging over the uniform covariate integrates this expression over \([0,1]^d\). Independence makes the divergence of \(n\) observations \(n\) times the one-observation divergence. Finally, a neighboring pair differs by one scaled bump, whose squared integral is \(a^2h^{2s+d}\|\psi\|_2^2\) by the change-of-variables calculation above. Combining these steps proves the result.

Worked Example: Gaussian Neighboring Divergence

Continue with the normalized one-dimensional bump above, so \(d=s=1\), \(\|\psi\|_2=1\), \(h=1/4\), and \(a=0.1\). Let \(n=100\) and \(\sigma^2=1\). For any neighboring pair,

$$ D_{\mathrm{KL}}(P_\theta^n\|P_{\theta'}^n) =\frac{100}{2}(0.1)^2(1/4)^3 =50(0.01)(1/64) =\frac{1}{128}. $$

The calculation is for a pair differing on one cell; it does not multiply by the four cells in the full hypercube. The other bits agree and contribute no difference to this particular neighboring comparison.

From Edge Difficulty to a Function-Risk Bound

The preceding calculations supply the two ingredients for an Assouad argument: each edge of the hypercube has function separation \(\delta\), and the distributions at its endpoints have small total variation distance. The following direct derivation makes the squared \(L^2\) consequence explicit. Assume the vertices belong to the function class under study, and let \(\widehat f\) be any measurable estimator taking values in \(L^2([0,1]^d)\). For each cell define a bit estimate by projecting \(\widehat f\) onto \(\psi_k\):

$$ \widehat\theta_k =\mathbf{1}\left\{ \frac{\langle\widehat f,\psi_k\rangle}{\|\psi_k\|_2^2}\ge\frac12 \right\}. $$

If \(\widehat\theta_k\ne\theta_k\), the projected coefficient differs from the true coefficient \(\theta_k\in\{0,1\}\) by at least \(1/2\). By Cauchy–Schwarz, the squared estimation error on that cell is at least \(\|\psi_k\|_2^2/4=\delta^2/4\). Summing over disjoint cells gives

$$ \|\widehat f-f_\theta\|_2^2 \ge \frac{\delta^2}{4}\sum_k\mathbf{1}\{\widehat\theta_k\ne\theta_k\}. $$

For any neighboring pair \(\theta,\theta'\) differing in coordinate \(k\), the average error probability for testing that bit under equal prior probabilities is at least \((1-\operatorname{TV}(P_\theta^n,P_{\theta'}^n))/2\). This testing inequality follows because the sum of the two error probabilities for any test is at least \(1-\operatorname{TV}\). Average the risk uniformly over all \(2^J\) vertices, pair vertices along each of the \(J\) coordinates, and apply the inequality to each pair. If every edge has total variation at most \(\tau\), the average number of bit errors is at least \(J(1-\tau)/2\). Therefore

$$ \sup_{\theta\in\{0,1\}^J}E_\theta\|\widehat f-f_\theta\|_2^2 \ge \frac{1}{2^J}\sum_\theta E_\theta\|\widehat f-f_\theta\|_2^2 \ge \frac{J\delta^2(1-\tau)}{8}. $$

The first inequality holds because the maximum is at least the average. Since this bound applies to every estimator, it also lower-bounds the minimax squared \(L^2\) risk over any function class containing the hypercube. In Gaussian regression, Pinsker’s inequality gives \(\operatorname{TV}(P,Q)\le\sqrt{D_{\mathrm{KL}}(P\|Q)/2}\). Thus, if every neighboring KL divergence is at most \(1/8\), then \(\tau\le1/4\), and the risk is at least \(3J\delta^2/32\). \(\square\)

A Bernoulli Regression Divergence Check

The same bump geometry can be used with a different observation model, provided the regression probabilities stay away from zero and one. For example, let \(X_i\) again be uniform, and let \(Y_i\mid X_i=x\) be Bernoulli with success probability \(p_\theta(x)=1/2+f_\theta(x)\). Suppose every vertex satisfies \(|f_\theta(x)|\le1/4\), so all probabilities lie in \([1/4,3/4]\).

Worked Example: Bounding Bernoulli Neighboring Divergence

For Bernoulli probabilities \(p,q\), the inequality \(\log u\le u-1\) applied to the two terms in the log likelihood ratio gives \(D_{\mathrm{KL}}(\operatorname{Bern}(p)\|\operatorname{Bern}(q))\le (p-q)^2/[q(1-q)]\). Indeed, the corresponding chi-squared expression is \(p^2/q+(1-p)^2/(1-q)-1=(p-q)^2/[q(1-q)]\). When \(q\in[1/4,3/4]\), \(q(1-q)\ge3/16\), so the divergence is at most \(16(p-q)^2/3\). For a neighboring bump pair, integration over the uniform covariate and independence across observations now give

$$ D_{\mathrm{KL}}(P_\theta^n\|P_{\theta'}^n) \le \frac{16}{3}n a^2h^{2s+d}\|\psi\|_2^2. $$

With the earlier normalized bump, \(a=0.1\), \(h=1/4\), \(s=d=1\), and \(n=100\), the upper bound is \(\frac{16}{3}(100)(0.01)(1/64)=1/12\). The probability condition also holds: the normalized bump has maximum \(\sqrt{322560}/256<3\), so each active local perturbation has magnitude at most \(a h\|\psi\|_\infty<0.1(1/4)(3)=0.075<1/4\). Disjoint supports mean that adding the other active cells cannot increase this pointwise bound.

Common Pitfalls and Practical Checks

  • Assuming support implies smoothness. A nonzero function supported inside a cube need not have even one derivative. For integer smoothness \(s\), require bounded derivatives through order \(s\), for example by taking \(\psi\in C_c^s((0,1)^d)\).
  • Forgetting the volume factor. Scaling the argument by \(1/h\) changes the integral by \(h^d\). Thus the \(L^2\) norm scales as \(h^{s+d/2}\), not merely \(h^s\).
  • Multiplying neighboring divergence by the number of cells. An edge changes exactly one bit, so its divergence contains one bump’s squared integral. The factor \(J\) enters later when summing testing errors across coordinates.
  • Ignoring model constraints. A Bernoulli regression probability must remain in \([0,1]\), and a smoothness class imposes derivative bounds. Check the amplitude \(a\) against both conditions before claiming that the hypercube lies in the model class.

The construction’s value is its modularity. The cell width and smoothness exponent determine the signal size on one edge; the observation model determines the edge divergence. Once the vertices are valid and the edge distributions are sufficiently close, the many binary decisions force a nontrivial estimation risk.

Check Your Understanding

Check the scaling, regularity, and testing logic of the construction.

  1. For \(L^p\) loss, derive the power of \(h\) in the distance between two neighboring vertices.
  2. Why does the squared \(L^2\) distance between two vertices equal the number of differing cells times the squared one-bump norm?
  3. For integer smoothness \(s>1\), what regularity condition on \(\psi\) is sufficient, and how does the derivative scaling depend on \(|\nu|\)?
  4. In the Gaussian regression model, why is the KL divergence for a neighboring pair proportional to \(n\), but not to the total number of cells \(J\)?
  5. What amplitude and support checks are needed before using a bump hypercube in Bernoulli regression?
Clinical Biostats