English

On The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Product

Computational Complexity 2018-03-07 v2 Data Structures and Algorithms

Abstract

In this paper we study the (Bichromatic) Maximum Inner Product Problem (Max-IP), in which we are given sets AA and BB of vectors, and the goal is to find aAa \in A and bBb \in B maximizing inner product aba \cdot b. Max-IP is very basic and serves as the base problem in the recent breakthrough of [Abboud et al., FOCS 2017] on hardness of approximation for polynomial-time problems. It is also used (implicitly) in the argument for hardness of exact 2\ell_2-Furthest Pair (and other important problems in computational geometry) in poly-log-log dimensions in [Williams, SODA 2018]. We have three main results regarding this problem. First, we study the best multiplicative approximation ratio for Boolean Max-IP in sub-quadratic time. We show that, for Max-IP with two sets of nn vectors from {0,1}d\{0,1\}^{d}, there is an n2Ω(1)n^{2 - \Omega(1)} time (d/logn)Ω(1)\left( d/\log n \right)^{\Omega(1)}-multiplicative-approximating algorithm, and we show this is conditionally optimal, as such a (d/logn)o(1)\left(d/\log n\right)^{o(1)}-approximating algorithm would refute SETH. Second, we achieve a similar characterization for the best additive approximation error to Boolean Max-IP. We show that, for Max-IP with two sets of nn vectors from {0,1}d\{0,1\}^{d}, there is an n2Ω(1)n^{2 - \Omega(1)} time Ω(d)\Omega(d)-additive-approximating algorithm, and this is conditionally optimal, as such an o(d)o(d)-approximating algorithm would refute SETH [Rubinstein, STOC 2018]. Last, we revisit the hardness of solving Max-IP exactly for vectors with integer entries. We show that, under SETH, for Max-IP with sets of nn vectors from Zd\mathbb{Z}^{d} for some d=2O(logn)d = 2^{O(\log^{*} n)}, every exact algorithm requires n2o(1)n^{2 - o(1)} time. With the reduction from [Williams, SODA 2018], it follows that 2\ell_2-Furthest Pair and Bichromatic 2\ell_2-Closest Pair in 2O(logn)2^{O(\log^{*} n)} dimensions require n2o(1)n^{2 - o(1)} time.

Keywords

Cite

@article{arxiv.1802.02325,
  title  = {On The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Product},
  author = {Lijie Chen},
  journal= {arXiv preprint arXiv:1802.02325},
  year   = {2018}
}

Comments

abstract shortened to meet the constraint