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

Sparsity-Aware Privacy-Preserving Machine Learning

This direction is split into other directions: privacy-induced densification, sparse trapdoor decryption. Its last version stays readable and citable here.

Version 1 of 164 papers105 conceptsfrozen 2026-10-04

In modern machine learning, sparsity is the primary engine of scalability. Whether it is a recommendation system handling millions of items or a language model with billions of parameters, we rely on the fact that most features are zero and most neurons are inactive. However, when we introduce privacy-preserving techniques like Differential Privacy (DP) or Secure Multi-Party Computation (MPC), this efficiency often vanishes.

The core challenge is a "densification" paradox: to protect sensitive data, privacy mechanisms typically inject noise or randomize data structures. This process transforms compact, sparse matrices into dense, unmanageable blobs of noise, negating the computational benefits of sparsity. Recent research has focused on "sparsity-aware" protocols that maintain privacy without sacrificing the structural efficiency of the underlying data.

The Densification Problem

Standard privacy tools are structurally "blind." Consider two common approaches:

  1. Differential Privacy (DP): To satisfy DP, researchers often add Gaussian or Laplacian noise to gradients or model weights. As Amol Khanna, Edward Raff, and Fred Lu observe in Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations, this noise populates previously zero-valued coefficients. A model that was 99% sparse becomes 100% dense, exploding memory requirements and slowing down training by orders of magnitude.
  2. Secure Multi-Party Computation (MPC): In MPC, data is often split into "secret shares"—random-looking numbers that sum up to the original value. As Chaochao Chen and colleagues note in When Homomorphic Encryption Marries Secret Sharing, secret sharing effectively "randomizes" the sparsity pattern. If a server doesn't know which indices are zero, it must perform expensive cryptographic operations on every single dimension, leading to massive communication overhead.

Hybrid Cryptography: Marrying HE and Secret Sharing

To solve the MPC bottleneck, researchers have moved toward hybrid protocols. The intuition is that different cryptographic primitives have different strengths regarding sparsity.

In the CAESAR framework, Chaochao Chen and Jun Zhou combine Homomorphic Encryption (HE) with Secret Sharing (SS). HE allows a server to perform multiplications directly on encrypted data. Crucially, if one operand is a plaintext zero, the multiplication can be skipped entirely. By using HE for the initial sparse matrix-vector multiplications and then switching to SS for the rest of the training pipeline, CAESAR achieves a 130x speedup over pure secret-sharing methods.

Similarly, Guowen Xu and Tianwei Zhang demonstrate in New Secure Sparse Inner Product with Applications to Machine Learning that secure computation costs can be made proportional to the number of non-zero elements rather than the total vector dimension. They achieve this by focusing resources only on the intersection of active features while cryptographically hiding the locations of those features to prevent "sparsity pattern leakage."

Recovering Sparsity in Differential Privacy

In the realm of Differential Privacy, the goal is to produce a model that is both private and sparse. Amol Khanna and Edward Raff introduced the Sparsifier algorithm in Sparse Private LASSO Logistic Regression.

Instead of trying to maintain sparsity during the noisy training process, Sparsifier works in two stages:

  1. It privately estimates the optimal number of non-zero coefficients from a non-private baseline.
  2. It prunes the DP-trained (and therefore dense) model back down to that specific count.

This "prune-after-noise" approach ensures the final model retains the interpretability and efficiency of a standard LASSO model without violating the DP guarantee.

Structural Efficiency: Blocks and Predictions

For massive-scale systems like Large Language Models (LLMs) or global federated learning, coordinate-wise sparsity is often too granular to be efficient.

Block Sparsity: Hilal Asi, Vitaly Feldman, and Hannah Keller proposed PREAMBLE (Private and Efficient Aggregation of Block Sparse Vectors), which groups coordinates into fixed-size blocks. This structure allows cryptographic pseudo-random generators (PRGs) to operate in "counter mode," which is significantly faster than processing individual random coordinates. This block-level abstraction reduces communication by over 60x for large models.

Predictive Sparsity: In Comet: Accelerating Private Inference for Large Language Model by Predicting Activation Sparsity, Guang Yan and Xiaojun Chen take a different approach. They observe that LLM activations are naturally sparse. By using a small, non-private predictor to identify which neurons will likely output zero, the system can "obliviously skip" those calculations in the expensive MPC environment. To prevent the server from learning the sparsity pattern (which could leak information about the input text), they use an oblivious shuffle to randomize the order of activations before processing.

Conclusion

The research direction across these 58 papers suggests that privacy and efficiency are not inherently at odds. Instead, the "tax" we pay for privacy is often a result of using dense cryptographic tools on sparse data. By making protocols "sparsity-aware"—whether through hybrid encryption like CAESAR, post-processing like Sparsifier, or structural grouping like PREAMBLE—it is possible to build secure systems that scale to the dimensions of modern industrial data.

Papers in this version

Showing 60 of 64 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_sparsity_aware_privacy_preserving_machin_38e7b940,
  title = {Sparsity-Aware Privacy-Preserving Machine Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sparsity-aware-privacy-preserving-machine-learning/rdr_38e7b940116b402b9cf3a8e03c44af6b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_sparsity_aware_privacy_preserving_machin_38e7b940_v1,
  title = {Sparsity-Aware Privacy-Preserving Machine Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sparsity-aware-privacy-preserving-machine-learning/rdr_38e7b940116b402b9cf3a8e03c44af6b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}