Efficient Computation of the Tree Edit Distance

Author:

Pawlik Mateusz1,Augsten Nikolaus1

Affiliation:

1. University of Salzburg, Salzburg, Austria

Abstract

We consider the classical tree edit distance between ordered labelled trees, which is defined as the minimum-cost sequence of node edit operations that transform one tree into another. The state-of-the-art solutions for the tree edit distance are not satisfactory. The main competitors in the field either have optimal worst-case complexity but the worst case happens frequently, or they are very efficient for some tree shapes but degenerate for others. This leads to unpredictable and often infeasible runtimes. There is no obvious way to choose between the algorithms. In this article we present RTED, a robust tree edit distance algorithm. The asymptotic complexity of our algorithm is smaller than or equal to the complexity of the best competitors for any input instance, that is, our algorithm is both efficient and worst-case optimal. This is achieved by computing a dynamic decomposition strategy that depends on the input trees. RTED is shown optimal among all algorithms that use LRH ( left-right-heavy ) strategies, which include RTED and the fastest tree edit distance algorithms presented in literature. In our experiments on synthetic and real-world data we empirically evaluate our solution and compare it to the state-of-the-art.

Funder

RARE project funded by the Autonomous Province of Bolzano-South Tyrol, Italy

SyRA project of the Free University of Bozen-Bolzano, Italy

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Cited by 76 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Semi-supervised Crowdsourced Test Report Clustering via Screenshot-Text Binding Rules;Proceedings of the ACM on Software Engineering;2024-07-12

2. Effective, Platform-Independent GUI Testing via Image Embedding and Reinforcement Learning;ACM Transactions on Software Engineering and Methodology;2024-06-21

3. Mccatch: Scalable Microcluster Detection in Dimensional and Nondimensional Datasets;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13

4. Improving Quality and Domain-Relevancy of Paraphrase Generation with Graph-Based Retrieval Augmented Generation;Proceedings of the 2024 10th International Conference on Computing and Artificial Intelligence;2024-04-26

5. Enhancing Text-to-SQL Translation for Financial System Design;Proceedings of the 46th International Conference on Software Engineering: Software Engineering in Practice;2024-04-14

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3