图中精确模式匹配的复杂性:二进制串和有界度
On the Complexity of Exact Pattern Matching in Graphs: Binary Strings and Bounded Degree
摘要:
带标号图中的精确模式匹配是指在图$G=(V,E)$中寻找与模式$P[1..m]$拼写相同字符串的路径的问题。这个基本问题可以在计算生物学中变异图上更复杂的操作、图数据库中的查询操作和异构网络中的分析操作中找到,其中某些路径的节点必须匹配一系列标签或类型。我们描述了一个简单的条件下界,对于任何常数$ε>0$,$O(|E|^{1 - ε} \, m)$ -时间或$O(|E| \, m^{1 - ε})$ -时间算法的精确模式匹配的图形,节点标签和模式从一个二进制字母表,不能实现,除非强指数时间假设(SETH)是假的。即使仅限于最大度为3的无向图和最大度为3的有向无圈图,该结果也成立。虽然这种条件下界可以从以前的结果(Backurs和Indyk,FOCS'16)中推导出来,但为了传播的目的,我们从SETH中直接进行了还原,因为结果可能会引起来自几个领域的研究人员的兴趣,例如计算生物学,图数据库和图挖掘,如前所述。实际上,由于图上的近似模式匹配可以在$O(|E|\,m)$时间内解决,因此在SETH假设下,精确匹配和近似匹配在图上同样困难(二次时间)。相比之下,限制到字符串的相同问题分别具有线性时间和二次时间解,其中后者在计算两个字符串的编辑距离时具有匹配的SETH下限(Backurs和Indyk,STOC'15)。
英文摘要:
Exact pattern matching in labeled graphs is the problem of searching paths of a graph $G=(V,E)$ that spell the same string as the pattern $P[1..m]$. This basic problem can be found at the heart of more complex operations on variation graphs in computational biology, of query operations in graph databases, and of analysis operations in heterogeneous networks, where the nodes of some paths must match a sequence of labels or types. We describe a simple conditional lower bound that, for any constant $ε>0$, an $O(|E|^{1 - ε} \, m)$-time or an $O(|E| \, m^{1 - ε})$-time algorithm for exact pattern matching on graphs, with node labels and patterns drawn from a binary alphabet, cannot be achieved unless the Strong Exponential Time Hypothesis (SETH) is false. The result holds even if restricted to undirected graphs of maximum degree three or directed acyclic graphs of maximum sum of indegree and outdegree three. Although a conditional lower bound of this kind can be somehow derived from previous results (Backurs and Indyk, FOCS'16), we give a direct reduction from SETH for dissemination purposes, as the result might interest researchers from several areas, such as computational biology, graph database, and graph mining, as mentioned before. Indeed, as approximate pattern matching on graphs can be solved in $O(|E|\,m)$ time, exact and approximate matching are thus equally hard (quadratic time) on graphs under the SETH assumption. In comparison, the same problems restricted to strings have linear time vs quadratic time solutions, respectively, where the latter ones have a matching SETH lower bound on computing the edit distance of two strings (Backurs and Indyk, STOC'15).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。