A Dichotomy for the Generalized Model Counting Problem for Unions of Conjunctive Queries

Batya Kenig, Dan Suciu
{"title":"A Dichotomy for the Generalized Model Counting Problem for Unions of Conjunctive Queries","authors":"Batya Kenig, Dan Suciu","doi":"10.1145/3452021.3458313","DOIUrl":null,"url":null,"abstract":"We study the \\em generalized model counting problem, defined as follows: given a database, and a set of deterministic tuples, count the number of subsets of the database that include all deterministic tuples and satisfy the query. This problem is computationally equivalent to the evaluation of the query over a tuple-independent probabilistic database where all tuples have probabilities in $\\set0,\\frac1 2, 1 $. Previous work has established a dichotomy for Unions of Conjunctive Queries (UCQ) when the probabilities are arbitrary rational numbers, showing that, for each query, its complexity is either in polynomial time or \\#P-hard. The query is called \\em safe in the first case, and \\em unsafe in the second case. Here, we strengthen the hardness proof, by proving that an unsafe UCQ query remains \\#P-hard even if the probabilities are restricted to $\\set0,\\frac1 2, 1 $. This requires a complete redesign of the hardness proof, using new techniques. A related problem is the \\em model counting problem, which asks for the probability of the query when the input probabilities are restricted to $\\set0,\\frac1 2 $. While our result does not extend to model counting for all unsafe UCQs, we prove that model counting is \\#P-hard for a class of unsafe queries called Type-I forbidden queries.","PeriodicalId":405398,"journal":{"name":"Proceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3452021.3458313","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

We study the \em generalized model counting problem, defined as follows: given a database, and a set of deterministic tuples, count the number of subsets of the database that include all deterministic tuples and satisfy the query. This problem is computationally equivalent to the evaluation of the query over a tuple-independent probabilistic database where all tuples have probabilities in $\set0,\frac1 2, 1 $. Previous work has established a dichotomy for Unions of Conjunctive Queries (UCQ) when the probabilities are arbitrary rational numbers, showing that, for each query, its complexity is either in polynomial time or \#P-hard. The query is called \em safe in the first case, and \em unsafe in the second case. Here, we strengthen the hardness proof, by proving that an unsafe UCQ query remains \#P-hard even if the probabilities are restricted to $\set0,\frac1 2, 1 $. This requires a complete redesign of the hardness proof, using new techniques. A related problem is the \em model counting problem, which asks for the probability of the query when the input probabilities are restricted to $\set0,\frac1 2 $. While our result does not extend to model counting for all unsafe UCQs, we prove that model counting is \#P-hard for a class of unsafe queries called Type-I forbidden queries.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
合取查询并集的广义模型计数问题的二分法
我们研究了em广义模型计数问题,定义如下:给定一个数据库和一组确定性元组,计算数据库中包含所有确定性元组并满足查询的子集的个数。这个问题在计算上等同于对元组独立概率数据库的查询进行评估,其中所有元组的概率都在$\set0,\frac1 2,1 $中。先前的工作已经为概率为任意有理数的联合查询(UCQ)建立了一个二分法,表明对于每个查询,其复杂性要么是多项式时间,要么是\#P-hard。在第一种情况下,查询称为\em安全,而在第二种情况下,查询称为\em不安全。在这里,我们通过证明即使概率被限制为$\set0,\frac1 2,1 $,不安全的UCQ查询仍然是\#P-hard来加强硬度证明。这需要使用新技术对硬度证明进行彻底的重新设计。一个相关的问题是\em模型计数问题,该问题要求在输入概率被限制为$\set0,\frac1 2 $时查询的概率。虽然我们的结果没有扩展到所有不安全ucq的模型计数,但我们证明了模型计数对于一类称为Type-I禁止查询的不安全查询是\#P-hard的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Cover or Pack: New Upper and Lower Bounds for Massively Parallel Joins Data-Independent Space Partitionings for Summaries 2021 ACM PODS Alberto O. Mendelzon Test-of-Time Award Modern Lower Bound Techniques in Database Theory and Constraint Satisfaction Privacy
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1