TASM: Top-k Approximate Subtree Matching

被引:15
|
作者
Augsten, Nikolaus [1 ]
Barbosa, Denilson [2 ]
Boehlen, Michael [1 ]
Palpanas, Themis [3 ]
机构
[1] Free Univ Bozen Bolzano, Fac Comp Sci, Bolzano, Italy
[2] Univ Alberta, Dept Comp Sci, Edmonton, AB, Canada
[3] Univ Trent, Dept Informat Engn & Comp Sci, Trento, Italy
基金
加拿大自然科学与工程研究理事会;
关键词
ALGORITHM;
D O I
10.1109/ICDE.2010.5447905
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the Top-k Approximate Subtree Matching (TASM) problem: finding the k best matches of a small query tree, e.g., a DBLP article with 15 nodes, in a large document tree, e.g., DBLP with 26M nodes, using the canonical tree edit distance as a similarity measure between subtrees. Evaluating the tree edit distance for large XML trees is difficult: the best known algorithms have cubic runtime and quadratic space complexity, and, thus, do not scale. Our solution is TASM-postorder, a memory-efficient and scalable TASM algorithm. We prove an upper-bound for the maximum subtree size for which the tree edit distance needs to be evaluated. The upper bound depends on the query and is independent of the document size and structure. A core problem is to efficiently prune subtrees that are above this size threshold. We develop an algorithm based on the prefix ring buffer that allows us to prune all subtrees above the threshold in a single postorder scan of the document. The size of the prefix ring buffer is linear in the threshold. As a result, the space complexity of TASM-postorder depends only on k and the query size, and the runtime of TASM-postorder is linear in the size of the document. Our experimental evaluation on large synthetic and real XML documents confirms our analytic results.
引用
收藏
页码:353 / 364
页数:12
相关论文
共 50 条
  • [41] Scalable Diversified Top-k Pattern Matching in Big Graphs
    Aouar, Aissam
    Yahiaoui, Said
    Sadeg, Lamia
    Bey, Kadda Beghdad
    [J]. BIG DATA RESEARCH, 2024, 36
  • [42] Top-k Graph Pattern Matching over Large Graphs
    Cheng, Jiefeng
    Zeng, Xianggang
    Yu, Jeffrey Xu
    [J]. 2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 1033 - 1044
  • [43] Approximate top-k structural similarity search over XML documents
    Xie, T
    Sha, CF
    Wang, XL
    Zhou, AY
    [J]. FRONTIERS OF WWW RESEARCH AND DEVELOPMENT - APWEB 2006, PROCEEDINGS, 2006, 3841 : 319 - 330
  • [44] Efficient top-K approximate searches against a relation with multiple attributes
    Lu, Wei
    Chen, Jinchuan
    Du, Xiaoyong
    Wang, Jieping
    Pan, Wei
    [J]. WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2011, 14 (5-6): : 573 - 597
  • [45] Efficient approximate top-k mutual information based feature selection
    Md Abdus Salam
    Senjuti Basu Roy
    Gautam Das
    [J]. Journal of Intelligent Information Systems, 2023, 61 : 191 - 223
  • [46] Efficient top-K approximate searches against a relation with multiple attributes
    Wei Lu
    Jinchuan Chen
    Xiaoyong Du
    Jieping Wang
    Wei Pan
    [J]. World Wide Web, 2011, 14 : 573 - 597
  • [47] Efficient Approximate Top-k Query Algorithm Using Cube Index
    Chen, Dongqu
    Sun, Guang-Zhong
    Gong, Neil Zhenqiang
    [J]. WEB TECHNOLOGIES AND APPLICATIONS, 2011, 6612 : 155 - 167
  • [48] Energy Efficient Approximate Top-k Range Queries in Sensor Networks
    Wang, Yufeng
    Chen, Hong
    [J]. INTERNATIONAL JOINT CONFERENCE ON COMPUTATIONAL SCIENCES AND OPTIMIZATION, VOL 1, PROCEEDINGS, 2009, : 99 - 101
  • [49] Efficient approximate top-k mutual information based feature selection
    Salam, Md Abdus
    Roy, Senjuti Basu
    Das, Gautam
    [J]. JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2023, 61 (01) : 191 - 223
  • [50] Scalable Object-Class Retrieval with Approximate and Top-k Ranking
    Rastegari, Mohammad
    Fang, Chen
    Torresani, Lorenzo
    [J]. 2011 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2011, : 2659 - 2666