paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Enumeration Algorithms for Conjunctive Queries with Projection

带投影的合取查询的枚举算法
LMCS vol.Volume 21, Issue 32025匹配度 1/10 · 该论文属于数据库理论中带投影合取查询的枚举算法研究,核心关注查询结果枚举、预处理与延迟保证,与用户画像中的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接关联。虽然标签涉及逻辑,但并非程序分析、形式化验证或 LLM 交叉方向。引用 16 inbox
Shaleen Deep, Xiao Hu, Paraschos Koutris
crossref: 2026-09-10

AI 速览

一句话:提出带投影合取查询的枚举算法,通过交错预计算与连接处理,为星形和路径查询提供延迟保证并改进已知结果。

论文研究带投影的合取查询(CQ)结果枚举,聚焦星形和路径查询。目标是在预处理阶段后以延迟保证高效枚举。核心思想是把预计算输出与后续连接处理交错,以维持延迟保证。对星形查询,给出线性预处理时间、实例相关的延迟保证的组合算法,优于已知最佳结果;并利用快速矩阵乘法改进已有结果;对含投影的路径查询给出预处理时间与延迟保证之间的权衡。布尔矩阵乘法可表示为投影连接属性被投影掉的 CQ,因此结果也可视为带延迟保证的稀疏、输出敏感矩阵乘法。

问题
如何为带投影的合取查询(星形与路径查询)设计数据结构与算法,在预处理后实现有延迟保证的结果枚举。
方法
将预计算输出与后续连接处理交错,结合组合算法与快速矩阵乘法,分析预处理时间与枚举延迟的权衡。
评估
通过算法复杂度分析和与已知最佳结果的比较进行评估,给出星形查询的线性预处理与实例相关延迟保证,以及路径查询的预处理-延迟权衡。
原文摘要(Abstract)

We investigate the enumeration of query results for an important subset of CQs with projections, namely star and path queries. The task is to design data structures and algorithms that allow for efficient enumeration with delay guarantees after a preprocessing phase. Our main contribution is a series of results based on the idea of interleaving precomputed output with further join processing to maintain delay guarantees, which maybe of independent interest. In particular, for star queries, we design combinatorial algorithms that provide instance-specific delay guarantees in linear preprocessing time. These algorithms improve upon the currently best known results. Further, we show how existing results can be improved upon by using fast matrix multiplication. We also present new results involving tradeoff between preprocessing time and delay guarantees for enumeration of path queries that contain projections. Boolean matrix multiplication is an important query that can be expressed as a CQ with projection where the join attribute is projected away. Our results can therefore also be interpreted as sparse, output-sensitive matrix multiplication with delay guarantees.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{abs-2101-03712,
  title = {Enumeration Algorithms for Conjunctive Queries with Projection},
  author = {Shaleen Deep and Xiao Hu and Paraschos Koutris},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 21, Issue 3},
  year = {2025},
  doi = {10.46298/lmcs-21(3:27)2025}
}