{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,23]],"date-time":"2026-09-23T06:23:01Z","timestamp":1790144581674,"version":"4.0.1"},"reference-count":70,"publisher":"Association for Computing Machinery (ACM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2021,10]]},"abstract":"<jats:p>This paper studies the hierarchical clustering problem, where the goal is to produce a dendrogram that represents clusters at varying scales of a data set. We propose the ParChain framework for designing parallel hierarchical agglomerative clustering (HAC) algorithms, and using the framework we obtain novel parallel algorithms for the complete linkage, average linkage, and Ward's linkage criteria. Compared to most previous parallel HAC algorithms, which require quadratic memory, our new algorithms require only linear memory, and are scalable to large data sets. ParChain is based on our parallelization of the nearest-neighbor chain algorithm, and enables multiple clusters to be merged on every round. We introduce two key optimizations that are critical for efficiency: a range query optimization that reduces the number of distance computations required when finding nearest neighbors of clusters, and a caching optimization that stores a subset of previously computed distances, which are likely to be reused.<\/jats:p>\n          <jats:p>Experimentally, we show that our highly-optimized implementations using 48 cores with two-way hyper-threading achieve 5.8--110.1x speedup over state-of-the-art parallel HAC algorithms and achieve 13.75--54.23x self-relative speedup. Compared to state-of-the-art algorithms, our algorithms require up to 237.3x less space. Our algorithms are able to scale to data set sizes with tens of millions of points, which existing algorithms are not able to handle.<\/jats:p>","DOI":"10.14778\/3489496.3489509","type":"journal-article","created":{"date-parts":[[2022,2,5]],"date-time":"2022-02-05T00:28:36Z","timestamp":1644020916000},"page":"285-298","source":"Crossref","is-referenced-by-count":11,"title":["ParChain"],"prefix":"10.14778","volume":"15","author":[{"given":"Shangdi","family":"Yu","sequence":"first","affiliation":[{"name":"MIT CSAIL"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yiqiu","family":"Wang","sequence":"additional","affiliation":[{"name":"MIT CSAIL"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yan","family":"Gu","sequence":"additional","affiliation":[{"name":"UC Riverside"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Laxman","family":"Dhulipala","sequence":"additional","affiliation":[{"name":"MIT CSAIL"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Julian","family":"Shun","sequence":"additional","affiliation":[{"name":"MIT CSAIL"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,2,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.5555\/3454287.3455326"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.5555\/2685756"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-07953-0_2"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.5555\/3295222.3295430"},{"key":"e_1_2_1_5_1","volume-title":"Construction d'une classification ascendante hi\u00e9rar-chique par la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2","author":"Benz\u00e9cri Jean-Paul","year":"1982","unstructured":"Jean-Paul Benz\u00e9cri . 1982. Construction d'une classification ascendante hi\u00e9rar-chique par la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2 ( 1982 ), 209--218. Jean-Paul Benz\u00e9cri. 1982. Construction d'une classification ascendante hi\u00e9rar-chique par la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2 (1982), 209--218."},{"key":"e_1_2_1_6_1","volume-title":"Grouping Multidimensional Data","author":"Berkhin Pavel","unstructured":"Pavel Berkhin . 2006. A survey of clustering data mining techniques . In Grouping Multidimensional Data . Springer , 25--71. Pavel Berkhin. 2006. A survey of clustering data mining techniques. In Grouping Multidimensional Data. Springer, 25--71."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.nima.2003.08.157"},{"key":"e_1_2_1_8_1","volume-title":"M\u00e9thodes nouvelles en classification automatique de donn\u00e9es taxinomiques nombreuses. Statistique et Analyse des donn\u00e9es 2, 3","author":"Bruynooghe Michel","year":"1977","unstructured":"Michel Bruynooghe . 1977. M\u00e9thodes nouvelles en classification automatique de donn\u00e9es taxinomiques nombreuses. Statistique et Analyse des donn\u00e9es 2, 3 ( 1977 ), 24--42. Michel Bruynooghe. 1977. M\u00e9thodes nouvelles en classification automatique de donn\u00e9es taxinomiques nombreuses. Statistique et Analyse des donn\u00e9es 2, 3 (1977), 24--42."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1993.366854"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/1254866.1254876"},{"key":"e_1_2_1_11_1","volume-title":"Hierarchical clustering with global objectives: Approximation algorithms and hardness results","author":"Chatziafratis Evangelos","unstructured":"Evangelos Chatziafratis . 2020. Hierarchical clustering with global objectives: Approximation algorithms and hardness results . Stanford University . Evangelos Chatziafratis. 2020. Hierarchical clustering with global objectives: Approximation algorithms and hardness results. Stanford University."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2751521"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3321386"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/3042817.3043097"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/2789272.2912103"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2897518.2897527"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.10.006"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-27866-5_47"},{"key":"e_1_2_1_19_1","volume-title":"La classification hi\u00e9rarchique ascendante selon la m\u00e9thode des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 5, 2","author":"Rham C. De","year":"1980","unstructured":"C. De Rham . 1980. La classification hi\u00e9rarchique ascendante selon la m\u00e9thode des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 5, 2 ( 1980 ), 135--144. C. De Rham. 1980. La classification hi\u00e9rarchique ascendante selon la m\u00e9thode des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 5, 2 (1980), 135--144."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/20.4.364"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the International Conference on Machine Learning. 2676--2686","author":"Dhulipala Laxman","year":"2021","unstructured":"Laxman Dhulipala , David Eisenstat , Jakub Lacki , Vahab S. Mirrokni , and Jessica Shi . 2021 . Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time . In Proceedings of the International Conference on Machine Learning. 2676--2686 . Laxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni, and Jessica Shi. 2021. Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time. In Proceedings of the International Conference on Machine Learning. 2676--2686."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/3436905.3436923"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.parco.2005.01.001"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.95.25.14863"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.snb.2015.03.028"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2505515.2505527"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.5555\/1459018.1459020"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2007.07.002"},{"key":"e_1_2_1_29_1","unstructured":"Dieter Heck Johannes Knapp Jean-Noel Capdevielle Gerd Schatz and T. Thouw. 1998. A Monte Carlo code to simulate extensive air showers. Report FZKA 6019 (1998).  Dieter Heck Johannes Knapp Jean-Noel Capdevielle Gerd Schatz and T. Thouw. 1998. A Monte Carlo code to simulate extensive air showers. Report FZKA 6019 (1998)."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.chemolab.2016.07.004"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btu098"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/331499.331504"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2014.2355205"},{"key":"e_1_2_1_34_1","volume-title":"Programme de classification hi\u00e9rarchique par l'algorithme de la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2","author":"Juan J.","year":"1982","unstructured":"J. Juan . 1982. Programme de classification hi\u00e9rarchique par l'algorithme de la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2 ( 1982 ), 219--225. J. Juan. 1982. Programme de classification hi\u00e9rarchique par l'algorithme de la recherche en cha\u00eene des voisins r\u00e9ciproques. Cahiers de l'analyse des donn\u00e9es 7, 2 (1982), 219--225."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/SSDM.1999.787621"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(01)00239-0"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1186\/1756-0381-1-9"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/9.4.373"},{"key":"e_1_2_1_39_1","doi-asserted-by":"crossref","unstructured":"Bastian Leibe Krystian Mikolajczyk and Bernt Schiele. 2006. Efficient clustering and matching for object class recognition.. In BMVC. 789--798.  Bastian Leibe Krystian Mikolajczyk and Bernt Schiele. 2006. Efficient clustering and matching for object class recognition.. In BMVC. 789--798.","DOI":"10.5244\/C.20.81"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-010-0405-3"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/34.61708"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-8191(89)90036-7"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btn174"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.sigpro.2011.07.023"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.5555\/1394399"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/1835804.1835882"},{"key":"e_1_2_1_48_1","unstructured":"Nicholas Monath Avinava Dubey Guru Guruganesh Manzil Zaheer Amr Ahmed Andrew McCallum Gokhan Mergen Marc Najork Mert Terzihan Bryon Tjanaka etal 2020. Scalable Bottom-Up Hierarchical Clustering. arXiv preprint arXiv:2010.11821 (2020).  Nicholas Monath Avinava Dubey Guru Guruganesh Manzil Zaheer Amr Ahmed Andrew McCallum Gokhan Mergen Marc Najork Mert Terzihan Bryon Tjanaka et al. 2020. Scalable Bottom-Up Hierarchical Clustering. arXiv preprint arXiv:2010.11821 (2020)."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3292500.3330929"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.5555\/3294996.3295069"},{"key":"e_1_2_1_51_1","volume-title":"Modern hierarchical, agglomerative clustering algorithms. arXiv preprint arXiv:1109.2378","author":"M\u00fcllner Daniel","year":"2011","unstructured":"Daniel M\u00fcllner . 2011. Modern hierarchical, agglomerative clustering algorithms. arXiv preprint arXiv:1109.2378 ( 2011 ). Daniel M\u00fcllner. 2011. Modern hierarchical, agglomerative clustering algorithms. arXiv preprint arXiv:1109.2378 (2011)."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.18637\/jss.v053.i09"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/26.4.354"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1002\/widm.1219"},{"key":"e_1_2_1_55_1","volume-title":"Ward's hierarchical clustering method: clustering criterion and agglomerative algorithm. arXiv preprint arXiv:1111.6285","author":"Murtagh Fionn","year":"2011","unstructured":"Fionn Murtagh and Pierre Legendre . 2011. Ward's hierarchical clustering method: clustering criterion and agglomerative algorithm. arXiv preprint arXiv:1111.6285 ( 2011 ). Fionn Murtagh and Pierre Legendre. 2011. Ward's hierarchical clustering method: clustering criterion and agglomerative algorithm. arXiv preprint arXiv:1111.6285 (2011)."},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/1273442.1250746"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2014.05.001"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-8191(95)00017-I"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2005.72"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/2486159.2486189"},{"key":"e_1_2_1_62_1","first-page":"1409","article-title":"A statistical method for evaluating systematic relationships","volume":"38","author":"Sokal Robert R.","year":"1958","unstructured":"Robert R. Sokal . 1958 . A statistical method for evaluating systematic relationships . Univ. Kansas, Sci. Bull. 38 (1958), 1409 -- 1438 . Robert R. Sokal. 1958. A statistical method for evaluating systematic relationships. Univ. Kansas, Sci. Bull. 38 (1958), 1409--1438.","journal-title":"Univ. Kansas, Sci. Bull."},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1093\/nar\/gkp285"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jebo.2010.01.004"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41592-019-0686-2"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3457296"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1963.10500845"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1007\/s40745-015-0040-1"},{"key":"e_1_2_1_69_1","volume-title":"ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain. arXiv preprint arXiv:2106.04727","author":"Yu Shangdi","year":"2021","unstructured":"Shangdi Yu , Yiqiu Wang , Yan Gu , Laxman Dhulipala , and Julian Shun . 2021. ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain. arXiv preprint arXiv:2106.04727 ( 2021 ). Shangdi Yu, Yiqiu Wang, Yan Gu, Laxman Dhulipala, and Julian Shun. 2021. ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain. arXiv preprint arXiv:2106.04727 (2021)."},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1142\/S0218126619500658"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.1145\/1367497.1367532"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3489496.3489509","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:14:00Z","timestamp":1672226040000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3489496.3489509"}},"subtitle":["a framework for parallel hierarchical agglomerative clustering using nearest-neighbor chain"],"short-title":[],"issued":{"date-parts":[[2021,10]]},"references-count":70,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2021,10]]}},"alternative-id":["10.14778\/3489496.3489509"],"URL":"https:\/\/doi.org\/10.14778\/3489496.3489509","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2021,10]]}}}