Abstract
Ensuring the privacy of sensitive data used to train modern machine learning models is of paramount importance in many areas of practice. One approach to study these concerns is through the lens of differential privacy. In this framework, privacy guarantees are generally obtained by perturbing models in such a way that specifics of data used to train the model are made ambiguous. A particular instance of this approach is through a "teacher-student" framework, wherein the teacher, who owns the sensitive data, provides the student with useful, but noisy, information, hopefully allowing the student model to perform well on a given task without access to particular features of the sensitive data. Because stronger privacy guarantees generally involve more significant perturbation on the part of the teacher, deploying existing frameworks fundamentally involves a trade-off between student's performance and privacy guarantee. One of the most important techniques used in previous works involves an ensemble of teacher models, which return information to a student based on a noisy voting procedure. In this work, we propose a novel voting mechanism with smooth sensitivity, which we call Immutable Noisy ArgMax, that, under certain conditions, can bear very large random noising from the teacher without affecting the useful information transferred to the student. Compared with previous work, our approach improves over the state-of-the-art methods on all measures, and scale to larger tasks with both better performance and stronger privacy ($\epsilon \approx 0$). This new proposed framework can be applied with any machine learning models, and provides an appealing solution for tasks that requires training on a large amount of data.
Introduction
Training deep learning models on sensitive data, such as medical records or financial histories, presents significant privacy risks. Models can inadvertently "memorize" specific training examples, which malicious actors might later extract. Differential Privacy (DP) provides a rigorous mathematical framework to mitigate these risks by introducing controlled randomness into the training process.
A prominent strategy in DP is the "teacher-student" framework, exemplified by PATE. In this setup, sensitive data is partitioned among multiple "teacher" models. A "student" model is then trained on non-sensitive, unlabeled data by querying the ensemble of teachers. To preserve privacy, the aggregated votes from the teachers are perturbed with noise before being revealed to the student. However, traditional methods face a steep trade-off: high noise levels protect privacy but degrade utility, while low noise levels compromise privacy. Furthermore, scaling these methods to complex datasets remains a significant challenge.
The Near-Zero-Cost (NZC) Framework
This paper introduces the Near-Zero-Cost (NZC) framework, which overcomes the noise-utility trade-off through two primary innovations: the Immutable Noisy ArgMax (INA) mechanism and the application of Smooth Sensitivity.
In a standard voting setup, noise is added directly to the vote counts. In contrast, the INA mechanism adds a large constant $c$ to the class that received the plurality of votes before adding random noise. This effectively "locks in" the consensus; if $c$ is sufficiently large, even substantial random noise is unlikely to change the winning class (the ArgMax).
Complementing this is the use of Smooth Sensitivity. Unlike standard "Global Sensitivity," which assumes a worst-case scenario for any individual's data, Smooth Sensitivity is a data-dependent measure. It evaluates how sensitive a specific query is given the current dataset. By calibrating noise to this smoother measure, the privacy "leakage" per query can be reduced to near-zero levels, even over thousands of queries.
Experimental Evaluation
The NZC framework was evaluated on the MNIST and SVHN (Street View House Numbers) benchmark datasets. The results demonstrate that NZC consistently outperforms previous state-of-the-art methods like LNMax.
On the MNIST dataset, the NZC framework achieved 95.1% accuracy with a privacy cost of $\epsilon \approx 0$. This is a significant improvement over previous methods that reached lower accuracy (93.4%) with a much higher privacy budget ($\epsilon > 8.03$). On the more complex SVHN dataset, NZC reached 85.7% accuracy with $\epsilon \approx 0$.
A key advantage of the NZC framework is its efficiency with a small number of teachers. While previous methods required hundreds of teachers to maintain low privacy costs, NZC performs exceptionally well with as few as five teachers. This allows each teacher to be trained on a larger portion of the private data, resulting in more accurate individual models and a stronger overall consensus. For instance, using only five teachers on MNIST, the student model reached 97.8% accuracy, nearly matching the non-private ground truth of 98.1%.
Discussion and Future Work
The success of the NZC framework relies heavily on teacher consensus. The "immutability" provided by the constant $c$ is most effective when there is a clear winner among the teachers. In cases where votes are closely split, sensitivity increases, and the privacy cost per query may rise. Additionally, the framework requires careful tuning of hyperparameters, such as the constant $c$ and the smoothing parameter $\beta$.
Future research will focus on scaling this approach to even more complex, high-variance datasets like ImageNet. While the current results on digit recognition are promising, testing the "strong quorum" assumption in 1,000-class problems will be a critical next step for the widespread adoption of differentially private deep learning.
Summary updated