Abstract: In rank aggregation problems, the task is to find a representative permutation from a collection of rankings/permutations. It 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 popular Ulam metric, an edit-distance-based metric on permutations which is closely related to longest common subsequences, has remained largely unexplored. In this work, we initiate a systematic study of the parameterized complexity and kernelization of rank aggregation under the Ulam metric. We consider both the center and median problems, as well as their generalizations to the k-center and k-median clustering settings, parameterized by the maximum distance and the total distance, respectively. In the k-center problem, the task is to decide whether there exist k center permutations such that each input permutation is within Ulam distance at most d from some center. The k-median problem analogously asks for k medians that minimize the total distance of all permutations to their respective closest median.
For these settings, we provide a comprehensive picture of the fixed-tractability landscape. Both the k-center and k-median problems are known to be NP-hard even if k = 1. Our main results include fixed-parameter tractability (FPT) algorithms when parameterized by k+d for both problems. These are accompanied by matching lower bounds for the parameterization by d alone. We further show that k-median admits a polynomial kernel when parameterized by d+k, while we rule out such a result for k-center under common complexity assumptions. The technically most interesting result is likely the FPT-algorithm for k-center, which is based on a novel local-search framework tailored to the non-local nature of Ulam moves.