Fitting Metrics and Ultrametrics with Minimum Disagreements
Vincent Cohen-Addad, Chenglin Fan, Euiwoong Lee, Arnaud de Mesmay
Abstract
Given recording pairwise distances, the Metric Violation Distance problem asks to compute the distance between x and the metric cone; i.e., modify the minimum number of entries of x to make it a metric. Due to its large number of applications in various data analysis and optimization tasks, this problem has been actively studied recently. We present an -approximation algorithm for METRIC VIOLATION Distance, exponentially improving the previous best approximation ratio of of Fan, Raichel, and Van Buskirk [SODA, 2018]. Furthermore, a major strength of our algorithm is its simplicity and running time. We also study the related problem of Ultrametric Violation Distance, where the goal is to compute the distance to the cone of ultrametrics, and achieve a constant factor approximation algorithm. The ULTRAMETRIC VIOLATION DISTANCE problem can be regarded as an extension of the problem of fitting ultrametrics studied by Ailon and Charikar [SIAM J. Computing, 2011] and by Cohen-Addad, Das, Kipouridis, Parotsidis, and Thorup [FOCS, 2021] from norm to norm. We show that this problem can be favorably interpreted as an instance of CORRELATION CLUSTERING with an additional hierarchical structure, which we solve using a new -approximation algorithm for correlation clustering that has the structural property that it outputs a refinement of the optimum clusters. An algorithm satisfying such a property can be considered of independent interest. We also provide an approximation algorithm for weighted instances. Finally, we investigate the complementary version of these problems where one aims at choosing a maximum number of entries of x forming an (ultra-)metric. In stark contrast with the minimization versions, we prove that these maximization versions are hard to approximate within any constant factor assuming the Unique Games Conjecture.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e663fd09-4001-4232-8828-c03979967643Cited by top-tier papers5
- Handling Correlated Rounding Error via Preclustering: A 1.73-approximation for Correlation ClusteringVincent Cohen-Addad, Euiwoong Lee, Shi Li, Alantha NewmanFOCS 2023 · 7 citations
- Optimal Phylogenetic Reconstruction from Sampled QuartetsDionysis Arvanitakis, Vaggos Chatziafratis, Yiyuan Luo, Konstantin MakarychevSTOC 2026 · 1 citation
- Additive Approximation Schemes for Low-Dimensional EmbeddingsPrashanti Anderson, Ainesh Bakshi, Samuel B. HopkinsSODA 2026
- A PTAS for ℓ0-Low Rank Approximation: Solving Dense CSPs over RealsVincent Cohen-Addad, Chenglin Fan, Suprovat Ghoshal, Euiwoong Lee et al.SODA 2024
- Ultrametric Cluster Hierarchies: I Want 'em All!Andrew Draganov, Pascal Weber, Rasmus Skibdahl Melanchton Jørgensen, Anna Beer et al.NeurIPS 2025
Builds on6
- From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical ClusteringInes Chami, Albert Gu, Vaggos Chatziafratis, Christopher RéNeurIPS 2020 · 125 citations
- Tree! I am no Tree! I am a low dimensional Hyperbolic EmbeddingRishi Sonthalia, Anna C. GilbertNeurIPS 2020 · 62 citations
- Correlation Clustering in Constant Many Parallel RoundsVincent Cohen-Addad, Silvio Lattanzi, Slobodan Mitrovic, Ashkan Norouzi-Fard et al.ICML 2021 · 51 citations
- On Efficient Low Distortion Ultrametric EmbeddingVincent Cohen-Addad, Karthik C. S., Guillaume LagardeICML 2020 · 13 citations
- Improving Ultrametrics Embeddings Through CoresetsVincent Cohen-Addad, Rémi de Joannis de Verclos, Guillaume LagardeICML 2021 · 10 citations
Related papers
- Improved Approximations for Ultrametric Violation DistanceMoses Charikar, Ruiquan GaoSODA 2024
- Handling LP-Rounding for Hierarchical Clustering and Fitting Distances by UltrametricsHyung-Chan An, Mong-Jen Kao, Changyeol Lee, Mu-Ting LeeFOCS 2025 · 2 citations
- Fast Combinatorial Algorithms for Min Max Correlation ClusteringSami Davies, Benjamin Moseley, Heather NewmanICML 2023 · 12 citations
- Towards Better-than-2 Approximation for Constrained Correlation ClusteringAndreas Kalavas, Evangelos Kipouridis, Nithin VarmaICML 2025
- Triplet Reconstruction and all other Phylogenetic CSPs are Approximation ResistantVaggos Chatziafratis, Konstantin MakarychevFOCS 2023 · 2 citations
