Lune

SODA2023Top-tier venue

Time-Space Tradeoffs for Element Distinctness and Set Intersection via Pseudorandomness

Xin Lyu, Weihao Zhu

Abstract

In the ELEMENT DISTINCTNESS problem, one is given an array a1,…, an of integers from [poly(n)] and is tasked to decide if ai are mutually distinct. Beame, Clifford and Machmouchi (FOCS 2013) gave a low-space algorithm for this problem that runs in space S(n) and time T(n) where T(n) ≤ Õ(n3/2/S(n)1/2), assuming a random oracle (i.e., random access to polynomially many random bits). A recent breakthrough by Chen, Jin, Williams and Wu (SODA 2022) showed how to remove the random oracle assumption in the regime S(n) = polylog(n) and T(n) = Õ(n3/2). They designed the first truly polylog(n)-space, Õ(n3/2)-time algorithm by constructing a small family of hash functions H ⊆ h|h : [poly(n)] → [n] with a certain pseudorandom property. In this paper, we give a significantly simplified analysis of the pseudorandom hash family by Chen et al. Our analysis clearly identifies the key pseudorandom property required to fool the BCM algorithm, allowing us to explore the full potential of this construction. Based on our new analysis, we show the following. • As our main result, we give a time-space tradeoff for ELEMENT DISTINCTNESS without random oracle. Namely, for every S(n),T(n) such that T ≈ Õ(n3/2/S(n)1/2), our algorithm can solve the problem in space S(n) and time T(n). Our algorithm also works for a related problem SET INTERSECTION, for which this tradeoff is tight due to a matching lower bound by Dinur (Eurocrypt 2020). • As a direct application of our technique, we show a more general pseudorandom property of the hash family, which we call the “c-connecting” property. It might be of independent interest. • The construction by Chen et al. needs O(log3 n log log n) random bits to sample the pseudorandom hash function. We slightly improve the seed length to O (log3 n). * The full version of the paper can be accessed at https://arxiv.org/abs/2210.07534

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

No credit card required.

Lineage

  • Removing Additive Structure in 3SUM-Based Reductions cites Truly Low-Space Element Distinctness and Subset Sum via Pseudorandom Hash Functions
  • Truly Low-Space Element Distinctness and Subset Sum via Pseudorandom Hash Functions cites Tight Time-Space Lower Bounds for Finding Multiple Collision Pairs and Their Applications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations

Builds on2

  1. Tight Time-Space Lower Bounds for Finding Multiple Collision Pairs and Their ApplicationsItai DinurEUROCRYPT 2020 · 16 citations
  2. Truly Low-Space Element Distinctness and Subset Sum via Pseudorandom Hash FunctionsLijie Chen, Ce Jin, R. Ryan Williams, Hongxun WuSODA 2022 · 3 citations

Related papers

  1. Explicit Min-wise Hash Families with Optimal SizeXue Chen, Shengtang Huang, Xin LiSODA 2026
  2. PTHash: Revisiting FCH Minimal Perfect HashingGiulio Ermanno Pibiri, Roberto TraniSIGIR 2021 · 34 citations
  3. Fast Low-Space Algorithms for Subset SumCe Jin, Nikhil Vyas, Ryan WilliamsSODA 2021 · 10 citations
  4. Shaving Logs via Large Sieve Inequality: Faster Algorithms for Sparse Convolution and MoreCe Jin, Yinzhan XuSTOC 2024 · 1 citation
  5. Improving Schroeppel and Shamir's algorithm for subset sum via orthogonal vectorsJesper Nederlof, Karol WegrzyckiSTOC 2021
Dusk over the sea between two cliffs drawn in fine vertical lines