Why Resolution Must Be Chosen
A partition estimator divides the predictor domain into cells and estimates the regression function separately, or locally, within each cell. The resolution controls a basic tradeoff: smaller cells can represent a changing regression function more accurately, but the observations are spread across more cells, making estimation noisier. The practical question is not simply whether to use a fine partition. It is how fine to make it for the available sample size and the smoothness and dimension of the problem.
We will work with a \(d\)-dimensional predictor \(X\) on \([0,1]^d\). Let \(K\) denote the number of subdivisions along each coordinate axis. The cells then have side length \(h=1/K\), and there are \(K^d\) cells in total. For a locally polynomial estimator of adequate degree on a Hölder-smooth regression function, the squared approximation error is of order \(K^{-2\alpha}\), while the estimation term is of order \(K^d/n\). The first term decreases as the cells get finer; the second increases.
These expressions describe the usual integrated squared-error upper bound, under conditions ensuring the partition estimator is well behaved. In particular, take a fixed dimension \(d\), smoothness \(\alpha>0\), a design distribution with a density bounded above and away from zero on the domain, and errors with conditional mean zero and bounded conditional variance. The approximation order also requires a local polynomial degree sufficient for the stated Hölder smoothness. We use positive constants \(A\) and \(B\), independent of \(n\) and \(K\), to write the bound as \(A K^{-2\alpha}+B K^d/n\). The constants can depend on the class and estimator; rate calculations track the powers of \(n\), not those constants.
Deriving the Balanced Resolution
First ignore constants and treat \(K\) as a positive real number. The balance equation is
Multiplying by \(nK^{2\alpha}\) gives \(n=K^{2\alpha+d}\). Therefore the balanced resolution and its associated rate are
The resolution \(K_{\mathrm{bal}}\) is a number of subdivisions per coordinate, not the total number of cells. At this choice, the total number of cells is \(K_{\mathrm{bal}}^d=n^{d/(2\alpha+d)}\). Confusing these two quantities changes the exponent and leads to an incorrect variance calculation.
Proof. Substituting \(K_{\mathrm{bal}}=n^{1/(2\alpha+d)}\) gives
and
Thus both terms have the stated order. For integer resolution, write \(K=\lceil K_{\mathrm{bal}}\rceil\). Since \(K_{\mathrm{bal}}\geq1\), we have \(K_{\mathrm{bal}}\leq K\leq 2K_{\mathrm{bal}}\). Consequently,
Both terms are therefore bounded by constant multiples of \(n^{-2\alpha/(2\alpha+d)}\), which proves the claim. \(\square\)
This balance also gives a simple justification for the choice. If \(K\leq K_{\mathrm{bal}}\), the approximation term is at least \(K_{\mathrm{bal}}^{-2\alpha}\). If \(K\geq K_{\mathrm{bal}}\), the estimation term is at least \(K_{\mathrm{bal}}^d/n\). Since these two quantities agree, moving to either side of the balance cannot make both terms smaller. This argument concerns the stated upper-bound terms; by itself it does not prove a minimax lower bound.
Worked Rate Calculations
Worked Example: Two-Dimensional Lipschitz Regression
Suppose \(n=4096\), the predictor has dimension \(d=2\), and the regression function has Hölder smoothness \(\alpha=1\). Find the balanced resolution, the cell width, the number of cells, and the two terms in the bound.
The denominator in the resolution exponent is \(2\alpha+d=2+2=4\). Hence
There are \(8\) subdivisions along each coordinate, so the cell width is \(1/8\) and the total number of cells is \(8^2=64\). The approximation term is
The estimation term is
The two terms agree, and the rate is \(n^{-2\alpha/(2\alpha+d)}=4096^{-1/2}=1/64\). The total bound is at most \((A+B)/64\).
Worked Example: Higher Smoothness in Three Dimensions
Let \(n=16384=2^{14}\), \(d=3\), and \(\alpha=2\). The exponent denominator is \(2\alpha+d=4+3=7\), so
The partition has \(4\) subdivisions along each axis, cell width \(1/4\), and \(4^3=64\) cells. The approximation term is
The estimation term is
The squared-error rate is \(n^{-4/7}=(2^{14})^{-4/7}=2^{-8}=1/256\), agreeing with both terms. Notice that the dimension enters through \(K^3\), the number of cells, not through a change to the per-axis resolution definition.
Worked Example: Fractional Smoothness and Integer Rounding
Take \(n=1000\), \(d=1\), and \(\alpha=1/2\). The real-valued balanced resolution is
A partition needs an integer number of subdivisions, so choose \(K=\lceil31.62\rceil=32\). The cell width is \(1/32\). The approximation term is
Since \(d=1\), the estimation term is
The terms are close, as expected after rounding. The rate at the continuous balance is \(n^{-2\alpha/(2\alpha+d)}=1000^{-1/2}\approx0.03162\). The rounded calculation does not make the two terms identical, but each remains of the same order as the rate.
How Dimension and Smoothness Change the Choice
Taking logarithms of the balanced resolution makes its dependencies transparent:
For fixed \(d\) and \(n>1\), increasing \(\alpha\) increases the denominator, so \(K_{\mathrm{bal}}\) decreases. In other words, greater smoothness calls for a coarser balanced partition. This may seem counterintuitive if one thinks only about approximation: smooth functions can indeed be approximated accurately with relatively wide cells. Fewer cells also reduce estimation variance, and the balance is reached at a smaller resolution.
For fixed \(\alpha\) and \(n>1\), increasing \(d\) also decreases \(K_{\mathrm{bal}}\). Each additional subdivision along every axis multiplies the total cell count by a factor that depends on the dimension: \(K^d\) grows rapidly when \(d\) is large. The balanced choice therefore uses fewer subdivisions per axis to control estimation variance. Larger sample sizes have the opposite effect: increasing \(n\) increases \(K_{\mathrm{bal}}\), allowing a finer partition.
The risk rate improves as smoothness increases, even though the balanced resolution decreases. The exponent \(2\alpha/(2\alpha+d)\) increases with \(\alpha\), so \(n^{-2\alpha/(2\alpha+d)}\) decreases for \(n>1\). Resolution and risk are different quantities: a coarser balanced partition can still yield a faster rate when the underlying function is smoother.
A Reusable Calculation
For a new rate problem, keep the three quantities separate: per-coordinate resolution \(K\), total number of cells \(K^d\), and squared-error rate. The following sequence prevents most exponent errors.
Use \(K^{-2\alpha}\) for squared approximation error and \(K^d/n\) for estimation variance.
Solve \(K^{-2\alpha}=K^d/n\), giving \(K^{2\alpha+d}=n\).
Use \(K_{\mathrm{bal}}=n^{1/(2\alpha+d)}\), then substitute into either term to get \(n^{-2\alpha/(2\alpha+d)}\).
There are \(K^d\) cells, not \(K\). If \(K\) must be an integer, round it and evaluate both terms again.
Common Mistakes
- Calling \(K\) the total number of cells. Here \(K\) counts subdivisions along each coordinate, so the total is \(K^d\).
- Using the bias order without squaring it. If the approximation error in norm is of order \(K^{-\alpha}\), its squared-error contribution is of order \(K^{-2\alpha}\).
- Reversing the smoothness effect on resolution. At fixed \(n>1\) and \(d\), \(K_{\mathrm{bal}}=n^{1/(2\alpha+d)}\) decreases as \(\alpha\) increases. Greater smoothness permits a coarser balanced partition, not a finer one.
- Reading the risk exponent as the resolution exponent. The resolution exponent is \(1/(2\alpha+d)\); the squared-error rate exponent is \(2\alpha/(2\alpha+d)\).
- Treating equal-order terms as numerically identical after rounding. Integer rounding can change the two values, but it does not change their rate when the rounded resolution stays within a constant factor of the balanced one.
Check Your Understanding
For each calculation, keep the per-axis resolution distinct from the total number of cells.
- For \(n=256\), \(d=1\), and \(\alpha=1\), calculate the balanced resolution and the squared-error rate.
- If \(K=5\) and \(d=3\), how many cells are in the partition? What is the estimation term when \(n=1000\)?
- At fixed \(n>1\) and \(d\), does increasing \(\alpha\) increase or decrease \(K_{\mathrm{bal}}\)? Explain using its formula.
- For \(n=10000\), \(d=2\), and \(\alpha=1\), calculate both balanced terms and verify that they agree.
- Why can greater smoothness lead to a coarser balanced partition but a faster squared-error rate?