{"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":"/code/contrastmemory","entry":"ContrastMemory","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":5,"n_papers_ran":4,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":5,"n_samples_ran":4,"n_samples_fingerprinted":0,"n_places":5,"n_places_pointer_only":2,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":4,"unverified":1},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2404.03263","paper":"/paper/on-the-surprising-efficacy-of-distillation-as","title":"On the Surprising Efficacy of Distillation as an Alternative to Pre-Training Small Models","date":"2024-04-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"sfarhat/dapt","path":"kd_losses/crd.py","file_url":"https://github.com/sfarhat/dapt/blob/HEAD/kd_losses/crd.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"f8a7092e66ee88cb","mcp_get_code":{"code_sha256":"f8a7092e66ee88cb"}},{"arxiv_id":"2207.02970","paper":"/paper/network-binarization-via-contrastive-learning","title":"Network Binarization via Contrastive Learning","date":"2022-07-06","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"42Shawn/CMIM","path":"CMIM/cifar100/contrastive_alignment/criterion.py","file_url":"https://github.com/42Shawn/CMIM/blob/HEAD/CMIM/cifar100/contrastive_alignment/criterion.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"a10e610c2b6a4903","mcp_get_code":{"code_sha256":"a10e610c2b6a4903"}},{"arxiv_id":"2203.03871","paper":"/paper/discriminability-transferability-trade-off-an","title":"Discriminability-Transferability Trade-Off: An Information-Theoretic Perspective","date":"2022-03-08","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"dtennant/dt-tradeoff","path":"ctc/criterion.py","file_url":"https://github.com/dtennant/dt-tradeoff/blob/HEAD/ctc/criterion.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"1a66230ccdff534e","mcp_get_code":{"code_sha256":"1a66230ccdff534e"}},{"arxiv_id":"2103.16367","paper":"/paper/complementary-relation-contrastive","title":"Complementary Relation Contrastive Distillation","date":"2021-03-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Lechatelia/CRCD","path":"crcd/criterion.py","file_url":"https://github.com/Lechatelia/CRCD/blob/HEAD/crcd/criterion.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"95de05deeb53cc9e","mcp_get_code":{"code_sha256":"95de05deeb53cc9e"}},{"arxiv_id":"2009.14167","paper":"/paper/contrastive-distillation-on-intermediate","title":"Contrastive Distillation on Intermediate Representations for Language Model Compression","date":"2020-09-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"intersun/CoDIR","path":"crd/criterion.py","file_url":"https://github.com/intersun/CoDIR/blob/HEAD/crd/criterion.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"6c6451edefae2dc3","mcp_get_code":{"code_sha256":"6c6451edefae2dc3"}}]}