{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,11]],"date-time":"2026-09-11T04:23:03Z","timestamp":1789100583595,"version":"build-2803163510"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"10","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2015,6]]},"abstract":"<jats:p>\n            Computing distances among data points is an essential part of many important algorithms in data analytics, graph analysis, and other domains. In each of these domains, developers have spent significant manual effort optimizing algorithms, often through novel applications of the triangle equality, in order to minimize the number of distance computations in the algorithms. In this work, we observe that many algorithms across these domains can be generalized as an instance of a generic distance-related abstraction. Based on this abstraction, we derive seven principles for correctly applying the triangular inequality to optimize distance-related algorithms. Guided by the findings, we develop\n            <jats:italic>&lt;u&gt;T&lt;\/u&gt;riangular &lt;u&gt;OP&lt;\/u&gt;timizer<\/jats:italic>\n            (TOP), the first software framework that is able to automatically produce optimized algorithms that either matches or outperforms manually designed algorithms for solving distance-related problems. TOP achieves up to 237x speedups and 2.5X on average.\n          <\/jats:p>","DOI":"10.14778\/2794367.2794374","type":"journal-article","created":{"date-parts":[[2015,7,30]],"date-time":"2015-07-30T14:37:34Z","timestamp":1438267054000},"page":"1046-1057","source":"Crossref","is-referenced-by-count":8,"title":["TOP"],"prefix":"10.14778","volume":"8","author":[{"given":"Yufei","family":"Ding","sequence":"first","affiliation":[{"name":"North Carolina State University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xipeng","family":"Shen","sequence":"additional","affiliation":[{"name":"North Carolina State University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Madanlal","family":"Musuvathi","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Todd","family":"Mytkowicz","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2015,6]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"UCI machine learning repository","author":"Bache K.","year":"2013"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10115-003-0122-9"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/ROBOT.1991.132043"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/TIME.2008.25"},{"key":"e_1_2_1_6_1","volume-title":"ICML","author":"Ding Y.","year":"2015"},{"key":"e_1_2_1_7_1","volume-title":"5th NIPS Workshop on Optimization for Machine Learning","author":"Drake J.","year":"2012"},{"key":"e_1_2_1_8_1","volume-title":"Introduction to High Performance Scientific Computing. Lulu. com","author":"Eijkhout V.","year":"2010"},{"key":"e_1_2_1_9_1","first-page":"147","volume-title":"ICML","volume":"3","author":"Elkan C.","year":"2003"},{"key":"e_1_2_1_10_1","volume-title":"Nearest neighbor classification","author":"Elkan C.","year":"2007"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/1876037.1876079"},{"issue":"10","key":"e_1_2_1_12_1","first-page":"1626","article-title":"An efficient enhanced k-means clustering algorithm. Journal of Zhejiang University SCIENCE A","volume":"7","author":"Fahim A.","year":"2006","journal-title":"Springer"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1037\/e471672008-001"},{"key":"e_1_2_1_14_1","first-page":"156","volume-title":"Proceedings of the sixteenth annual ACM-SIAM","author":"Goldberg A. V.","year":"2005"},{"key":"e_1_2_1_15_1","first-page":"161","volume-title":"IEEE","author":"Greenspan M.","year":"2001"},{"key":"e_1_2_1_16_1","first-page":"337","volume-title":"Vision Interface, IEEE","author":"Greenspan M.","year":"2000"},{"key":"e_1_2_1_17_1","first-page":"100","volume-title":"ALENEX\/ANALC","author":"Gutman R. J.","year":"2004"},{"key":"e_1_2_1_18_1","first-page":"130","volume-title":"SIAM","author":"Hamerly G.","year":"2010"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2006.88"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.patcog.2006.04.024"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/977395.977673"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/TIT.1982.1056489"},{"key":"e_1_2_1_23_1","volume-title":"Graphlab: A new framework for parallel machine learning. arXiv preprint arXiv:1006.4990","author":"Low Y.","year":"2010"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/2336664.2336674"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDM.2006.63"},{"key":"e_1_2_1_26_1","volume-title":"Open data commons open database license","year":"2014"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.5555\/2354409.2354758"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/IJCNN.2011.6033373"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2006.05.006"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2484838.2484866"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2794367.2794374","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:10:44Z","timestamp":1672225844000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2794367.2794374"}},"subtitle":["a framework for enabling algorithmic optimizations for distance-related problems"],"short-title":[],"issued":{"date-parts":[[2015,6]]},"references-count":30,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2015,6]]}},"alternative-id":["10.14778\/2794367.2794374"],"URL":"https:\/\/doi.org\/10.14778\/2794367.2794374","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2015,6]]}}}