Learning Rate Adaptation for Differentially Private Learning

Antti Koskela, Antti Honkela

Introduction

Training machine learning models requires careful tuning of hyperparameters, most notably the learning rate. In standard settings, this involves multiple experiments and validation set checks. However, under Differential Privacy (DP), every access to training or validation data consumes a finite privacy budget ($\epsilon$). Spending this budget on hyperparameter tuning leaves less for actual training, creating a significant bottleneck for private machine learning.

In "Learning Rate Adaptation for Differentially Private Learning," Koskela and Honkela introduce ADADP, an algorithm that adapts the learning rate dynamically during a single training run, bypassing the need for privacy-draining validation sets.

The ADADP Algorithm

ADADP leverages numerical extrapolation techniques typically used for solving ordinary differential equations (ODEs). The core mechanism involves a "two-step" check at each iteration:

  1. Step Comparison: The algorithm calculates the next model state using one full step of size $\eta$ and two half-steps of size $\eta/2$.
  2. Error Estimation: The difference between these two paths provides a local error estimate. If the error is too high, the learning rate is reduced and the step may be discarded; if it is low, the rate can be increased.
  3. Privacy Preservation: Because the adaptation logic operates on gradients that have already been noised for DP-SGD, the adaptation itself does not incur additional privacy loss beyond the gradient computations.

Experimental Results

The authors evaluated ADADP on MNIST and CIFAR-10 datasets. A key finding is that ADADP is competitive with "oracle" tuning—where the learning rate is perfectly hand-tuned via extensive grid search.

Test accuracy on CIFAR-10 for ADADP vs. manually tuned Adam.

As shown in the CIFAR-10 results, ADADP (solid lines) consistently matches or exceeds the performance of the best-tuned Adam baseline (dashed lines) across different noise levels ($\sigma$). While standard optimizers fail if the initial learning rate is poorly chosen, ADADP's robustness allows it to find the optimal rate automatically.

Efficiency and Privacy Budget

Beyond accuracy, ADADP offers a massive advantage in computational and privacy efficiency. Traditional private hyperparameter selection methods require running many independent simulations to find the best settings.

Efficiency of ADADP compared to private selection methods.

The efficiency analysis illustrates that ADADP achieves high test accuracy with essentially zero additional simulations, whereas private selection methods require dozens or even hundreds of runs to reach similar performance levels. This makes ADADP a much more practical choice for real-world private learning tasks.

Conclusion

ADADP bridges the gap between numerical analysis and private optimization. By automating learning rate selection without extra privacy costs, it simplifies the deployment of DP-SGD. Future work may extend this extrapolation logic to other sensitive hyperparameters like clipping thresholds and batch sizes, further moving toward "plug-and-play" private deep learning.

Summary updated

BibTeX
@inproceedings{koskela2020learning,
  author = {Antti Koskela and Antti Honkela},
  title = {{Learning Rate Adaptation for Differentially Private Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure