Abstract
While tremendous progress has been made towards achieving highly efficient and practical Private Set Intersection (PSI) protocols during the last decade, the development of post-quantum PSI is still far from satisfactory. Existing post-quantum PSI protocols encounter a dilemma: while those based on fully homomorphic encryption (FHE) achieve low online communication, they suffer from significant online computation; conversely, protocols based on post-quantum Oblivious Pseudorandom Functions (OPRFs) exhibit excellent online computational performance but incur substantially high online communication. To overcome this dilemma, we present a lattice-based PSI protocol that achieves optimal online performance in both communication and computation. Our solution introduces two core innovations: a robust signal comparison algorithm based on RLWE key exchange, which determines the intersection through signal consistency rather than direct shared key comparison, and an optimized Oblivious Key–Value Stores (OKVS) implementation featuring a composite key–value mapping for efficient handling of high-dimensional RLWE polynomials. We implement the protocol and conduct extensive benchmarks in both symmetric and asymmetric set-size settings. The results show that our construction achieves the lowest online overhead in both computation and communication among all tests. For example, with asymmetric set sizes , the online phase requires only s, yielding and improvements over FHE-based (CCS’21) and OPRF-based (EUROCRYPT’25) protocols, respectively. Even at , our online communication time is only 0.201 s, which is and that of FHE-based and OPRF-based PSI, respectively. Additionally, our online communication overhead is the lowest in all tests; however, this comes at the cost of heavy offline communication overhead for very large set sizes, revealing a clear trade-off between pre-computation and online efficiency. This work addresses a critical gap in post-quantum PSI by delivering a protocol that achieves balanced online communication and computational overhead, thereby enabling broader practical deployment.
1. Introduction
Private Set Intersection (PSI) protocols are one of the commonly used two-party secure computation primitives, which enables two parties (i.e., a receiver and a sender), each of whom has a set (respectively, X and Y), to privately learn the intersection without disclosing additional information to the other party. This unique capability positions PSI as an ideal tool for facilitating data collaboration in privacy sensitive environments [1,2,3]. Over the years, PSI has found numerous applications in practice, including private contact discovery [4,5], online advertising [6,7], and privacy-preserving contact tracing for infectious diseases [8,9], among others. Due to its wide applications, tremendous progress has been made towards realizing PSI efficiently [10,11,12,13,14,15].
Given that the security of most widely used PSI protocols mostly relies on assumptions of classical number-theoretic hard problems, such as the discrete logarithm and integer factorization problems, which underpin the security of their core building blocks like Oblivious Transfer (OT) and Oblivious Pseudorandom Functions (OPRFs), it gives us confidence in the protocols’ security nowadays. However, the rapid advancement of quantum computing technology has posed a significant challenge to the underlying hardness assumptions, and it is expected that Diffie–Hellman (DH) assumptions for elliptic curves can be broken by a quantum computer. This is not only a future threat since protocol transcripts collected today can be recorded and saved until a quantum computer is available, then decrypted in a Harvest Now, Decrypt Later attack [16,17]. Motivated by these concerns, alongside conventional security and performance considerations, the development and deployment of PSI protocols resilient to quantum attacks have become an essential research problem.
The problem of constructing post-quantum-based PSI protocols has been studied extensively in the literature. Debnath et al. [18] proposed a two-party Private Set Intersection cardinality (PSI-CA) protocol based on the hardness of the learning-with-errors problem, which achieves linear computational and communication complexity of the size of the inputs, i.e., , where and are the set sizes of the sender and receiver, respectively. Follow-up work [19] proposed a lattice-based multi-party PSI protocol under a star topology, achieving linear complexity of the input set size. Recently, Abudaqa et al. [20] presented instantiations of PSI from prominent post-quantum key encapsulation mechanisms, i.e., Crystals-Kyber and Classic-McEliece. While their Kyber-based PSI protocol which utilizes the multiplicative homomorphic property, requires 2681.22 KB of communication and 228.1 ms to compute an intersection on two sets with 700 elements each, their McEliece-based protocol that uses additive homomorphism in conjunction with a bloom filter data structure requires 1515.11 KB of communication and 19.70 ms of running time. As Abudaqa et al. [20] pointed out, the Kyber-based PSI will suffer from prohibitive computational and communication overhead when a large number of items are involved in the multiplication operation, which significantly limits its scalability in practice, while the McEliece-based PSI demonstrates better efficiency in performance but raises fundamental concerns regarding its security.
Chen et al. [2] proposed an efficient PSI protocol leveraging fully homomorphic encryption (FHE), which works particularly well when the receiver’s set is significantly smaller than the sender’s. It achieves communication complexity linear in the size of the smaller set, and logarithmic in the larger set. Chen et al. [2] strategically decoupled the protocol into a pre-processing phase that can be performed entirely offline without involving the counterpart and an efficient online phase. During pre-processing, the sender with the larger set locally performs computationally intensive tasks, such as hashing its set and pre-computing polynomial coefficients. During the online phase, the receiver encrypts each of its items y and sends ciphertexts to the sender. For each y, the sender then evaluates homomorphically the product of differences of y with all of the sender’s items x, randomizes the product by multiplying it with a uniformly random non-zero plaintext, and sends the result back to the receiver. The result decrypts to zero precisely when y is in the sender’s set, and to a uniformly random non-zero plaintext otherwise, revealing no information about the sender’s set to the receiver. To intersect a large set of size with a much smaller set , the FHE-based PSI [2] protocol requires an online running time of 44.7 s and a communication cost of 23.2 MB. Later, Chen et al. [21] used an Oblivious Pseudorandom Function (OPRF) pre-processing phase to significantly improve the performance of FHE-based PSI over [2], which achieves an online running time of 20.1 s and online communication cost of 41.48 MB when computing intersections on sets with size and . The follow-up work of Cong et al. [22] goes a step further to promote the efficiency of FHE-based PSI, and yields a protocol with better computation cost, requiring only homomorphic multiplications, and communication complexity sublinear in the larger set size. For intersecting and 11041 item sets, their FHE-based PSI protocol reduces the online communication overhead by 71% over [21] (from 41.48 MB to 11.87 MB). Notice that an significant advantage of the FHE-based PSI is that it has zero communication overhead during the offline phase; however, its primary drawback lies in the substantial computational overhead and latency introduced by the intensive homomorphic operations required during the online phase, which remains a critical bottleneck for real-time applications.
Recently, Heimberger et al. [23] proposed a post-quantum OPRF protocol (called LEAP) based on a lattice-based PRF. By incorporating LEAP with the OPRF-based PSI framework proposed by Kiss et al. [24], Heimberger et al. [23] also achieved a post-quantum PSI protocol in the context of unbalanced settings, resulting in a highly efficient implementation. Their PSI protocol based on LEAP follows a two-phase structure. In the offline phase, the sender pre-processes its large set by computing PRF values and constructing a Cuckoo filter. During the online phase, the sender and receiver interact to evaluate the OPRF for each element in the receiver’s set, after which the receiver performs a local filter lookup to identify the intersection. This architecture effectively offloads the majority of the computational load to the sender, thereby optimizing the receiver’s online efficiency. For instance, with parameters targeting an intersection of sets of sizes and , the entire online phase takes approximately 90 s and incurs a total communication cost of about 722 MB. The outstanding online computation time of the LEAP-based PSI comes at the cost of high communication overhead.
Concurrently, Heimberger et al. [25] proposed an isogeny-based OPRF (called OPUS), and instantiated Kiss et al.’s PSI framework using OPUS to achieve a post-quantum PSI protocol. However, OPUS-based PSI has significantly higher computational and communication overhead compared to LEAP-based PSI. For instance, in a balanced PSI scenario with set sizes , the computational latency of OPUS-based PSI becomes substantial, with the total online running time exceeding 16,000 s and the communication overhead increasing to approximately 53 MB.
The practical deployment of existing post-quantum PSI protocols is currently hindered by a performance gap where no protocol achieves high efficiency in both communication and computation. On one hand, FHE-based PSI protocols achieve low online communication, yet they suffer from significant online computation. On the other hand, post-quantum OPRF-based PSI protocols exhibit excellent online computational performance but incur substantially high online communication. Such a dilemma makes us ask following question:
Can we design a post-quantum PSI protocol that achieves optimal online communication and computational overhead simultaneously?
In this paper, we aim to design a post-quantum PSI protocol that achieves optimal online efficiency. Our primary objective is to minimize the online computation and communication overhead while ensuring robust security against quantum attacks. The target protocol is designed to deliver exceptional online performance across both balanced and unbalanced scenarios, handling set sizes ranging from small () to large (). We anticipate that our work will not only bridge the current gap in high-performance post-quantum PSI design but also create new opportunities for the widespread application of privacy-preserving technologies in the quantum era.
1.1. Contributions
In this paper, we make positive progress towards addressing the above question by presenting a lattice-based PSI protocol that demonstrates ultra online performance. By shifting the majority of computational operations to the offline phase, we significantly minimize both online computation and communication overhead while maintaining efficient offline performance. In our proposed PSI protocol, we introduce a robust signal comparison algorithm (). Unlike traditional Diffie–Hellman (DH)-based PSI, which compares shared keys, our PSI protocol determines the intersection by comparing signal consistency, while preserving the structural elegance of its DH-based counterparts. Furthermore, we optimize the Oblivious Key–Value Stores (OKVS) implementation from [26] with a dedicated composite key–value mapping for high-dimensional polynomials. This enhancement enables efficient polynomial encoding/decoding, facilitating high-performance storage and single-query retrieval of polynomials, which is crucial for our PSI protocol’s efficiency.
Our PSI protocol delivers the lowest online running time among compared protocols, which only relies on the size of the receiver’s set . In the asymmetric setting, regardless of whether is small or large, for ours the online time remains between and s for . The results in the large-scale set size () scenario highlight this gap, at , where ours achieves speedups of and that of FHE-based [22] and post-quantum OPRF-based [23] PSI protocols, respectively.
Our PSI incurs the lowest and constant online communication which only depends on . In the asymmetric setting, for ours the online communication is a constant MB for . Compared with FHE-based and post-quantum OPRF-based PSI, the communication overhead is reduced by up to and , respectively.
The key reason of our protocol outperforming the state-of-the-art lies in the fact that the dominant communication overhead of our online phase is bounded by the receiver’s set size which is significantly smaller than the sender’s. As a result, the online communication is nearly independent of the sender’s set size and remains close to constant. In addition, the signal comparison algorithm used to determine the intersection in the online phase only requires lightweight bitwise operations that scale with , thereby enabling extremely low online computation for our post quantum PSI protocol.
Overall, our PSI has ultra online performance, with the lowest online time and online communication overhead among all the comparison experiments.
We note that the online performance gain is accompanied with higher offline communication costs. Nevertheless, for small and medium-size datasets (e.g., ) the total communication of our protocol remains the lowest. For large datasets (e.g., ), the offline communication is much heavier compared to the others.
1.2. Related Work
Existing research on PSI can be divided into two main categories. One is classical constructions, which use public keys and symmetric cryptography. The other is post-quantum constructions, which are instantiated based on assumptions related to Learning with Errors (LWE), Ring Learning with Errors (RLWE), or learning parity with noise (LPN).
1.2.1. Classical PSI
The design of the PSI protocol is highly dependent on the relationship between the set sizes of the two participating parties. Accordingly, its technical approach can be clearly divided into two main strands: balanced PSI and unbalanced PSI. There are significant differences between the two in terms of design objectives, technical selections, and optimization strategies.
In balanced PSI, it is assumed that the sizes of the two parties’ sets are on the same order of magnitude (). The core objective is to minimize the total overhead of the protocol execution (both computational cost and communication cost), that is, to seek the optimal asymptotic complexity with respect to n.
Public-key-based PSI. The PSI protocol based on the Diffie–Hellman key exchange was initially proposed by Meadows [27] and later refined for practical systems by Huberman et al. [28]. Its core idea is to exploit the commutativity property of DH key exchange, enabling intersecting elements to yield identical values after being encrypted by both parties. Freedman et al. [29] introduced a polynomial-based method, encoding sets as polynomial roots and using oblivious evaluation to find intersections. Kissner and Song [30] later generalized this with polynomial homomorphic encryption for broader set operations. Additionally, RSA blind signature technology can be utilized, where [31] transforms the comparison of sets into the comparison of blind signature results.
OT Extension and OPRF-based PSI. A pivotal advancement in practical balanced PSI came with the adoption of the Oblivious Transfer (OT) extension [10], which efficiently transforms a limited number of costly public-key operations into a large volume of low-cost symmetric-key operations. In the OPRF-PSI framework, the server computes tags for its elements using a secret key, while the client securely retrieves tags for its own elements via OT without disclosing them. Pinkas, Schneider, and Zohner [30] conducted a comprehensive analysis of OT extension-based PSI, comparing it favorably with alternative approaches and spurring its widespread adoption. The PSI protocol in [11] later marked a significant milestone by introducing an efficient batch OPRF construction, setting a new performance benchmark for balanced PSI with its remarkably low communication overhead and high computational efficiency. Further enhancements included permutation-based hashing by Pinkas, Schneider, and Zohner [32] to minimize collisions, along with subsequent refinements such as faster OPRF implementations [33] and additional optimizations in communication and computation costs via a simple-OT-based OPRF [34].
Circuit-based PSI. Huang et al. in 2012 [35] utilized Yao’s garbled circuits to construct a sorting-comparison-shuffling circuit, enabling secure set intersection under the semi-honest model. However, this approach incurred substantial circuit size and communication overhead. Subsequently, Pinkas et al. [32] introduced permutation hashing techniques, significantly reducing computational costs. In 2018, they further adopted two-dimensional cuckoo hashing [36], bringing computational and communication overheads close to linear complexity. In 2019, by integrating Oblivious Programmable Pseudorandom Functions (OPPRF), they achieved the first circuit protocol with linear communication complexity [37]. Chandran et al. [38] further optimized the approach using batched OPPRFs, making progress in achieving linear computational and communication complexity.
In an unbalanced PSI scenario, the sizes of the two parties’ sets vary greatly, requiring specialized protocol design to reduce the computational burden on the resource-constrained party.
OT/OPRF-based PSI. The work of [12] was groundbreaking, introducing the OT extension paradigm that shifted computational asymmetry to the server side, achieving linear complexity relative to the larger set size and enabling practical deployments where clients with small datasets could interact efficiently with servers holding large amounts of records. Later, OT/OPRF-based schemes incorporating hashing-to-bins emerged as the mainstream approach. This is attributed to their linear encoders and minimal public key cost on the critical path as demonstrated in studies such as [3,10,11,13]. Resende and Aranha [39] proposed a protocol in which the sender applies an Oblivious Pseudorandom Function (OPRF) to the receiver’s set Y. To reduce communication overhead, the sender compresses before transmitting it. However, this compression scales linearly with the size of the larger set. Kiss et al. [24] proposed another protocol following a similar framework, differing primarily in the implementation of the OPRF and the compression strategy. Resende and Aranha [39] uses a Diffie–Hellman-based OPRF, while Kiss et al. [24] uses oblivious evaluation of the AES function using garbled circuits. This modification makes local OPRF evaluation more efficient at the sender but at the expense of higher communication and computational costs at the receiver.
OKVS-based PSI. A significant advancement came with the utilization of Oblivious Key–Value Stores (OKVS). The foundational work of [40] demonstrated how a specific OKVS construction (PaXoS) could be leveraged to create fast PSI protocols, even in the malicious security model. This was subsequently amplified and formalized by [41], who provided a comprehensive study of OKVS and showed how they can be used to amplify PSI protocols, leading to improved communication complexity. The work of [42] pioneered this direction, constructing a fast OPRF and circuit-PSI from VOLE, which inherently utilizes an OKVS-like structure. This synergy was further optimized by [15], who achieved blazing-fast PSI rates by employing improved OKVS constructions and subfield Vector Oblivious Linear Evaluation (VOLE), marking a state-of-the-art performance.
1.2.2. Post-Quantum PSI
Post-quantum unbalanced PSI faces the challenge of maintaining the client efficiency advantages of classical approaches while incorporating quantum-resistant cryptographic primitives that typically involve larger parameters and more expensive operations.
FHE-based PSI. Chen et al. [2] proposed an unbalanced PSI protocol with low communication overhead by using RLWE-based leveled fully homomorphic encryption (FHE). In this work, the communication overhead is linear in the size of the (smaller) receiver’s set and only logarithmic in the size of the (larger) sender’s set. This foundational work was subsequently refined and extended in [21], which bolstered the security model through the integration of an OPRF, supported arbitrary-length items, and generalized the protocol to the Labeled PSI setting, enabling the transfer of arbitrary-length labels associated with the intersecting items. Building on this, an important recent advance is proposed in [22]. It achieves an asymptotically optimal computational cost of only homomorphic multiplications and achieves sublinear communication complexity in larger sets .
OPRF-based PSI. Constructions based on isogenies between supersingular elliptic curves represent an early line of research into post-quantum OPRFs. Boneh, Kogan, and Woo [43] proposed several isogeny-based OPRFs. However, an initial supersingular isogeny Diffie–Hellman (SIDH)-based construction was broken and later fixed within a framework of higher-dimensional isogenies. Another line of work uses commutative supersingular isogeny Diffie–Hellman (CSIDH) but often requires trusted setup or has high communication complexity [44]. A common challenge for isogeny-based OPRFs is their high computational overhead, with client requests taking seconds and server responses over a minute. This makes them generally unsuitable for PSI scenarios involving many OPRF evaluations.
Lattice assumptions are a promising foundation for practical post-quantum cryptography, leading to several OPRF proposals. The work of Heimberger et al. [23] introduces a highly efficient lattice-based OPRF based on the heuristic Ring-Learning with Rounding (RLWR) assumption. It builds upon the Spring PRF and uses OT and oblivious linear evaluation (OLE) for oblivious evaluation. Leap achieves online computation times of 750 microseconds for the server and 11 microseconds for the client, with online communication of just 23 kB. This efficiency profile makes Leap highly suitable for unbalanced PSI, where a client with a smaller set performs many fast, low-communication OPRF evaluations against a server’s large set.
Other recent advances on post-quantum OPRFs, such as LeOPaRd [45] and distributed OPRFs from Legendre PRFs [46], focus on verifiable or multi-server OPRF functionalities and do not directly yield two-party PSI protocols comparable to the schemes discussed above.
1.3. Road Map
The remainder of this paper is organized as follows. Section 2 introduces the notations and provides the necessary preliminaries. Subsequently, Section 3 details the construction of our proposed post-quantum PSI protocol, which achieves ultra-efficient online performance. It elaborates on the core components, with a particular focus on the implementation of the signal comparison algorithm. Section 4 presents the design of our optimized OKVS implementation. Section 5 focuses on the experimental evaluation, where we evaluate the performance, scalability, and overhead of our proposed solutions in comparison to state-of-the-art baselines across various realistic scenarios. Finally, Section 6 wraps up the paper by summarizing the key findings and discussing the broader implications of our work.
2. Preliminaries
2.1. Notations
Let n be a power of two, and let be a prime modulus. Define the ring . Each element in is represented as a polynomial of degree less than n with coefficients in . Let denote a discrete Gaussian distribution over with standard deviation , which is extended to by sampling each coefficient independently. All polynomials are in bold. denotes the cryptographic security parameter of the protocol.
2.2. Private Set Intersection
Private Set Intersection (PSI) enables two parties with private inputs to compute the intersection while revealing nothing beyond it. A protocol involves a sender with input and a receiver with input , where only obtains . Security is formalized via the ideal functionality , which, on inputs X and Y, returns to and nothing to (see Figure 1).
Figure 1.
Ideal functionality .
A protocol is secure if its execution is indistinguishable from under simulation.
Semi-Honest Security
Let and be the views of and , and let be ’s output. Denote by the ideal output.
Correctness. is correct if for all ,
Privacy. preserves privacy against semi-honest adversaries if there exist PPT simulators such that
Thus, the sender’s view can be simulated from X alone, and the receiver’s view from Y and the intersection, ensuring that securely emulates in the semi-honest model.
2.3. RLWE-Based Key Exchange Protocol
We present an alternative description of the RLWE-based key exchange protocol introduced by Ding et al. [47], which enables two parties, denoted as and , to establish a shared secret key over an insecure channel. The protocol relies on the hardness of the Ring Learning with Errors (RLWE) problem and employs a reconciliation mechanism to handle inherent noise.
2.3.1. RLWE Problems
The Ring Learning with Errors (RLWE) problem, introduced by Lyubashevsky et al. [48], is a structured variant of the Learning with Errors (LWE) problem. Let with n being a power of two, and define for an integer modulus .
The RLWE distribution over is parameterized by a secret , and is defined by sampling uniformly and outputting , where is an error polynomial drawn from a discrete Gaussian distribution.
The decision RLWE problem is to distinguish whether a sequence of samples is drawn from or uniformly from . The RLWE problem is shown to be as hard as approximating the Shortest Vector Problem (SVP) on ideal lattices in the worst case, under quantum reductions.
The algebraic structure of enables efficiency improvements, such as applying the Number Theoretic Transform (NTT) for fast polynomial multiplication. Variants of RLWE, such as the HNF-RLWE problem where the error is sampled from the entire ring, are also assumed to be hard.
2.3.2. RLWE-Based Post Quantum Key Exchange Protocol STEPS
Based on the hardness of the RLWE problem, the following protocol enables two parties to establish a shared secret key resistant to quantum adversaries. The protocol proceeds as follows:
- 1.
- Initialization: The public polynomial is distributed to both parties.
- 2.
- ’s initial message: samples secret polynomial and error polynomial . Then computes and sends to .
- 3.
- ’s response: samples secret polynomial , error polynomials , and . And computes . After that, generates a signal , where is the signal function (defined below). Computes the shared key , where Mod2 is the robust extractor and sends to .
- 4.
- ’s key derivation: first samples . Computes and the shared key .
2.4. Signal and Extraction Functions
The signal function is defined coefficient-wise. For a polynomial , the signal is computed as
where is chosen uniformly at random for each invocation, and the functions are defined as
The robust extractor is defined for each coefficient as
For a polynomial and a signal polynomial , the extraction is applied coefficient-wise.
2.4.1. Correctness
Under the condition , the values and satisfy
In [47] (Lemma2), the magnitude of each coefficient in the difference is bounded by with overwhelming probability. And Lemma4 in [47] shows that if , then with overwhelming probability.
2.4.2. Security
The protocol is secure against passive adversaries under the RLWE assumption, which asserts that distinguishing between RLWE samples and uniform polynomials is computationally hard. The signal function does not leak information about the shared key due to the randomization in the choice of b, and the extracted key is uniformly random given the signal.
2.5. Oblivious Key–Value Stores (OKVS)
2.5.1. Definition of Oblivious Key–Value Stores (OKVS)
An OKVS enables encoding a set of n key–value pairs with and into an array while preserving the confidentiality of the keys when the values are uniformly random. Formally, an OKVS scheme consists of two polynomial-time algorithms as follows.
The probabilistic encoding algorithm takes as inputs a set of n key–value pairs with n distinct keys and randomness R, and outputs an encoding . The deterministic decoding algorithm takes as inputs the encoding and randomness R, and outputs a value .
The scheme must satisfy two crucial properties. Correctness requires that for all sets of n key–value pairs with n distinct keys, the probability is bounded by for all , where the probability is taken over the choice of randomness R. Obliviousness guarantees that for any two sets of n distinct keys and and values each drawn uniformly at random from , the distributions and are computationally indistinguishable.
2.5.2. Construction of OKVS [26]
We recall the OKVS framework over a finite field with key space . Given n distinct key–value pairs , OKVS encodes them into an array of length , where is a redundancy factor. Each key k determines a band of width w in a length-m row : exactly w consecutive positions are non-zero and the rest are zeros. The band start index and the band contents are derived from independent hash functions (modeled as random oracles) seeded by public randomness. Stacking the rows yields a random band matrix . The encoder outputs any solution to . Decoding a query key k is the dot product , which touches only the w-cell band. For parameters , the matrix M has full row rank except with probability at most to ensure correctness. Encoding runs in word operations using band-aware Gaussian elimination, while decoding takes . We denote the resulting encode and decode algorithms by and , respectively, and give them in Algorithms 1 and 2.
| Algorithm 1: (OKVS Encode) |
![]() |
| Algorithm 2: (OKVS Decode) |
![]() |
3. Our Post-Quantum PSI Protocol
3.1. Construction
Our post-quantum PSI protocol, called signal-based PSI , is constructed from the RLWE-based Ding Key Exchange scheme. The design goal is to enable two parties, referred to as the sender holding a set and the receiver holding a set , to compute the intersection while revealing no additional information. The novelty of our approach lies in leveraging signal comparison rather than shared key extraction, combining with the usage of OKVS Encode/Decode technology to reduce the computation and communication overhead.
Our protocol is presented in Figure 2, which proceeds with two phases, an offline phase and an online phase. The offline phase begins with the sender sampling its secret key and error terms for . For each input element , the sender computes a public key . These public keys are then embedded into an OKVS, resulting in an encoded structure , which is transmitted to the receiver.
Figure 2.
Our Post-Quantum PSI .
Upon receiving S, the online phase begins. The receiver samples its own secret key and error terms for , and computes its corresponding public keys . These public keys are returned to the sender. After receiving , the sender derives intermediate auxiliary values , where are fresh error terms. Each is then mapped to a signal , and the set is transmitted to the receiver. In parallel, the receiver decodes the OKVS on its input to obtain , and computes its own intermediate auxiliary values with . The receiver then computes signals for each input element.
Finally, the intersection is obtained through the signal matching procedure. The receiver executes the algorithm , which determines whether signals generated by the two parties correspond to the same input element. The correctness of this comparison follows from the property that if , then the difference reduces to a small noise term with overwhelming probability. As a consequence, the signals and will be equal with high probability. This guarantees that the receiver outputs correctly, while ensuring that no information about non-intersecting elements is revealed.
3.2. Implementation of the Compare (·) Algorithm
The algorithm operates by analyzing two signal sets and , each of which consists of signals, corresponding to two private sets X and Y to determine their intersection I. The correctness of algorithm is ensured by the fact that a signal match occurs if and only if the corresponding elements from the two private sets are equal. In order to efficiently implement between two sets of signals, a sub-algorithm for a one-to-one signal matching is provided firstly, which takes as inputs signals and from each set of and and returns a bit to indicate if two signals match or not, i.e., 0 (mismatch) or 1 (match). The algorithm invokes the subroutine times to identify all matching signal pairs, thereby allowing the receiver to output the intersection .
The sub-algorithm specifically operates on a pair of input signals and , which are derived from the ring elements and respectively via the signal function . Thus, we can determine the relationship between and by comparing whether the signals match, and further infer whether . If , the signal values corresponding to the ring elements and obtained from are consistent, and outputs 1; otherwise it outputs 0. According to the definition of the signal function Equation (4), when or lies within the interval the output value is 1, and a value of 0 when it is within . Intuitively, these two cases correspond to the blue and white segments, respectively, as illustrated in the top bar of the Figure 3. We denote as the signal flips point, which means the signals may be different if and are around . The errors upper bound is denoted as . Accordingly, three regions are delineated as illustrated in Figure 3:
- certain-1 region (orange segments): . If resides in this region, and , then it has .
- certain-0 region (white segment): . If is located in this region, and , then it has .
- uncertain region (shaded segment): . If falls within this region, signal flipping may occur due to errors. However, since this uncertain region is very small (with significantly larger than the error upper bound ), its impact on matching correctness is negligible.
Figure 3.
Top bar: partition induced by on the centered axis (blue: ). Bottom bar: orange represents the certain-1 region (), white represents the certain-0 region (), hatched represents uncertain around . Vertical red lines mark the signal flips point at with .
In our PSI protocol, if the receiver’s element , the value obtained from the decoding of OKVS on is random, then the corresponding is also random. Therefore, the probability that two signals and match is negligible, i.e., with overwhelming probability. If , then . We have OKVS.Decode() = = . The corresponding signals are
Since , given that the upper bound of the error term is , then we have that if is in the certain-0 region, and if is in the certain-1 region. Owing to the large value of q, certain regions take up approximately 99% of the domain. If lies in the uncertain region, e.g., , then . Otherwise, it may happen that lies in , which implies , leading to inconsistency between two signals. Given that the range of the uncertainty region is extremely small, in this case, determines whether two signals match by counting the proportion of consistent signal bits between the two signals and setting a threshold (e.g., 99%) to ensure high accuracy.
3.2.1. Match (·) Algorithm
All operations are in . We use the unique centered set of residues , and henceforth assume all coefficients are represented in .
Under the assumptions of Theorem 2 (random oracle for H, i.i.d. discrete-Gaussian secrets and errors), the per-coefficient difference noise between and is subgaussian with proxy
To reason on the integer lattice, we use the discrete margin .
A centered ring element is in the certain region (or uncertain region ) if it is at a distance of at least from the decision boundaries :
The procedure of is shown in Algorithm 3, which compares two signals derived from using as an object of reference. For , two steps are performed: (i) if the coefficient (the t-th coefficient of ) lies in and the signal bits are unequal, it immediately rejects; (ii) whenever the signals bits are consistent, regardless of whether is in the certain region or the uncertain region, a consistency counter is incremented. The two signals are considered equal if and only if the final consistency count reaches the threshold .
3.2.2. Compare (·) Algorithm
Algorithm 4 shows the procedure of . Given two sets of signals and , for each pair of signals where , it invokes the (Algorithm 3) to determine whether any two signals match or not. For each , if there exists such that , then we include in the intersection set.
| Algorithm 3: Match |
![]() |
| Algorithm 4: |
![]() |
3.2.3. Completeness and Soundness
Assumption 1 (Errors tail per coefficient).
For each coefficient t, , where and .
Assumption 2 (Errors bound).
With overwhelming probability, for the accumulated noise .
Lemma 1 (Coefficient-wise Signal Consistency under Bounded Perturbation).
Under Assumptions 1 and 2, for any coefficient position , let and with . Then we have the following:
- 1.
- If , then with probability 1.
- 2.
- If , then with probability at least .
Proof of Lemma 1.
We consider each case separately.
1.
We have two cases based on the definition of :
(1) :
Since and , we have . Therefore,
Thus, both u and v fall within the interval where .
For , the interval for 0 is . Since (as ) and , both values are within this interval, so .
Therefore, regardless of the random bit b chosen for the signal function, .
(2) :
We have
since .
For : If , then . The edge case occurs only when , but since , we have . Given that and is chosen to make large deviations exponentially unlikely, this edge case occurs with negligible probability.
For : The interval for 0 is . Since (as ), we have . Similarly, , and if , then . The edge case requires , which again occurs with negligible probability.
Therefore, with overwhelming probability, in this case.
2.
Refer to Figure 3. For any coefficient u in the uncertain region (hatched area where ), we prove that .
Focus on a fixed u in the uncertain (hatched) region. Partition the bounded noise values d (where ) into two sets:
Set A contains all noise values d for which the signal remains consistent, meaning . Conversely, set B contains all noise values d that cause a disagreement, meaning .
The proof hinges on constructing a symmetry mapping defined simply by . The geometric intuition from Figure 3 clarifies why this mapping works. Consider a point u in the right hatched region. A positive noise term d might be just large enough to push across the red threshold line at into the blue region, thereby flipping the signal and causing a disagreement. However, the symmetric negative noise term would pull u further left, away from the threshold and deeper into the white region. This movement ensures that both u and remain on the same side of the threshold, thus preserving signal agreement. An analogous situation occurs for a point u in the left hatched region.
Crucially, the symmetry of the noise distribution guarantees that . Furthermore, the symmetric nature of the signal function’s decision boundaries, mirrored around zero, ensures that the mapping f is a probability-preserving bijection from the disagreement set B into the agreement set A. This directly implies that the total probability mass of B cannot exceed that of A. Formally, .
Given that the probabilities of agreement and disagreement must sum to 1, the inequality necessarily leads to the conclusion that .
This completes the proof of Lemma 1. □
Theorem 1 (Correctness of Algorithm 3).
Assume the RLWE problem is hard, and parameters are chosen such that is negligible. Then we have the following:
- 1.
- Completeness: For matching keys with and , Algorithm 5 outputs with probability at least , where is negligible in the security parameter λ.
- 2.
- Soundness: For non-matching keys or keys with excessive noise (), Algorithm 3 outputs with probability at least , where is negligible in λ.
Proof of Theorem 1.
We prove each property separately.
1. Completeness:
Let be the indicator random variable for the event that at position t. From Lemma 1, we have the following:
- If (which occurs with probability ), then .
- If (which occurs with probability ), then .
The expected number of agreeing positions is
Using the Chernoff bound, for any :
Setting , we have
For sufficiently large ℓ, this probability becomes negligible. Therefore, Algorithm 3 outputs for matching keys with high probability.
2. Soundness:
For non-matching keys, and are essentially independent random bit strings. Thus, for each position t, .
The expected value of the count is
Using the Chernoff bound,
For , this probability becomes negligible for sufficiently large ℓ. Therefore, Algorithm 3 outputs for non-matching keys with high probability.
This completes the proof of Theorem 1. □
3.3. Correctness and Security Analysis
Based on the ideal functionality and the semi-honest security definitions introduced in Section 2.2, we now provide the correctness and formal verification that our proposed protocol securely realizes .
Theorem 2 (Correctness).
All operations are over . Let be modeled as a random oracle. Secrets and errors are sampled i.i.d. from a discrete Gaussian . Let the sender hold , the receiver hold , and the intersection . Based on the properties of OKVS and , the receiver’s output in equals except with negligible probability in λ.
Proof of Theorem 2.
For any , we have
(1) If ,
Then,
and therefore
Each coefficient of is a sum of the independent discrete Gaussian; standard variance calculations give . With , the tail bound per coefficient. If the per-coefficient noise is bounded by and the robustness of SigMa,
That is, every intersection element will be accepted by .
(2) If , then is pseudorandom and independent of . Then, and behave (nearly) independently across coefficients, and the chance that outputs identical signals on a non-match is negligible. □
Theorem 3 (Honest but Curious Security against Receiver in the protocol ).
There exists a PPT simulator such that for all security parameters λ and inputs , letting and ,
under the RLWE assumption in , the random-oracle model for H, the unpredictability of on non-programmed keys, and the robustness of .
Proof of Theorem 3.
We describe the simulator algorithm in Algorithm 5. We argue that using a multi-step hybrid argument, where each neighboring pair of hybrid distributions is computationally indistinguishable.
| Algorithm 5: The simulator algorithm . |
| Input: ,Y,, I |
| 1 Sends a random OKVS S which encodes key–value pairs as Sender’s message |
| in step 3. |
| 2 Samples for . |
| 3 For each , honestly computes , and sends |
| as Receiver’s message in step 5. |
| 4 For each , honestly computes , |
| and , where is randomly |
| sampled from . |
| 5 Computes . Create as Sender’s message |
| in step 6 as follows, for , let where is randomly |
| selected from ; for , let . |
| 6 Outputs Receiver’s view in the simulated execution above. |
- The view of Receiver in the real execution of the protocol .
- The same as , except in step 3, the OKVS S sent by the Sender is replaced with a random OKVS that encodes key–value pairs. Note that the values of encoding in the real execution, , are RLWE samples with key held by the Sender. Therefore, if H is modeled as a random oracle, the doubly obliviousness of OKVS and the RLWE assumption in holds, then and are computationally indistinguishable.
- The same as , except in step 7, all , and are computed using S in instead of S sent by the Sender in the real execution. If the random decoding property of OKVS and the RLWE assumption in holds, then and are computationally indistinguishable.
- The same as , except in step 6, those sent by the Sender are replaced with where are random elements from . Note that is an RLWE sample with key held by the Sender. Therefore, if the RLWE assumption in holds, then and are computationally indistinguishable.
- The same as , except in step 6, those sent by the Sender are replaced with . If the robustness of and the RLWE assumption in holds, then and are computationally indistinguishable.
Note that is the view of the Receiver output by , and thus the proof completes. □
Theorem 4 (Honest but Curious Security against Sender in the protocol ).
There exists a PPT simulator such that for all security parameters λ and inputs ,
where .
Proof of Theorem 4.
We describe the simulator algorithm in Algorithm 6. We argue that using a multi-step hybrid argument, where each neighboring pair of hybrid distributions is computationally indistinguishable.
| Algorithm 6: The simulator algorithm . |
| Input: , X, |
| 1 Samples for . |
| 2 Simulate step 2 and 3 honestly. |
| 3 For each , randomly selects from and sends to Sender as |
| Receiver’s message in step5. |
| 4 For each , samples , honestly computes |
| and . |
| 5 Sends in the order corresponding to as Sender’s message in |
| step 6. |
| 6 Outputs Sender’s view in the simulated execution above. |
- The view of the Sender in the real execution of the protocol .
- The same as , except in step 5, all sent by the Receiver are replaced with random elements from . Note that are RLWE samples with key held by the Receiver. Therefore, if H is modeled as a random oracle and the RLWE assumption in holds, then and are computationally indistinguishable.
- The same as , except in step 6, all and are computed using in instead of sent by the Receiver in the real execution, and these newly generated are sent to the Receiver in step 6. If the RLWE assumption in holds, then and are computationally indistinguishable.
Note that is the view of the Sender output by , and thus the proof completes. □
4. Optimization on Implementation of OKVS
In Step 3 of our proposed PSI in Figure 2, the sender encodes a set of key–value pairs to obtain an OKVS, i.e., , where each is a polynomial of degree d over a ring , with d coefficients. For simplicity, we denote the d coefficients of as . We observe that directly plugging the most efficient OKVS construction from [26] into our protocol will lead to the following issues. First, it requires each value to belong to a finite field , whereas our polynomial coefficients lie in . Concatenating the d coefficients into a single value would result in a length of , exceeding the maximum allowed value length in the OKVS. Second, treating each coefficient independently would cause the same key to be associated with d distinct values, violating the requirement that all keys must be distinct. To ensure all keys remain unique while keeping each value within the allowed length, we introduce a composite key–value pair generation procedure. This method maps one original key–value pair into d derived key–value pairs for , where each key is distinct. Specifically, we define . This results in a total of distinct key–value pairs, which can be efficiently encoded in a single OKVS structure. During the decoding phase, for a query key k, the corresponding derived keys for are computed, allowing all to be retrieved efficiently.
4.1. Generation of Composite Key–Value Pairs
Let be the key space and a coefficient ring (e.g., ). Each database item is , where and are the d coefficients of polynomial i. Our OKVS materializes d scalar pairs per item by defining a composite key
where is a fixed-length little-endian encoding of . This ensures that each is related to j and all are distinct. Therefore, each is converted into d distinct pairs . The procedure is summarized in Algorithm 7.
| Algorithm 7: OKVS.CompositeKVGen |
![]() |
4.2. Encoding of OKVS
Given database items with fixed polynomial dimension d (e.g., ), encoding proceeds by first invoking OKVS.CompositeKVGen (Algorithm 7) to materialize the scalarized set under composite keys . Let . We then set OKVS parameters with redundancy , choose a bandwidth w for security parameter ), fix , and sample public randomness . Finally, our OKVS.Encode (Algorithm 8) directly calls OKVS encoder (Algorithm 1) to solve the banded linear system and produce the encoding array .
| Algorithm 8: . (using OKVS encoding algorithm of Algorithm 1). |
| Input :, dimension d; |
| OKVS params: redundancy , security , band width w; |
| field ; OKVS randomness . |
| Output: OKVS encoding . |
| 1 // Algorithm 7 |
| 2 // |
| 3 |
| 4 // Algorithm 1 |
| 5 return S |
4.3. Decoding of OKVS
Given an encoding array S and a queried key k, we reconstruct the full coefficient vector by first obtaining the composite keys from k. Our OKVS.Decode (Algorithm 9) then invokes the OKVS decode algorithm (Algorithm 2) independently for each and assembles .
| Algorithm 9: OKVS.Decode (using OKVS decoding algorithm of Algorithm 2) |
![]() |
4.4. Correctness
The correctness of our OKVS scheme is inherited from the correctness of underlying OKVS construction [26]. For parameters and , the random band matrix is solvable with probability at least , ensuring the scalar decoder fails for any individual coefficient with a negligible probability . In our composite key generation, defined by for a cryptographic hash function, guarantees that decoding events for different coefficients are independent. Therefore, by the union bound, the probability of failing to decode any coefficient for a given polynomial key is upper-bounded by . For a constant dimension d, this probability remains negligible in the security parameter , thereby upholding the overall correctness guarantee. Any decoding failure is confined to a single coefficient and does not affect the recovery of others.
4.5. Complexity
The computational and spatial complexity of our OKVS scheme scales efficiently with the total number of scalar elements . The composite key generation is performed in linear time, . The cost of encoding is dominated by the operations required for the band-aware Gaussian elimination algorithm of the underlying OKVS. Decoding on a queried key is a constant-time operation relative to the bandwidth, requiring time. Consequently, reconstructing a full d-dimensional polynomial sequentially requires time. A key practical advantage is the potential for parallelization. Since decoding each coefficient is independent, the wall-clock time for full polynomial reconstruction can be reduced to nearly in a multi-core environment. The storage overhead is determined by the encoding length , indicating linear growth in the size of the OKVS structure with respect to N.
5. Performance
5.1. Implementation
We implement our PSI protocol in C++, following the design in Figure 2. Private elements are hashed using SHA-256, and the OKVS Encode/Decode routines are adapted from the open-source implementation (https://github.com/google/private-membership/tree/main/research/okvs (accessed on 14 December 2025)).
All experiments are conducted with the statistical security parameter and the OKVS-specific parameter , the latter controlling the decoding failure probability of the OKVS construction.
The experiments are executed on a server with dual 2.0 GHz Intel Xeon Gold 8470 CPUs and 1024 GB RAM. Network conditions are emulated as a 10 Gbps LAN with 0.2 ms round-trip latency using Linux tc. For comparison, we evaluate post-quantum PSI protocols based on FHE [22] and lattice-based OPRF [23] in the same environment, using their publicly available implementations (https://github.com/Microsoft/APSI (accessed on 14 December 2025), https://github.com/meyira/leap (accessed on 14 December 2025)).
All implementations are tested under both single-threaded and multi-threaded settings with , and reported values are averaged over 10 runs. In the following tables, the best-performing protocols in terms of runtime and communication are highlighted.
Our protocol supports an offline–online execution paradigm:
- Offline phase: The sender hashes its input set, samples randomness, and computes public keys and encoded into an OKVS encoded structure. Since costs scale with the sender’s set size, offline time is measured as the sender’s computation time.
- Online phase: Upon receiving the receiver’s input, both parties compute signals in parallel, and the receiver determines the intersection using a signal matching mechanism. Online time is defined as the receiver’s total computation time, including hashing, key generation, OKVS decode, signal computation, and signal matching.
The total runtime equals the sum of the sender’s offline time and the receiver’s total time. The communication overhead is partitioned accordingly: the OKVS encoded structure sent by the sender in the offline phase, and the receiver’s public keys plus sender’s signals in the online phase.
We evaluate protocol performance under varying set sizes. For symmetric size inputs, we consider . For asymmetric size inputs, we fix and , executing all combinations with .
To instantiate OKVS for our PSI protocol, we require concrete band length parameters under . Table 1 reports the values used in our experiments. Since the band length parameters given in [26] cannot be used directly, the data in Table 1 are calculated by linear regression of the published data points, following the method outlined in Section 6.1 of [26] (details are provided in Appendix A).
Table 1.
OKVS band length data for different and values.
The parameter controls the slack in the OKVS band length: a larger yields a longer band and thus higher communication but lower encoding/decoding cost, whereas a smaller shortens the band and reduces communication at the price of increased computation.
We employ Number Theoretic Transforms (NTTs) to expedite polynomial multiplication within DingKE. The key exchange parameters are set as follows: , , , and we set in Algorithm 3 (detailed theoretical values of are given in Appendix B).
Intuitively, acts as a signal-consistency threshold in our RLWE-based comparison: a larger makes the matching criterion stricter, improving completeness but increasing sensitivity to noise, while a smaller relaxes the criterion, enhancing robustness to random errors but potentially reducing correctness. The choice provides a practical balance between these effects in our parameter regime.
5.2. Benchmarks
Table 2 summarizes the offline/online running time (single-threaded and multi-threaded) and communication overhead, and performs systematic measurements under different set sizes , parallelism and OKVS parameters .
Table 2.
Runtime and communication overhead for all phases of our improved OKVS-based PSI protocol. T represents the number of threads used by the sender and receiver simultaneously.
A first observation is that, for a fixed , the online running time is essentially insensitive to . As shown in Table 2, within each fixed the online time remains nearly flat as increases from small to very large. Because the online phase is only related to the receiver’s data (calculating the signal, public key, and signal matching), its cost depends on rather than . For example, when and grows from to and , the online time stays within . In practice, this implies that even when the sender’s dataset varies substantially over time, the online latency remains both efficient and predictable. Using multi-thread can significantly reduce the communication time, particularly in the offline phase. For larger , we observe near-linear speedup with increasing T. As for online time, in large-scale settings (e.g., ), when T increases from 1 to 32, the online time decreases by –, from – s to – s, while the total time decreases by –.
The same decoupling shows up in the online communication. When is fixed, the online communication overhead does not change with . Because only the sender’s signals and receiver’s public key are transmitted, both are proportional to . As shown in Table 2, regardless of the value of , the online communication overhead is always MB when , and is fixed at 33 MB and 528 MB for and , respectively. Furthermore, the offline communication cost grows roughly linearly with : offline communication rises from about 1–2 MB when to roughly 24–26 MB, and near 4 GB at .
Overall, Table 2 shows a consistent picture: the online phase scales with and is essentially independent of in both time and communication; the offline phase scales with and benefits strongly from parallelism.
5.3. Comparison with APSI [22] and Leap [23] in Symmetric Set Sizes
We compare our protocol with APSI [22] and Leap [23] under symmetric set sizes, i.e., , as shown in Table 3. Unless stated otherwise, we report single-thread results () for fairness: Leap’s open-source implementation is single-threaded (columns for are unavailable), and it fails with out-of-memory at as reflected by missing entries.
Table 3.
OKVS-based performance comparison of protocols for symmetric set sizes. T represents the number of threads used by the sender and receiver simultaneously. The purple highlights indicate the best performance for each parameter setting among the different protocols.
As illustrated in Figure 4a, across all tested sizes, our protocol is consistently faster than both APSI [22] and Leap. In small set size, i.e., , our ms is faster than APSI’s 163 ms and faster than Leap’s 842 ms. At , our ms improves over APSI ( ms) and Leap ( ms) by and , respectively. At , we finish in ms, a reduction relative to APSI ms. Likewise, the total time results show that our protocol is optimal in all tests. Across symmetric sizes –, our total time is faster by – than APSI and by – than Leap.
Figure 4.
Performance comparison for symmetric set sizes () with single-thread execution (). APSI and Leap correspond to Table 3 baselines.
As illustrated in Figure 4b, our online communication is consistently the lowest across symmetric sizes, achieving roughly 2–3× lower bandwidth than APSI and lower than Leap wherever Leap reports results. At , Leap is unavailable, and we still transmit less than APSI.
5.4. Comparison with APSI [22] & Leap [23] in Asymmetric Set Sizes
Our PSI protocol delivers the lowest online running time among all compared schemes, and its online cost essentially depends only on the size of the receiver’s set . As shown in Figure 5a of the asymmetric setting, regardless of whether is small or large, our online time remains in the range – s for . The large-scale case further highlights this gap: at , our protocol is about and faster than the FHE-based [22] and post-quantum OPRF-based [23] PSI protocols, respectively. The results in Table 4 confirm the same trend against APSI and Leap: for example, at , our scheme achieves an online time of s, which is and faster than APSI ( s) and Leap ( s); even at the online time is still only s, yielding and improvements over APSI and Leap. Overall, these results show that the online phase of our protocol mainly scales with and remains around s across a wide range of parameters.
Figure 5.
Online performance comparison at and with single-thread execution (). APSI and Leap correspond to Table 4 baselines.
Table 4.
OKVS-based improved performance comparison of protocols for asymmetric set sizes under single-thread execution. The purple highlights indicate the best performance for each parameter setting among the different protocols.
To further understand where this small latency comes from, we analyze the receiver’s online phase for the largest asymmetric parameters (e.g., ). Specifically, approximately of the online time is spent on OKVS decoding, about on hashing and NTT-based public-key generation and signal computation, and less than on the final signal-matching step that identifies the intersection. This allocation remains stable across different configurations, and similar proportions are observed for smaller set sizes.
In terms of communication, our protocol incurs the lowest and constant online communication with respect to , depending only on . As shown in Figure 5b of the asymmetric setting, our online bandwidth is a constant MB for , whereas the FHE-based PSI requires – MB and the post-quantum OPRF-based PSI uses MB. Table 4 shows a similar advantage over APSI and Leap: for , our protocol needs MB online, compared with APSI’s MB and Leap’s MB; when , the communication further reduces to MB, outperforming APSI by about and Leap by more than . Taken together, these results confirm that our PSI achieves the lowest online time and online communication overhead among all considered baselines.
It should be noted, however, that this online performance gain is accompanied by higher offline communication costs. While the offline communication remains modest at smaller scales (e.g., around MB for and about 25 MB for ), it grows significantly at large set sizes, reaching 395–422 MB for and approximately 4 GB at . This indicates that, although our method attains state-of-the-art online performance and communication efficiency, future work should focus on mitigating the offline overhead to further improve scalability.
6. Conclusions
This paper demonstrates that the proposed RLWE-based post-quantum PSI protocol achieves ultra online performance among state-of-the-art post-quantum PSI protocols. The experiments indicate that our proposed PSI’s online time is consistently sub-second and nearly invariant to and (e.g., ≤0.10 s for and around s for ), while online communication is constant across settings (5.560 MB for and 2.787 MB for ). This achieves significant improvements in both computation and communication compared to APSI and Leap in both asymmetric and symmetric schemes.
While our proposed PSI protocol exhibits excellent online performance, it incurs higher offline computation and communication overhead for very large set sizes, which may put pressure on memory and computation time in bandwidth-constrained settings. Thus, we will further consider how to balance the efficiency of the online and offline phases in the future. In parallel, we plan to extend security from semi-honest to malicious. These directions aim to enhance the practicality of post-quantum PSI in production environments and accelerate its adoption under more stringent threat models.
While our proposed PSI protocol exhibits excellent online performance, it incurs higher offline computation and communication overhead for very large set sizes, which may put pressure on memory and running time in bandwidth-constrained settings. We identify this as an inherent trade-off between pre-computation and online efficiency. Thus, our further work will aim to balance the efficiency of the online and offline phases for very large set size. In addition, we plan to extend security from semi-honest to malicious. These directions aim to enhance the practicality of post-quantum PSI in production environments and accelerate its adoption under more stringent threat models.
Author Contributions
Conceptualization, Y.Q. and B.L.; methodology, Y.Q., B.L. and J.D.; software, Y.Q.; validation, Y.Q. and B.L.; formal analysis, Y.Q., H.C. and B.L.; investigation, Y.Q. and B.L.; resources, B.L. and J.D.; data curation, Y.Q.; writing—original draft preparation, Y.Q., H.C. and B.L.; writing—review and editing, Y.Q. and B.L.; visualization, Y.Q. and B.L.; supervision, Y.Q., B.L. and J.D.; project administration, Y.Q., B.L. and J.D.; funding acquisition, J.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by National Key R&D Program of China (No. 2023YFC3305501).
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Band Length Calculation Algorithm
The original work of Bienstock et al. [26] provides regression formulas for OKVS parameters, expressed as , where are best-fit coefficients reported for specific configurations, is the computational security parameter, and w denotes the band length. However, only a subset of parameter values were explicitly tabulated in their appendix.
| Algorithm A1: OKVS Band Length Calculator |
![]() |
For completeness of our evaluation, we reproduce their methodology by extracting the regression coefficients and computing the missing band length parameters w for . This yields an extended parameter set covering all required by our experiments. To ensure the reproducibility of the parameter selection process, we provide a complete algorithm for calculating the RB-OKVS band length w as shown in Algorithm 8.
Our implementation is built on a data-driven approach. The coefficients a and b are directly obtained from the experimental best-fit lines shown in Figure 17 of [26]. It also boasts robust extrapolation functionality. When dealing with values of that fall outside the experimentally verified range, we employ linear extrapolation in the logarithmic domain. This allows us to generate reliable estimates for large-scale deployments. Additionally, it can support all relevant values and automatically handle the entire range of values, from to .
Appendix B. Theoretical Value of ψ
The probability that a random coefficient u falls in is
For large q, this expression can be approximated as . To guarantee both completeness and soundness in Theorem 1, the threshold must satisfy .
Using the concrete parameters , , , we compute the relevant values as follows. First, we obtain , from which and thus . The flip point is = 563,760, yielding and consequently . Therefore, the theoretical range for is .
For practical implementation, we recommend setting , which provides a good balance between completeness and soundness while allowing for a small margin of error.
References
- Morales, D.; Franquesa, A.; Domingo-Ferrer, J. Private set intersection: A systematic literature review. Comput. Sci. Rev. 2023, 49, 100567. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Laine, K.; Rindal, P. Fast private set intersection from homomorphic encryption. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, Dallas, TX, USA, 30 October–3 November 2017; pp. 1243–1255. [Google Scholar]
- Falk, B.H.; Noble, D.; Pinkas, B.; Rosulek, M.; Roy, A.; Trieu, N. Private Set Intersection with Linear Communication from General Assumptions. In Proceedings of the 18th ACM Workshop on Privacy in the Electronic Society, London, UK, 11 November 2019; pp. 14–25. [Google Scholar]
- Kales, D.; Rechberger, C.; Schneider, T.; Senker, M.; Weinert, C. Mobile Private Contact Discovery at Scale. In Proceedings of the 28th USENIX Security Symposium (USENIX Security 19), Santa Clara, CA, USA, 14–16 August 2019; pp. 1447–1464. [Google Scholar]
- Demmler, D.; Gusev, L.; Müller-Quade, J.; Schneider, T. PIR-PSI: Scaling Private Contact Discovery. Proc. Priv. Enhancing Technol. 2018, 4, 159–178. [Google Scholar] [CrossRef] [Scilit]
- Ion, M.; Kreuter, B.; Nergiz, A.E.; Patel, S.; Raykova, M.; Saxena, S.; Seth, K.; Shanahan, D.; Yung, M. Private Intersection-Sum Protocol with Applications to Attributing Aggregate Ad Conversions. IACR ePrint 2017/738. 2017. Available online: https://eprint.iacr.org/2017/738 (accessed on 14 December 2025).
- Blog, G.S. Helping Organizations Do More Without Collecting More Data (Private Join and Compute). Web Article. 2019. Available online: https://security.googleblog.com/2019/06/helping-organizations-do-more-without-collecting-more-data.html (accessed on 14 December 2025).
- Trieu, N.; Shehata, K.; Saxena, P.; Shokri, R.; Song, D. Epione: Lightweight contact tracing with strong privacy. arXiv 2020, arXiv:2004.13293. [Google Scholar] [CrossRef] [Scilit]
- Chan, J.; Foster, D.; Gollakota, S.; Horvitz, E.; Jaeger, J.; Kakade, S.; Kohno, T.; Langford, J.; Larson, J.; Sharma, P.; et al. Pact: Privacy sensitive protocols and mechanisms for mobile contact tracing. arXiv 2020, arXiv:2004.03544. [Google Scholar] [CrossRef] [Scilit]
- Pinkas, B.; Schneider, T.; Zohner, M. Faster Private Set Intersection Based on OT Extension. In Proceedings of the 23rd USENIX Security Symposium (USENIX Security 14), San Diego, CA, USA, 20–22 August 2014; pp. 797–812. [Google Scholar]
- Kolesnikov, V.; Kumaresan, R.; Rosulek, M.; Trieu, N. Efficient batched oblivious PRF with applications to private set intersection. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, Vienna, Austria, 24–28 October 2016; pp. 818–829. [Google Scholar]
- Pinkas, B.; Schneider, T.; Zohner, M. Scalable private set intersection based on OT extension. ACM Trans. Priv. Secur. (TOPS) 2018, 21, 1–35. [Google Scholar] [CrossRef] [Scilit]
- Pinkas, B.; Rosulek, M.; Trieu, N.; Yanai, A. SpOT-light: Lightweight private set intersection from sparse OT extension. In Advances in Cryptology–CRYPTO 2019: Proceedings of the 39th Annual International Cryptology Conference, Santa Barbara, CA, USA, 18–22 August 2019; Proceedings, Part III 39; Springer: Berlin/Heidelberg, Germany, 2019; pp. 401–431. [Google Scholar]
- Rosulek, M.; Trieu, N. Compact and malicious private set intersection for small sets. In Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, Virtual, 15–19 November 2021; pp. 1166–1181. [Google Scholar]
- Raghuraman, S.; Rindal, P. Blazing Fast PSI from Improved OKVS and Subfield VOLE. In Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security, Los Angeles, CA, USA, 7–11 November 2022; CCS ’22. pp. 2505–2517. [Google Scholar]
- Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science, Santa Fe, NM, USA, 20–22 November 1994; pp. 124–134. [Google Scholar]
- Shor, P.W. Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer. SIAM Rev. 1999, 41, 303–332. [Google Scholar] [CrossRef] [Scilit]
- Debnath, S.K.; Stănică, P.; Choudhury, T.; Kundu, N. Post-quantum protocol for computing set intersection cardinality with linear complexity. IET Inf. Secur. 2020, 14, 661–669. [Google Scholar] [CrossRef] [Scilit]
- Debnath, S.K.; Choudhury, T.; Kundu, N.; Dey, K. Post-quantum secure multi-party private set-intersection in star network topology. J. Inf. Secur. Appl. 2021, 58, 102731. [Google Scholar] [CrossRef] [Scilit]
- Abudaqa, A.A.; Alshehri, K.; Felemban, M. On the Homomorphic Properties of Kyber and McEliece with Application to Post-Quantum Private Set Intersection. Cryptography 2025, 9, 66. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Huang, Z.; Laine, K.; Rindal, P. Labeled PSI from Fully Homomorphic Encryption with Malicious Security. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, ON, Canada, 15–19 October 2018; CCS ’18. pp. 1223–1237. [Google Scholar]
- Cong, K.; Moreno, R.C.; da Gama, M.B.; Dai, W.; Iliashenko, I.; Laine, K.; Rosenberg, M. Labeled PSI from Homomorphic Encryption with Reduced Computation and Communication. In Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, Virtual, 15–19 November 2021; CCS ’21. pp. 1135–1150. [Google Scholar]
- Heimberger, L.; Kales, D.; Lolato, R.; Mir, O.; Ramacher, S.; Rechberger, C. Leap: A Fast, Lattice-based OPRF with Application to Private Set Intersection. In Advances in Cryptology—EUROCRYPT 2025: 44th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Madrid, Spain, 4–8 May 2025; Proceedings, Part VII; Springer: Cham, Switzerland, 2025; pp. 254–283. [Google Scholar]
- Kiss, Á.; Liu, J.; Schneider, T.; Asokan, N.; Pinkas, B. Private Set Intersection for Unequal Set Sizes with Mobile Applications. Priv. Enhancing Technol. 2017, 2017, 177–197. [Google Scholar] [CrossRef] [Scilit]
- Heimberger, L.; Hennerbichler, T.; Meisingseth, F.; Ramacher, S.; Rechberger, C. OPRFs from Isogenies: Designs and Analysis. In Proceedings of the 19th ACM Asia Conference on Computer and Communications Security, Singapore, 1–5 July 2024; ASIA CCS ’24. pp. 575–588. [Google Scholar] [CrossRef] [Scilit]
- Bienstock, A.; Patel, S.; Seo, J.Y.; Yeo, K. Near-Optimal Oblivious Key-Value Stores for Efficient PSI,PSU and Volume-HidingMulti-Maps. In Proceedings of the 32nd USENIX Security Symposium (USENIX Security 23), Anaheim, CA, USA, 9–11 August 2023; pp. 301–318. [Google Scholar]
- Meadows, C. A more efficient cryptographic matchmaking protocol for use in the absence of a continuously available third party. In Proceedings of the 1986 IEEE Symposium on Security and Privacy, Oakland, CA, USA, 7–9 April 1986; p. 134. [Google Scholar]
- Huberman, B.A.; Franklin, M.; Hogg, T. Enhancing privacy and trust in electronic communities. In Proceedings of the 1st ACM Conference on Electronic Commerce, Denver, CO, USA, 3–5 November 1999; pp. 78–86. [Google Scholar]
- Freedman, M.J.; Nissim, K.; Pinkas, B. Efficient private matching and set intersection. In Proceedings of the International Conference on the Theory and Applications of Cryptographic Techniques, Interlaken, Switzerland, 2–6 May 2004; pp. 1–19. [Google Scholar]
- Kissner, L.; Song, D. Privacy-preserving set operations. In Proceedings of the Annual International Cryptology Conference, Santa Barbara, CA, USA, 14–18 August 2005; Springer: Berlin/Heidelberg, Germany, 2005; pp. 241–257. [Google Scholar]
- De Cristofaro, E.; Tsudik, G. Practical Private Set Intersection Protocols with Linear Complexity. In Financial Cryptography and Data Security; Sion, R., Ed.; Springer: Berlin/Heidelberg, Germany, 2010; pp. 143–159. [Google Scholar]
- Pinkas, B.; Schneider, T.; Segev, G.; Zohner, M. Phasing: Private set intersection using permutation-based hashing. In Proceedings of the 24th USENIX Security Symposium (USENIX Security 15), Washington, DC, USA, 12–14 August 2015; pp. 515–530. [Google Scholar]
- Rindal, P.; Rosulek, M. Malicious-secure private set intersection via dual execution. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, Dallas, TX, USA, 30 October–3 November 2017; pp. 1229–1242. [Google Scholar]
- Chase, M.; Miao, P. Private Set Intersection in the Internet Setting from Lightweight Oblivious PRF. In Advances in Cryptology—CRYPTO 2020; Micciancio, D., Ristenpart, T., Eds.; Springer: Cham, Switzerland, 2020; pp. 34–63. [Google Scholar]
- Huang, Y.; Evans, D.; Katz, J. Private set intersection: Are garbled circuits better than custom protocols? In Proceedings of the NDSS, San Diego, CA, USA, 5–8 February 2012. [Google Scholar]
- Pinkas, B.; Schneider, T.; Weinert, C.; Wieder, U. Efficient circuit-based PSI via cuckoo hashing. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques, Zurich, Switzerland, 26–30 May 2024; Springer: Berlin/Heidelberg, Germany, 2024; pp. 125–157. [Google Scholar]
- Pinkas, B.; Schneider, T.; Tkachenko, O.; Yanai, A. Efficient Circuit-Based PSI with Linear Communication. In Advances in Cryptology—EUROCRYPT 2019; Ishai, Y., Rijmen, V., Eds.; Springer International Publishing: Cham, Switzerland, 2019; pp. 122–153. [Google Scholar]
- Chandran, N.; Gupta, D.; Shah, A. Circuit-PSI with Linear Complexity via Relaxed Batch OPPRF. Proc. Priv. Enhancing Technol. 2021, 2022, 353–372. [Google Scholar] [CrossRef] [Scilit]
- Resende, A.C.D.; Aranha, D.F. Faster unbalanced private set intersection. In Proceedings of the International Conference on Financial Cryptography and Data Security, Nieuwpoort, Curaçao, 26 February–2 March 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 203–221. [Google Scholar]
- Pinkas, B.; Rosulek, M.; Trieu, N.; Yanai, A. PSI from PaXoS: Fast, malicious private set intersection. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques, Zagreb, Croatia, 10–14 May 2020; pp. 739–767. [Google Scholar]
- Garimella, G.; Pinkas, B.; Rosulek, M.; Trieu, N.; Yanai, A. Oblivious Key-Value Stores and Amplification for Private Set Intersection. In Proceedings of the CRYPTO 2021, Part II (LNCS 12826), Virtual, 16–20 August 2021; pp. 395–425. [Google Scholar]
- Rindal, P.; Schoppmann, P. VOLE-PSI: Fast OPRF and circuit-PSI from vector-OLE. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques, Madrid, Spain, 4–8 May 2021; pp. 901–930. [Google Scholar]
- Boneh, D.; Kogan, D.; Woo, K. Oblivious pseudorandom functions from isogenies. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security, Virtually, 7–11 December 2020; pp. 520–550. [Google Scholar]
- Delpech de Saint Guilhem, C.; Pedersen, R. New proof systems and an OPRF from CSIDH. In Proceedings of the IACR International Conference on Public-Key Cryptography, Sydney, NSW, Australia, 15–17 April 2024; pp. 217–251. [Google Scholar]
- Esgin, M.F.; Steinfeld, R.; Tairi, E.; Xu, J. LeOPaRd: Towards Practical Post-Quantum Oblivious PRFs via Interactive Lattice Problems. IACR ePrint 2024/1615. 2024. Available online: https://eprint.iacr.org/2024/1615.pdf (accessed on 14 December 2025).
- Kaluderovic, N.; Cheng, N.; Mitrokotsa, K. A Post-Quantum Distributed OPRF from the Legendre PRF. IACR ePrint 2024/544. 2024. Available online: https://eprint.iacr.org/2024/544.pdf (accessed on 14 December 2025).
- Ding, J.; Xie, X.; Lin, X. A Simple Provably Secure Key Exchange Scheme Based on the Learning with Errors Problem. Cryptology ePrint Archive, Report 2012/688. 2012. Available online: https://eprint.iacr.org/2012/688 (accessed on 14 December 2025).
- Lyubashevsky, V.; Peikert, C.; Regev, O. On ideal lattices and learning with errors over rings. In Advances in Cryptology—EUROCRYPT 2010: 29th Annual International Conference on the Theory and Applications of Cryptographic Techniques, French Riviera, France, 30 May–3 June 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 254–283. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.











