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

Sparsity and Privacy in Secret Sharing: A Fundamental Trade-Off

Rawad Bitar, Maximilian Egger, Antonia Wachter-Zeh, Marvin Xhemrishi

TL;DR

This paper uncovers a fundamental trade-off in distributed computing: you can have perfect privacy or you can have sparse data, but you can't have both. By relaxing the requirement for perfect information-theoretic privacy, the authors design "sparse secret sharing" schemes that allow distributed matrix multiplication to remain computationally efficient while keeping data leakage to a provable minimum.

What Problem Does This Paper Address?

In modern machine learning, we often need to multiply massive matrices. Because these computations are too heavy for a single machine, we offload them to a network of "worker" nodes. However, two major hurdles arise:

  1. Privacy: The data is often sensitive, so we use Secret Sharing (like Shamir’s scheme) to split the data into "shares" that tell a worker nothing about the original input.
  2. Efficiency: Many real-world matrices are sparse (mostly zeros). Sparse computations are significantly faster and require less memory.

The catch? Standard secret sharing schemes "mix" the private data with random noise, which completely destroys sparsity. Every share becomes a dense matrix, negating the speed benefits of the original sparse data. The authors ask: Can we design secret sharing schemes that produce sparse shares without giving away the farm?

Methods

The authors approach this by defining a new framework for Sparse Secret Sharing.

  • The Trade-off Proof: They first prove mathematically that if you demand perfect information-theoretic privacy (zero leakage), your shares must be dense. To keep shares sparse, you must accept a non-zero amount of information leakage ($\epsilon$).
  • Sparse One-Time Pad (Construction 1): For the simplest case (two shares), they propose generating a "padding" matrix $R$ that is statistically dependent on the private matrix $A$. By carefully choosing the probability distribution of $R$ based on whether an entry in $A$ is zero or non-zero, they can ensure the resulting shares ($R$ and $A+R$) remain sparse.
  • Sparse Polynomial Encoding (Construction 2): They generalize this to $n$ shares using a polynomial approach ($f(x) = A + xR$). This allows the system to handle stragglers—workers that are slow or fail—because the original result can be reconstructed from any subset of successful workers.
  • Optimization: They formulate and solve a convex optimization problem to find the exact probability distributions that result in the minimum possible leakage for a target level of sparsity.

Datasets

As a theoretical work in information theory and coding, the paper does not use standard external datasets (like ImageNet). Instead, it relies on:

  • Synthetic i.i.d. Sparse Matrices: The authors evaluate their schemes using matrices where entries are independent and identically distributed (i.i.d.) with a fixed probability of being zero.
  • Correlated Matrices: In Section VIII, they use a synthetic matrix with a "face" pattern (Fig. 4) to demonstrate how their scheme handles non-i.i.d. data through random permutations (shuffling).

Key Insights and Ideas

  • The "Aha" Moment on Privacy: The authors show that privacy isn't binary. By allowing a tiny, quantifiable amount of "leakage," you can unlock massive gains in computational speed. This shifts the goal from "perfect privacy" to "optimal privacy for a given speed."
  • Dependent Noise: Traditionally, noise in secret sharing is independent of the data. The core innovation here is making the noise dependent on the data's structure. If the data has a zero at a certain position, the noise is more likely to have a zero there too.
  • Clustered Workers: The paper introduces a clever "hybrid" model. If you have some workers you trust more than others, you can send perfectly private (but dense) tasks to the untrusted ones and sparse (but slightly leaky) tasks to the partially trusted ones.
  • Shuffling as a Shield: For matrices where zeros aren't random (like an image), the authors suggest randomly permuting the rows and columns before sharing. This "breaks" the spatial correlation, making the data look i.i.d. and preventing workers from exploiting the matrix's structure to learn more than the allowed $\epsilon$.

Key Results

  • Fundamental Bound: The authors derived a closed-form polynomial that defines the optimal sparsity-privacy frontier.
  • Leakage vs. Sparsity: In their simulations (e.g., for a field size $q=89$ and sparsity 0.9), they showed that increasing the number of shares $n$ increases the leakage, but this effect diminishes as the field size $q$ grows.
  • Straggler Tolerance: The schemes successfully reconstruct the product $AB$ even if several workers fail, maintaining the "fault-tolerant" nature of distributed computing while preserving sparsity.
  • Visual Proof: Figure 4 in the paper visually demonstrates that while a naive sparse share might look like the original data, applying their random permutation technique effectively "scrambles" the information while maintaining the zero-count.

Limitations and Future Work

  • The i.i.d. Assumption: Most of the mathematical proofs assume matrix entries are independent. While shuffling helps mitigate this, a formal information-theoretic proof for highly structured data remains an open challenge.
  • Collusion ($z > 1$): The general optimal construction is primarily focused on the "no-collusion" regime (where workers don't talk to each other). Extending the optimal sparse encoding to scenarios where many untrusted workers collaborate is a suggested next step.
  • Computational Overhead of Encoding: While the worker computation is faster due to sparsity, the main node must perform the encoding and shuffling. Future work could investigate if this pre-processing cost outweighs the distributed savings for smaller matrices.

Summary updated

BibTeX
@article{bitar2024sparsity,
  author = {Rawad Bitar and Maximilian Egger and Antonia Wachter-Zeh and Marvin Xhemrishi},
  title = {{Sparsity and Privacy in Secret Sharing: A Fundamental Trade-Off}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2024},
  url = {https://openreview.net/forum?id=TlDSuiwXEn},
}
Figure