English

A Closer Look at the Calibration of Differentially Private Learners

Machine Learning 2022-11-16 v2

Abstract

We systematically study the calibration of classifiers trained with differentially private stochastic gradient descent (DP-SGD) and observe miscalibration across a wide range of vision and language tasks. Our analysis identifies per-example gradient clipping in DP-SGD as a major cause of miscalibration, and we show that existing approaches for improving calibration with differential privacy only provide marginal improvements in calibration error while occasionally causing large degradations in accuracy. As a solution, we show that differentially private variants of post-processing calibration methods such as temperature scaling and Platt scaling are surprisingly effective and have negligible utility cost to the overall model. Across 7 tasks, temperature scaling and Platt scaling with DP-SGD result in an average 3.1-fold reduction in the in-domain expected calibration error and only incur at most a minor percent drop in accuracy.

Keywords

Cite

@article{arxiv.2210.08248,
  title  = {A Closer Look at the Calibration of Differentially Private Learners},
  author = {Hanlin Zhang and Xuechen Li and Prithviraj Sen and Salim Roukos and Tatsunori Hashimoto},
  journal= {arXiv preprint arXiv:2210.08248},
  year   = {2022}
}

Comments

NeurIPS 2022 Workshop on Algorithmic Fairness through the Lens of Causality and Privacy