NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scale-Sorted Block Mixing for Private Coordinate Descent

Differentially private learning, meaning training that provably limits what the model reveals about any single record, is most accurate on high-dimensional data when it works one coordinate at a time. Each coordinate then gets its own step size and its own noise level. The weakness of these coordinate-wise methods is that their noise must cover the largest amount any single record can push on a coordinate. Sparse data such as text, clickstreams and URLs is full of records that put almost all of their mass on one rare feature. For those coordinates the worst-case push is as large as a record's entire norm. Numerical linear algebra has a standard fix for this "spikiness". Multiply the data by a random sign-flip followed by a Hadamard transform, a fast $\pm 1$ orthogonal mixing matrix, and every coordinate ends up with roughly equal energy. The fix fails here for two reasons. It turns sparse data completely dense, and it also erases the differences in feature scale that make coordinate-wise private methods worth using.

We propose mixing only within small blocks of features that already have similar scale. We estimate each feature's scale privately, sort the features by it, cut the sorted order into blocks of size $b$, and apply a random signed Hadamard transform inside each block. Within a block, a record's spike is spread over $b$ coordinates. Because the block's features had nearly equal scale to begin with, mixing them costs almost nothing in scale information. Across blocks, the scale differences that coordinate descent exploits are left intact. A record with $k$ nonzeros grows to at most $kb$ nonzeros, so $b$ is a single dial between cost and noise. The objective is ridge-regularized, which is unchanged by rotation, so the optimization problem is exactly the same in the mixed basis. Only the coordinate system in which privacy noise is added changes.

Core Claim

Consider differentially private coordinate descent (DP-CD) from Differentially Private Coordinate Descent for Composite Empirical Risk Minimization. This method clips each coordinate's per-record gradient at its own threshold $C_j$ and adds Gaussian noise scaled to $C_j$. As a first-order proxy, the total noise it injects per pass grows with

$$\Phi(X) = \sum_{j=1}^{d} \max_i \, x_{ij}^2 ,$$

where $x_{ij}$ is feature $j$ of record $i$ and $d$ is the number of features. The proxy comes from gradient clipping. A per-record gradient coordinate is a loss derivative times $x_{ij}$, so a clip that avoids bias must track the largest $|x_{ij}|$.

If each record's features have Euclidean norm at most $R$, then $\Phi$ ranges from about $R^2$ when every record's mass is spread out to $dR^2$ when every column contains some record that is a one-hot spike. A signed Hadamard mix over a block of size $b$ replaces a spike of height $R$ with $b$ entries of height $R/\sqrt{b}$. Within spiky blocks this cuts $\Phi$ by up to a factor of $b$, and the rotation-invariant objective is untouched.

Our claim is that mixing within scale-sorted blocks captures most of this reduction and keeps the per-coordinate scale adaptivity that Differentially Private Coordinate Descent for Composite Empirical Risk Minimization credits for DP-CD's advantage over DP-SGD. It does so at a cost that scales with $b \cdot \text{nnz}(X)$ rather than $nd$, where $n$ is the number of records and $\text{nnz}(X)$ is the number of nonzero entries.

Mixing within random blocks should not have this property. It averages together the scales of unrelated features, which undoes the reason for using coordinate descent in the first place. This contrast is the ablation the proposal stands or falls on.

Relation to Prior Work

Several papers motivate the gap without closing it.

Two lines of work supply the machinery.

  • Partial mixing without full density. A Sparse Johnson--Lindenstrauss Transform uses block-Hadamard preconditioning to spread the mass of "pointy" vectors before a sparse projection. On a Connection Between Fast and Sparse Oblivious Subspace Embeddings shows the Hadamard transform factors into $\log n$ sparse butterfly stages that can be stopped early after $\log s$ stages. We reuse early stopping to implement mixing at block size $b$, so the cost is $\log b$ sparse stages.
  • Where we depart from both. Both works aim only to preserve norms. Neither chooses blocks using the data, and neither involves privacy.

Some prior work constrains the design.

Research Program

The algorithm has four steps.

  1. Estimate feature scales privately. We spend a small privacy budget, as DP-CD already does for its coordinate smoothness constants, to estimate each feature's scale and a per-feature spikiness statistic. Candidates for the statistic are a private high quantile of $|x_{ij}|$, or the ratio of that quantile to the column's root-mean-square value.
  2. Build blocks. We sort features by estimated scale and cut the order into blocks of size $b$. Because this uses only private outputs, it is post-processing. Optionally, blocks are formed only among spiky features, and balanced features are left unmixed.
  3. Mix. We apply an independent random sign-flip and Hadamard transform within each block, implemented as the first $\log_2 b$ butterfly stages following On a Connection Between Fast and Sparse Oblivious Subspace Embeddings. Blocks are padded to a power of two, and the padding is counted in the cost accounting.
  4. Optimize and map back. We run DP-CD in the mixed basis with per-coordinate clip thresholds set by private quantiles. The final weights are mapped back exactly by the inverse block transform.

The privacy accounting has three parts: the budget for scale and quantile estimation, plus DP-CD's own accounting, plus nothing for the transform, because the transform is independent of the data.

The analysis will make the proxy precise. We will bound DP-CD's excess risk in the mixed basis in terms of the mixed-basis versions of $\Phi$ and $\sum_j L_j$, where $L_j$ is the smoothness constant of coordinate $j$. We will then characterize the tradeoff. Mixing a block of features with spread scales raises the scale-mismatch term. Mixing a block of spiky features lowers the sensitivity term. Sorting by scale controls the first term. On the cost side, we will count nonzeros in the rows and columns of the mixed matrix as $b$ varies. We will also measure floating-point drift over long runs, because Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations flags accumulated error as a practical failure in sparse private solvers.

