NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Importance of Architecture and Feature Selection in Differentially Private Machine Learning

Wenxuan Bao, Luke A. Bauer, Vincent BindschaedlerarXiv 2022 · DOI

Abstract

Differentially private machine learning (DPML) often suffers from a significant utility gap compared to non-private counterparts. This paper challenges the standard practice of using state-of-the-art architectures as "drop-in" replacements for private training. We demonstrate that because differential privacy noise scales with model complexity, simpler models with fewer parameters and features often outperform complex ones under strict privacy guarantees. We introduce a Privacy-Aware Workflow (PAW) that optimizes architecture and feature selection for specific privacy budgets, achieving superior accuracy with significantly fewer parameters.

The "Simpler is Better" Paradox

In standard machine learning, the prevailing wisdom is that larger models with more parameters generally yield better performance. However, when applying Differential Privacy (DP), this relationship is inverted. The "standard workflow" (STW) typically involves taking a high-performing non-private architecture and simply replacing the optimizer with a private variant like DP-SGD.

The authors argue this is a fundamental mistake. DP works by adding noise to gradients to mask individual data points. The magnitude of this noise is directly tied to the model's complexity—specifically the number of trainable parameters. In the private regime, extra parameters act as "noise magnets," leading to a performance collapse where a complex model's utility falls below that of a much simpler one.

The Complexity Penalty

As shown below, while non-private accuracy (SGD) continues to rise with model size, the accuracy of the private model (DP-SGD) peaks early and then significantly declines as more parameters are added.

Accuracy vs. model size for DP-SGD and standard SGD. While non-private accuracy increases with parameters, private accuracy peaks and then declines due to the 'noise magnet' effect.

To address this, the researchers propose a Privacy-Aware Workflow (PAW) that treats the architecture and feature set as hyperparameters dependent on the privacy budget ($\epsilon$).

Crossover Epsilon ($\epsilon^\times$)

They define a "crossover point" where the benefit of a complex model's capacity is finally outweighed by the cost of the noise required to keep it private. If the available privacy budget is below this threshold ($\epsilon < \epsilon^\times$), a simpler model is mathematically and empirically superior.

PAAS and PAFS

The paper introduces two search algorithms:

  • PAAS (Privacy-Aware Architecture Search): A genetic algorithm that searches for neural architectures while explicitly accounting for the "privacy cost" in its fitness function.
  • PAFS (Privacy-Aware Feature Selection): Algorithms designed to find the optimal subset of features. They prove that for linear models, adding a feature only helps if its predictive power exceeds the added distortion from DP noise.

Random Weights Training (RWT)

A key technique explored is freezing the majority of a deep network's layers with random initializations and only training the final layers privately. This drastically reduces the number of "trainable" parameters, effectively "taming" complex models for private use.

Key Results

The empirical evaluation across computer vision (CIFAR-10, MNIST), tabular (Adult, Purchase-100), and text datasets confirms that PAW consistently outperforms the standard workflow.

Comparison of Standard (STW) and Privacy-Aware (PAW) workflows. PAW consistently identifies models with fewer parameters that achieve higher accuracy under DP.
  • Parameter Efficiency: PAW discovered models with 3x to 32x fewer parameters that outperformed standard "drop-in" models.
  • Accuracy Gains: On CIFAR-10, the PAW-discovered architecture provided a 3.54% absolute increase in accuracy over the standard complex model for the same privacy budget.
  • FCNs can beat CNNs: On MNIST, a tiny Fully Connected Network (FCN) with only ~9,600 parameters outperformed a much more complex Convolutional Neural Network (CNN) when trained with a strict privacy budget ($\epsilon = 1.09$).
  • Feature Selection Impact: For the Adult dataset at $\epsilon = 0.1$, using just the 5 "best" features yielded ~78% accuracy, while using all 108 features dropped accuracy to ~70%.

Discussion and Future Work

The findings suggest that the "gap" between private and non-private performance is not a constant tax but a function of architectural choices. One major nuance discovered is that DP-SGD often requires significantly higher learning rates (10x-100x) than standard SGD.

While PAW offers significant gains, the search process itself (PAAS/PAFS) can consume a privacy budget if performed on sensitive data. Future work should explore "meta-privacy" costs and the potential of private transfer learning—fine-tuning public pre-trained models—as a way to leverage complex architectures without the full noise penalty.

Summary updated

BibTeX
@misc{bao2022importance,
  author = {Wenxuan Bao and Luke A. Bauer and Vincent Bindschaedler},
  title = {{On the Importance of Architecture and Feature Selection in Differentially Private Machine Learning}},
  year = {2022},
  eprint = {2205.06720},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.06720},
}
Figure