{"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/a-bayesian-framework-for-information","title":"A Bayesian Framework for Information-Theoretic Probing","arxiv_id":"2109.03853","date":"2021-09-08","proceeding":"EMNLP 2021 11","authors":["Tiago Pimentel","Ryan Cotterell"],"abstract":"Pimentel et al. (2020) recently analysed probing from an information-theoretic perspective. They argue that probing should be seen as approximating a mutual information. This led to the rather unintuitive conclusion that representations encode exactly the same information about a target task as the original sentences. The mutual information, however, assumes the true probability distribution of a pair of random variables is known, leading to unintuitive results in settings where it is not. This paper proposes a new framework to measure what we term Bayesian mutual information, which analyses information from the perspective of Bayesian agents -- allowing for more intuitive findings in scenarios with finite data. For instance, under Bayesian MI we have that data can add information, processing can help, and information can hurt, which makes it more intuitive for machine learning applications. Finally, we apply our framework to probing where we believe Bayesian mutual information naturally operationalises ease of extraction by explicitly limiting the available background knowledge to solve a task.","url_abs":"https://arxiv.org/abs/2109.03853v1","url_pdf":"https://arxiv.org/pdf/2109.03853v1.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":"a-bayesian-framework-for-information","repo_url":"https://github.com/rycolab/bayesian-mi","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=2109.03853","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2109.03853"}},"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/rycolab/bayesian-mi","reach":null}],"summary":{"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"official":{"samples":3,"ran":2,"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":"22bf20d1f0b5565c","entry":"get_pareto_points","repo":"rycolab/bayesian-mi","repo_kind":"official","path":"src/h03_analysis/plot_pareto.py","file_url":"https://github.com/rycolab/bayesian-mi/blob/HEAD/src/h03_analysis/plot_pareto.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"22bf20d1f0b5565c"}},{"code_sha256_prefix":"2042646c74228d65","entry":"get_pareto_points_per_model","repo":"rycolab/bayesian-mi","repo_kind":"official","path":"src/h03_analysis/plot_pareto.py","file_url":"https://github.com/rycolab/bayesian-mi/blob/HEAD/src/h03_analysis/plot_pareto.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2042646c74228d65"}},{"code_sha256_prefix":"180cb837730b3445","entry":"get_pareto_frontiers","repo":"rycolab/bayesian-mi","repo_kind":"official","path":"src/h03_analysis/plot_pareto.py","file_url":"https://github.com/rycolab/bayesian-mi/blob/HEAD/src/h03_analysis/plot_pareto.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":"180cb837730b3445"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}