Density-Weighted D-Optimal Design for Actively Labeled Quantile Regression

Many prediction problems care about a tail rather than an average: the 90th-percentile pollution level at a monitoring station, or the 75th-percentile reading of a drifting chemical sensor. Quantile regression, which fits a line to a chosen percentile of the response, handles these questions directly. How precisely it can be estimated at a given input depends on something averages never see: how much probability sits near that percentile. If the response distribution is dense there, a few observations pin the quantile down. If it is flat there, the quantile slides around almost freely. So when labels are expensive and we must choose which inputs to measure, points are not equally valuable. A labeled point in a flat region is worth very little, no matter how large its input values are.

This note proposes to choose which points to label by D-optimal experimental design, the classical rule that picks measurements to shrink the volume of the parameter confidence region. Here the information each candidate point carries is weighted by the square of the conditional density at the target quantile. That density is unknown, so the design is built sequentially and pessimistically: it plans against a lower confidence bound on the density, which keeps it from spending budget on regions that only look informative because the density estimate is noisy. The claim is that this design beats both leverage-based subsampling and ordinary density-blind D-optimal design whenever the density varies across the inputs. It reduces to ordinary D-optimal design when the density is constant, and we will show that too.

Core Claim

The obvious idea at this intersection is "D-optimal subsampling for quantile regression." It fills a gap left by two papers that derived only trace-based criteria. Optimal subsampling for quantile regression in big data derives A-optimal and modified L-optimal subsampling probabilities for linear quantile regression. The L-optimal version selects points in proportion to $\|x_i\|$ precisely so that the unknown density cancels out. Optimal subsampling for functional quantile regression does the same for functional predictors, using penalized splines.

Written out, though, the obvious idea collapses. In the setting those papers study, the full data are labeled and the subsample is fit with inverse-probability weights. The asymptotic covariance of that fit is $V = M^{-1} V_\pi M^{-1}$. Here $M$ is the full-data curvature matrix, which contains the density, and $V_\pi$ is the only term that depends on the sampling probabilities $\pi$. That gives

$$\log\det V(\pi) = \log\det V_\pi(\pi) - 2\log\det M,$$

and the second term does not depend on $\pi$. D-optimal weighted subsampling is therefore exactly density-blind. It inherits the same cancellation that motivated L-optimality, so it cannot deliver what the research file's Gap 1 promises. We record this as a short negative result, not as a contribution.

The density genuinely matters in a different setting. There, inputs are chosen before their responses are observed, which is active labeling from a pool, and the estimator is not inverse-probability weighted. Suppose the fit uses pinball loss (the tilted absolute loss that targets a quantile) weighted by the conditional density $f_\tau(x)$ of the response at the $\tau$-quantile given input $x$. A labeled point at $x$ then contributes

$$I_\tau(x) = \frac{f_\tau(x)^2}{\tau(1-\tau)}\, x x^\top,$$

and a design $\xi$, meaning a distribution over which pool points to label, has asymptotic covariance equal to the inverse of $\int I_\tau(x)\, d\xi(x)$. Maximizing its log-determinant is a concave problem, so standard Frank-Wolfe design solvers apply. It is also the natural D-optimal counterpart of the density-flatness conditions in How SVMs can estimate quantiles and the median. That paper shows estimation bounds degrade as local density vanishes. In our criterion, flat regions contribute zero information, and the design learns to avoid them.

The remaining difficulty is that $f_\tau$ is unknown. It is also the quantity that Quantile-Based Policy Optimization for Reinforcement Learning and Optimistic Reinforcement Learning with Quantile Objectives identify as the source of instability, the latter requiring a lower bound $\kappa$ on the density's slope-margin. Our answer is a sequential design that replaces $f_\tau$ by a lower confidence bound. Under-estimating a point's information only costs efficiency. Over-estimating it steers the budget toward flat regions, which is the failure mode that matters.

Research Program

We will build a batch-sequential active labeling procedure in three parts.

The first part is a pilot. A small uniformly chosen labeled set fits quantile regressions at $\tau$ and at two nearby levels $\tau \pm h$. It then estimates the local density through a parametric model, $\log f_\tau(x) = \gamma^\top g(x)$, where $g(x)$ is a low-dimensional feature map. The density estimate comes from the spacing between neighboring quantile fits, since density is the reciprocal of how fast the quantile moves with $\tau$. Choosing a parametric density model rather than a kernel estimator is deliberate. It gives finite-sample confidence sets for $\gamma$, and those sets are what the pessimistic design needs.

The second part runs at each round. We compute a lower confidence bound $\underline f_\tau(x)$ on the density. We then solve the log-determinant design over the unlabeled pool with a randomized Frank-Wolfe solver and memoized rank-one updates. This machinery comes from Comparing Few to Rank Many: Active Human Preference Learning Using Randomized Frank-Wolfe Method and MASS-DPO: Multi-negative Active Sample Selection for Direct Policy Optimization. We reuse their solver and change only the information matrix, from a smooth choice-model Fisher matrix to the density-weighted quantile matrix. We label a batch and refit both the quantile model and the density model.

The third part is analysis. We will prove two things. First, the plug-in design converges to the oracle design as the density model's confidence set shrinks. Second, the log-determinant gap between the pessimistic design and the oracle design is controlled by the width of the density confidence band relative to the density margin $\kappa$. The analogous role of $\kappa$ in quantile reinforcement learning regret is established by Optimistic Reinforcement Learning with Quantile Objectives. A secondary extension handles several quantile levels at once, by maximizing the sum of log-determinants over a grid of $\tau$. Both subsampling papers name joint quantile design as an open limitation. We treat it as a follow-on, not the headline.

