{"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/vector-contrastive-learning-for-pixel-wise","title":"Vector Contrastive Learning For Pixel-Wise Pretraining In Medical Vision","arxiv_id":"2506.20850","date":"2025-06-25","proceeding":null,"authors":["Yuting He","Shuo Li"],"abstract":"Contrastive learning (CL) has become a cornerstone of self-supervised pretraining (SSP) in foundation models, however, extending CL to pixel-wise representation, crucial for medical vision, remains an open problem. Standard CL formulates SSP as a binary optimization problem (binary CL) where the excessive pursuit of feature dispersion leads to an over-dispersion problem, breaking pixel-wise feature correlation thus disrupting the intra-class distribution. Our vector CL reformulates CL as a vector regression problem, enabling dispersion quantification in pixel-wise pretraining via modeling feature distances in regressing displacement vectors. To implement this novel paradigm, we propose the COntrast in VEctor Regression (COVER) framework. COVER establishes an extendable vector-based self-learning, enforces a consistent optimization flow from vector regression to distance modeling, and leverages a vector pyramid architecture for granularity adaptation, thus preserving pixel-wise feature correlations in SSP. Extensive experiments across 8 tasks, spanning 2 dimensions and 4 modalities, show that COVER significantly improves pixel-wise SSP, advancing generalizable medical visual foundation models.","url_abs":"https://arxiv.org/abs/2506.20850v1","url_pdf":"https://arxiv.org/pdf/2506.20850v1.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":"vector-contrastive-learning-for-pixel-wise","repo_url":"https://github.com/yutinghe-list/cover","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"feature-correlation","task_name":"Feature Correlation"},{"task_slug":"self-learning","task_name":"Self-Learning"},{"task_slug":"regression-1","task_name":"regression"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2506.20850","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2506.20850"}},"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":"deterministic:regex_extraction","url":"https://github.com/YutingHe-list/COVER","reach":null}],"summary":{"ran":8,"unverified":1},"by_repo_kind":{"official":{"samples":9,"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":9,"samples":[{"code_sha256_prefix":"adc9b6edca450d82","entry":"DoubleConv","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"adc9b6edca450d82"}},{"code_sha256_prefix":"c28a60b4beba771e","entry":"Down","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c28a60b4beba771e"}},{"code_sha256_prefix":"10a53ebcc76a7c07","entry":"MoV2D","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.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":"10a53ebcc76a7c07"}},{"code_sha256_prefix":"f559ad38573a07f2","entry":"MoV3D","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f559ad38573a07f2"}},{"code_sha256_prefix":"50418be9b2fc0b30","entry":"ProjectionLayer","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"50418be9b2fc0b30"}},{"code_sha256_prefix":"ee2053fcb567e523","entry":"SpatialTransformer","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ee2053fcb567e523"}},{"code_sha256_prefix":"a25c5c47f0784c7e","entry":"UNet_base","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.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":"a25c5c47f0784c7e"}},{"code_sha256_prefix":"bd001f56c2879cb2","entry":"Up","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.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":"bd001f56c2879cb2"}},{"code_sha256_prefix":"298b91b6d6630345","entry":"COVER","repo":"YutingHe-list/COVER","repo_kind":"official","path":"models/cover.py","file_url":"https://github.com/YutingHe-list/COVER/blob/HEAD/models/cover.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":"298b91b6d6630345"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}