SlaClip: the slack left by clipping can steer DP-SGD's clipping threshold
DP-SGD[1] makes training private by clipping every per-sample gradient to a threshold C and adding Gaussian noise scaled to C. Accuracy depends heavily on C, and the right C changes as training goes on. SlaClip adapts C using the slack that clipping leaves unused, the gap between C and each gradient's norm, and releases it inside the Gaussian release DP-SGD already makes, so no additional private query is needed.
The figures below build the idea one piece at a time. Colour means the same thing in all of them:
Labels followed by a small dot • and terms with a dotted underline carry a note. Hover over them, or tap. Bars, slots and noise bands without a dot carry notes too. In Figure 8 every cell carries a note.
1. One threshold, two ways to fail
Why does a fixed clipping threshold hurt DP-SGD?
Clipping bounds what one example can change, and the noise is proportional to C. A threshold that is too low truncates informative gradients; one that is too high lets noise dominate the update; and gradient norms keep moving during training (Fig. 1).
Clip. Each bar is one example's gradient norm ‖g‖. Every gradient longer than C is scaled down to length C; the grey, dashed part is cut away, which biases the update.
Add noise. The clipped gradients are averaged and Gaussian noise with standard deviation σC/B is added, where σ is the noise multiplier and B the batch size. The noise grows with C.
C too small. Almost every gradient is cut, so little of the batch's gradient survives clipping: informative gradients are truncated.
C too large. Nothing is cut, but the noise, which scales with C, now outweighs the gradient that is kept.
Norms drift. Later in training the norms shrink. The same C that cut most gradients now cuts almost none and leaves a wide unused margin, the slack. The paper's Figure 5 shows this on MNIST.
2. Adapting C has had a price
What do existing adaptive methods add to DP-SGD?
Earlier adaptive methods fall into two lines. One privately measures gradient-norm statistics with an additional query[2][3]; the other avoids the query but changes how gradients are processed[4][5]. The paper asks whether C can adapt inside the vanilla release (Fig. 2).
Vanilla. Per-sample gradients are clipped at a fixed threshold C (the grey part is cut away), averaged, and released once with Gaussian noise. The accountant charges one release per step; C never moves.
Extra query. Adap-Clip[2] releases a private count of clipped samples, DC-SGD[3] a private estimate of the norm distribution. That second release has its own noise and its own charge, so the same budget means more noise or a split budget.
Changed gradients. AutoClip[4] normalises each gradient; GeoClip[5] clips and adds noise in a transformed space. No extra query, but the update itself changes, and Table 4 of the paper lists both as needing pretraining for different datasets.
SlaClip. The gradient part is the vanilla one; slack coordinates (red) are appended to the same vector and released with it. One release, one charge, and Ct still adapts.
3. Slack fits inside the clipping ball
Why can extra coordinates ride in the same release?
The Gaussian mechanism’s privacy cost depends on the query’s ℓ2 sensitivity and the noise multiplier, not on how many coordinates are released (Theorem 3.1)[6]. So coordinates can be appended as long as every extended gradient still has norm at most Ct. Slack is exactly the room that is left (Fig. 3).
Clipping ball. Clipping keeps every per-sample gradient within radius Ct: a long one is cut back to the rim (grey excess). A short gradient g stays inside, and the gap from its tip to the rim is its slack, Ct − ‖g‖.
Lift the slack. The slack becomes a coordinate of its own: it stands on the tip of g, along the new axis. The extended gradient g+ = [g ; slack] ends there, inside the ball.
Every norm fits. Whatever the length of g, the tip of g+ lands on the chord from the pole to the rim, inside the ball. A clipped gradient has no slack and stays on the rim.
Same sensitivity. So ‖g+‖ ≤ Ct for every sample (Lemma 3.2), the sensitivity stays Ct/B, and the same noise multiplier σ and accountant apply. The Gaussian RDP bound per release does not depend on K.
4. Slack coordinates read out a CDF
How does slack become a picture of the gradient norms?
SlaClip appends K coordinates to each clipped gradient and fills them with that sample's slack, one coordinate after another, each capped at λ = Ct/√K. Averaged over the batch, coordinate k becomes the share of gradients whose norm lies below the k-th bin under Ct: a binned CDF (Fig. 4).
Slack. Under the threshold Ct each gradient leaves a margin, its slack Ct − ‖g‖ (red). The two clipped samples have none.
Encode one. The sample's slack is poured into K = 5 extra coordinates, coordinate 1 first, each up to λ = Ct/√K. For ‖g‖ = 0.35 Ct it fills coordinates 1 to 3 and a quarter of 4: the slack drops into the bins it spans.
Aggregate. DP-SGD averages the extended gradients over the batch. Coordinate k becomes the share of samples whose norm lies below bin k, averaged over the bin: 0.69, 0.56, 0.41, 0.28 and 0.09, in units of λ.
Noise, normalise. The Gaussian noise that protects the gradient also lands on the slack coordinates; dividing by λ gives the Slack Indicator ŝt. Without noise, each slot is the staircase of the empirical CDF averaged over its bin.
5. Two coordinates steer the threshold
How does the indicator move C?
After noise and division by λ, the released coordinates are the Slack Indicator ŝt. SlaClip reads two of them: the first, next to the threshold, and the last, next to zero (Fig. 5).
Near threshold. The first coordinate, ŝt,1 = 0.69, averages the CDF over the bin next to Ct: roughly the share of the batch that was not clipped.
Fixed target. Adap-Clip[2] compares that share with a target γ = 0.5, the median; SlaClip with this fixed target is called SlaClip-Q. Here 0.69 > 0.5, so with step size η = 0.2 the threshold shrinks to 0.963 Ct. Below the target it would grow.
Near zero. The last coordinate, ŝt,K = 0.09, measures gradients near zero, which contribute little beyond the noise. SlaClip raises the target with it, to γt = 0.55.
Update. With the raised target the threshold shrinks less, to 0.972 Ct, and that threshold clips the batch of iteration t + 1.
6. The indicator in real training
Does the released signal look like this in practice?
Figure 6 shows indicator profiles released during CIFAR-10 training with K = 40, one minibatch per epoch.
7. Choosing the number of coordinates
How fine can the indicator be before noise wins?
K is the only hyperparameter SlaClip adds. More coordinates give finer bins, but each normalised coordinate carries noise of standard deviation σ√K/B. The paper keeps the 99% noise half-width under half the spacing between adjacent slots, which bounds K from B and σ alone (Fig. 7).
Finer. More coordinates mean narrower bins: at K = 20 the slots follow the CDF much more closely than at K = 5.
Noisier. Each normalised coordinate carries noise of standard deviation σ√K/B; the amber band is its 99% half-width for B = 256 and σ = 1. At K = 5 it stays well within 1/(2K); at K = 20 it does not, and neighbouring slots can swap order.
The rule. Keeping the 99% half-width within 1/(2K) bounds K by B and σ alone. Larger batches allow more coordinates: from 8.51 at B = 128 to 54.06 at B = 2048, with σ = 1.
8. Accuracy at matched privacy budgets
Does it beat the baselines at the same privacy budget?
The main comparison tunes every method over the same hyperparameter pool, selects on validation accuracy, and retrains with three seeds, at matched privacy budgets on five datasets (Fig. 8).
Baselines. Test accuracy (%) of Vanilla-Clip[1], Adap-Clip[2], DC-SGD-E[3] and AutoClip[4], for five datasets at three privacy budgets ε each.
SlaClip-Q. The ablation: SlaClip’s single release, but the threshold follows only the first indicator coordinate towards a fixed target of 0.5, as Adap-Clip does.
SlaClip. The full method, which also uses the near-zero coordinate of the indicator (the update of Fig. 5).
Best per row. The paper’s own marks: heavy outline and bold number for the best private result, thin outline for the second. SlaClip is best in 12 of the 15 settings and second in the other 3; Non-DP is the reference without privacy.
SlaClip is a single-release, plug-and-play adaptive clipping method: it works entirely within the standard DP-SGD release, with no additional private query and no added optimisation component, and it improves utility over existing baselines in most settings. The authors note that it currently uses only the most informative Slack Indicator coordinates, and that it can be applied per layer through layer-wise indicators.
References
- Abadi et al. Deep learning with differential privacy. CCS 2016.
- Andrew et al. Differentially private learning with adaptive clipping. NeurIPS 2021.
- Wei et al. DC-SGD: Differentially private SGD with dynamic clipping through gradient norm distribution estimation. IEEE TIFS 2025.
- Bu et al. Automatic clipping: Differentially private deep learning made easier and stronger. NeurIPS 2023.
- Gilani et al. GeoClip: Geometry-aware clipping for differentially private SGD. NeurIPS 2025.
- Mironov. Rényi differential privacy. CSF 2017.
Reading notes on “SlaClip: Gradient Norm Slacks can be Indicator for Adaptive Clipping in DP-SGD” by Zou, Wang, Zhu, Li, Dong, Sassone and Wu (ICML 2026, PMLR 306). Figures 1 to 5 and the first two steps of Figure 7 use invented examples or schematics; the bars of Figure 7 come from Table 3 and Figure 8 from Table 1 of the paper; Figure 6 is the paper's Figure 3, reproduced unchanged. The drawn figures are reading notes, not the authors' own figures.