{"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/flexible-phase-dynamics-for-bio-plausible","title":"Flexible Phase Dynamics for Bio-Plausible Contrastive Learning","arxiv_id":"2302.12431","date":"2023-02-24","proceeding":null,"authors":["Ezekiel Williams","Colin Bredenberg","Guillaume Lajoie"],"abstract":"Many learning algorithms used as normative models in neuroscience or as candidate approaches for learning on neuromorphic chips learn by contrasting one set of network states with another. These Contrastive Learning (CL) algorithms are traditionally implemented with rigid, temporally non-local, and periodic learning dynamics that could limit the range of physical systems capable of harnessing CL. In this study, we build on recent work exploring how CL might be implemented by biological or neurmorphic systems and show that this form of learning can be made temporally local, and can still function even if many of the dynamical requirements of standard training procedures are relaxed. Thanks to a set of general theorems corroborated by numerical experiments across several CL models, our results provide theoretical foundations for the study and development of CL methods for biological and neuromorphic neural networks.","url_abs":"https://arxiv.org/abs/2302.12431v2","url_pdf":"https://arxiv.org/pdf/2302.12431v2.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":"flexible-phase-dynamics-for-bio-plausible","repo_url":"https://github.com/zek3r/icml2023","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"}],"methods":[{"method_slug":"contrastive-learning","method_name":"Contrastive Learning"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2302.12431","atlas_url":"https://app.syntology.ai/?focus=2302.12431","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2302.12431"}},"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/zek3r/icml2023","reach":null}],"summary":{"ran_honours":3,"ran_draft_wrong":3,"ran_fixture":1,"ran_violates":1},"by_repo_kind":{"official":{"samples":8,"ran":8,"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":8,"samples":[{"code_sha256_prefix":"2056b4474e96758b","entry":"bin_array","repo":"zek3r/icml2023","repo_kind":"official","path":"RBM_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/RBM_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2056b4474e96758b"}},{"code_sha256_prefix":"f18dadc85e4929f8","entry":"exp_smoothing","repo":"zek3r/icml2023","repo_kind":"official","path":"RBM_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/RBM_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f18dadc85e4929f8"}},{"code_sha256_prefix":"0f16a3948f4388d1","entry":"get_batches","repo":"zek3r/icml2023","repo_kind":"official","path":"FF_EXP_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/FF_EXP_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0f16a3948f4388d1"}},{"code_sha256_prefix":"0def94fc051e650f","entry":"int_to_one_hot","repo":"zek3r/icml2023","repo_kind":"official","path":"MNIST_TOOLS_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/MNIST_TOOLS_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0def94fc051e650f"}},{"code_sha256_prefix":"6c9d971c4cd0e840","entry":"load_mnist","repo":"zek3r/icml2023","repo_kind":"official","path":"MNIST_TOOLS_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/MNIST_TOOLS_ICML.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":"6c9d971c4cd0e840"}},{"code_sha256_prefix":"64134ff0cd7a257a","entry":"overlay_y_on_x","repo":"zek3r/icml2023","repo_kind":"official","path":"FF_EXP_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/FF_EXP_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"64134ff0cd7a257a"}},{"code_sha256_prefix":"52fef4694e3093d9","entry":"remove_unused_one_hots","repo":"zek3r/icml2023","repo_kind":"official","path":"MNIST_TOOLS_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/MNIST_TOOLS_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"52fef4694e3093d9"}},{"code_sha256_prefix":"e21f85087b040589","entry":"sigmoid","repo":"zek3r/icml2023","repo_kind":"official","path":"RBM_ICML.py","file_url":"https://github.com/zek3r/icml2023/blob/HEAD/RBM_ICML.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e21f85087b040589"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}