paper-with-me

Papers

Indexed Dynamic Programming to boost Edit Distance and LCSS Computation

2018-06-12 · Barbay Jérémy, Olivares Andrés

There are efficient dynamic programming solutions to the computation of the Edit Distance from $S\in[1..\sigma]^n$ to $T\in[1..\sigma]^m$, for many natural subsets of edit operations, typically in time within $O(nm)$ in the worst-case over strings of respective lengths $n$ and $m$ (which is likely to be optimal), and in time within $O(n{+}m)$ in some special cases (e.g. disjoint alphabets). We describe how indexing the strings (in linear time), and using such an index to refine the recurrence formulas underlying the dynamic programs, yield faster algorithms in a variety of models, on a continuum of classes of instances of intermediate difficulty between the worst and the best case, thus refining the analysis beyond the worst case analysis. As a side result, we describe similar properties for the computation of the Longest Common Sub Sequence $LCSS(S,T)$ between $S$ and $T$, since it is a particular case of Edit Distance, and we discuss the application of similar algorithmic and analysis techniques for other dynamic programming solutions. More formally, we propose a parameterized analysis of the computational complexity of the Edit Distance for various set of operators and of the Longest Common Sub Sequence in function of the area of the dynamic program matrix relevant to the computation.

📄 PDF Abstract BibTeX arXiv:1806.04277

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A New String Edit Distance and Applications

2022-03-11 · Taylor Petty, Jan Hannig, Tunde I Huszar, Hari Iyer

String edit distances have been used for decades in applications ranging from spelling correction and web search suggestions to DNA analysis. Most string edit distances are variations of the Levenshtein distance and cons…

DNA analysisSpelling Correction

Improved Time Warp Edit Distance -- A Parallel Dynamic Program in Linear Memory

2020-07-31 · Garrett Wright

Edit Distance is a classic family of dynamic programming problems, among which Time Warp Edit Distance refines the problem with the notion of a metric and temporal elasticity. A novel Improved Time Warp Edit Distance alg…

MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA

2023-12-19 · Lang Yu, Qin Chen, Jie zhou, Liang He

Large language models (LLMs) have shown great success in various Natural Language Processing (NLP) tasks, whist they still need updates after deployment to fix errors or keep pace with the changing knowledge in the world…

Document ClassificationHallucinationModel EditingQuestion Answering

Combinatorial Learning of Graph Edit Distance via Dynamic Embedding

2020-11-30 · CVPR 2021 1 · Runzhong Wang, Tianqi Zhang, Tianshu Yu, Junchi Yan 외

Graph Edit Distance (GED) is a popular similarity measurement for pairwise graphs and it also refers to the recovery of the edit path from the source graph to the target graph. Traditional A* algorithm suffers scalabilit…

Neural Dynamic Programming for Musical Self Similarity

2018-02-09 · ICML 2018 7 · Christian J. Walder, Dongwoo Kim

We present a neural sequence model designed specifically for symbolic music. The model is based on a learned edit distance mechanism which generalises a classic recursion from computer sci- ence, leading to a neural dyna…