arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.06189cs.DBcs.CCcs.ITmath.IT
收藏

快速矩阵乘法与子模宽度

Fast Matrix Multiplication meets the Submodular Width

University of Oxford(牛津大学);RelationalAI(关系人工智能);University of Waterloo(滑铁卢大学);University of Washington(华盛顿大学)

Mahmoud Abo Khamis, Xiao Hu, Dan Suciu

AI总结:

研究数据库理论中布尔合取查询计算答案的最佳复杂度问题,引入基于信息论统一组合与非组合技术的框架,推广子模宽度概念为ω - 子模宽度,给出匹配算法并发现新算法。

摘要:

数据库理论中的一个基本问题是:给定布尔合取查询Q,根据输入数据库大小N计算Q答案的最佳复杂度是多少?本文引入通用框架,用矩阵乘法捕捉回答任何BCQ Q的最佳复杂度,统一技术,推广子模宽度概念,描述匹配算法并发现新算法。

英文摘要:

One fundamental question in database theory is the following: Given a Boolean Conjunctive Query (BCQ) Q, what is the best complexity for computing the answer to Q in terms of the input database size N? When restricted to the class of combinatorial algorithms, it is known that the best known complexity for any query Q is captured by the submodular width of Q. However, beyond combinatorial algorithms, certain queries are known to admit faster algorithms that often involve a clever combination of fast matrix multiplication and data partitioning. Nevertheless, there is no systematic way to derive and analyze the complexity of such algorithms for arbitrary queries Q. In this work, we introduce a general framework that captures the best complexity for answering any BCQ Q using matrix multiplication. Our framework unifies both combinatorial and non-combinatorial techniques under the umbrella of information theory. It generalizes the notion of submodular width to a new stronger notion called the omega-submodular width that naturally incorporates the power of fast matrix multiplication. We describe a matching algorithm that computes the answer to any query Q in time corresponding to the omega-submodular width of Q. We show that our framework recovers the best known complexities for Boolean queries that have been studied in the literature, to the best of our knowledge, and also discovers new algorithms for some classes of queries that improve upon the best known complexities.

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

↑