Subtree Isomorphism Revisited

被引:12
作者
Abboud, Amir [1 ]
Backurs, Arturs [2 ]
Hansen, Thomas Dueholm [3 ]
Williams, Virginia Vassilevska [2 ]
Zamir, Or [4 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] MIT, Off 32-G628,32 Vassar St, Cambridge, MA 02139 USA
[3] Aarhus Univ, Aarhus, Denmark
[4] Tel Aviv Univ, Tel Aviv, Israel
基金
美国国家科学基金会;
关键词
Subtree Isomorphism; fine-grained complexity; SETH; SUBGRAPH ISOMORPHISM; FASTER ALGORITHMS; EDITING DISTANCE; COMPLEXITY; TREES;
D O I
10.1145/3093239
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Subtree Isomorphism problem asks whether a given tree is contained in another given tree. The problem is of fundamental importance and has been studied since the 1960s. For some variants, e.g., ordered trees, near-linear time algorithms are known, but for the general case truly subquadratic algorithms remain elusive. Our first result is a reduction from the Orthogonal Vectors problem to Subtree Isomorphism, showing that a truly subquadratic algorithm for the latter refutes the Strong Exponential Time Hypothesis (SETH). In light of this conditional lower bound, we focus on natural special cases for which no truly subquadratic algorithms are known. We classify these cases against the quadratic barrier, showing in particular that: Even for binary, rooted trees, a truly subquadratic algorithm refutes SETH. Even for rooted trees of depth O(log log n), where n is the total number of vertices, a truly subquadratic algorithm refutes SETH. For every constant d, there is a constant epsilon(d) > 0 and a randomized, truly subquadratic algorithm for degree-d rooted trees of depth at most (1 + epsilon(d)) log(d) n. In particular, there is an O(min{2.85(h), n(2)}) algorithm for binary trees of depth h. Our reductions utilize new "tree gadgets" that are likely useful for future SETH-based lower bounds for problems on trees. Our upper bounds apply a folklore result from randomized decision tree complexity.
引用
收藏
页数:23
相关论文
共 59 条
  • [1] Popular conjectures imply strong lower bounds for dynamic problems
    Abboud, Amir
    Williams, Virginia Vassilevska
    [J]. 2014 55TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2014), 2014, : 434 - 443
  • [2] Abboud A, 2014, LECT NOTES COMPUT SC, V8572, P39
  • [3] Abboud Amir, 2016, APPROXIMATION FIXED
  • [4] Abboud Amir, 2015, P 56 FOCS
  • [5] Abboud Amir, 2015, P 26 ANN ACM SIAM S, P1681, DOI DOI 10.1137/1.9781611973730.112
  • [6] On the approximation of largest common subtrees and largest common point sets
    Akutsu, T
    Halldórsson, MM
    [J]. THEORETICAL COMPUTER SCIENCE, 2000, 233 (1-2) : 33 - 50
  • [7] On the complexity of finding a largest common subtree of bounded degree
    Akutsu, Tatsuya
    Tamura, Takeyuki
    Melkman, Avraham A.
    Takasu, Atsuhiro
    [J]. THEORETICAL COMPUTER SCIENCE, 2015, 590 : 2 - 16
  • [8] ANY AND-OR FORMULA OF SIZE N CAN BE EVALUATED IN TIME N1/2+o(1) ON A QUANTUM COMPUTER
    Ambainis, A.
    Childs, A. M.
    Reichardt, B. W.
    Spalek, R.
    Zhang, S.
    [J]. SIAM JOURNAL ON COMPUTING, 2010, 39 (06) : 2513 - 2530
  • [9] [Anonymous], THEORETICAL COMPUTER
  • [10] [Anonymous], 2009, MATCHING THEORY