Abstract
Topic modeling on sensitive datasets requires robust privacy guarantees to prevent the leakage of individual information. This paper presents a practical approach to Latent Dirichlet Allocation (LDA) using Differential Privacy (DP). By leveraging the "moments accountant" for tighter privacy loss tracking and norm clipping for sensitivity control, the authors achieve high-utility models on large-scale data without the prohibitive noise levels associated with standard composition methods.
Introduction
Standard topic modeling algorithms like Latent Dirichlet Allocation (LDA) are prone to memorizing specific details from training documents, posing a significant risk when datasets contain sensitive information such as medical records or private communications. Differential Privacy (DP) offers a mathematical framework to mitigate this risk by adding noise to the algorithm. However, applying DP to iterative methods like Variational Inference (VI) typically results in a rapid depletion of the "privacy budget," leading to excessive noise and poor model utility. This work addresses the challenge of maintaining model performance while providing strict DP guarantees.
Methodology
The proposed approach, Private Stochastic Variational Inference, is designed for the Conjugate-Exponential (CE) family of models. It relies on three primary innovations:
- Perturbing Sufficient Statistics: Privacy is achieved by adding Gaussian noise specifically to the expected sufficient statistics calculated during the E-step of the Variational Inference loop. This ensures that the global parameter updates in the M-step are privatized.
- The Moments Accountant (MA): Traditional DP composition rules often overestimate privacy loss. The authors employ the Moments Accountant technique, which provides a much tighter bound on cumulative privacy loss over multiple iterations. This allows for more training steps with significantly less additive noise compared to standard "strong composition."
- Sensitivity Control via Norm Clipping: To calibrate the noise level, the sensitivity of the sufficient statistics must be bounded. The authors implement a norm clipping strategy where document contributions exceeding a certain threshold are scaled down, keeping the required noise manageable.
Experimental Evaluation
The algorithm was evaluated using a random sample of 400,000 documents from Wikipedia, with a vocabulary of approximately 8,000 terms and a target of 50 topics. Model performance was measured using Perplexity, which quantifies how well the model predicts held-out data.
Results
The quantitative results highlight the critical role of the Moments Accountant in preserving model utility. As shown in Figure 1, the MA approach consistently achieves lower perplexity than the Strong Composition baseline across various privacy budgets (epsilon).
The data also demonstrates that larger mini-batch sizes ($S$) generally lead to better performance within the same privacy budget, benefiting from the "privacy amplification" inherent in stochastic sampling.
Qualitative Analysis
Beyond quantitative metrics, the semantic coherence of the discovered topics is a vital measure of success. Table 1 compares the top words for selected topics across different methods.
While the Strong Composition method produces noisy and less coherent word lists, the Moments Accountant (at $\epsilon = 2.44$) generates topics that are remarkably similar to the non-private baseline. For instance, Topic 35 clearly identifies a "transportation" theme with words like "station," "line," and "railway," maintaining high probability scores.
Discussion and Conclusion
This research demonstrates that differentially private Bayesian inference is viable for large-scale applications. The Moments Accountant serves as an enabling technology, allowing for a favorable trade-off between privacy and utility. Future work may involve automating hyperparameter selection (such as the clipping threshold) within a fully private framework and further investigating the bias introduced by norm clipping. The success on the 400,000-document Wikipedia dataset suggests that these methods are ready for real-world "big data" challenges where privacy is paramount.
Summary updated