{"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/modulate-your-spectrum-in-self-supervised","title":"Modulate Your Spectrum in Self-Supervised Learning","arxiv_id":"2305.16789","date":"2023-05-26","proceeding":null,"authors":["Xi Weng","Yunhao Ni","Tengwei Song","Jie Luo","Rao Muhammad Anwer","Salman Khan","Fahad Shahbaz Khan","Lei Huang"],"abstract":"Whitening loss offers a theoretical guarantee against feature collapse in self-supervised learning (SSL) with joint embedding architectures. Typically, it involves a hard whitening approach, transforming the embedding and applying loss to the whitened output. In this work, we introduce Spectral Transformation (ST), a framework to modulate the spectrum of embedding and to seek for functions beyond whitening that can avoid dimensional collapse. We show that whitening is a special instance of ST by definition, and our empirical investigations unveil other ST instances capable of preventing collapse. Additionally, we propose a novel ST instance named IterNorm with trace loss (INTL). Theoretical analysis confirms INTL's efficacy in preventing collapse and modulating the spectrum of embedding toward equal-eigenvalues during optimization. Our experiments on ImageNet classification and COCO object detection demonstrate INTL's potential in learning superior representations. The code is available at https://github.com/winci-ai/INTL.","url_abs":"https://arxiv.org/abs/2305.16789v2","url_pdf":"https://arxiv.org/pdf/2305.16789v2.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":"modulate-your-spectrum-in-self-supervised","repo_url":"https://github.com/winci-ai/intl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.16789","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.16789"}},"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/winci-ai/INTL","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/winci-ai/intl","reach":{"status":"ok"}}],"summary":{"ran_fixture":1,"ran":2,"ran_honours":1,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"official":{"samples":8,"ran":5,"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":"fd5a8c5885afe450","entry":"TL","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fd5a8c5885afe450"}},{"code_sha256_prefix":"9ffcb5f1749f224d","entry":"Whitening2d","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.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":"9ffcb5f1749f224d"}},{"code_sha256_prefix":"dc7f8d39246774de","entry":"Whitening2dIterNorm","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.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":"dc7f8d39246774de"}},{"code_sha256_prefix":"38bb36e898fcaec2","entry":"cal_trade_off","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"38bb36e898fcaec2"}},{"code_sha256_prefix":"b2125624341a7fc4","entry":"get_projection","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b2125624341a7fc4"}},{"code_sha256_prefix":"453362505bc60b1b","entry":"BaseMethod","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.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":"453362505bc60b1b"}},{"code_sha256_prefix":"072b3cb1850f5fc7","entry":"INTL","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.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":"072b3cb1850f5fc7"}},{"code_sha256_prefix":"305fc0beef959cfc","entry":"get_backbone","repo":"winci-ai/intl","repo_kind":"official","path":"methods/intl.py","file_url":"https://github.com/winci-ai/intl/blob/HEAD/methods/intl.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":"305fc0beef959cfc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}