{"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/190600910","title":"Learning Representations by Maximizing Mutual Information Across Views","arxiv_id":"1906.00910","date":"2019-06-03","proceeding":"NeurIPS 2019 12","authors":["Philip Bachman","R. Devon Hjelm","William Buchwalter"],"abstract":"We propose an approach to self-supervised representation learning based on maximizing mutual information between features extracted from multiple views of a shared context. For example, one could produce multiple views of a local spatio-temporal context by observing it from different locations (e.g., camera positions within a scene), and via different modalities (e.g., tactile, auditory, or visual). Or, an ImageNet image could provide a context from which one produces multiple views by repeatedly applying data augmentation. Maximizing mutual information between features extracted from these views requires capturing information about high-level factors whose influence spans multiple views -- e.g., presence of certain objects or occurrence of certain events. Following our proposed approach, we develop a model which learns image representations that significantly outperform prior methods on the tasks we consider. Most notably, using self-supervised learning, our model learns representations which achieve 68.1% accuracy on ImageNet using standard linear evaluation. This beats prior results by over 12% and concurrent results by 7%. When we extend our model to use mixture-based representations, segmentation behaviour emerges as a natural side-effect. Our code is available online: https://github.com/Philip-Bachman/amdim-public.","url_abs":"https://arxiv.org/abs/1906.00910v2","url_pdf":"https://arxiv.org/pdf/1906.00910v2.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":"190600910","repo_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"190600910","repo_url":"https://github.com/cfld/amdim","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"190600910","repo_url":"https://github.com/philip-bachman/amdim-public","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"linear-evaluation","task_name":"Linear evaluation"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"self-supervised-image-classification","task_name":"Self-Supervised Image Classification"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-classification-on-stl-10","task":"Image Classification","dataset":"STL-10","model":"AMDIM","rank_in_archive_order":21,"of":117,"metrics":{"Percentage correct":"94.5"},"uses_additional_data":false},{"leaderboard":"/sota/self-supervised-image-classification-on","task":"Self-Supervised Image Classification","dataset":"ImageNet","model":"AMDIM (large) (arxiv v2)","rank_in_archive_order":106,"of":144,"metrics":{"Number of Params":"626M","Top 1 Accuracy":"68.1%"},"uses_additional_data":false},{"leaderboard":"/sota/self-supervised-image-classification-on","task":"Self-Supervised Image Classification","dataset":"ImageNet","model":"AMDIM (small) (arxiv v2)","rank_in_archive_order":118,"of":144,"metrics":{"Number of Params":"194M","Top 1 Accuracy":"63.5%"},"uses_additional_data":false},{"leaderboard":"/sota/self-supervised-image-classification-on","task":"Self-Supervised Image Classification","dataset":"ImageNet","model":"AMDIM (arxiv v1)","rank_in_archive_order":125,"of":144,"metrics":{"Number of Params":"337M","Top 1 Accuracy":"60.2%"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1906.00910","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1906.00910"}},"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/cfld/amdim","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/philip-bachman/amdim-public","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Philip-Bachman/amdim-public","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":7,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"listed":{"samples":11,"ran":8,"repositories":3}},"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":"fd0c3fab3b60d3c1","entry":"Conv3x3","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd0c3fab3b60d3c1"}},{"code_sha256_prefix":"033b4f1cc1d18de5","entry":"ConvResBlock","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"033b4f1cc1d18de5"}},{"code_sha256_prefix":"5cd380ad133ebedc","entry":"ConvResNxN","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5cd380ad133ebedc"}},{"code_sha256_prefix":"5212c46b5f2ab291","entry":"MaybeBatchNorm2d","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5212c46b5f2ab291"}},{"code_sha256_prefix":"ff3dd74ec75795e6","entry":"NCE_MI_MULTI","repo":"cfld/amdim","repo_kind":"listed","path":"amdim/costs.py","file_url":"https://github.com/cfld/amdim/blob/HEAD/amdim/costs.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":"ff3dd74ec75795e6"}},{"code_sha256_prefix":"df7e2b94c623d6a1","entry":"NCE_MI_MULTI","repo":"Philip-Bachman/amdim-public","repo_kind":"listed","path":"costs.py","file_url":"https://github.com/Philip-Bachman/amdim-public/blob/HEAD/costs.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"df7e2b94c623d6a1"}},{"code_sha256_prefix":"1ec03f92bbeb5aa5","entry":"NopNet","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ec03f92bbeb5aa5"}},{"code_sha256_prefix":"93154000bc1f766f","entry":"tanh_clip","repo":"cfld/amdim","repo_kind":"listed","path":"amdim/costs.py","file_url":"https://github.com/cfld/amdim/blob/HEAD/amdim/costs.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"93154000bc1f766f"}},{"code_sha256_prefix":"f46b7bbcd154de3b","entry":"AmdimNet","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f46b7bbcd154de3b"}},{"code_sha256_prefix":"5e82fbe775ab5a0e","entry":"FakeRKHSConvNet","repo":"Alibaba-AAIG/SSL-FEW-SHOT","repo_kind":"listed","path":"feat/networks/amdimnet.py","file_url":"https://github.com/Alibaba-AAIG/SSL-FEW-SHOT/blob/HEAD/feat/networks/amdimnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5e82fbe775ab5a0e"}},{"code_sha256_prefix":"e4ac668dd3286000","entry":"LossMultiNCE","repo":"cfld/amdim","repo_kind":"listed","path":"amdim/costs.py","file_url":"https://github.com/cfld/amdim/blob/HEAD/amdim/costs.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":"e4ac668dd3286000"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}