{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:39:17Z","timestamp":1787337557615,"version":"build-2736575974"},"reference-count":52,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"1","funder":[{"DOI":"10.13039\/501100001665","name":"Agence Nationale de la Recherche","doi-asserted-by":"publisher","award":["ANR-18-CE40-0004-01"],"award-info":[{"award-number":["ANR-18-CE40-0004-01"]}],"id":[{"id":"10.13039\/501100001665","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100006785","name":"Google","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100006785","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2025,2,28]]},"abstract":"<jats:p>Abstract.<\/jats:p>\n                  <jats:p>Given [Formula: see text] recording pairwise distances, the Metric Violation Distance problem asks to compute the [Formula: see text] distance between [Formula: see text] and the metric cone; i.e., modify the minimum number of entries of [Formula: see text] 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 [Formula: see text]-approximation algorithm for Metric Violation Distance, exponentially improving the previous best approximation ratio of [Formula: see text] 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 [Formula: see text] 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. Comput., 2011] and by Cohen-Addad, Das, Kipouridis, Parotsidis, and Thorup [ FOCS, 2021] from [Formula: see text] norm to [Formula: see text] 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 [Formula: see text]-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 [Formula: see text]-approximation algorithm for a weighted version of Ultrametric Violation Distance. Finally, we investigate the complementary version of these problems where one aims at choosing a maximum number of entries of [Formula: see text] forming an (ultra)metric. In stark contrast to the minimization versions, we prove that these maximization versions are hard to approximate within any constant factor assuming the Unique Games Conjecture.<\/jats:p>","DOI":"10.1137\/22m1520190","type":"journal-article","created":{"date-parts":[[2025,1,15]],"date-time":"2025-01-15T04:00:35Z","timestamp":1736913635000},"page":"92-133","source":"Crossref","is-referenced-by-count":0,"title":["Fitting Metrics and Ultrametrics with Minimum Disagreements"],"prefix":"10.1137","volume":"54","author":[{"given":"Vincent","family":"Cohen-Addad","sequence":"first","affiliation":[{"name":"Google Research, Z\u00fcrich, Switzerland."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chenglin","family":"Fan","sequence":"additional","affiliation":[{"name":"Seoul National University, Seoul, 08826, Republic of Korea."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Euiwoong","family":"Lee","sequence":"additional","affiliation":[{"name":"University of Michigan, Ann Arbor, MI 48109 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7301-3799","authenticated-orcid":true,"given":"Arnaud","family":"de Mesmay","sequence":"additional","affiliation":[{"name":"LIGM, CNRS, Univ. Gustave Eiffel, ESIEE Paris, F-77454 Marne-la-Vall\u00e9e, France."}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2025,1,15]]},"reference":[{"key":"ref1","unstructured":"A. Abboud, V. Cohen-Addad, and H. Houdrouge, Subquadratic high-dimensional hierarchical clustering, in Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, Vancouver, BC, Canada, H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d\u2019Alch\u00e9-Buc, E. B. Fox, and R. Garnett, eds. Curran Associates, 2019, pp. 11576\u201311586, http:\/\/papers.nips.cc\/paper\/9333-subquadratic-high-dimensional-hierarchical-clustering."},{"key":"ref2","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539795296334"},{"key":"ref3","doi-asserted-by":"publisher","DOI":"10.1137\/100806886"},{"key":"ref4","doi-asserted-by":"publisher","DOI":"10.1145\/1411509.1411513"},{"key":"ref5","unstructured":"N. Alon, Y. Azar, and D. Vainstein, Hierarchical clustering: A 0.585 revenue approximation, in Conference on Learning Theory, COLT 2020, virtual event (Graz, Austria), Proc. Mach. Learn. Res. 125, J. D. Abernethy and S. Agarwal, eds. PMLR, 2020, pp. 153\u2013162, http:\/\/proceedings.mlr.press\/v125\/alon20b.html."},{"key":"ref6","doi-asserted-by":"publisher","DOI":"10.1145\/1868237.1868241"},{"key":"ref7","doi-asserted-by":"crossref","unstructured":"M.F. Balcan, A. Blum, and S. Vempala, A discriminative framework for clustering via similarity functions, in Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing, ACM, 2008, pp. 671\u2013680.","DOI":"10.1145\/1374376.1374474"},{"key":"ref8","doi-asserted-by":"publisher","DOI":"10.1137\/060653391"},{"key":"ref9","doi-asserted-by":"publisher","DOI":"10.1016\/j.dam.2010.03.004"},{"key":"ref10","first-page":"1425","volume":"11","author":"Carlsson G. E.","year":"2010","journal-title":"J. Mach. Learn. Res."},{"key":"ref11","unstructured":"I. Chami, A. Gu, V. Chatziafratis, and C. R\u00e9, From trees to continuous embeddings and back: Hyperbolic hierarchical clustering, in Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, virtual event, H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, and H. Lin, eds. Curran Associates, 2020, https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/ac10ec1ace51b2d973cd87973a98d3ab-Abstract.html."},{"key":"ref12","doi-asserted-by":"crossref","unstructured":"M. Charikar and V. Chatziafratis, Approximate hierarchical clustering via sparsest cut and spreading metrics, in Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2017, pp. 841\u2013854, https:\/\/doi.org\/10.1137\/1.9781611974782.53.","DOI":"10.1137\/1.9781611974782.53"},{"key":"ref13","doi-asserted-by":"crossref","unstructured":"M. Charikar, V. Chatziafratis, and R. Niazadeh, Hierarchical clustering better than average-linkage, in Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2019, pp. 2291\u20132304, https:\/\/doi.org\/10.1137\/1.9781611975482.139.","DOI":"10.1137\/1.9781611975482.139"},{"key":"ref14","unstructured":"M. Charikar, V. Chatziafratis, R. Niazadeh, and G. Yaroslavtsev, Hierarchical clustering for Euclidean data, in the 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019, Naha, Okinawa, Japan, PMLR, 2019, pp. 2721\u20132730, http:\/\/proceedings.mlr.press\/v89\/charikar19a.html."},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.10.012"},{"key":"ref16","unstructured":"V. Chatziafratis, M. Mahdian, and S. Ahmadian, Maximizing agreements for ranking, clustering and hierarchical clustering via max-cut, in International Conference on Artificial Intelligence and Statistics, PMLR, 2021, pp. 1657\u20131665."},{"key":"ref17","doi-asserted-by":"crossref","unstructured":"V. Chatziafratis and K. Makarychev, Triplet reconstruction and all other phylogenetic CSPs are approximation resistant, in 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), IEEE, 2023, pp. 253\u2013284.","DOI":"10.1109\/FOCS57990.2023.00024"},{"key":"ref18","unstructured":"V. Chatziafratis, G. Yaroslavtsev, E. Lee, K. Makarychev, S. Ahmadian, A. Epasto, and M. Mahdian, Bisect and conquer: Hierarchical clustering via max-uncut bisection, in the 23rd International Conference on Artificial Intelligence and Statistics, AISTATS 2020, online (Palermo, Sicily, Italy), Proc. Mach. Learn. Res. 108, S. Chiappa and R. Calandra, PMLR, 2020, pp. 3121\u20133132, http:\/\/proceedings.mlr.press\/v108\/chatziafratis20a.html."},{"key":"ref19","doi-asserted-by":"publisher","DOI":"10.1007\/s00037-006-0210-9"},{"key":"ref20","doi-asserted-by":"crossref","unstructured":"M. Cochez and H. Mou, Twister tries: Approximate hierarchical agglomerative clustering for average distance in linear time, in Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, ACM, 2015, pp. 505\u2013517.","DOI":"10.1145\/2723372.2751521"},{"key":"ref21","doi-asserted-by":"crossref","unstructured":"V. Cohen-Addad, D. Das, E. Kipouridis, N. Parotsidis, and M. Thorup, Fitting distances by tree metrics minimizing the total error within a constant factor, in 62nd Annual IEEE Symposium on Foundations of Computer Science (FOCS 2021), 2021, pp. 468\u2013479.","DOI":"10.1109\/FOCS52979.2021.00054"},{"key":"ref22","unstructured":"V. Cohen-Addad, R. de-Joannis-de-Verclos, and G. Lagarde, Improving ultrametrics embeddings through coresets, in Proceedings of the 38th International Conference on Machine Learning, ICML 2021, Proc. Mach. Learn. Res. 139, PMLR, 2021, pp. 2060\u20132068."},{"key":"ref23","unstructured":"V. Cohen-Addad, V. Kanade, and F. Mallmann-Trenn, Hierarchical clustering beyond the worst-case, in Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, and R. Garnett, eds. Curran Associates, 2017, pp. 6201\u20136209, https:\/\/proceedings.neurips.cc\/paper\/2017\/hash\/e8bf0f27d70d480d3ab793bb7619aaa5-Abstract.html."},{"key":"ref24","doi-asserted-by":"publisher","DOI":"10.1145\/3321386"},{"key":"ref25","unstructured":"V. Cohen-Addad, C. S. Karthik, and G. Lagarde, On efficient low distortion ultrametric embedding, in Proceedings of the 37th International Conference on Machine Learning, ICML 2020, virtual event, Proc. Mach. Learn. Res. 119, PMLR, 2020, pp. 2078\u20132088, http:\/\/proceedings.mlr.press\/v119\/cohen-addad20a.html."},{"key":"ref26","unstructured":"V. Cohen-Addad, S. Lattanzi, S. Mitrovic, A. Norouzi-Fard, N. Parotsidis, and J. Tarnawski, Correlation clustering in constant many parallel rounds, in Proceedings of the 38th International Conference on Machine Learning, ICML 2021, virtual event, Proc. Mach. Learn. Res. 139, M. Meila and T. Zhang, eds. PMLR, 2021, pp. 2069\u20132078, http:\/\/proceedings.mlr.press\/v139\/cohen-addad21b.html."},{"key":"ref27","doi-asserted-by":"publisher","DOI":"10.1006\/inco.2000.3011"},{"key":"ref28","first-page":"345","volume-title":"Atlas of Protein Sequence and Structure","author":"Dayhoff M. O.","year":"1978"},{"key":"ref29","doi-asserted-by":"publisher","DOI":"10.1186\/1748-7188-8-8"},{"key":"ref30","unstructured":"C. Elkan, Using the triangle inequality to accelerate k-means, in Proceedings of the Twentieth International Conference on International Conference on Machine Learning, ICML\u201903, AAAI Press, 2003, pp. 147\u2013153."},{"key":"ref31","unstructured":"C. Fan, A. C. Gilbert, B. Raichel, R. Sonthalia, and G. Van Buskirk, Generalized metric repair on graphs, in 17th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2020), Schloss Dagstuhl-Leibniz-Zentrum f\u00fcr Informatik, 2020."},{"key":"ref32","doi-asserted-by":"crossref","unstructured":"C. Fan, B. Raichel, and G. Van Buskirk, Metric violation distance: Hardness and approximation, in Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2018, pp. 196\u2013209, https:\/\/doi.org\/10.1137\/1.9781611975031.14.","DOI":"10.1137\/1.9781611975031.14"},{"key":"ref33","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539793243016"},{"key":"ref34","doi-asserted-by":"crossref","unstructured":"A. C. Gilbert and L. Jain, If it ain\u2019t broke, don\u2019t fix it: Sparse metric repair, in 2017 55th Annual Allerton Conference on Communication, Control, and Computing (Allerton), IEEE, 2017, pp. 612\u2013619.","DOI":"10.1109\/ALLERTON.2017.8262793"},{"key":"ref35","doi-asserted-by":"crossref","unstructured":"B. Harb, S. Kannan, and A. McGregor, Approximating the best-fit tree under \\(L_p\\) norms, in Proc. 8th Workshop on Approximation Algorithms for Combinatorial Optimization Problems (APPROX\u201905), Springer, 2005, pp. 123\u2013133.","DOI":"10.1007\/11538462_11"},{"key":"ref36","doi-asserted-by":"crossref","unstructured":"S. Khot, On the power of unique 2-prover 1-round games, in Proceedings of the Thiry-Fourth Annual ACM Symposium on Theory of Computing, 2002, pp. 767\u2013775.","DOI":"10.1145\/509907.510017"},{"key":"ref37","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539705447372"},{"key":"ref38","doi-asserted-by":"publisher","DOI":"10.1137\/09074944X"},{"key":"ref39","doi-asserted-by":"crossref","unstructured":"E. Lee, Hardness of graph pricing through generalized max-dicut, in Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, 2015, pp. 391\u2013399.","DOI":"10.1145\/2746539.2746549"},{"key":"ref40","first-page":"92:1","volume-title":"44th International Colloquium on Automata, Languages, and Programming (ICALP)","author":"Lee E.","year":"2017"},{"key":"ref41","first-page":"3094","volume-title":"Advances in Neural Information Processing Systems","author":"Moseley B.","year":"2017"},{"key":"ref42","doi-asserted-by":"publisher","DOI":"10.1007\/s00039-010-0047-x"},{"key":"ref43","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781139814782"},{"key":"ref44","doi-asserted-by":"crossref","unstructured":"P. Raghavendra, Optimal algorithms and inapproximability results for every CSP? in Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing, 2008, pp. 245\u2013254.","DOI":"10.1145\/1374376.1374414"},{"key":"ref45","first-page":"2324","volume-title":"Advances in Neural Information Processing Systems","author":"Roy A.","year":"2016"},{"key":"ref46","doi-asserted-by":"publisher","DOI":"10.1007\/BF01200760"},{"key":"ref47","doi-asserted-by":"crossref","unstructured":"A. Sidiropoulos, D. Wang, and Y. Wang, Metric embeddings with outliers, in Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, Barcelona, Spain, P. N. Klein, ed. SIAM, 2017, pp. 670\u2013689, https:\/\/doi.org\/10.1137\/1.9781611974782.43.","DOI":"10.1137\/1.9781611974782.43"},{"key":"ref48","volume":"33","author":"Sonthalia R.","year":"2020","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref49","unstructured":"D. Vainstein, V. Chatziafratis, G. Citovsky, A. Rajagopalan, M. Mahdian, and Y. Azar, Hierarchical clustering via sketches and hierarchical correlation clustering, in the 24th International Conference on Artificial Intelligence and Statistics, AISTATS 2021, virtual event, Proc. Mach. Learn. Res. 130, A. Banerjee and K. Fukumizu, eds. PMLR, 2021, pp. 559\u2013567, http:\/\/proceedings.mlr.press\/v130\/vainstein21a.html."},{"key":"ref50","volume-title":"Approximation Algorithms","author":"Vazirani V. V.","year":"2013"},{"key":"ref51","doi-asserted-by":"publisher","DOI":"10.4086\/toc.2013.v009a023"},{"key":"ref52","doi-asserted-by":"publisher","DOI":"10.1145\/3186893"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/22M1520190","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:17:21Z","timestamp":1787336241000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/22M1520190"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,15]]},"references-count":52,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2025,2,28]]}},"alternative-id":["10.1137\/22M1520190"],"URL":"https:\/\/doi.org\/10.1137\/22m1520190","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,15]]}}}