{"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/wide-bayesian-neural-networks-have-a-simple","title":"Wide Bayesian neural networks have a simple weight posterior: theory and accelerated sampling","arxiv_id":"2206.07673","date":"2022-06-15","proceeding":null,"authors":["Jiri Hron","Roman Novak","Jeffrey Pennington","Jascha Sohl-Dickstein"],"abstract":"We introduce repriorisation, a data-dependent reparameterisation which transforms a Bayesian neural network (BNN) posterior to a distribution whose KL divergence to the BNN prior vanishes as layer widths grow. The repriorisation map acts directly on parameters, and its analytic simplicity complements the known neural network Gaussian process (NNGP) behaviour of wide BNNs in function space. Exploiting the repriorisation, we develop a Markov chain Monte Carlo (MCMC) posterior sampling algorithm which mixes faster the wider the BNN. This contrasts with the typically poor performance of MCMC in high dimensions. We observe up to 50x higher effective sample size relative to no reparametrisation for both fully-connected and residual networks. Improvements are achieved at all widths, with the margin between reparametrised and standard BNNs growing with layer width.","url_abs":"https://arxiv.org/abs/2206.07673v1","url_pdf":"https://arxiv.org/pdf/2206.07673v1.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":"wide-bayesian-neural-networks-have-a-simple","repo_url":"https://github.com/lucia-pezzetti/function-space-mcmc-for-wide-bnns","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null}],"tasks":[],"methods":[{"method_slug":"gaussian-process","method_name":"Gaussian Process"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2206.07673","atlas_url":"https://app.syntology.ai/?focus=2206.07673","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.07673"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/google/wide_bnn_sampling","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucia-pezzetti/function-space-mcmc-for-wide-bnns","reach":null}],"summary":{"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"listed":{"samples":3,"ran":1,"repositories":1},"found_in_text":{"samples":1,"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":3,"samples":[{"code_sha256_prefix":"2fcbb2a775c11e15","entry":"_get_ident_energy_fn","repo":"lucia-pezzetti/function-space-mcmc-for-wide-bnns","repo_kind":"listed","path":"src/reparametrisation.py","file_url":"https://github.com/lucia-pezzetti/function-space-mcmc-for-wide-bnns/blob/HEAD/src/reparametrisation.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2fcbb2a775c11e15"}},{"code_sha256_prefix":"1fa337aaaa358263","entry":"_get_nngp_energy_fn","repo":"lucia-pezzetti/function-space-mcmc-for-wide-bnns","repo_kind":"listed","path":"src/reparametrisation.py","file_url":"https://github.com/lucia-pezzetti/function-space-mcmc-for-wide-bnns/blob/HEAD/src/reparametrisation.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":"1fa337aaaa358263"}},{"code_sha256_prefix":"72acd12153e4d535","entry":"_get_nngp_energy_fn","repo":"google/wide_bnn_sampling","repo_kind":"found_in_text","path":"wide_bnn_sampling/reparametrisation.py","file_url":"https://github.com/google/wide_bnn_sampling/blob/HEAD/wide_bnn_sampling/reparametrisation.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":"72acd12153e4d535"}},{"code_sha256_prefix":"33ef9d6b7bcff3d1","entry":"get_energy_fn","repo":"lucia-pezzetti/function-space-mcmc-for-wide-bnns","repo_kind":"listed","path":"src/reparametrisation.py","file_url":"https://github.com/lucia-pezzetti/function-space-mcmc-for-wide-bnns/blob/HEAD/src/reparametrisation.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":"33ef9d6b7bcff3d1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}