TL;DR
This paper introduces a new Private Set Intersection (PSI) protocol that achieves record-breaking online speeds by shifting heavy cryptographic lifting to an offline phase. By reducing equality comparisons to simple field operations using precomputed "OLE tuples," the authors achieve an online phase that is up to 14.6x faster than current state-of-the-art methods for large datasets.
What Problem Does This Paper Address?
Private Set Intersection (PSI) allows two parties (e.g., Google and Mastercard) to find common elements in their datasets without revealing anything else. While PSI is already used in industry for things like ad conversion tracking, we have reached a point of diminishing returns: current protocols are already asymptotically optimal.
To get faster, researchers must now focus on reducing the "constants"—the actual number of operations performed per element. Many existing protocols still require symmetric-key or public-key operations during the "online" phase (when the actual data is compared). This paper tackles the challenge of making the online phase as "thin" as possible, ideally consisting only of basic arithmetic.
Methods
The authors propose a protocol that splits into an offline phase (precomputing correlated randomness) and an online phase (processing the actual inputs).
The Core: OLE-based Comparison
The breakthrough is reducing equality comparison to Oblivious Linear Evaluation (OLE). In the online phase, Alice and Bob use precomputed random values ($r_A, s_A$ for Alice; $r_B, s_B$ for Bob) that satisfy the relation $r_A \cdot r_B = s_A + s_B$. To compare Alice's $x$ and Bob's $y$:
- Alice sends a masked version of her hashed input: $c = s_A - H(x)$.
- Bob computes $d = (c + H(y) + s_B) / r_B$ and sends it back.
- Alice checks if $d = r_A$. If it matches, $x = y$.
This online phase requires only four field operations (one multiplication and three additions) per comparison, which is incredibly lightweight.
Hashing and Optimization
To avoid comparing every pair of elements ($O(n^2)$), they use a standard hashing-to-bins approach:
- Alice uses Cuckoo Hashing to ensure each bin has at most one element.
- Bob uses Simple Hashing, placing his elements into all possible bins Alice might have used.
- Permutation-based hashing is used to shrink the bit-length of the values being compared, further reducing communication costs.
- Batching: They optimize the OLE tuples so that Alice can reuse a single $s_A$ value to compare one of her elements against multiple potential matches from Bob, significantly cutting down Alice's message size.
Datasets
The authors evaluated their protocol using synthetic datasets of varying sizes to test scalability:
- Sizes: $2^{20}$ (1 million), $2^{22}$ (4 million), $2^{24}$ (16 million), and $2^{26}$ (67 million) elements.
- Element length: 32-bit strings (common for applications like phone numbers or IPv4 addresses).
- Environment: Tested across different network speeds (10 MBit/s to 5 GBit/s) and cloud environments (Microsoft Azure).
Key Insights and Ideas
- Arithmetic over Cryptography: By moving all "expensive" crypto (like Oblivious Transfer or Homomorphic Encryption) to the offline phase, the online phase becomes a simple arithmetic exercise.
- Trust Flexibility: The offline phase isn't tied to one specific technology. The authors show it can be implemented using Lattice-Based Encryption (LBE), standard Oblivious Transfer (OT), Trusted Execution Environments (Intel SGX), or even a Trusted Third Party (the "dealer model").
- The Power of Constants: While the protocol's complexity is $O(n \log n / \log \log n)$, the extremely low constant factor makes it practically faster than $O(n)$ protocols (like VOLE-PSI) in many real-world network scenarios.
Key Results
The protocol's performance shines as the dataset size grows:
- Online Speedup: On a dataset of 16 million elements, the online phase is 2.4x to 3.5x faster than the work of Kolesnikov et al. (KKRT16) and 1.2x to 14.6x faster than VOLE-PSI (RS21).
- Communication Efficiency: For large sets ($n=2^{24}$), the online communication cost is lower than both KKRT16 and VOLE-PSI.
- Total Time: If using a hardware-assisted offline phase (Intel SGX), the total time (offline + online) is significantly lower than any purely cryptographic competitor. If using purely cryptographic offline methods (LBE), the total time is competitive but slower than the fastest online-only protocols.
Limitations and Future Work
- Offline Cost: While the online phase is lightning-fast, the offline phase using purely cryptographic assumptions (like OT or LBE) can be quite heavy in terms of computation and communication.
- Semi-Honest Security: The current protocol is proven secure in the semi-honest model (where parties follow the rules but try to learn extra info). While the authors mention it can be compiled into a maliciously secure version, they leave the detailed implementation and evaluation of a malicious-model version for future work.
- Memory Constraints: The use of large hash tables and OLE tuples requires significant memory, which could be a bottleneck for extremely large datasets on resource-constrained hardware.
Summary updated