Random-Order Enumeration for Self-Reducible NP-Problems
Authors:
- Pengyu ChenPCPengyu Chen
- Dongjing MiaoDMDongjing Miao
- Weitian TongWTWeitian Tong
- Zizheng GuoZGZizheng Guo
- Jianzhong LiJLJianzhong Li
- Zhipeng CaiZCZhipeng Cai
Preprint
Abstract
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.
Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Incremental delay enumeration: Space and timeDiscrete Applied Mathematics, 2019
- Data Mining with Big Data2017
- An FPTAS for #Knapsack and Related Counting Problems2011
- Keyword proximity search in complex data graphs2008
- Maximum Cardinality Search for Computing Minimal Triangulations of GraphsAlgorithmica, 2004
- Discover2002
- The master-slave paradigm in parallel computer and industrial settingsJournal of Global Optimization, 1996
- Probability Inequalities for sums of Bounded Random Variables1994
- On generating all maximal independent setsInformation Processing Letters, 1988
- Random generation of combinatorial structures from a uniform distributionTheoretical Computer Science, 1986