{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,26]],"date-time":"2026-10-26T20:08:51Z","timestamp":1793045331800,"version":"4.5.0"},"reference-count":38,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2018,8,21]],"date-time":"2018-08-21T00:00:00Z","timestamp":1534809600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"U.S.-Israeli Binational Science Foundation","award":["2012\/229"],"award-info":[{"award-number":["2012\/229"]}]},{"name":"Hermann Minkowski-MINERVA Center for Geometry at Tel Aviv University"},{"DOI":"10.13039\/501100003977","name":"Israel Science Foundation","doi-asserted-by":"crossref","award":["892\/13"],"award-info":[{"award-number":["892\/13"]}],"id":[{"id":"10.13039\/501100003977","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100005386","name":"Israeli Centers of Research Excellence (I-CORE) program","doi-asserted-by":"crossref","award":["4\/11"],"award-info":[{"award-number":["4\/11"]}],"id":[{"id":"10.13039\/501100005386","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Blavatnik Research Fund in Computer Science at Tel Aviv University"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Algorithms"],"published-print":{"date-parts":[[2018,10,31]]},"abstract":"<jats:p>Dynamic Time Warping (DTW) and Geometric Edit Distance (GED) are basic similarity measures between curves or general temporal sequences (e.g., time series) that are represented as sequences of points in some metric space (<jats:italic>X<\/jats:italic>, dist). The DTW and GED measures are massively used in various fields of computer science and computational biology. Consequently, the tasks of computing these measures are among the core problems in P. Despite extensive efforts to find more efficient algorithms, the best-known algorithms for computing the DTW or GED between two sequences of points in<jats:italic>X<\/jats:italic>= R<jats:sup>d<\/jats:sup>are long-standing dynamic programming algorithms that require quadratic runtime, even for the one-dimensional case<jats:italic>d<\/jats:italic>= 1, which is perhaps one of the most used in practice.<\/jats:p><jats:p>In this article, we break the nearly 50-year-old quadratic time bound for computing DTW or GED between two sequences of<jats:italic>n<\/jats:italic>points in R by presenting deterministic algorithms that run in<jats:italic>O<\/jats:italic>(<jats:italic>n<\/jats:italic><jats:sup>2<\/jats:sup>log log log<jats:italic>n<\/jats:italic>\/ log log<jats:italic>n<\/jats:italic>) time. Our algorithms can be extended to work also for higher-dimensional spaces R<jats:sup>d<\/jats:sup>, for any constant<jats:italic>d<\/jats:italic>, when the underlying distance-metric dist is polyhedral (e.g.,<jats:italic>L<\/jats:italic><jats:sub>1<\/jats:sub>,<jats:italic>L<\/jats:italic><jats:sub>infin<\/jats:sub>).<\/jats:p>","DOI":"10.1145\/3230734","type":"journal-article","created":{"date-parts":[[2018,8,21]],"date-time":"2018-08-21T12:09:47Z","timestamp":1534853387000},"page":"1-17","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":68,"title":["Dynamic Time Warping and Geometric Edit Distance"],"prefix":"10.1145","volume":"14","author":[{"given":"Omer","family":"Gold","sequence":"first","affiliation":[{"name":"Tel Aviv University, Israel, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Micha","family":"Sharir","sequence":"additional","affiliation":[{"name":"Tel Aviv University, Israel, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2018,8,21]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2015.14"},{"key":"e_1_2_1_2_1","volume-title":"45th International Colloquium on Automata, Languages, and Programming (ICALP'18)","volume":"107","author":"Abboud Amir","year":"2018","unstructured":"Amir Abboud and Karl Bringmann. 2018. Tighter connections between formula-SAT and shaving logs. In 45th International Colloquium on Automata, Languages, and Programming (ICALP'18), vol. 107. 8:1--8:18."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2897518.2897653"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1137\/130920526"},{"key":"e_1_2_1_5_1","volume-title":"Proceedings of the 32nd International Symposium on Computational Geometry (SoCG\u201916)","author":"Agarwal Pankaj K.","year":"2016","unstructured":"Pankaj K. Agarwal, Kyle Fox, Jiangwei Pan, and Rex Ying. 2016. Approximating dynamic time warping and edit distance for a pair of point sequences. In Proceedings of the 32nd International Symposium on Computational Geometry (SoCG\u201916). 6:1--6:16."},{"key":"e_1_2_1_6_1","unstructured":"V. Arlazarov E. Dinic M. Kronrod and I. Faradzev. 1970. On economical construction of the transitive closure of a directed graph. Dokl. Akad. Nauk. 194 11 (1970)."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2746539.2746612"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/358841.358850"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/800113.803652"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2008.08.042"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2014.76"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2015.15"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/0166-218X(95)00103-X"},{"key":"e_1_2_1_14_1","doi-asserted-by":"crossref","unstructured":"E. G. Caiani A. Porta G. Baselli M. Turiel S. Muzzupappa F. Pieruzzi C. Crema A. Malliani and S. Cerutti. 1998. Warped-average template technique to track on a cycle-by-cycle basis the cardiac filling phases on left ventricular volume. In Computers in Cardiology. 73--76.","DOI":"10.1109\/CIC.1998.731723"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/1341151.1341158"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/3174304.3175327"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/2207676.2208544"},{"key":"e_1_2_1_18_1","volume-title":"Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids","author":"Durbin Richard","unstructured":"Richard Durbin, Sean R. Eddy, Anders Krogh, and Graeme Mitchison. 1998. Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press, New York."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10851-006-0647-0"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(76)90078-5"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1137\/0205006"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1016\/0925-7721(95)00022-2"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the 25th Annual European Symposium on Algorithms (ESA\u201917)","volume":"87","author":"Gold Omer","year":"2017","unstructured":"Omer Gold and Micha Sharir. 2017. Improved bounds for 3SUM, k-SUM, and linear degeneracy. In Proceedings of the 25th Annual European Symposium on Algorithms (ESA\u201917), Vol. 87. 42:1--42:13."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.dam.2015.10.040"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2014.72"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2000.1727"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2001.1774"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/2095116.2095147"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.5555\/2993953.2994027"},{"key":"e_1_2_1_30_1","volume-title":"Pazzani","author":"Keogh Eamonn J.","year":"1999","unstructured":"Eamonn J. Keogh and Michael J. Pazzani. 1999. Scaling up Dynamic Time Warping to Massive Datasets. Springer, Berlin, 1--11."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/347090.347153"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90002-1"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.5555\/1324818"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.5555\/4333"},{"key":"e_1_2_1_35_1","volume-title":"Ratanamahatana and Eamonn Keogh","author":"Chotirat","year":"2005","unstructured":"Chotirat A. Ratanamahatana and Eamonn Keogh. 2005. Three myths about dynamic time warping data mining. In Proceedings of the 2005 SIAM International Conference on Data Mining. 506--510."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01074755"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1214\/aos\/1069362747"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10618-012-0250-5"}],"container-title":["ACM Transactions on Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3230734","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3230734","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,6]],"date-time":"2025-07-06T12:58:16Z","timestamp":1751806696000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3230734"}},"subtitle":["Breaking the Quadratic Barrier"],"short-title":[],"issued":{"date-parts":[[2018,8,21]]},"references-count":38,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2018,10,31]]}},"alternative-id":["10.1145\/3230734"],"URL":"https:\/\/doi.org\/10.1145\/3230734","relation":{},"ISSN":["1549-6325","1549-6333"],"issn-type":[{"value":"1549-6325","type":"print"},{"value":"1549-6333","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,8,21]]},"assertion":[{"value":"2017-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-06-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-08-21","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}