TY - GEN
T1 - Subtree isomorphism revisited
AU - Abboud, Amir
AU - Backurs, Arturs
AU - Hansen, Thomas Dueholm
AU - Williams, Virginia Vassilevska
AU - Zamir, Or
N1 - Publisher Copyright: © Copyright (2016) by SIAM: Society for Industrial and Applied Mathematics.
PY - 2016
Y1 - 2016
N2 - 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(loglogn), where n is the total number of vertices, a truly subquadratic algorithm refutes SETH. For every constant d, there is a constant ϵd> 0 and a randomized, truly subquadratic algorithm for degree-d rooted trees of depth at most (1 + ϵ, d)logdn. In particular, there is an 0(min{2.85h, n2}) 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.
AB - 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(loglogn), where n is the total number of vertices, a truly subquadratic algorithm refutes SETH. For every constant d, there is a constant ϵd> 0 and a randomized, truly subquadratic algorithm for degree-d rooted trees of depth at most (1 + ϵ, d)logdn. In particular, there is an 0(min{2.85h, n2}) 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.
UR - https://www.scopus.com/pages/publications/84963668103
U2 - 10.1137/1.9781611974331.ch88
DO - 10.1137/1.9781611974331.ch88
M3 - Conference contribution
T3 - Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms
SP - 1256
EP - 1271
BT - 27th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016
A2 - Krauthgamer, Robert
PB - Association for Computing Machinery
T2 - 27th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016
Y2 - 10 January 2016 through 12 January 2016
ER -