Title :
Similar Subtree Search Using Extended Tree Inclusion
Author :
Mori, Tomoya ; Takasu, Atsuhiro ; Jansson, Jesper ; Jaewook Hwang ; Tamura, Takeyuki ; Akutsu, Tatsuya
Author_Institution :
Bioinf. Center, Kyoto Univ., Uji, Japan
Abstract :
This paper considers the problem of identifying all locations of subtrees in a large tree or in a large collection of trees that are similar to a specified pattern tree, where all trees are assumed to be rooted and node-labeled. The tree edit distance is a widely-used measure of tree (dis-)similarity, but is NP-hard to compute for unordered trees. To cope with this issue, we propose a new similarity measure which extends the concept of unordered tree inclusion by taking the costs of insertion and substitution operations on the pattern tree into account, and present an algorithm for computing it. Our algorithm has the same time complexity as the original one for unordered tree inclusion, i.e., it runs in O(|T1∥T2|) time, where T1 and T2 denote the pattern tree and the text tree, respectively, when the maximum outdegree of T1 is bounded by a constant. Our experimental evaluation using synthetic and real datasets confirms that the proposed algorithm is fast and scalable and very useful for bibliographic matching, which is a typical entity resolution problem for tree-structured data. Furthermore, we extend our algorithm to also allow a constant number of deletion operations on T1 while still running in O(|T1∥T2|) time.
Keywords :
computational complexity; tree data structures; NP-hard problem; bibliographic matching; entity resolution problem; extended tree inclusion; pattern tree; similar subtree search; text tree; time complexity; tree edit distance; tree-structured data; unordered tree inclusion; Approximation algorithms; Approximation methods; Complexity theory; Search problems; Vegetation; XML; Tree edit distance; dynamic programming; tree edit distance; tree inclusion; unordered trees;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
DOI :
10.1109/TKDE.2015.2457922