Lune

FOCS2022Top-tier venue

Fitting Metrics and Ultrametrics with Minimum Disagreements

Vincent Cohen-Addad, Chenglin Fan, Euiwoong Lee, Arnaud de Mesmay

Abstract

Given x∈(R⩾0)(2[n])x\in(\mathbb{R}_{\geqslant 0})(_{2}^{[n]}) recording pairwise distances, the Metric Violation Distance problem asks to compute the ℓ0\ell_{0} 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 O(log⁡n)O(\log n)-approximation algorithm for METRIC VIOLATION Distance, exponentially improving the previous best approximation ratio of O(OPT1/3)O(OPT^{1/3}) 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 ℓ0\ell_{0} 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 ℓ1\ell_{1} norm to ℓ0\ell_{0} 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 O(1)O(1)-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 O(log⁡nlog⁡log⁡n)O(\log n\log\log n) 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 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.

5 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

  • Improving Ultrametrics Embeddings Through Coresets cites From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical Clustering
  • Improving Ultrametrics Embeddings Through Coresets cites On Efficient Low Distortion Ultrametric Embedding
  • Additive Approximation Schemes for Low-Dimensional Embeddings cites Handling Correlated Rounding Error via Preclustering: A 1.73-approximation for Correlation Clustering
  • Additive Approximation Schemes for Low-Dimensional Embeddings cites A PTAS for ℓ0-Low Rank Approximation: Solving Dense CSPs over Reals
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Handling Correlated Rounding Error via Preclustering: A 1.73-approximation for Correlation ClusteringVincent Cohen-Addad, Euiwoong Lee, Shi Li, Alantha NewmanFOCS 2023 · 7 citations
  2. Optimal Phylogenetic Reconstruction from Sampled QuartetsDionysis Arvanitakis, Vaggos Chatziafratis, Yiyuan Luo, Konstantin MakarychevSTOC 2026 · 1 citation
  3. Additive Approximation Schemes for Low-Dimensional EmbeddingsPrashanti Anderson, Ainesh Bakshi, Samuel B. HopkinsSODA 2026
  4. A PTAS for ℓ0-Low Rank Approximation: Solving Dense CSPs over RealsVincent Cohen-Addad, Chenglin Fan, Suprovat Ghoshal, Euiwoong Lee et al.SODA 2024
  5. Ultrametric Cluster Hierarchies: I Want 'em All!Andrew Draganov, Pascal Weber, Rasmus Skibdahl Melanchton Jørgensen, Anna Beer et al.NeurIPS 2025

Builds on6

  1. From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical ClusteringInes Chami, Albert Gu, Vaggos Chatziafratis, Christopher RéNeurIPS 2020 · 125 citations
  2. Tree! I am no Tree! I am a low dimensional Hyperbolic EmbeddingRishi Sonthalia, Anna C. GilbertNeurIPS 2020 · 62 citations
  3. Correlation Clustering in Constant Many Parallel RoundsVincent Cohen-Addad, Silvio Lattanzi, Slobodan Mitrovic, Ashkan Norouzi-Fard et al.ICML 2021 · 51 citations
  4. On Efficient Low Distortion Ultrametric EmbeddingVincent Cohen-Addad, Karthik C. S., Guillaume LagardeICML 2020 · 13 citations
  5. Improving Ultrametrics Embeddings Through CoresetsVincent Cohen-Addad, Rémi de Joannis de Verclos, Guillaume LagardeICML 2021 · 10 citations

Related papers

  1. Improved Approximations for Ultrametric Violation DistanceMoses Charikar, Ruiquan GaoSODA 2024
  2. Handling LP-Rounding for Hierarchical Clustering and Fitting Distances by UltrametricsHyung-Chan An, Mong-Jen Kao, Changyeol Lee, Mu-Ting LeeFOCS 2025 · 2 citations
  3. Fast Combinatorial Algorithms for Min Max Correlation ClusteringSami Davies, Benjamin Moseley, Heather NewmanICML 2023 · 12 citations
  4. Towards Better-than-2 Approximation for Constrained Correlation ClusteringAndreas Kalavas, Evangelos Kipouridis, Nithin VarmaICML 2025
  5. Triplet Reconstruction and all other Phylogenetic CSPs are Approximation ResistantVaggos Chatziafratis, Konstantin MakarychevFOCS 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines