Faster Algorithms for Average-Case Orthogonal Vectors and Closest Pair Problems

Abstract

We study the average-case version of the Orthogonal Vectors problem, in which one is given as input n vectors from \0,1\d which are chosen randomly so that each coordinate is 1 independently with probability p. Kane and Williams [ITCS 2019] showed how to solve this problem in time O(n2 - δp) for a constant δp > 0 that depends only on p. However, it was previously unclear how to solve the problem faster in the hardest parameter regime where p may depend on d. The best prior algorithm was the best worst-case algorithm by Abboud, Williams and Yu [SODA 2014], which in dimension d = c · n, solves the problem in time n2 - (1/ c). In this paper, we give a new algorithm which improves this to n2 - ( c / c) in the average case for any parameter p. As in the prior work, our algorithm uses the polynomial method. We make use of a very simple polynomial over the reals, and use a new method to analyze its performance based on computing how its value degrades as the input vectors get farther from orthogonal. To demonstrate the generality of our approach, we also solve the average-case version of the closest pair problem in the same running time.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…