{"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/epistemic-neural-networks-1","title":"Epistemic Neural Networks","arxiv_id":"2107.08924","date":"2021-07-19","proceeding":"NeurIPS 2023 11","authors":["Ian Osband","Zheng Wen","Seyed Mohammad Asghari","Vikranth Dwaracherla","Morteza Ibrahimi","Xiuyuan Lu","Benjamin Van Roy"],"abstract":"Intelligence relies on an agent's knowledge of what it does not know. This capability can be assessed based on the quality of joint predictions of labels across multiple inputs. In principle, ensemble-based approaches produce effective joint predictions, but the computational costs of training large ensembles can become prohibitive. We introduce the epinet: an architecture that can supplement any conventional neural network, including large pretrained models, and can be trained with modest incremental computation to estimate uncertainty. With an epinet, conventional neural networks outperform very large ensembles, consisting of hundreds or more particles, with orders of magnitude less computation. The epinet does not fit the traditional framework of Bayesian neural networks. To accommodate development of approaches beyond BNNs, such as the epinet, we introduce the epistemic neural network (ENN) as an interface for models that produce joint predictions.","url_abs":"https://arxiv.org/abs/2107.08924v8","url_pdf":"https://arxiv.org/pdf/2107.08924v8.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":"epistemic-neural-networks-1","repo_url":"https://github.com/google-deepmind/enn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2107.08924","atlas_url":"https://app.syntology.ai/?focus=2107.08924","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.08924"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google-deepmind/enn","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":7},"by_repo_kind":{"listed":{"samples":7,"ran":7,"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":"e4d50b188a65c5ad","entry":"binary_log_likelihood","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/losses/vae_losses.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/losses/vae_losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e4d50b188a65c5ad"}},{"code_sha256_prefix":"cf2414e3657a07d7","entry":"gaussian_log_likelihood","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/losses/vae_losses.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/losses/vae_losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cf2414e3657a07d7"}},{"code_sha256_prefix":"1c0c6f90dd25e0cc","entry":"l2_weights_with_predicate","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/losses/utils.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/losses/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1c0c6f90dd25e0cc"}},{"code_sha256_prefix":"d72946fcf12cdc6a","entry":"latent_kl_divergence","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/losses/vae_losses.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/losses/vae_losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d72946fcf12cdc6a"}},{"code_sha256_prefix":"e30e012ccc8f6abb","entry":"make_default_logger","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/loggers.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/loggers.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e30e012ccc8f6abb"}},{"code_sha256_prefix":"73a9d7f8f0ed39a0","entry":"serialize","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/loggers.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/loggers.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"73a9d7f8f0ed39a0"}},{"code_sha256_prefix":"be5ccac1b0191bdf","entry":"variance_kl","repo":"google-deepmind/enn","repo_kind":"listed","path":"enn/losses/prior_losses.py","file_url":"https://github.com/google-deepmind/enn/blob/HEAD/enn/losses/prior_losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"be5ccac1b0191bdf"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}