Classification with Partially Private Features

Zeyu Shen, Anilesh K. Krishnaswamy, Janardhan Kulkarni, Kamesh MunagalaarXiv 2023 · DOI

Introduction

In the era of big data, protecting individual privacy while maintaining the utility of machine learning models is a critical challenge. Differential Privacy (DP) has emerged as the gold standard for providing rigorous privacy guarantees. However, traditional DP applications often operate under an "all-or-nothing" assumption, treating every feature in a dataset as equally sensitive. In practice, many datasets are composed of both private information (e.g., medical history, income) and public information (e.g., age, zip code, or public records). Researchers from Duke University, Google, and Microsoft have recently introduced a novel approach to bridge this gap, focusing on classification with partially private features.

The Privacy Tax and the Boosting Challenge

Standard DP tools often impose a significant "privacy tax"—a degradation in model accuracy caused by the noise required to mask individual contributions. This is particularly problematic in two scenarios:

  1. The "All-or-Nothing" Assumption: When public features are treated as private, unnecessary noise is injected into the training process, masking signals that could have been learned "for free" without any privacy cost.
  2. The Complexity of Private Boosting: Ensemble methods like AdaBoost are powerful but difficult to privatize. Previous attempts required adding noise to both the data weights and the learner's accuracy estimates in every iteration. This "double noise" often results in models that perform no better than random guessing in practice.

Boosting with Random Classifiers (BRC)

To address these issues, the authors propose Boosting with Random Classifiers (BRC). BRC is a modified AdaBoost algorithm designed to exploit public features while protecting private ones with minimal noise.

The Hybrid Learner Approach

In each boosting iteration, BRC considers two types of weak learners:

  • Public Classifiers: These are trained using standard non-private methods on the subset of features designated as public. Since this data is already public, no noise is required during training.
  • Private Classifiers: Instead of training a model on private data—which would require significant noise—BRC generates classifiers randomly (e.g., random linear hyperplanes). Because these classifiers are generated independently of the private data, the generation process itself incurs zero privacy cost.

Privacy-Preserving Selection

The algorithm evaluates the error rates of both the public and the random private classifiers. To maintain DP, Laplace noise is added only to the error rate estimate of the private classifier. The algorithm then selects the learner that demonstrates the highest accuracy (the greatest deviation from 50% random guessing). To further limit the influence of any single individual, BRC employs weight clipping, ensuring that the sensitivity of the error calculation remains bounded.

Experimental Evaluation

The researchers evaluated BRC across several benchmark datasets, including the Adult Income dataset, Credit Card Default records, Sepsis Survival data, and Bank Marketing results.

The results demonstrate that BRC significantly outperforms traditional differentially private baselines:

  • Accuracy Recovery: On the Adult Income dataset, BRC achieved approximately 73% accuracy at a strict privacy budget (ε = 0.16), coming remarkably close to the non-private baseline of 75.75%.
  • Comparison with DP-Logistic Regression: BRC consistently outperformed DP-Logistic Regression, particularly in high-privacy regimes (low ε).
  • Superiority over PATE: BRC also showed faster accuracy gains compared to the Private Aggregation of Teacher Ensembles (PATE) framework as the privacy budget increased.

Why Randomness Works

The core insight of BRC is the mathematical robustness of AdaBoost. While a single random linear classifier is likely to be a "weak" learner, AdaBoost is specifically designed to aggregate many weak signals into a single "strong" ensemble. By generating a sufficient number of random candidates, the algorithm eventually finds ones that correlate slightly with the target label. Because the only private information used is the evaluation of these random learners (rather than their construction), the total noise injected is drastically reduced.

Limitations and Future Directions

While BRC represents a significant step forward, the authors note several areas for future work:

  • Model Complexity: The current implementation focuses on linear classifiers. Adapting the random boosting approach to non-linear models, such as decision trees or neural networks, remains an open challenge.
  • Label Privacy: The primary BRC algorithm assumes that the target labels are public. While the paper discusses extensions for private labels, achieving high empirical effectiveness in that setting is a priority for future research.
  • Hyperparameter Tuning: The performance of BRC is sensitive to the number of iterations and clipping constants. Developing automated, DP-compliant methods for hyperparameter optimization would make the algorithm more accessible for practical use.

Conclusion

Boosting with Random Classifiers (BRC) offers a pragmatic and theoretically sound solution for machine learning on mixed-sensitivity datasets. By leveraging public information and utilizing the inherent strengths of boosting to aggregate random private signals, BRC minimizes the "privacy tax" and provides a robust framework for high-accuracy, private classification.

Summary updated

BibTeX
@misc{shen2023classification,
  author = {Zeyu Shen and Anilesh K. Krishnaswamy and Janardhan Kulkarni and Kamesh Munagala},
  title = {{Classification with Partially Private Features}},
  year = {2023},
  eprint = {2312.07583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.07583},
}
Figure