{"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/differentiable-and-transportable-structure","title":"Differentiable and Transportable Structure Learning","arxiv_id":"2206.06354","date":"2022-06-13","proceeding":null,"authors":["Jeroen Berrevoets","Nabeel Seedat","Fergus Imrie","Mihaela van der Schaar"],"abstract":"Directed acyclic graphs (DAGs) encode a lot of information about a particular distribution in their structure. However, compute required to infer these structures is typically super-exponential in the number of variables, as inference requires a sweep of a combinatorially large space of potential structures. That is, until recent advances made it possible to search this space using a differentiable metric, drastically reducing search time. While this technique -- named NOTEARS -- is widely considered a seminal work in DAG-discovery, it concedes an important property in favour of differentiability: transportability. To be transportable, the structures discovered on one dataset must apply to another dataset from the same domain. We introduce D-Struct which recovers transportability in the discovered structures through a novel architecture and loss function while remaining fully differentiable. Because D-Struct remains differentiable, our method can be easily adopted in existing differentiable architectures, as was previously done with NOTEARS. In our experiments, we empirically validate D-Struct with respect to edge accuracy and structural Hamming distance in a variety of settings.","url_abs":"https://arxiv.org/abs/2206.06354v4","url_pdf":"https://arxiv.org/pdf/2206.06354v4.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":"differentiable-and-transportable-structure","repo_url":"https://github.com/jeroenbe/d-struct","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2206.06354","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.06354"}},"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/jeroenbe/d-struct","reach":null}],"summary":{"ran":7,"ran_fixture":1,"ran_violates":1,"unverified":2},"by_repo_kind":{"official":{"samples":11,"ran":9,"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":11,"samples":[{"code_sha256_prefix":"9956d7bd08b717f5","entry":"LBFGSBScipy","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9956d7bd08b717f5"}},{"code_sha256_prefix":"136b42eae03cb59f","entry":"LocallyConnected","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"136b42eae03cb59f"}},{"code_sha256_prefix":"c2dcf7d13e5066c2","entry":"NotearsMLP","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c2dcf7d13e5066c2"}},{"code_sha256_prefix":"3c71839b47c2c008","entry":"NotearsSobolev","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3c71839b47c2c008"}},{"code_sha256_prefix":"f034831a7694602d","entry":"P","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f034831a7694602d"}},{"code_sha256_prefix":"00f7e721e33128cd","entry":"Subset","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"00f7e721e33128cd"}},{"code_sha256_prefix":"0895010f8b5f431b","entry":"TraceExpm","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0895010f8b5f431b"}},{"code_sha256_prefix":"755551459ccab6fd","entry":"count_accuracy","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"755551459ccab6fd"}},{"code_sha256_prefix":"786b48473c9f4aec","entry":"is_dag","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"786b48473c9f4aec"}},{"code_sha256_prefix":"e38a0c52e34cb1c5","entry":"DStruct","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e38a0c52e34cb1c5"}},{"code_sha256_prefix":"dcbdbd9ffbe31b4d","entry":"NOTEARS","repo":"jeroenbe/d-struct","repo_kind":"official","path":"src/dstruct.py","file_url":"https://github.com/jeroenbe/d-struct/blob/HEAD/src/dstruct.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dcbdbd9ffbe31b4d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}