arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1812.09526cs.DBcs.DScs.ITcs.LGmath.IT
收藏

具有可加不等式的泛函聚集函数

Functional Aggregate Queries with Additive Inequalities

relational AI(关系人工智能公司);Carnegie Mellon University(卡内基梅隆大学);University of Michigan(密歇根大学);University of Zurich(苏黎世大学);University of Washington(华盛顿大学)

Mahmoud Abo Khamis, Ryan R. Curtin, Benjamin Moseley, Hung Q. Ngo, XuanLong Nguyen, Dan Olteanu, Maximilian Schleich

摘要:

受数据库和关系机器学习中的基本应用的启发,我们制定和研究回答功能性聚集查询(FAQ)的问题,其中一些输入因素定义的变量之间的加法不等式的集合。我们将这些查询简称为FAQ-AI。为了在布尔半环中回答FAQ-AI问题,我们定义了松弛树分解和松弛子模超树宽度参数以及分数超树宽度参数。我们表明,扩展的InsideOut算法使用Chazelle的几何数据结构解决半群范围搜索问题,可以回答布尔FAQ-AI在这些新的宽度参数的时间。这种新算法比FAQ-AI的已知解决方案实现了更低的复杂度。它还恢复了一些已知的数据库查询回答的结果。我们的第二个贡献是一个放松的集合的polymatroids,从而产生了计数版本的子模的宽度,表示为#subw。这个新的宽度夹在子模超树宽度和分数超树宽度之间。一个半环上的任何FAQ和FAQ-AI都可以在与#subw和分别与#subw的松弛版本成比例的时间内回答。我们提出了FAQ-AI框架在关系机器学习中的三个应用:k均值聚类,训练线性支持向量机,以及使用非多项式损失训练模型。这些优化问题可以在数据库上渐近地比计算数据库关系的连接更快地解决。

英文摘要:

Motivated by fundamental applications in databases and relational machine learning, we formulate and study the problem of answering functional aggregate queries (FAQ) in which some of the input factors are defined by a collection of additive inequalities between variables. We refer to these queries as FAQ-AI for short. To answer FAQ-AI in the Boolean semiring, we define relaxed tree decompositions and relaxed submodular and fractional hypertree width parameters. We show that an extension of the InsideOut algorithm using Chazelle's geometric data structure for solving the semigroup range search problem can answer Boolean FAQ-AI in time given by these new width parameters. This new algorithm achieves lower complexity than known solutions for FAQ-AI. It also recovers some known results in database query answering. Our second contribution is a relaxation of the set of polymatroids that gives rise to the counting version of the submodular width, denoted by #subw. This new width is sandwiched between the submodular and the fractional hypertree widths. Any FAQ and FAQ-AI over one semiring can be answered in time proportional to #subw and respectively to the relaxed version of #subw. We present three applications of our FAQ-AI framework to relational machine learning: k-means clustering, training linear support vector machines, and training models using non-polynomial loss. These optimization problems can be solved over a database asymptotically faster than computing the join of the database relations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