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

Differential Secrecy for Distributed Data and Applications to Robust Differentially Secure Vector Summation

Kunal Talwar

In the world of Federated Learning (FL), we often face a "trust but verify" dilemma. We want to sum up gradients from thousands of user devices without seeing their individual data (privacy), but we also need to ensure no single malicious user is sending a massive, "poisoned" vector that ruins the entire model (integrity).

Traditional tools like Secure Multiparty Computation (SMC) provide perfect privacy but struggle with efficient integrity checks. In this paper, Kunal Talwar from Apple proposes a clever workaround: Differential Secrecy. By relaxing the requirement of "perfect" secrecy to a "differentially private" level of leakage, we can build protocols that are faster, lighter, and much more robust.

TL;DR

This paper introduces "Differential Secrecy," a relaxation of cryptographic secrecy that allows for highly efficient, poisoning-robust vector summation. By using random projections and Gaussian noise, the proposed protocol enables servers to verify that client contributions are bounded in norm with significantly less communication overhead than existing state-of-the-art methods like PRIO.

What Problem Does This Paper Address?

The core challenge is Robust Private Summation.

In private federated learning, a server needs to compute the sum of vectors (like model gradients) held by clients. To protect privacy, we use SMC so the server only sees the final sum, not individual inputs. However, this creates a massive security hole: a malicious client can submit a vector with an astronomical norm. Because the inputs are hidden by the protocol, this "poisoning" goes undetected and can completely derail the learning process.

Existing solutions like PRIO solve this by having clients produce a "proof" that their vector is valid (e.g., has a small norm). But these proofs are computationally expensive for the client and require the protocol to operate over large finite fields. This leads to high communication costs—often 32 to 128 bits per coordinate—which is a dealbreaker for high-dimensional models on mobile devices.

Methods

The author's key innovation is moving away from the rigid constraints of standard cryptography toward a more flexible, DP-inspired framework.

  1. Differential Secrecy / DZK: The paper defines Differentially Zero Knowledge (DZK). Instead of promising that a transcript leaks zero information, it promises that the leakage is bounded by $(\epsilon, \delta)$, much like Differential Privacy.
  2. Secret Sharing over Reals: Unlike standard SMC which uses finite fields, this protocol works directly with real numbers or integers. Clients split their vectors into "shares" and add a small amount of Gaussian noise.
  3. Random Projections for Norm Verification: To check if a vector's norm is $\le 1$ without seeing the vector, the servers use a random projection matrix ($W$). They project the high-dimensional secret-shared vector into a much lower $k$-dimensional space.
  4. Server-Side Verification: The heavy lifting of verification happens between the servers. They exchange low-dimensional projected shares to estimate the original vector's norm. If the estimate exceeds a threshold $\tau$, the contribution is rejected.

Datasets

This is a theoretical and algorithmic paper; it does not perform evaluations on specific empirical datasets (like MNIST or CIFAR). Instead, it provides mathematical proofs for completeness, soundness, and privacy guarantees.

Key Insights and Ideas

  • The "How" vs. the "What": In DP, we usually care about the privacy of the output (the "What"). This paper applies DP logic to the protocol itself (the "How"). If the protocol leaks a negligible amount of info, we can use much simpler math.
  • Dimension Independence: By using the Johnson-Lindenstrauss lemma (random projections), the cost of verifying a vector's norm becomes largely independent of the vector's actual dimension $d$. This is a huge win for massive neural networks.
  • Zero Client Overhead: In this protocol, the client does almost no extra work for the integrity check. They just secret-share their vector as usual. The "proof" of bounded norm is essentially reconstructed by the servers using the random projections.
  • Compression Friendly: Because the protocol works over reals/integers, the shares can be rounded or truncated. This allows for aggressive quantization (e.g., 8-bit or 16-bit coordinates) without breaking the underlying cryptographic logic.

Key Results

  • Communication Efficiency: The paper suggests that while PRIO might require 32-128 bits per coordinate, this approach can function with just 8 or 16 bits per coordinate.
  • Robustness Guarantee: The protocol achieves a robustness factor $\rho$. It guarantees that any vector passing the check has a norm not much larger than 1 (specifically $\rho = 1 + O(|S|\sigma_v^2 \sqrt{\lambda})$), effectively capping the influence of malicious actors.
  • Privacy: The protocol is $(\epsilon, \delta)$-DZK against any subset of servers, provided at least one server is honest.

Limitations and Future Work

  • Approximate Verification: The norm check is not exact. There is a small probability ($\beta$) that a valid vector is rejected or a slightly over-norm vector is accepted.
  • Trust Assumption: The protocol still relies on the "at least one honest server" assumption. If all servers collude, privacy is lost.
  • Gap Reduction: The author notes that the "gap" between the target norm (1) and the rejection threshold ($\rho$) could be further tightened in future work.
  • Broadening Applications: A natural next step is applying "Differential Secrecy" to other complex cryptographic tasks beyond simple summation.

Summary updated

BibTeX
@inproceedings{talwar2022differential,
  author = {Kunal Talwar},
  title = {{Differential Secrecy for Distributed Data and Applications to Robust Differentially Secure Vector Summation}},
  booktitle = {FORC},
  year = {2022},
  doi = {10.4230/lipics.forc.2022.7},
}

Loading related content...

Figure