English

Clustering Permutations under the Ulam Metric: A Parameterized Complexity Study

Data Structures and Algorithms 2026-04-29 v1 Computational Complexity

Abstract

Rank aggregation seeks a representative permutation for a collection of rankings and plays a central role in areas such as social choice, information retrieval, and computational biology. Two fundamental aggregation tasks are the center and median problems, which minimize the maximum and the total distance to the input permutations, respectively. While these problems are well understood under Kendall's tau and related distances, their parameterized complexity under the Ulam metric, an edit-distance-based metric on permutations, has remained largely unexplored. In this work, we initiate a systematic study of the parameterized complexity of rank aggregation under the Ulam metric. We consider both the center and median problems, as well as their generalizations to the kk-center and kk-median clustering settings, parameterized by the number of centers kk and the distance budget dd (corresponding to the maximum distance for center variants and the total distance for median variants). Both problems are known to be NP-hard already for k=1k=1. We show that the Ulam kk-center problem remains NP-hard when d=1d=1, but is fixed-parameter tractable when parameterized by k+dk + d. Our algorithm is based on a novel local-search framework tailored to the non-local nature of Ulam distances. We complement this by proving that no polynomial kernel exists for the k+dk+d parameterization unless NP \subseteq coNP/poly. For the Ulam kk-median problem parameterized by the total distance dd, we establish W[1]-hardness and provide an XP algorithm. We also provide a polynomial kernel for the parameter k+dk + d, which in turn yields a fixed-parameter tractable algorithm.

Keywords

Cite

@article{arxiv.2604.25734,
  title  = {Clustering Permutations under the Ulam Metric: A Parameterized Complexity Study},
  author = {Tian Bai and Fedor V. Fomin and Petr A. Golovach and Yash Hiren More and Simon Wietheger},
  journal= {arXiv preprint arXiv:2604.25734},
  year   = {2026}
}
R2 v1 2026-07-01T12:39:25.495Z