Random-Order Enumeration for Self-Reducible NP-Problems

02/27/2023
by   Pengyu Chen, et al.
0

In plenty of data analysis tasks, a basic and time-consuming process is to produce a large number of solutions and feed them into downstream processing. Various enumeration algorithms have been developed for this purpose. An enumeration algorithm produces all solutions of a problem instance without repetition. To be a statistically meaningful representation of the solution space, solutions are required to be enumerated in uniformly random order. This paper studies a set of self-reducible NP-problems in three hierarchies, where the problems are polynomially countable (Sr_NP^FP), admit FPTAS (Sr_NP^FPTAS), and admit FPRAS (Sr_NP^FPRAS), respectively. The trivial algorithm based on a (almost) uniform generator is in fact inefficient. We provide a new insight that the (almost) uniform generator is not the end of the story. More efficient algorithmic frameworks are proposed to enumerate solutions in uniformly random order for problems in these three hierarchies. (1) For problems in Sr_NP^FP, we show a random-order enumeration algorithm with polynomial delay (PDREnum); (2) For problems in Sr_NP^FPTAS, we show a Las Vegas random-order enumeration algorithm with expected polynomial delay (PDLVREnum); (3) For problems in Sr_NP^FPRAS, we devise a fully polynomial delay Atlantic City random-order enumeration algorithm with expected delay polynomial in the input size and the given error probability δ (FPACREnum), which has a probability of at least 1-δ becoming a Las Vegas random-order enumeration algorithm. Finally, to further improve the efficiency of the random-order enumeration algorithms, based on the master/slave paradigm, we present a parallelization with 1.5-optimal enumeration delay and running time, along with the theoretical analysis.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/10/2021

Polynomial-Delay Enumeration of Large Maximal Matchings

Enumerating matchings is a classical problem in the field of enumeration...
research
07/13/2021

Polynomial delay algorithm for minimal chordal completions

Motivated by the problem of enumerating all tree decompositions of a gra...
research
01/11/2021

Refined Notions of Parameterized Enumeration Kernels with Applications to Matching Cut Enumeration

An enumeration kernel as defined by Creignou et al. [Theory Comput. Syst...
research
05/03/2018

On the Enumeration of Minimal Hitting Sets in Lexicographical Order

It is a long-standing open problem whether there exists an output-polyno...
research
08/07/2018

On tail estimates for Randomized Incremental Construction

By combining several interesting applications of random sampling in geom...
research
08/23/2021

Geometric Amortization of Enumeration Algorithms

In this paper, we introduce the technique of geometric amortization for ...
research
12/23/2019

Answering (Unions of) Conjunctive Queries using Random Access and Random-Order Enumeration

As data analytics becomes more crucial to digital systems, so grows the ...

Please sign up or login with your details

Forgot password? Click here to reset