{"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/arxiv-2510-20162","title":"TOMCAT: Test-time Comprehensive Knowledge Accumulation for Compositional Zero-Shot Learning","arxiv_id":"2510.20162","date":"2025-10-23","proceeding":"NeurIPS","authors":["Xudong Yan","Songhe Feng"],"abstract":"Compositional Zero-Shot Learning (CZSL) aims to recognize novel attribute-object compositions based on the knowledge learned from seen ones. Existing methods suffer from performance degradation caused by the distribution shift of label space at test time, which stems from the inclusion of unseen compositions recombined from attributes and objects. To overcome the challenge, we propose a novel approach that accumulates comprehensive knowledge in both textual and visual modalities from unsupervised data to update multimodal prototypes at test time. Building on this, we further design an adaptive update weight to control the degree of prototype adjustment, enabling the model to flexibly adapt to distribution shift during testing. Moreover, a dynamic priority queue is introduced that stores high-confidence images to acquire visual knowledge from historical images for inference. Considering the semantic consistency of multimodal knowledge, we align textual and visual prototypes by multimodal collaborative representation learning. Extensive experiments indicate that our approach achieves state-of-the-art performance on four benchmark datasets under both closed-world and open-world settings. Code will be available at https://github.com/xud-yan/TOMCAT .","url_abs":"https://arxiv.org/abs/2510.20162","url_pdf":"https://arxiv.org/pdf/2510.20162","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2510.20162","atlas_url":"https://app.syntology.ai/?focus=2510.20162","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2510.20162"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/xud-yan/TOMCAT","reach":null}],"summary":{"ran":6,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":10,"ran":6,"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":"dede5fd72f1d3db4","entry":"Adapter","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dede5fd72f1d3db4"}},{"code_sha256_prefix":"da20926d9b005427","entry":"AttentionPool2d","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da20926d9b005427"}},{"code_sha256_prefix":"39ac004ae4ac2651","entry":"ModifiedResNet","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.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":"39ac004ae4ac2651"}},{"code_sha256_prefix":"d9787281b177005b","entry":"ResidualAttentionBlock","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9787281b177005b"}},{"code_sha256_prefix":"082a51de770ba040","entry":"Transformer","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"082a51de770ba040"}},{"code_sha256_prefix":"88d8f3ddec06117f","entry":"VisualTransformer","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"88d8f3ddec06117f"}},{"code_sha256_prefix":"d43285ed12c61ef7","entry":"CLIP","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d43285ed12c61ef7"}},{"code_sha256_prefix":"21ab658b03d6cd5b","entry":"TOMCAT_BM","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"21ab658b03d6cd5b"}},{"code_sha256_prefix":"a1348e10527ad6fa","entry":"build_model","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1348e10527ad6fa"}},{"code_sha256_prefix":"3fff5345a8b8588e","entry":"load_clip","repo":"xud-yan/TOMCAT","repo_kind":"found_in_text","path":"model/tomcat_bm.py","file_url":"https://github.com/xud-yan/TOMCAT/blob/HEAD/model/tomcat_bm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3fff5345a8b8588e"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"syntology_extracted_results":null}