An Illuminating Algorithm for the Light Bulb Problem

10/15/2018
by   Josh Alman, et al.
0

The Light Bulb Problem is one of the most basic problems in data analysis. One is given as input n vectors in {-1,1}^d, which are all independently and uniformly random, except for a planted pair of vectors with inner product at least ρ· d for some constant ρ > 0. The task is to find the planted pair. The most straightforward algorithm leads to a runtime of Ω(n^2). Algorithms based on techniques like Locality-Sensitive Hashing achieve runtimes of n^2 - O(ρ); as ρ gets small, these approach quadratic. Building on prior work, we give a new algorithm for this problem which runs in time O(n^1.582 + nd), regardless of how small ρ is. This matches the best known runtime due to Karppa et al. Our algorithm combines techniques from previous work on the Light Bulb Problem with the so-called `polynomial method in algorithm design,' and has a simpler analysis than previous work. Our algorithm is also easily derandomized, leading to a deterministic algorithm for the Light Bulb Problem with the same runtime of O(n^1.582 + nd), improving previous results.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/25/2018

A New Algorithm for Finding Closest Pair of Vectors

Given n vectors x_0, x_1, ..., x_n-1 in {0,1}^m, how to find two vectors...
research
02/04/2021

A Faster Algorithm for Finding Closest Pairs in Hamming Metric

We study the Closest Pair Problem in Hamming metric, which asks to find ...
research
07/30/2018

Guidesort: Simpler Optimal Deterministic Sorting for the Parallel Disk Model

A new algorithm, Guidesort, for sorting in the uniprocessor variant of t...
research
12/11/2020

Faster Deterministic Modular Subset Sum

We consider the Modular Subset Sum problem: given a multiset X of intege...
research
06/23/2020

Robust Gaussian Covariance Estimation in Nearly-Matrix Multiplication Time

Robust covariance estimation is the following, well-studied problem in h...
research
07/24/2023

A faster and simpler algorithm for learning shallow networks

We revisit the well-studied problem of learning a linear combination of ...
research
03/15/2019

A Faster Algorithm Enumerating Relevant Features over Finite Fields

A k-junta function is a function which depends on only k coordinates of ...

Please sign up or login with your details

Forgot password? Click here to reset