We state one limitation upfront. The weighted and unweighted estimators are consistent without inverse-probability weights only if the linear quantile model is correctly specified at $\tau$. The research file flags misspecification as the standing weakness of D-optimal design in general. We therefore include an explicit misspecification stress test instead of assuming it away.

Baselines

The naive reference is uniform random labeling from the pool at the same label budget, fit with ordinary pinball loss. Optimal subsampling for quantile regression in big data reports that this is consistently worse than design-based schemes, especially for extreme quantiles and heavy-tailed inputs. Every method must beat it.

The strongest existing competitor is Wang and Ma's modified L-optimal scheme, which samples with probability proportional to $\|x_i\|$ and fits with inverse-probability weights. It is strong because it needs no density estimate, is robust to misspecification, and was designed for exactly this regression. Its reported advantage on the UCSD gas sensor data is computational: about 0.458 seconds for pilot estimation plus 0.065 seconds per iteration, a fraction of full-data solvers. For its estimation error on that dataset, no reported result was found on Lacuna. The same holds for its functional counterpart on Beijing air quality: the functional paper reports only that FAopt and FLopt beat uniform in integrated mean squared error, with no cell values available. We will therefore rerun this method ourselves, using the same pool, pilot size, label budget and refitting schedule as our method, with its pilot drawn from the same uniform labels.

The third baseline isolates the density ingredient. It is ordinary D-optimal design on $x x^\top$, the density-blind criterion used for mean-reward exploration in Towards the D-Optimal Online Experiment Design for Recommender Selection, solved with the same Frank-Wolfe code and the same estimator.

Two further ablations separate our ingredients. One is the plug-in design that uses the point estimate of $f_\tau$ instead of its lower bound, which isolates the pessimism. The other is the oracle design with the true density, available only in synthetic data, which gives an upper reference.

Beating a baseline means a smaller generalized variance (the determinant of the Monte Carlo covariance of the fitted coefficients over repeated runs) at equal labels, together with lower held-out pinball loss. We will also report the label budget each method needs to reach the full-data error within a fixed factor.

Why not just…?

Why not just use leverage-based L-optimal subsampling, which avoids density estimation entirely? It is the most serious threat. When the density at the quantile is roughly constant across inputs, as in a pure location-shift model, it may match us at lower cost. Its limitation is structural. Two points with equal $\|x\|$ receive equal probability even if one sits where the response distribution is flat and carries almost no information about the quantile. The heteroscedastic synthetic suite is designed to measure exactly this. We will report where the crossover happens as a function of how strongly the density varies, not claim a uniform win.

Why not just apply D-optimal design to the usual inverse-probability-weighted subsample? The identity above shows this criterion is density-free. It adds nothing over leverage-type sampling, so it cannot exploit flatness, and the density-blind D-optimal baseline covers it empirically.

Why not just run ordinary D-optimal design on the inputs, as in mean regression? Under constant density our criterion reduces to exactly this, and we expect a tie there. It diverges when the density varies with $x$: the ordinary design then spreads labels toward extreme inputs even where the upper quantile is poorly determined. The comparison against this baseline, stratified by how much the density varies, is the cleanest test of whether the density weighting is worth its estimation cost.

Why not just estimate the density with a kernel method and plug it in? Both Quantile-Based Policy Optimization for Reinforcement Learning and the functional A-optimal scheme of Optimal subsampling for functional quantile regression found kernel density estimation to be volatile or computationally prohibitive at scale. The plug-in ablation tests whether our pessimistic lower bound actually repairs the resulting failure: labels piling up in regions that only appear dense.

Proposed Experiments

The first experiment is a synthetic location-scale suite. Responses equal $x^\top\beta$ plus noise whose scale depends on a covariate, with Gaussian, Student-t and bimodal noise. The bimodal case puts a near-flat density at the target quantile over part of the input space. We vary $\tau$ over 0.5, 0.75, 0.9 and 0.95, and vary the strength of the scale dependence from zero upward. The decisive check has two sides. At zero scale dependence, our method must tie the density-blind D-optimal baseline. As scale dependence grows, its generalized variance must approach the oracle design's while leverage sampling falls behind. If neither happens, the idea fails.

The second experiment is a pool-based replay of the UCSD gas sensor drift dataset used by Optimal subsampling for quantile regression in big data. We model the $\tau = 0.75$ quantile of the last sensor from the others, reveal responses only for selected points, and take the full-data fit as the reference.

The third experiment uses the Beijing multi-site air-quality data from Optimal subsampling for functional quantile regression, targeting the upper quantiles of PM2.5 from meteorological covariates with spline features. Both real datasets have labels that are cheap in hindsight but expensive in the deployments they stand in for.

Across all three, the metrics are generalized variance and coefficient error against the full-data fit, held-out pinball loss, coverage of plug-in confidence intervals, and wall-clock design time.

Two stress tests guard against self-deception. The first is misspecification: we add a quadratic term missing from the model. There the inverse-probability-weighted leverage baseline should degrade gracefully, and we will report how much of our advantage survives. The second deliberately shrinks the pilot, testing the cold-start issue that Fewer Battles, More Gain: An Information-Efficient Framework for Arena-based LLM Evaluation addresses with random warm-up. The pessimistic design should never do worse than uniform, whereas the plug-in design may.