{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T22:09:24Z","timestamp":1790806164342,"version":"4.1.0"},"reference-count":19,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2020,3,20]],"date-time":"2020-03-20T00:00:00Z","timestamp":1584662400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/I01358X\/1"],"award-info":[{"award-number":["EP\/I01358X\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Math. Softw."],"published-print":{"date-parts":[[2020,3,31]]},"abstract":"<jats:p>Iterated-integral signatures and log signatures are sequences calculated from a path that characterizes its shape. They originate from the work of K.\u00a0T.\u00a0Chen and have become important through Terry Lyons\u2019s theory of differential equations driven by rough paths, which is an important developing area of stochastic analysis. They have applications in statistics and machine learning, where there can be a need to calculate finite parts of them quickly for many paths. We introduce the signature and the most basic information (displacement and signed areas) that it contains. We present algorithms for efficiently calculating these signatures. For log signatures this requires consideration of the structure of free Lie algebras. We benchmark the performance of the algorithms. The methods are implemented in C++ and released as a Python extension package, which also supports differentiation. In combination with a machine learning library (Tensorflow, PyTorch, or Theano), this allows end-to-end learning of neural networks involving signatures.<\/jats:p>","DOI":"10.1145\/3371237","type":"journal-article","created":{"date-parts":[[2020,3,20]],"date-time":"2020-03-20T06:23:08Z","timestamp":1584685388000},"page":"1-21","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":23,"title":["Algorithm 1004"],"prefix":"10.1145","volume":"46","author":[{"given":"Jeremy F.","family":"Reizenstein","sequence":"first","affiliation":[{"name":"Alan Turing Institute and University of Warwick, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Benjamin","family":"Graham","sequence":"additional","affiliation":[{"name":"Facebook AI Research, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,3,20]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"E. Alpaydin and Fevzi Alimoglu. 1998. Pen-Based Recognition of Handwritten Digits Data Set. Retrieved from https:\/\/archive.ics.uci.edu\/ml\/datasets\/Pen-Based+Recognition+of+Handwritten+Digits.  E. Alpaydin and Fevzi Alimoglu. 1998. Pen-Based Recognition of Handwritten Digits Data Set. Retrieved from https:\/\/archive.ics.uci.edu\/ml\/datasets\/Pen-Based+Recognition+of+Handwritten+Digits."},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cpc.2003.12.004"},{"key":"e_1_2_2_3_1","unstructured":"Fernando Casas and Ander Murua. 2009a. The BCH formula and the symmetric BCH formula up to terms of degree 20. Retrieved from http:\/\/www.ehu.eus\/ccwmuura\/bch.html.  Fernando Casas and Ander Murua. 2009a. The BCH formula and the symmetric BCH formula up to terms of degree 20. Retrieved from http:\/\/www.ehu.eus\/ccwmuura\/bch.html."},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1063\/1.3078418"},{"key":"e_1_2_2_5_1","first-page":"395","article-title":"Integration of paths -- a faithful representation of paths by noncommutative formal power series","volume":"89","author":"Chen Kuo-Tsai","year":"1958","journal-title":"Trans. Amer. Math. Soc."},{"key":"e_1_2_2_6_1","unstructured":"Ilya Chevyrev and Andrey Kormilitzin. 2016. A Primer on the Signature Method in Machine Learning. (2016). http:\/\/arxiv.org\/abs\/1603.03788.  Ilya Chevyrev and Andrey Kormilitzin. 2016. A Primer on the Signature Method in Machine Learning. (2016). http:\/\/arxiv.org\/abs\/1603.03788."},{"key":"e_1_2_2_7_1","unstructured":"Joscha Diehl. 2013. Rotation invariants of two dimensional curves based on iterated integrals. (2013). http:\/\/arxiv.org\/abs\/1305.6883.  Joscha Diehl. 2013. Rotation invariants of two dimensional curves based on iterated integrals. (2013). http:\/\/arxiv.org\/abs\/1305.6883."},{"key":"e_1_2_2_8_1","unstructured":"Mike Giles. 2017. Private communication. (2017) via Terry Lyons.  Mike Giles. 2017. Private communication. (2017) via Terry Lyons."},{"key":"e_1_2_2_9_1","unstructured":"Benjamin Graham. 2013. Sparse arrays of signatures for online character recognition. (2013). http:\/\/arxiv.org\/abs\/1308.0371.  Benjamin Graham. 2013. Sparse arrays of signatures for online character recognition. (2013). http:\/\/arxiv.org\/abs\/1308.0371."},{"key":"e_1_2_2_10_1","unstructured":"Marshall Hall. 1950. A basis for free Lie rings and higher commutators in free groups. (1950). Retrieved from http:\/\/www.ams.org\/journals\/proc\/1950-001-05\/S0002-9939-1950-0038336-7\/home.html.  Marshall Hall. 1950. A basis for free Lie rings and higher commutators in free groups. (1950). Retrieved from http:\/\/www.ams.org\/journals\/proc\/1950-001-05\/S0002-9939-1950-0038336-7\/home.html."},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.4171\/RMI\/240"},{"key":"e_1_2_2_12_1","unstructured":"Terry Lyons Stephen Buckley Djalil Chafai Greg Gyurk\u00f3 and Arend Janssen. 2010. CoRoPa Computational Rough Paths (software library). Retrieved from http:\/\/coropa.sourceforge.net\/.  Terry Lyons Stephen Buckley Djalil Chafai Greg Gyurk\u00f3 and Arend Janssen. 2010. CoRoPa Computational Rough Paths (software library). Retrieved from http:\/\/coropa.sourceforge.net\/."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/IISWC.2006.302723"},{"key":"e_1_2_2_14_1","unstructured":"Jeremy Reizenstein. 2015. Calculation of Iterated-Integral Signatures and Log Signatures. (2015). arxiv.org\/abs\/1712.02757.  Jeremy Reizenstein. 2015. Calculation of Iterated-Integral Signatures and Log Signatures. (2015). arxiv.org\/abs\/1712.02757."},{"key":"e_1_2_2_16_1","volume-title":"Free Lie Algebras","author":"Reutenauer Christophe"},{"key":"e_1_2_2_17_1","volume-title":"Subalgebras of free Lie algebras. Mat. Sbornik N.S. 33 75, 2","author":"Shirshov Anatoli Illarionovich","year":"1953"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/MCSE.2011.37"},{"key":"e_1_2_2_19_1","doi-asserted-by":"crossref","first-page":"152","DOI":"10.1515\/crll.1937.177.152","article-title":"Treue darstellung liescher ringe","volume":"177","author":"Witt Ernst","year":"1937","journal-title":"J. Reine Angew. Math."},{"key":"e_1_2_2_20_1","unstructured":"Weixin Yang Terry Lyons Hao Ni Cordelia Schmid Lianwen Jin and Jiawei Chang. 2017. Leveraging the Path Signature for Skeleton-based Human Action Recognition. (2017). http:\/\/arxiv.org\/abs\/1707.03993.  Weixin Yang Terry Lyons Hao Ni Cordelia Schmid Lianwen Jin and Jiawei Chang. 2017. Leveraging the Path Signature for Skeleton-based Human Action Recognition. (2017). http:\/\/arxiv.org\/abs\/1707.03993."}],"container-title":["ACM Transactions on Mathematical Software"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371237","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3371237","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:53:04Z","timestamp":1750189984000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371237"}},"subtitle":["The Iisignature Library: Efficient Calculation of Iterated-Integral Signatures and Log Signatures"],"short-title":[],"issued":{"date-parts":[[2020,3,20]]},"references-count":19,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2020,3,31]]}},"alternative-id":["10.1145\/3371237"],"URL":"https:\/\/doi.org\/10.1145\/3371237","relation":{},"ISSN":["0098-3500","1557-7295"],"issn-type":[{"value":"0098-3500","type":"print"},{"value":"1557-7295","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,3,20]]},"assertion":[{"value":"2018-06-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-11-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-03-20","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}