Skip to main content
QUICK REVIEW

[Paper Review] Deterministic 3SUM-Hardness

Nick Fischer, Piotr Kaliciak|arXiv (Cornell University)|Oct 19, 2023
Complexity and Algorithms in GraphsComputer Science1 citations
TL;DR

This paper establishes deterministic 3SUM-hardness for a broad class of problems by introducing a toolkit to derandomize reductions based on additive hashing. It proves that key problems like Set Disjointness, Set Intersection, and Triangle Listing are hard under deterministic reductions, resolving open questions from prior work and advancing a foundational theory of deterministic 3SUM-hardness with a deterministic universe reduction for 3SUM.

ABSTRACT

As one of the three main pillars of fine-grained complexity theory, the 3SUM problem explains the hardness of many diverse polynomial-time problems via fine-grained reductions. Many of these reductions are either directly based on or heavily inspired by Pătraşcu's framework involving additive hashing and are thus randomized. Some selected reductions were derandomized in previous work [Chan, He; SOSA'20], but the current techniques are limited and a major fraction of the reductions remains randomized. In this work we gather a toolkit aimed to derandomize reductions based on additive hashing. Using this toolkit, we manage to derandomize almost all known 3SUM-hardness reductions. As technical highlights we derandomize the hardness reductions to (offline) Set Disjointness, (offline) Set Intersection and Triangle Listing -- these questions were explicitly left open in previous work [Kopelowitz, Pettie, Porat; SODA'16]. The few exceptions to our work fall into a special category of recent reductions based on structure-versus-randomness dichotomies. We expect that our toolkit can be readily applied to derandomize future reductions as well. As a conceptual innovation, our work thereby promotes the theory of deterministic 3SUM-hardness. As our second contribution, we prove that there is a deterministic universe reduction for 3SUM. Specifically, using additive hashing it is a standard trick to assume that the numbers in 3SUM have size at most $n^3$. We prove that this assumption is similarly valid for deterministic algorithms.

Motivation & Objective

  • To develop a general toolkit for derandomizing fine-grained reductions based on additive hashing in 3SUM-hardness proofs.
  • To resolve open problems in the literature by proving deterministic hardness for (offline) Set Disjointness, Set Intersection, and Triangle Listing.
  • To establish a deterministic universe reduction for 3SUM, showing that the standard assumption of numbers in [n³] is valid even for deterministic algorithms.
  • To lay the foundation for a comprehensive theory of deterministic 3SUM-hardness, addressing the role of randomness in fine-grained complexity.

Proposed method

  • Uses a deterministic version of P˘atra¸scu’s additive hashing framework, replacing randomized hash functions with deterministic constructions via conditional expectations.
  • Applies a deterministic hashing lemma (Lemma 3.2) to find a modulus m that minimizes false positives (h(a) + h(b) ≡ h(c) mod m) across relevant 3SUM triples.
  • Employs a self-reduction of 3SUM into O(n^α) smaller instances (Lemma 3.3), reducing the number of relevant triples to O(n^{2α}) for efficient handling.
  • Constructs reductions to Set Disjointness and Set Intersection by mapping 3SUM solutions to set intersections modulo m, using modular arithmetic to encode solutions.
  • Uses a parameterized analysis with δ > 0 to control error terms and ensure subquadratic running time under the deterministic 3SUM hypothesis.
  • Applies a universe reduction technique to show that 3SUM instances can be assumed to have numbers in [n³] even under deterministic algorithms, via additive hashing.

Experimental results

Research questions

  • RQ1Can all 3SUM-hardness reductions based on additive hashing be derandomized?
  • RQ2Is there a deterministic reduction from 3SUM to Triangle Listing, resolving an open problem from Kopelowitz et al. (SODA’16)?
  • RQ3Can a deterministic universe reduction be constructed for 3SUM, ensuring that input numbers can be assumed to be in [n³] without loss of generality?
  • RQ4What are the limits of the current derandomization toolkit, and which reductions remain outside its scope?

Key findings

  • The paper proves that (offline) Set Disjointness is deterministic 3SUM-hard under the hypothesis that no deterministic O(n²−ε) algorithm exists for 3SUM.
  • It establishes deterministic hardness for (offline) Set Intersection with parameters |U| = O(n^{1+β−α}), N = O(n^{1/2 + α/2 + β/2}), s = O(n^{1−α}), q = O(n^{1+α}), and output size O(n^{2−β}), under the same hypothesis.
  • The paper provides a deterministic reduction to Triangle Listing, resolving an open problem left by Kopelowitz, Pettie, and Porat (SODA’16).
  • It proves a deterministic universe reduction for 3SUM, showing that all 3SUM instances can be assumed to have values in [n³] even for deterministic algorithms.
  • The framework successfully derandomizes nearly all known 3SUM-hardness reductions, with only a small class of recent structure-versus-randomness based reductions remaining outside its scope.

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.