How to Fix a Broken Metric: A Linear Kernel, Tight Bounds, and Tree Metrics
Abstract: Given a complete graph whose edge weights represent dissimilarities, Metric Violation Distance asks whether at most weights can be changed to form a metric. Motivated by metric repair for noisy data, the problem admits a polynomial-time -approximation due to Cohen-Addad, Fan, Lee and de Mesmay [SIAM J. Comput., 2025]. In the context of parameterized complexity, Fan, Gilbert, Raichel, Sonthalia and Van Buskirk [SWAT 2020] gave a -time algorithm. Fomin, Golovach and More [IPEC 2026] obtained an kernel and a single-exponential algorithm for the ultrametric case. They asked whether general metrics admit a single-exponential algorithm and a polynomial kernel, and whether the tree-metric analogue is fixed-parameter tractable. We answer all three questions. We give a -time algorithm and prove that, unless ETH fails, no -time algorithm exists, even when all input distances lie in . We also give a kernel with at most $6k$ vertices. The kernel supports solution lifting and can precede any approximation algorithm. Combined with the -approximation of Cohen-Addad, Fan, Lee and de Mesmay, it yields an -approximation at no asymptotic cost in running time. Both results extend to an interval generalization in which each edge has an observed value and an admissible range within which it may be reassigned; the kernel then has $7k$ vertices. Finally, Tree Metric Violation Distance is fixed-parameter tractable and solvable in time.
Paper Prompts
Sign up for free to create and run prompts on this paper.