CFL可达性的细粒度复杂性
The Fine-Grained Complexity of CFL Reachability
AI总结:
本文研究CFL可达性按具体CFL区分的确切多项式复杂性,并在BMM与$k$-Clique猜想下给出Dyck-$k$等问题及稀疏图上Andersen指针分析的新下界。
摘要:
静态程序分析中的许多问题都可以建模为有向标记图上的上下文无关语言(CFL)可达性问题。CFL可达性问题通常可以在$O(n^3)$时间内求解,其中$n$是图中的顶点数,而某些特定情形可以更快求解。在本文中,我们提出如下问题:给定一个特定的CFL,运行时间单项式中的确切指数是什么?换言之,在哪些情形下我们拥有线性、二次或三次算法,以及是否存在具有中间运行时间的问题?这一问题受到近期依据确切多项式复杂性对经典问题进行分类的工作启发,即所谓的细粒度复杂性。尽管近期工作已经给出了一些条件下界(主要针对组合算法类别),但仍缺少CFL可达性细粒度复杂性图景的总体认识。我们的主要贡献是在被广泛相信的下界猜想(Boolean Matrix Multiplication和$k$-Clique)下,给出若干类CFL或特定CFL的确切运行时间的下界结果。我们特别关注Dyck-$k$语言族(即括号良好匹配的字符串),这是CFL可达性问题中的一个基本类别。针对以边数$m$作为输入参数的稀疏输入图情形,我们给出了新的下界,这是数据库文献中的常见设置。对于该设置,我们证明了Andersen's Pointer Analysis的三次下界,显著强化了此前已知结果。
英文摘要:
Many problems in static program analysis can be modeled as the context-free language (CFL) reachability problem on directed labeled graphs. The CFL reachability problem can be generally solved in time $O(n^3)$, where $n$ is the number of vertices in the graph, with some specific cases that can be solved faster. In this work, we ask the following question: given a specific CFL, what is the exact exponent in the monomial of the running time? In other words, for which cases do we have linear, quadratic or cubic algorithms, and are there problems with intermediate runtimes? This question is inspired by recent efforts to classify classic problems in terms of their exact polynomial complexity, known as {\em fine-grained complexity}. Although recent efforts have shown some conditional lower bounds (mostly for the class of combinatorial algorithms), a general picture of the fine-grained complexity landscape for CFL reachability is missing. Our main contribution is lower bound results that pinpoint the exact running time of several classes of CFLs or specific CFLs under widely believed lower bound conjectures (Boolean Matrix Multiplication and $k$-Clique). We particularly focus on the family of Dyck-$k$ languages (which are strings with well-matched parentheses), a fundamental class of CFL reachability problems. We present new lower bounds for the case of sparse input graphs where the number of edges $m$ is the input parameter, a common setting in the database literature. For this setting, we show a cubic lower bound for Andersen's Pointer Analysis which significantly strengthens prior known results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。