paper-with-me

Papers

An A*-algorithm for the Unordered Tree Edit Distance with Custom Costs

2021-07-26 · Benjamin Paaßen

The unordered tree edit distance is a natural metric to compute distances between trees without intrinsic child order, such as representations of chemical molecules. While the unordered tree edit distance is MAX SNP-hard in principle, it is feasible for small cases, e.g. via an A* algorithm. Unfortunately, current heuristics for the A* algorithm assume unit costs for deletions, insertions, and replacements, which limits our ability to inject domain knowledge. In this paper, we present three novel heuristics for the A* algorithm that work with custom cost functions. In experiments on two chemical data sets, we show that custom costs make the A* computation faster and improve the error of a 5-nearest neighbor regressor, predicting chemical properties. We also show that, on these data, polynomial edit distances can achieve similar results as the unordered tree edit distance.

📄 PDF Abstract BibTeX arXiv:2108.00953

Code (1)

https://gitlab.com/bpaassen/uted 공식 구현 pytorch

Similar Papers 제목 키워드 기반

NED: An Inter-Graph Node Metric Based On Edit Distance

2016-02-07 · Haohan Zhu, Xianrui Meng, George Kollios

Node similarity is a fundamental problem in graph analytics. However, node similarity between nodes in different graphs (inter-graph nodes) has not received a lot of attention yet. The inter-graph node similarity is impo…

Transfer Learning

Tree edit distance for hierarchical data compatible with HMIL paradigm

2022-07-26 · Břetislav Šopík, Tomáš Strenáčik

We define edit distance for hierarchically structured data compatible with the hierarchical multi-instance learning paradigm. Example of such data is dataset represented in JSON format where inner Array objects are inter…

Natural Language Inference for Arabic Using Extended Tree Edit Distance with Subtrees

2014-02-04 · Maytham Alabbas, Allan Ramsay

Many natural language processing (NLP) applications require the computation of similarities between pairs of syntactic or semantic trees. Many researchers have used tree edit distance for this task, but this technique su…

Natural Language Inference

Metric Learning for Ordered Labeled Trees with pq-grams

2020-03-09 · Hikaru Shindo, Masaaki Nishino, Yasuaki Kobayashi, Akihiro Yamamoto

Computing the similarity between two data points plays a vital role in many machine learning algorithms. Metric learning has the aim of learning a good metric automatically from data. Most existing studies on metric lear…

General ClassificationMetric Learning

Tree Edit Distance Learning via Adaptive Symbol Embeddings

2018-06-13 · ICML 2018 7 · Benjamin Paaßen, Claudio Gallicchio, Alessio Micheli, Barbara Hammer

Metric learning has the aim to improve classification accuracy by learning a distance measure which brings data points from the same class closer together and pushes data points from different classes further apart. Rece…

Metric Learning