Hyperparameter-free DP optimization (GeN-DP)
June 15, 2026 · View on GitHub
Implements HyFreeDP, a hyperparameter-free differentially private optimizer that sets its own learning rate via a privatized generalized-Newton step.
Standard DP training fixes a learning rate schedule by grid search, which is costly and itself leaks information through the data-dependent choice. HyFreeDP removes this by combining automatic per-sample gradient clipping with the generalized Newton (GeN) learning rate, adapted to DP. Each step privatizes both the gradient direction and a few loss probes along that direction; fitting a quadratic to the probed losses yields a privatized slope and curvature whose ratio is the learning rate. The direction can be passed through any base optimizer (momentum, Adam-style preconditioning, weight decay) as DP post-processing.
where are the per-sample gradient and loss, the gradient and loss clipping norms, the noise multipliers, the batch size, and Gaussian DP noise; is the privatized loss probed at offsets along , and the least-squares fit returns the privatized directional slope and curvature , giving the generalized-Newton step .
Reference: Zhiqi Bu, Ruixuan Liu, "Towards hyperparameter-free optimization with differential privacy", ICLR 2025. https://arxiv.org/abs/2503.00703