Abstract
Identifying the most frequent items across distributed datasets is a critical task for collaborative security and medical research. However, existing solutions often compromise user anonymity or incur prohibitive computational costs. This paper introduces a novel cryptographic protocol for private top-k aggregation that leverages a commutative "double encryption" construction. By enabling frequency counting on blinded data, the protocol ensures that neither unselected items nor contributor identities are revealed. We demonstrate that our approach significantly reduces round complexity compared to prior decentralized methods and offers a semi-decentralized variant with constant round complexity.
Introduction
In many collaborative environments—such as network sensors identifying top security threats or medical researchers finding common symptoms—there is a need to find the "top-k" most frequent items across a group. However, two major privacy hurdles exist: data privacy (hiding items that did not make the top-k list) and user privacy (ensuring contributor unlinkability).
Existing solutions, such as Secure Multi-Party Computation (SMC), are often too computationally expensive for large datasets. Other protocols require a "threshold" frequency to be set in advance, which is difficult to estimate without prior data exposure. This paper proposes a decentralized, efficient way to find the top k items directly without these drawbacks.
Methodology
The core innovation of this work is a Double Encryption construction. The authors define a deterministic function $E$ that commutes with a standard public-key encryption scheme (like ElGamal), such that $Enc(E(a)) = E(Enc(a))$.
Protocol Steps
- Initial Encryption: Each user encrypts their local dataset using a threshold ElGamal scheme.
- Shuffling & Blinding: The encrypted data is passed through a relay of users. Each user shuffles the list and applies a second layer of encryption (the power function $E_s(\alpha) = \alpha^s \pmod p$).
- Frequency Counting: Because the double encryption is commutative and deterministic, participants can perform a partial decryption to reveal "blinded" versions of the items. They can count occurrences of each blinded item without knowing the underlying data.
- Selective Revelation: Only the top k blinded items are fully decrypted at the end; all other data remains hidden.
Comparative Analysis
The protocol is designed for scenarios where the number of users ($n$) is relatively small, but the size of their datasets ($k$) is large. Its $O(n^2k)$ complexity represents a significant improvement over Yao’s garbled circuits for this specific use case.
As shown in the table above, the proposed fully decentralized protocol achieves a round complexity of $O(n)$, a substantial improvement over the $O(n(n + k \log k) \log p)$ complexity of prior decentralized frameworks like the BD protocol ([6]). Furthermore, the semi-decentralized variant achieves constant round complexity ($O(1)$), addressing a major bottleneck in decentralized systems where network latency can cause significant delays.
Conclusion
This work demonstrates that commutativity can serve as a powerful privacy shield, allowing for efficient aggregation without data exposure. The protocol is provably secure in the semi-honest model, ensuring that as long as at least one user is honest, privacy is maintained. Future work will focus on integrating zero-knowledge proofs (ZKPs) to protect against malicious actors and exploring broadcast-based shuffling to further optimize performance in diverse network topologies.
Summary updated