Skip to main content
QUICK REVIEW

[Paper Review] The Strong 3SUM-INDEXING Conjecture is False

Tsvi Kopelowitz, Ely Porat|arXiv (Cornell University)|Jul 25, 2019
Algorithms and Data CompressionComputer Science13 references5 citations
TL;DR

This paper refutes the Strong 3SUM-Indexing Conjecture by presenting a deterministic algorithm that solves the 3SUM-Indexing problem with $ O(n^{2- heta}) $ space and $ O(n^{ heta}) $ query time for any $ \theta > 0 $, using a reduction to function inversion via Fiat and Naor's algorithm and a derandomized hashing strategy over multiple hash functions to ensure correctness with high probability.

ABSTRACT

In the 3SUM-Indexing problem the goal is to preprocess two lists of elements from $U$, $A=(a_1,a_2,\ldots,a_n)$ and $B=(b_1,b_2,...,b_n)$, such that given an element $c\in U$ one can quickly determine whether there exists a pair $(a,b)\in A imes B$ where $a+b=c$. Goldstein et al.~[WADS'2017] conjectured that there is no algorithm for 3SUM-Indexing which uses $n^{2-Ω(1)}$ space and $n^{1-Ω(1)}$ query time. We show that the conjecture is false by reducing the 3SUM-Indexing problem to the problem of inverting functions, and then applying an algorithm of Fiat and Naor [SICOMP'1999] for inverting functions.

Motivation & Objective

  • To challenge the widely held Strong 3SUM-Indexing Conjecture, which posits no algorithm can achieve $ n^{2- heta} $ space and $ n^{1- heta} $ query time for any $ \theta > 0 $.
  • To design a practical algorithm for the 3SUM-Indexing problem that breaks the conjectured lower bound using advanced data structure techniques.
  • To extend the solution to the general KSUM-Indexing problem and analyze its performance on both worst-case and random inputs.
  • To demonstrate that the conjecture is false by constructing a concrete algorithm with provable subquadratic space and sublinear query time.

Proposed method

  • Reduces the KSUM-Indexing problem to inverting a carefully constructed function $ f: [n]^{k-1} \to [n]^{k-1} $, where $ f $ maps index tuples to hash values of their corresponding sum.
  • Employs the Fiat and Naor function inversion algorithm, which achieves $ \tilde{O}(S) $ space and $ \tilde{O}(T) $ query time with $ S \cdot T^3 = N^3 $, where $ N = n^{k-1} $.
  • Uses $ O(\log n) $ pairwise independent hash functions $ h_\ell $ to ensure that each sum in the output set is uniquely mapped with high probability, enabling reliable verification.
  • For each hash function $ h_\ell $, precomputes the inverse of $ f_\ell = h_\ell \circ g $, where $ g $ computes the sum of elements at given indices.
  • During query, checks all $ f_\ell^{-1}(h_\ell(c)) $, computes the actual sum for each preimage, and returns 'yes' if any matches the target $ c $.
  • Leverages unlimited preprocessing time to deterministically select hash functions such that all relevant sums are $ h_\ell $-singleton for some $ \ell $, ensuring correctness.

Experimental results

Research questions

  • RQ1Can the Strong 3SUM-Indexing Conjecture be refuted by constructing an algorithm that achieves subquadratic space and sublinear query time?
  • RQ2Is it possible to reduce the 3SUM-Indexing problem to function inversion in a way that enables efficient space-time trade-offs?
  • RQ3How does the performance of the algorithm change when inputs are uniformly random, and can the trade-off be improved?
  • RQ4Can derandomization techniques be applied to hashing-based function inversion to guarantee correctness without relying on probabilistic assumptions?

Key findings

  • The Strong 3SUM-Indexing Conjecture is false: an algorithm exists with $ O(n^{2 - \delta/3}) $ space and $ O(n^{\delta}) $ query time for any $ 0 < \delta < 1 $.
  • For $ \delta = 3/4 $, the algorithm uses $ n^{1.75} $ space and $ n^{0.75} $ query time, violating the conjectured lower bound.
  • For random instances of 3SUM-Indexing, the space bound improves to $ O(n^{1.625}) $ space with $ n^{0.75} $ query time due to a tighter trade-off in the function inversion cost.
  • The algorithm uses $ O(\log n) $ pairwise independent hash functions to ensure that each sum in the output set is uniquely hashable with high probability.
  • The method achieves correctness by deterministically selecting hash functions during preprocessing, eliminating reliance on randomized guarantees.
  • The core technique—reducing KSUM-Indexing to function inversion via Fiat and Naor’s algorithm—provides a general framework for subquadratic space and sublinear query time in indexing problems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.