Treedy: A Heuristic for Counting and Sampling Subsets
Abstract
Consider a collection of weighted subsets of a ground set N. Given a query subset Q of N, how fast can one (1) find the weighted sum over all subsets of Q, and (2) sample a subset of Q proportionally to the weights? We present a tree-based greedy heuristic, Treedy, that for a given positive tolerance d answers such counting and sampling queries to within a guaranteed relative error d and total variation distance d, respectively. Experimental results on artificial instances and in application to Bayesian structure discovery in Bayesian networks show that approximations yield dramatic savings in running time compared to exact computation, and that Treedy typically outperforms a previously proposed sorting-based heuristic.
Cite
Text
Niinimaki and Koivisto. "Treedy: A Heuristic for Counting and Sampling Subsets." Conference on Uncertainty in Artificial Intelligence, 2013.Markdown
[Niinimaki and Koivisto. "Treedy: A Heuristic for Counting and Sampling Subsets." Conference on Uncertainty in Artificial Intelligence, 2013.](https://mlanthology.org/uai/2013/niinimaki2013uai-treedy/)BibTeX
@inproceedings{niinimaki2013uai-treedy,
title = {{Treedy: A Heuristic for Counting and Sampling Subsets}},
author = {Niinimaki, Teppo and Koivisto, Mikko},
booktitle = {Conference on Uncertainty in Artificial Intelligence},
year = {2013},
url = {https://mlanthology.org/uai/2013/niinimaki2013uai-treedy/}
}