{"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/towards-federated-bayesian-network-structure","title":"Towards Federated Bayesian Network Structure Learning with Continuous Optimization","arxiv_id":"2110.09356","date":"2021-10-18","proceeding":null,"authors":["Ignavier Ng","Kun Zhang"],"abstract":"Traditionally, Bayesian network structure learning is often carried out at a central site, in which all data is gathered. However, in practice, data may be distributed across different parties (e.g., companies, devices) who intend to collectively learn a Bayesian network, but are not willing to disclose information related to their data owing to privacy or security concerns. In this work, we present a federated learning approach to estimate the structure of Bayesian network from data that is horizontally partitioned across different parties. We develop a distributed structure learning method based on continuous optimization, using the alternating direction method of multipliers (ADMM), such that only the model parameters have to be exchanged during the optimization process. We demonstrate the flexibility of our approach by adopting it for both linear and nonlinear cases. Experimental results on synthetic and real datasets show that it achieves an improved performance over the other methods, especially when there is a relatively large number of clients and each has a limited sample size.","url_abs":"https://arxiv.org/abs/2110.09356v2","url_pdf":"https://arxiv.org/pdf/2110.09356v2.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":"towards-federated-bayesian-network-structure","repo_url":"https://github.com/ErdunGAO/FedDAG","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"towards-federated-bayesian-network-structure","repo_url":"https://github.com/ignavierng/notears-admm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.09356","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.09356"}},"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/ErdunGAO/FedDAG","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ignavierng/notears-admm","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_violates":1,"ran_fixture":1,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"listed":{"samples":5,"ran":3,"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":"786b48473c9f4aec","entry":"is_dag","repo":"ignavierng/notears-admm","repo_kind":"listed","path":"notears_admm/utils.py","file_url":"https://github.com/ignavierng/notears-admm/blob/HEAD/notears_admm/utils.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"786b48473c9f4aec"}},{"code_sha256_prefix":"2a4605e98eb5ad15","entry":"simulate_parameter","repo":"ignavierng/notears-admm","repo_kind":"listed","path":"notears_admm/utils.py","file_url":"https://github.com/ignavierng/notears-admm/blob/HEAD/notears_admm/utils.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2a4605e98eb5ad15"}},{"code_sha256_prefix":"c60cc034e8957e26","entry":"squared_loss","repo":"ignavierng/notears-admm","repo_kind":"listed","path":"notears_admm/linear_admm.py","file_url":"https://github.com/ignavierng/notears-admm/blob/HEAD/notears_admm/linear_admm.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c60cc034e8957e26"}},{"code_sha256_prefix":"35486488c2030882","entry":"simulate_dag","repo":"ignavierng/notears-admm","repo_kind":"listed","path":"notears_admm/utils.py","file_url":"https://github.com/ignavierng/notears-admm/blob/HEAD/notears_admm/utils.py","link_basis":"harvester_set","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":"35486488c2030882"}},{"code_sha256_prefix":"ad8ef035f12ac272","entry":"update_admm_params","repo":"ignavierng/notears-admm","repo_kind":"listed","path":"notears_admm/linear_admm.py","file_url":"https://github.com/ignavierng/notears-admm/blob/HEAD/notears_admm/linear_admm.py","link_basis":"harvester_set","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":"ad8ef035f12ac272"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}