The Ulam distance between two permutations of length n is the minimum number of insertions and deletions needed to transform one sequence into the other. Equivalently, the Ulam distance d is n minus the length of the longest common subsequence (LCS) between the permutations. Our main result is an algorithm, that for any fixed " > 0, provides a (1 + ∈)-multiplicative approximation for d in ∼O∈(n=d + p n) time, which has been shown to be optimal up to polylogarithmic factors. This is the first sublinear time algorithm (provided that d = (log n)!(1)) that obtains arbitrarily good multiplicative approximations to the Ulam distance. The previous best bound is an O(1)-approximation (with a large constant) by Andoni and Nguyen (2010) with the same running time bound (ignoring polylogarithmic factors). The improvement in the approximation factor from O(1) to (1+∈) allows for significantly more powerful sublinear algorithms. For example, for any fixed δ > 0, we can get additive δn approximations for the LCS between permutations in ∼O∈( p √n) time. Previous sublinear algorithms require δ to be at least 11=C, where C is the approximation factor, which is close to 1 when C is large. Our algorithm is obtained by abstracting the basic algorithmic framework of Andoni and Nguyen, and combining it with the sublinear approximations for the longest increasing subsequence by Saks and Seshadhri (2010).
CITATION STYLE
Naumovitz, T., Saks, M., & Seshadhri, C. (2017). Accurate and nearly optimal sublinear approximations to ulam distance. In Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms (Vol. 0, pp. 2012–2031). Association for Computing Machinery. https://doi.org/10.1137/1.9781611974782.131
Mendeley helps you to discover research relevant for your work.