arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.19006cs.DMcs.DBcs.LO
收藏

合取查询的Weisfeiler-Leman维数

The Weisfeiler-Leman Dimension of Conjunctive Queries

Andreas Göbel, Leslie Ann Goldberg, Marc Roth

AI总结:

本研究提出语义扩展宽度sew(φ)刻画任意合取查询的Weisfeiler-Leman维数,结合树宽与量化星大小,并推导出低于该宽度阶数的GNN无法计算对应查询的答案计数。

摘要:

图参数$f$的Weisfeiler-Leman(WL)维数是满足以下条件的最小$k$:若图$G_1$和$G_2$无法被$k$维WL算法区分,则$f(G_1)=f(G_2)$。若不存在这样的$k$,则$f$的WL维数为$\text{∞}$。我们研究由固定合取查询在图上的答案数量所刻画的图参数的WL维数。给定一个合取查询$\boldsymbol{\u03c6}$,我们量化将每个图$G$映射为$\boldsymbol{\u03c6}$在$G$中答案数的函数的WL维数。\nDvorák(《图论杂志》,2010年)、Dell、Grohe与Rattan(国际自动机、语言与程序设计大会,2018年)以及Neuen(arXiv预印本,2023年)的工作已针对完全合取查询(即不含量词存在变量的合取查询)回答了这一问题。对于这类查询$\boldsymbol{\u03c6}$,其WL维数等于$\boldsymbol{\u03c6}$的Gaifman图的树宽。\n在本研究中,我们给出了适用于所有合取查询的刻画。我们证明,任意合取查询$\boldsymbol{\u03c6}$的WL维数等于语义扩展宽度$\boldsymbol{\u0445}\text{ew}(\boldsymbol{\u03c6})$——这是一种新的宽度度量,可视为$\boldsymbol{\u03c6}$的树宽与其量化星大小的结合。量化星大小是Durand和Mengel(数据库理论国际会议,2013年)提出的不变量,用于描述$\boldsymbol{\u03c6}$的存在量化变量与自由变量的连接方式。借助Morris等人(美国人工智能协会年会,2019年)新近建立的WL算法与高阶图神经网络(GNNs)之间的等价性,我们得出推论:阶数小于$\boldsymbol{\u0445}\text{ew}(\boldsymbol{\u03c6})$的GNN无法计算合取查询$\boldsymbol{\u03c6}$的答案计数函数。

英文摘要:

The Weisfeiler-Leman (WL) dimension of a graph parameter $f$ is the minimum $k$ such that, if $G_1$ and $G_2$ are indistinguishable by the $k$-dimensional WL-algorithm then $f(G_1)=f(G_2)$. The WL-dimension of $f$ is $\infty$ if no such $k$ exists. We study the WL-dimension of graph parameters characterised by the number of answers from a fixed conjunctive query to the graph. Given a conjunctive query $φ$, we quantify the WL-dimension of the function that maps every graph $G$ to the number of answers of $φ$ in $G$. The works of Dvorák (J. Graph Theory 2010), Dell, Grohe, and Rattan (ICALP 2018), and Neuen (ArXiv 2023) have answered this question for full conjunctive queries, which are conjunctive queries without existentially quantified variables. For such queries $φ$, the WL-dimension is equal to the treewidth of the Gaifman graph of $φ$. In this work, we give a characterisation that applies to all conjunctive qureies. Given any conjunctive query $φ$, we prove that its WL-dimension is equal to the semantic extension width $\mathsf{sew}(φ)$, a novel width measure that can be thought of as a combination of the treewidth of $φ$ and its quantified star size, an invariant introduced by Durand and Mengel (ICDT 2013) describing how the existentially quantified variables of $φ$ are connected with the free variables. Using the recently established equivalence between the WL-algorithm and higher-order Graph Neural Networks (GNNs) due to Morris et al. (AAAI 2019), we obtain as a consequence that the function counting answers to a conjunctive query $φ$ cannot be computed by GNNs of order smaller than $\mathsf{sew}(φ)$.

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

↑