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

Prune to Protect: Faster Training and Enhanced Privacy by Dynamic Data Pruning

Chinmay Joshi, Advait Gadhikar, Celia Rubio-Madrigal, Aneet Kumar Dutta, Mridula Singh, Rebekka Burkholz

TL;DR

Researchers have discovered that dynamic data pruning—originally designed to speed up neural network training—can be repurposed to protect user privacy. By intelligently re-weighting "hard-to-learn" examples based on their pruning history, the proposed Weighted Loss InfoBatch (WLIB) method significantly reduces data memorization and membership inference risk without sacrificing model accuracy or training speed.

What Problem Does This Paper Address?

Deep neural networks are notorious "over-memorizers." They don't just learn general patterns; they often memorize specific details of individual training examples, especially the "hard" ones in the long tail of the data distribution. This creates a massive privacy loophole: Membership Inference Attacks (MIAs). An attacker can query a model and, based on its high confidence or low loss, determine with high certainty whether a specific individual's data was used to train it.

The standard solution for privacy is Differential Privacy (DP-SGD), but it comes with a heavy "tax"—it usually makes models significantly less accurate and much slower to train. This paper explores a different path: Can we use dynamic data pruning (skipping "easy" examples to save time) to also stop the model from memorizing the "hard" ones?

Methods

The authors build upon InfoBatch, a technique that calculates the loss for every sample and stochastically prunes (skips) "easy" low-loss samples to accelerate training. InfoBatch typically ends with an "annealing" phase where it trains on the full dataset to recover accuracy.

The authors' novel contribution is Weighted Loss InfoBatch (WLIB). They identified a "memorization surge" that happens during that final annealing phase. To stop this, WLIB tracks the cumulative pruning rate ($\rho$) for every sample—essentially a "hardness" score based on how often the sample was retained during the pruning phase.

In the final stage of training, WLIB applies a specific weighting to the loss function:

  • Hard samples (which were rarely pruned) are given lower weights. This prevents the model from obsessively memorizing them at the last minute.
  • Easy samples (which were frequently pruned) are given higher weights to ensure the model still learns the core distribution.

Datasets

The researchers evaluated WLIB across several standard computer vision benchmarks to ensure the results held up across different scales and architectures:

  • CIFAR-10 (using ResNet-20)
  • CIFAR-100 (using WideResNet-28-2)
  • ImageNet (using both ResNet-50 and the DeiT-Small transformer)

Key Insights and Ideas

  • The "Annealing Trap": The most surprising finding is that memorization isn't a steady climb; it’s a late-stage sprint. In InfoBatch, hard examples stay relatively "un-memorized" during the pruning phase because the gradients are noisy. The privacy risk only spikes when the model is shown the full dataset at the very end.
  • Pruning as a Regularizer: Counter-intuitively, showing the model only hard examples (during the pruning phase) actually makes it harder for the model to settle into the specific "loss valleys" required for memorization. Without the "easy" samples to provide a consistent gradient, the updates fluctuate too much to lock in specific tail examples.
  • History is a Better Proxy: Instead of just looking at a single snapshot of loss, using the history of how often a sample was pruned provides a much more stable signal of how "at risk" that sample is for privacy leakage.
  • Entropy is the Key: WLIB works by increasing the "predictive entropy" of hard examples. By making the model slightly less certain about these outliers, it weakens the signal that attackers use to identify members of the training set.

Key Results

WLIB manages to hit the "trifecta" of machine learning goals:

  1. Enhanced Privacy: On CIFAR-10, the True Positive Rate for membership inference (at a strict 1% False Positive Rate) dropped from 13.76% in standard training to just 4.58% with WLIB.
  2. Maintained Utility: Across all datasets, WLIB stayed within 0.1 to 0.5 percentage points of standard training accuracy. In some cases (CIFAR-100), it actually slightly outperformed standard training.
  3. Improved Efficiency: Because it inherits the pruning logic of InfoBatch, WLIB achieved roughly 35% data reduction and 20% wall-clock time savings compared to standard training.

Limitations and Future Work

While the results are promising, the authors note a few areas for further exploration:

  • Task Diversity: The current study is focused on image classification. It remains to be seen how WLIB performs on Large Language Models (LLMs) or generative tasks where memorization is an even more complex issue.
  • Hyperparameter Sensitivity: The method introduces a few new parameters (like the minimum weight clamp $\rho_{min}$). While the paper suggests these are robust, they may require tuning for niche datasets.
  • Not a Formal Guarantee: Unlike Differential Privacy, WLIB provides empirical privacy (it makes attacks harder) rather than a mathematical guarantee of privacy. It is a defense-in-depth strategy rather than a total replacement for formal privacy frameworks.

Summary updated

BibTeX
@inproceedings{joshi2026prune,
  author = {Chinmay Joshi and Advait Gadhikar and Celia Rubio-Madrigal and Aneet Kumar Dutta and Mridula Singh and Rebekka Burkholz},
  title = {{Prune to Protect: Faster Training and Enhanced Privacy by Dynamic Data Pruning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=aqIbhSL3JS},
}
Figure