Baselines

The do-nothing reference is DP-CD from Differentially Private Coordinate Descent for Composite Empirical Risk Minimization, run in the original basis. It uses the same private scale estimates, the same privacy budget split and the same quantile-based clipping. The only difference from our method is that it skips the mixing step. Beating it means lower test loss at equal privacy parameter $\epsilon$, averaged over seeds, with at most a factor-$b$ increase in wall-clock time.

The strongest existing competitor on the question of coordinate-wise versus rotation-invariant private training is DP-SGD with per-record Euclidean clipping. It does not care about per-coordinate spikes and handles sparse inputs cheaply. The file does not give a cited number for DP-SGD on these sparse benchmarks. Differentially Private Coordinate Descent for Composite Empirical Risk Minimization reports that DP-CD reaches relative error "an order of magnitude lower" than DP-SGD on Electricity and California Housing and runs "4 to 5 times faster." That paper does not report results on sparse text data, so it is unknown whether DP-CD's advantage survives there. Both methods get the same data, the same number of passes over the data, and an equal hyperparameter search. For DP-SGD the search covers clip norm, step size and batch size. For the DP-CD variants it covers step scale and clip quantile. Selection is done on a held-out split, and the cost of tuning is either charged to privacy or held equal across methods.

The full-rotation reference is DP-CD after a global signed Hadamard transform, the natural private analogue of Solving Dense Linear Systems Faster than via Preconditioning. It is feasible only on moderate-dimension data such as News20 and the PCA-reduced RCV1 and E2006. It marks the ceiling on sensitivity reduction and the worst case for scale loss and density.

The key ablation is block mixing with random rather than scale-sorted blocks, at the same $b$. This isolates the proposal's central ingredient.

For context on the LASSO side only, we report the sparse DP Frank-Wolfe of Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations. It reports 90.5% accuracy on RCV1 at $\epsilon=0.1$, against 64.2% for the prior best method. Because the objectives differ, we treat this as a reference accuracy level rather than a baseline we claim to beat.

Why not just…?

Why not just use DP-SGD, which never sees coordinate spikes? This is the real threat. If feature scales on sparse text are fairly balanced, DP-CD's reason to exist disappears and DP-SGD may win outright. The evidence that coordinate methods are worth rescuing comes from imbalanced tabular data in Differentially Private Coordinate Descent for Composite Empirical Risk Minimization and from the high-dimensional comparisons in SoK: A Review of Differentially Private Linear Models For High-Dimensional Data. Neither is decisive for sparse text. The DP-SGD comparison on RCV1, News20 and URL settles it. If DP-SGD matches our method there, we will report that the gain holds only where scale heterogeneity and spikiness occur together.

Why not just clip each coordinate more aggressively without rotating? Lowering $C_j$ to a low quantile cuts noise, but it systematically cuts off the rare records that carry a rare feature's signal. This is the over-pruning failure that Sparse Private LASSO Logistic Regression and Differentially Private Iterative Screening Rules for Linear Regression report at small $\epsilon$. Mixing makes each mixed coordinate a sum over the block, which is lighter-tailed, so a given quantile clips less signal. Our clip-quantile sweep compares the two approaches directly at equal tuning budget.

Why not just rotate everything once with the fast Hadamard transform? On KDDA, with about 8.4M records and 20.2M features, a dense transformed matrix cannot be stored. The sparse solver of Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations already needs 128GB of memory on that dataset. Full rotation also erases scale heterogeneity. Where full rotation is feasible, the full-rotation baseline measures how much accuracy block mixing gives up.

Why not just rescale columns, PLAN-style? Diagonal scaling as in PLAN: Variance-Aware Private Mean Estimation changes column scales but leaves each record's spike exactly as spiky relative to its column. It therefore leaves $\Phi$, measured relative to column scale, unchanged. Scale-sorted blocking is our way of combining scaling with mixing rather than choosing one.

Proposed Experiments

Controlled synthetic study. We first generate logistic and ridge problems with two independent knobs. One knob controls spikiness: the fraction of records that concentrate their norm on a single rare feature. The other controls scale heterogeneity across features. We also add a correlation knob to confirm the negative prediction that mixing does not remove the correlation penalty. The decisive check has two parts. First, the gain in test loss over plain DP-CD should track the measured drop in $\Phi$, normalized by column scale, across $b \in \{1, 4, 16, 64, 256\}$. Second, scale-sorted blocks should beat random blocks exactly when scale heterogeneity is high. If random blocks do as well, the key ingredient is unnecessary.

Dense tabular checks. On Electricity and California Housing, the benchmarks of Differentially Private Coordinate Descent for Composite Empirical Risk Minimization, the method must do no harm. Relative error should stay within noise of DP-CD, because these features are dense and have little spikiness.

Sparse workloads. On RCV1, News20, URL and KDDA from Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations, we run ridge-regularized logistic regression at $\epsilon \in \{0.1, 0.5, 1, 4\}$. For each run we report:

  • test accuracy and loss;
  • nonzeros and memory after mixing, as a function of $b$;
  • wall-clock time;
  • the measured $\Phi$ before and after mixing.

A positive outcome is a clear accuracy gain over plain DP-CD and DP-SGD at $\epsilon \le 0.5$ on at least the text datasets, reached at a $b$ where nonzeros grow by less than roughly an order of magnitude.

Limited LASSO test. A secondary experiment applies the mixing only to spiky, low-importance feature blocks inside the Frank-Wolfe pipeline. It reports both accuracy and support size in original coordinates, which is where we expect mixing to hurt interpretability.

What would falsify the proposal. The proposal fails if any of three things happens: gains fail to track $\Phi$; random blocks do as well as scale-sorted ones; or DP-SGD matches our method on sparse text.