{"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/self-supervised-learning-of-contextualized","title":"Self-supervised Learning of Contextualized Local Visual Embeddings","arxiv_id":"2310.00527","date":"2023-10-01","proceeding":null,"authors":["Thalles Santos Silva","Helio Pedrini","Adín Ramírez Rivera"],"abstract":"We present Contextualized Local Visual Embeddings (CLoVE), a self-supervised convolutional-based method that learns representations suited for dense prediction tasks. CLoVE deviates from current methods and optimizes a single loss function that operates at the level of contextualized local embeddings learned from output feature maps of convolution neural network (CNN) encoders. To learn contextualized embeddings, CLoVE proposes a normalized mult-head self-attention layer that combines local features from different parts of an image based on similarity. We extensively benchmark CLoVE's pre-trained representations on multiple datasets. CLoVE reaches state-of-the-art performance for CNN-based architectures in 4 dense prediction downstream tasks, including object detection, instance segmentation, keypoint detection, and dense pose estimation.","url_abs":"https://arxiv.org/abs/2310.00527v3","url_pdf":"https://arxiv.org/pdf/2310.00527v3.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":"self-supervised-learning-of-contextualized","repo_url":"https://github.com/sthalles/clove","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"instance-segmentation","task_name":"Instance Segmentation"},{"task_slug":"keypoint-detection","task_name":"Keypoint Detection"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"pose-estimation","task_name":"Pose Estimation"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2310.00527","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.00527"}},"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/sthalles/clove","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6,"ran_draft_wrong":1,"ran_honours":1,"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":0,"samples":[{"code_sha256_prefix":"0f758f09d8a58ae8","entry":"Pred_Head","repo":"sthalles/clove","repo_kind":"official","path":"contrast/models/CLoVE.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/models/CLoVE.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":"0f758f09d8a58ae8"}},{"code_sha256_prefix":"35d5d39ee55dbf8f","entry":"Proj_Head","repo":"sthalles/clove","repo_kind":"official","path":"contrast/models/CLoVE.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/models/CLoVE.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":"35d5d39ee55dbf8f"}},{"code_sha256_prefix":"b82884ce6a92a54c","entry":"add_weight_decay","repo":"sthalles/clove","repo_kind":"official","path":"contrast/lars.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/lars.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":"b82884ce6a92a54c"}},{"code_sha256_prefix":"5dfd00fe82967e97","entry":"conv1x1","repo":"sthalles/clove","repo_kind":"official","path":"contrast/models/CLoVE.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/models/CLoVE.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":"5dfd00fe82967e97"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"sthalles/clove","repo_kind":"official","path":"contrast/resnet.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"f4128de2d8a26538","entry":"conv3x3_bn_relu","repo":"sthalles/clove","repo_kind":"official","path":"contrast/resnet.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/resnet.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":"f4128de2d8a26538"}},{"code_sha256_prefix":"361a6b24f11fc50a","entry":"cosine_scheduler","repo":"sthalles/clove","repo_kind":"official","path":"output/clove_base_r50_400ep/main_pretrain.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/output/clove_base_r50_400ep/main_pretrain.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"361a6b24f11fc50a"}},{"code_sha256_prefix":"0ab9a9693c33888a","entry":"setup_logger","repo":"sthalles/clove","repo_kind":"official","path":"contrast/logger.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/logger.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":"0ab9a9693c33888a"}},{"code_sha256_prefix":"913d82af53065418","entry":"accuracy","repo":"sthalles/clove","repo_kind":"official","path":"contrast/util.py","file_url":"https://github.com/sthalles/clove/blob/HEAD/contrast/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"913d82af53065418"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}