{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/deep-signatures","title":"Deep Signature Transforms","arxiv_id":"1905.08494","date":"2019-05-21","proceeding":"NeurIPS 2019 12","authors":["Patric Bonnier","Patrick Kidger","Imanol Perez Arribas","Cristopher Salvi","Terry Lyons"],"abstract":"The signature is an infinite graded sequence of statistics known to characterise a stream of data up to a negligible equivalence class. It is a transform which has previously been treated as a fixed feature transformation, on top of which a model may be built. We propose a novel approach which combines the advantages of the signature transform with modern deep learning frameworks. By learning an augmentation of the stream prior to the signature transform, the terms of the signature may be selected in a data-dependent way. More generally, we describe how the signature transform may be used as a layer anywhere within a neural network. In this context it may be interpreted as a pooling operation. We present the results of empirical experiments to back up the theoretical justification. Code available at https://github.com/patrick-kidger/Deep-Signature-Transforms.","url_abs":"https://arxiv.org/abs/1905.08494v2","url_pdf":"https://arxiv.org/pdf/1905.08494v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"deep-signatures","repo_url":"https://github.com/patrick-kidger/Deep-Signature-Transforms","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"deep-signatures","repo_url":"https://github.com/patrick-kidger/Deep-Signatures","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"deep-signatures","repo_url":"https://github.com/anh-tong/signax","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1905.08494","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1905.08494"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/patrick-kidger/Deep-Signature-Transforms","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/patrick-kidger/Deep-Signatures","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/anh-tong/signax","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":3,"ran_draft_wrong":1,"unverified":10},"by_repo_kind":{"official":{"samples":8,"ran":4,"repositories":2},"listed":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"f6b944f50d3f15ae","entry":"count_parameters","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f6b944f50d3f15ae"}},{"code_sha256_prefix":"934b81ca4ac35740","entry":"gen_noise","repo":"patrick-kidger/Deep-Signature-Transforms","repo_kind":"official","path":"src/generative_model.py","file_url":"https://github.com/patrick-kidger/Deep-Signature-Transforms/blob/HEAD/src/generative_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"934b81ca4ac35740"}},{"code_sha256_prefix":"9910e2fc297f8665","entry":"identity","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"packages/candle/recurrent.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/packages/candle/recurrent.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9910e2fc297f8665"}},{"code_sha256_prefix":"56be8c2cedfe1979","entry":"loss_fn","repo":"patrick-kidger/Deep-Signature-Transforms","repo_kind":"official","path":"src/signature_inversion.py","file_url":"https://github.com/patrick-kidger/Deep-Signature-Transforms/blob/HEAD/src/signature_inversion.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56be8c2cedfe1979"}},{"code_sha256_prefix":"32d0a5a694aa8db3","entry":"addcmul","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/tensor_ops.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/tensor_ops.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32d0a5a694aa8db3"}},{"code_sha256_prefix":"240a22a9a6f347bd","entry":"compress","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/utils.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"240a22a9a6f347bd"}},{"code_sha256_prefix":"98d8af89d9aae571","entry":"convert_to_tensor","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"packages/candle/tracing.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/packages/candle/tracing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"98d8af89d9aae571"}},{"code_sha256_prefix":"e14367711a5880ab","entry":"index_select","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/utils.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e14367711a5880ab"}},{"code_sha256_prefix":"23a544607e61affb","entry":"lyndon_words","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/utils.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"23a544607e61affb"}},{"code_sha256_prefix":"7a425dc74574f09b","entry":"otimes","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/tensor_ops.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/tensor_ops.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a425dc74574f09b"}},{"code_sha256_prefix":"91d14e4884af0665","entry":"play","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"src/reinforcement_learning.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/src/reinforcement_learning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"91d14e4884af0665"}},{"code_sha256_prefix":"42bf8b2c142070d5","entry":"restricted_exp","repo":"anh-tong/signax","repo_kind":"listed","path":"src/signax/tensor_ops.py","file_url":"https://github.com/anh-tong/signax/blob/HEAD/src/signax/tensor_ops.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"42bf8b2c142070d5"}},{"code_sha256_prefix":"11d6ef870746b44b","entry":"sig_dim","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"packages/siglayer/backend.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/packages/siglayer/backend.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"11d6ef870746b44b"}},{"code_sha256_prefix":"987a3ca85150e2e4","entry":"train","repo":"patrick-kidger/Deep-Signatures","repo_kind":"official","path":"src/reinforcement_learning.py","file_url":"https://github.com/patrick-kidger/Deep-Signatures/blob/HEAD/src/reinforcement_learning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"987a3ca85150e2e4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}