PRIVDISTIL: A Unified Framework for Accurate and Differentially Private Model Compression

Zihao Wang, Weixian Li, Zhikun Zhang, XiaoFeng Wang, Michael Backes, Lichun Li, Shan Yin, Wei DongOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

PRIVDISTIL is a new framework that solves the "utility gap" in private model compression by reordering the training pipeline. By using a smart data selection strategy to perform knowledge distillation on public data instead of private data, it avoids the performance-degrading noise typically required by Differential Privacy, achieving a 3%+ accuracy boost over current state-of-the-art methods.

What Problem Does This Paper Address?

We want Large Language Models (LLMs) to run locally on our phones and embedded devices for better latency, lower costs, and improved privacy. However, LLMs are massive, and compressing them usually involves Knowledge Distillation (KD)—a process where a small "student" model learns to mimic a large "teacher" model.

When the training data is sensitive (like medical records or private chats), we must use Differential Privacy (DP) to ensure the model doesn't "leak" individual data points. The standard approach, DP-SGD, adds random noise to the training process to mask individual contributions.

The problem? Compressing a model under DP is a double-edged sword. You need DP for the initial fine-tuning of the large teacher and DP for the distillation process. This "double noise" injection often destroys the model's accuracy, making the resulting compressed model far less useful than its non-private counterparts.

Methods

The authors introduce PRIVDISTIL, which flips the traditional pipeline on its head. Instead of distilling on private data (which requires noise), they find public data that looks like the private data and distill there instead.

The framework follows a five-step process:

  1. Domain Classifier Training: They train a small binary classifier (using DP-SGD) to distinguish between public and private data. This tells the system which public samples are most relevant to the target task.
  2. Public Corpus Clustering: They group the public dataset into clusters based on the teacher model's embeddings to ensure the selected data isn't just relevant, but also diverse.
  3. Adjusted Importance Sampling (AIS): This is the "secret sauce." They pick samples from each cluster that the domain classifier identifies as highly similar to the private domain.
  4. Public Knowledge Distillation: The student model learns from the teacher using only the selected public samples. Because this data is public, no DP noise is required, allowing the student to learn much more effectively.
  5. Final DP Fine-tuning: The compressed student model is given a final "polish" by fine-tuning it on the actual private dataset using DP-SGD.

Datasets

  • Public Corpus: OpenWebText, a large-scale crawl of web content.
  • Private Tasks (Evaluation): Four major benchmarks from the GLUE (General Language Understanding Evaluation) suite:
  • MNLI (Natural Language Inference)
    • QNLI (Question Answering/Entailment)
    • QQP (Quora Question Pairs)
    • SST-2 (Sentiment Analysis)

Key Insights and Ideas

  • Reversing the Pipeline: The biggest "aha moment" is moving the heavy lifting of compression to the public domain. By doing the distillation publicly, the authors only pay the "privacy tax" (noise) on a small domain classifier and a final fine-tuning step, rather than the entire distillation process.
  • Data Quality > Data Quantity: Interestingly, the paper finds that using the entire public dataset for distillation is actually worse than using a carefully curated subset. A smaller, high-quality dataset that matches the private domain's distribution leads to better generalization.
  • Large Models Struggle with DP: The authors note that larger models are often harder to train under DP than smaller ones. By compressing the model before the final private fine-tuning, they ensure the DP-SGD step happens on a smaller, more stable architecture.

Key Results

  • Accuracy Gains: Under a strict privacy budget ($\epsilon = 1$), PRIVDISTIL outperformed the previous state-of-the-art (DPKD) by an average of 3.1% across GLUE tasks.
  • Closing the Gap: On the SST-2 dataset ($\epsilon = 4$), PRIVDISTIL narrowed the performance gap between private and non-private training from 8.6% (previous SOTA) to just 2.1%.
  • Efficiency: The framework successfully compressed BERT-base into a student model that is 1.97x faster and BERT-large into one that is 3.77x faster, with minimal loss in private utility.

Limitations and Future Work

  • Public Data Dependency: The framework relies on the existence of a public corpus that has some overlap with the private domain. For extremely niche tasks (e.g., rare medical conditions), finding relevant public data might be impossible.
  • Synthetic Data as a Solution: The authors suggest that in cases where no public data exists, a DP-protected generative model (like a diffusion model) could be trained on the private data to create synthetic "public" data for the distillation step.
  • Expanding Scope: Future work includes combining PRIVDISTIL with other compression techniques like pruning and quantization, and testing the framework in the computer vision domain, where finding matching public/private data is significantly harder than in text.

Summary updated

Abstract

Privacy has emerged as a paramount concern in the development and deployment of language models. While over-parameterized models deliver exceptional performance, their deployment on resource-constrained devices (such as mobile or embedded systems) remains challenging. Model compression techniques are widely adopted to address this, yet they introduce additional privacy risks. Although differential privacy (DP) provides rigorous theoretical safeguards against data leakage, the noise injection required during compression often severely degrades model utility. Balancing high performance with strong privacy guarantees in compressed models thus remains a critical open challenge. In this work, we introduce Privdistil, a DP-aware model compression framework that redesigns the compression pipeline to preserve utility while protecting sensitive data. Privdistil begins by training a domain classifier via DP-SGD on a hybrid dataset of public and private samples, thereby identifying public data most aligned with the private domain. It then performs model compression exclusively on these selected public samples, followed by fine-tuning the compressed model on the private dataset using DP-SGD. By shifting the compression burden to public data, Privdistil minimizes noise requirements and boosts training stability. Extensive experiments show that Privdistil consistently surpasses state-of-the-art DP compression methods across diverse datasets and architectures, delivering an average accuracy gain of over 3\% on GLUE benchmarks under a strict privacy budget of $\varepsilon = 1$.
BibTeX
@misc{wang2026privdistil,
  author = {Zihao Wang and Weixian Li and Zhikun Zhang and XiaoFeng Wang and Michael Backes and Lichun Li and Shan Yin and Wei Dong},
  title = {{PRIVDISTIL: A Unified Framework for Accurate and Differentially Private Model Compression}},
  year = {2026},
  url = {https://openreview.net/forum?id=jQrafTCmUI},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure