Lune

SODA2021Top-tier venue

Approximating the Median under the Ulam Metric

Diptarka Chakraborty, Debarati Das, Robert Krauthgamer

Abstract

We study approximation algorithms for variants of the median string problem, which asks for a string that minimizes the sum of edit distances from a given set of m strings of length n. Only the straightforward 2-approximation is known for this NP-hard problem. This problem is motivated e.g. by computational biology, and belongs to the class of median problems (over different metric spaces), which are fundamental tasks in data analysis.

Our main result is for the Ulam metric, where all strings are permutations over [n] and each edit operation moves a symbol (deletion plus insertion). We devise for this problem an algorithms that breaks the 2-approximation barrier, i.e., computes a (2δ)-approximate median permutation for some constant δ > 0 in time Õ(nm 2 + n 3 ). We further use these techniques to achieve a (2δ) approximation for the median string problem in the special case where the median is restricted to length n and the optimal objective is large Ω(mn).

We also design an approximation algorithm for the following probabilistic model of the Ulam median: the input consists of m perturbations of an (unknown) permutation x, each generated by moving every symbol to a random position with probability (a parameter) ǫ > 0. Our algorithm computes with high probability a (1 + o(1/ǫ))-approximate median permutation in time O(mn 2 + n 3 ).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fairness in Aggregation: Optimal Top-k and Improved Full Ranking cites Fair Rank Aggregation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Fair Rank AggregationDiptarka Chakraborty, Syamantak Das, Arindam Khan, Aditya SubramanianNeurIPS 2022 · 18 citations
  2. Fairness in Aggregation: Optimal Top-kk and Improved Full RankingDiptarka Chakraborty, Arya Mazumdar, Barna Saha, Alvin H YanICML 2026

Related papers

  1. Faster Pattern Matching under Edit Distance : A Reduction to Dynamic Puzzle Matching and the Seaweed Monoid of Permutation MatricesPanagiotis Charalampopoulos, Tomasz Kociumaka, Philip WellnitzFOCS 2022 · 8 citations
  2. Improved Algorithms for Edit Distance and LCS: Beyond Worst CaseMahdi Boroujeni, Masoud Seddighin, Saeed SeddighinSODA 2020 · 8 citations
  3. Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 citations
  4. Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 citations
  5. Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic TimeXiao Mao, Aviad RubinsteinSTOC 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines