Multi-key Private Matching for Compute

Prasad Buddhavarapu, Benjamin M. Case, Logan Gore, Andrew Knox, Payman Mohassel, Shubho Sengupta, Erik Taubeneck, Min XueIACR ePrint 2021

Abstract

This paper introduces a privacy-preserving protocol designed to join datasets using multiple identifiers (e.g., email and phone number) rather than a single key. By extending the "Private-ID" framework with a deterministic ranked join logic and a novel private sharding technique, the authors enable secure, large-scale data matching. The protocol significantly improves match rates for messy real-world data while maintaining linear scalability and protecting sensitive user information under a semi-honest security model.

Introduction

In secure multi-party computation, Private Set Intersection (PSI) is a standard tool for finding common records between two parties without revealing non-overlapping data. However, traditional PSI protocols often rely on a single unique identifier. In practice, data is often fragmented; one party might have a user's email while another has their phone number. Matching on only one key leads to poor match rates and missed connections.

The complexity of multi-key matching where a single user in one party may link to multiple records in another via different identifiers.

The Multi-Key Challenge

Real-world data often creates "many-to-many" relationships when multiple identifiers are involved. As illustrated in Figure 1, a single user record in Party P might match different records in Party C through different keys. Standard PSI cannot resolve these overlaps into a clean one-to-one mapping efficiently. Furthermore, scaling these protocols to hundreds of millions of records introduces a "scalability wall," where naive sharding can leak private information about the intersection size of specific shards.

Methodology

The proposed protocol addresses these issues through two primary innovations built upon the Decisional Diffie-Hellman (DDH) assumption.

Deterministic Ranked Join

To handle complex many-to-many relationships, the protocol uses a "waterfall" or ranked matching logic. One party defines a priority for identifiers (e.g., "match on email first, then phone"). The system iteratively matches records based on this priority, collapsing complex connections into a single Universal Identifier (UID) mapping. This greedy approach avoids the massive computational overhead of global bipartite matching while remaining effective for most use cases.

Private Cross-Shard Shuffle

To achieve industry-scale performance, the authors developed a sharding technique using anonymous routing. This prevents any single server from linking a specific input record to a specific output shard. The process involves a two-round shuffle:

  1. Round 1: Sending servers partition their data and distribute it to intermediate nodes.
  2. Round 2: These intermediate nodes group, re-shuffle, and forward the data to the final receiving shards.
Overview of the multi-step private matching protocol, including exponentiation, shuffling, and mapping creation.

Evaluation and Results

The researchers evaluated the protocol using synthetic datasets with up to $10^7$ records per party. Key findings include:

  • Linear Scalability: Both execution time and network traffic scale linearly with the number of records and identifiers.
  • Performance Overhead: The multi-key protocol is approximately 3x slower than the single-key version. For example, matching 1 million records took 3 minutes and 52 seconds for multi-key versus 1 minute and 2 seconds for single-key.
  • Communication Efficiency: Despite the added complexity, communication costs remained similar to single-key variants. Interestingly, network traffic decreases as the intersection size increases, as matched records require less transport in later protocol stages.

Conclusion and Future Work

The multi-key private matching protocol provides a scalable solution for real-world data joining needs. While currently limited to semi-honest security and greedy matching logic, it represents a significant step toward practical, privacy-preserving data collaboration at massive scales. Future directions include exploring malicious security models and optimizing the sharding process for deployments exceeding 500 million records.

Summary updated

BibTeX
@article{buddhavarapu2021multi,
  author = {Prasad Buddhavarapu and Benjamin M. Case and Logan Gore and Andrew Knox and Payman Mohassel and Shubho Sengupta and Erik Taubeneck and Min Xue},
  title = {{Multi-key Private Matching for Compute}},
  journal = {IACR ePrint},
  year = {2021},
}
Figure