# US 2025/0211445 A1 · Private-set intersection of unbalanced datasets

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211445 A1
- Document ID: US20250211445A1
- Status: Published application
- Kind: A1
- Application number: 18/848,288
- Filed: 2023-03-21
- Published: 2025-06-26
- Earliest claimed: 2022-03-28
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Saikrishna Badrinarayanan; Sourav Das; Gayathri Annapurna Garimella; Srinivasan Raghuraman; Peter Byerley Rindal
- Web page: https://patentgrep.com/patent/US20250211445A1

## CPC

- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- H04L 9/008: {involving homomorphic encryption}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Private set intersection (PSI) protocols can be efficiently performed for sets of disparate sizes. A server can compute an array, such as an inverted Bloom filter or cuckoo hash table, that represents the content of the server set. A client can query the array, e.g., using a private information retrieval (PIR) protocol, to obtain information that enables the client to determine whether a particular element of the client's set is also in the server's set. By repeating the query for each element of the client's set, the client can learn the intersection.

## Claims

### Claim 1

A method performed by a server computer system, the method comprising:
preparing, based on a server dataset having a plurality of elements, an array having a plurality of array locations, wherein preparing the array includes, for each element in the server data set:
executing a first oblivious pseudorandom function (OPRF) process with the server computer system as initiator and a client computer system as responder to generate an encrypted element:
computing at least three hash values using at least three hash functions; and
updating one or more of the array locations based on the hash values using cuckoo hashing;
receiving from the client computer system, using a private information retrieval (PIR) protocol, a request to retrieve data from a plurality of the array locations corresponding to a plurality of encrypted hash values corresponding to an element of a client dataset, wherein the encrypted hash values were generated using the second OPRF process and the at least three hash functions;
computing, using the PIR protocol, a PIR response based on the array and the encrypted hash values; and
transmitting the PIR response to the client computer system using the PIR protocol,
wherein the PIR response is usable by the client computer system to determine whether the element of the client dataset is also in the server dataset.

### Claim 2 (depends on 1)

The method of claim 1 wherein the PIR protocol supports batch requests and wherein all of the encrypted hash values corresponding to the element of the client dataset are requested in a single request.

### Claim 3 (depends on 1)

The method of claim 1 wherein the array is populated using cuckoo hashing with at least three hash functions.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
prior to receiving the request from the client computer system, executing a second OPRF process with the client computer system to generate an encrypted element corresponding to an element in the client dataset, wherein the client computer system initiates the second OPRF process.

### Claim 6

A server computer system comprising:
a communication interface configured to communicate with a client computer system;
a memory to store a first set that is private to the server computer system; and
a processor coupled to the memory and configured to:
prepare, based on a server dataset having a plurality of elements, an array having a plurality of array locations, wherein preparing the array includes, for each element in the server data set:
computing a plurality of hash values using a plurality of hash functions; and
updating one or more of the array locations based on the hash values;
receiving from a client computer system, using a private information retrieval (PIR) protocol that provides additive homomorphic encryption, a request to retrieve data from a plurality of the array locations corresponding to a plurality of encrypted hash values corresponding to an element of a client dataset;
compute, using the PIR protocol, a PIR response based on the array and the encrypted hash values, wherein computing the PIR response includes:
retrieving a plurality of encrypted elements from the array using the PIR protocol; and
computing a sum of the encrypted elements; and
transmit the PIR response to the client computer system using the PIR protocol,
wherein the PIR response is usable by the client computer system to determine whether the element of the client dataset is also in the server dataset.

### Claim 7 (depends on 6)

The server computer system of claim 6 wherein the array is an inverted Bloom filter for the server dataset.

### Claim 8

(canceled)

### Claim 9 (depends on 7)

The server computer system of claim 7 wherein the processor is further configured such that transmitting the PIR response includes transmitting the sum.

### Claim 10 (depends on 7)

The server computer system of claim 7 wherein the processor is further configured such that:
computing the PIR response further includes computing a product of the sum multiplied by a random scaling factor; and
transmitting the PIR response includes transmitting the product.

### Claim 11

A method performed by a client computer system, the method comprising:
selecting an element from a client dataset having one or more elements;
computing a plurality of hash values from the element of the client dataset using a plurality of hash functions;
sending to a server computer system, using a private information retrieval (PIR) protocol, a request to retrieve, from an array stored by the server computer system, a plurality of array elements at locations defined by the plurality of hash values, wherein the array represents a server dataset and the array is either an inverted Bloom filter or a cuckoo hash table;
receiving from the server computer system, a PIR response based on the plurality of retrieved array elements; and
determining, based on the PIR response, whether the element of the client dataset is also in the server dataset.

### Claim 12 (depends on 11)

The method of claim 11 wherein the only information the client computer system learns about the server data set is whether the element of the client dataset is in the server dataset.

### Claim 13 (depends on 11)

The method of claim 11 wherein the PIR protocol supports batch requests and wherein all of the hash values computed from the element are included in a single request.

### Claim 14 (depends on 11)

The method of claim 11 wherein the array stored by the server computer system is an inverted Bloom filter and wherein the PIR response includes a plurality of encrypted Bloom filter values.

### Claim 15 (depends on 14)

The method of claim 14 wherein determining whether the element of the client dataset is also in the server dataset includes:
computing a sum of the Bloom filter values;
determining that the element of the client dataset is also in the server dataset in the event that the sum is zero; and
determining that the element of the client dataset is not in the server dataset in the event that the sum is different from zero.

### Claim 16 (depends on 11)

The method of claim 11 wherein the array stored by the server computer system is an inverted Bloom filter, wherein the PIR protocol uses additive homomorphic encryption, and wherein the PIR response includes a sum of a plurality of encrypted Bloom filter values retrieved by the server computer system in response to the PIR request.

### Claim 17 (depends on 16)

The method of claim 16 wherein determining whether the element of the client dataset is also in the server dataset includes:
determining that the element of the client dataset is also in the server dataset in the event that the sum is zero; and
determining that the element of the client dataset is not in the server dataset in the event that the sum is different from zero.

### Claim 18 (depends on 11)

The method of claim 11 wherein the array stored by the server computer system is a cuckoo hash table wherein the array elements store encrypted versions of the elements of the server dataset and wherein the PIR response includes a plurality of values representing entries at locations in the cuckoo hash table that correspond to the hash values sent to the server computer system.

### Claim 19 (depends on 18)

The method of claim 18 further comprising:
prior to sending the request to the server computer system, performing an oblivious pseudorandom function (OPRF) protocol with the server computer system to generate an encrypted server element corresponding to each element in the server dataset, wherein the server computer system initiates the OPRF protocol; and
prior to sending the request to the server computer system, performing the OPRF protocol with the server computer system to generate an encrypted client element corresponding to the selected element from the client dataset, wherein the client computer system initiates the OPRF protocol,
wherein the hash values are computed from the encrypted client element.

### Claim 20 (depends on 11)

The method of claim 11 wherein the array stored by the server computer system is an inverted Bloom filter and wherein the PIR response includes a value that is zero in the event that each of the plurality of hash values matched an entry in the inverted Bloom filter and nonzero in the event that at least one of the plurality of hash values did not match an entry in the inverted Bloom filter.
