{"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/key-patch-proposer-key-patches-contain-rich","title":"Key Patch Proposer: Key Patches Contain Rich Information","arxiv_id":"2402.11458","date":"2024-02-18","proceeding":null,"authors":["Jing Xu","Beiwen Tian","Hao Zhao"],"abstract":"In this paper, we introduce a novel algorithm named Key Patch Proposer (KPP) designed to select key patches in an image without additional training. Our experiments showcase KPP's robust capacity to capture semantic information by both reconstruction and classification tasks. The efficacy of KPP suggests its potential application in active learning for semantic segmentation. Our source code is publicly available at https://github.com/CA-TT-AC/key-patch-proposer.","url_abs":"https://arxiv.org/abs/2402.11458v1","url_pdf":"https://arxiv.org/pdf/2402.11458v1.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":"key-patch-proposer-key-patches-contain-rich","repo_url":"https://github.com/ca-tt-ac/key-patch-proposer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"active-learning","task_name":"Active Learning"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2402.11458","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.11458"}},"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/CA-TT-AC/key-patch-proposer","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ca-tt-ac/key-patch-proposer","reach":{"status":"ok"}}],"summary":{"ran":6,"ran_honours":1,"ran_fixture":1,"unverified":5},"by_repo_kind":{"official":{"samples":13,"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":13,"samples":[{"code_sha256_prefix":"62390242d0933837","entry":"ImageNetDatasetPerClass","repo":"ca-tt-ac/key-patch-proposer","repo_kind":"official","path":"KPP_main.py","file_url":"https://github.com/ca-tt-ac/key-patch-proposer/blob/HEAD/KPP_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"62390242d0933837"}},{"code_sha256_prefix":"bd3578806ecf5ac2","entry":"adjust_learning_rate","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/lr_sched.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/lr_sched.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bd3578806ecf5ac2"}},{"code_sha256_prefix":"3dc19396537db789","entry":"all_reduce_mean","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/misc.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/misc.py","link_basis":"harvester_set","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":"3dc19396537db789"}},{"code_sha256_prefix":"27f8c4c706fd43ec","entry":"build_dataset","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/datasets.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/datasets.py","link_basis":"harvester_set","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":"27f8c4c706fd43ec"}},{"code_sha256_prefix":"800cebf161a8aa26","entry":"build_transform","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/datasets.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/datasets.py","link_basis":"harvester_set","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":"800cebf161a8aa26"}},{"code_sha256_prefix":"4bdd36eab04c3f62","entry":"get_1d_sincos_pos_embed_from_grid","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/pos_embed.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/pos_embed.py","link_basis":"harvester_set","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":"4bdd36eab04c3f62"}},{"code_sha256_prefix":"89edf5372214b57d","entry":"get_layer_id_for_vit","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/lr_decay.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/lr_decay.py","link_basis":"harvester_set","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":"89edf5372214b57d"}},{"code_sha256_prefix":"8baf25cef41cba16","entry":"param_groups_lrd","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/lr_decay.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/lr_decay.py","link_basis":"harvester_set","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":"8baf25cef41cba16"}},{"code_sha256_prefix":"fd90dbf7c79cf122","entry":"MPsearch","repo":"ca-tt-ac/key-patch-proposer","repo_kind":"official","path":"KPP_main.py","file_url":"https://github.com/ca-tt-ac/key-patch-proposer/blob/HEAD/KPP_main.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":"fd90dbf7c79cf122"}},{"code_sha256_prefix":"9417ae492629cf06","entry":"get_2d_sincos_pos_embed","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/pos_embed.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/pos_embed.py","link_basis":"harvester_set","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":"9417ae492629cf06"}},{"code_sha256_prefix":"4fd80de79832745d","entry":"get_2d_sincos_pos_embed_from_grid","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"util/pos_embed.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/util/pos_embed.py","link_basis":"harvester_set","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":"4fd80de79832745d"}},{"code_sha256_prefix":"90f7444328b22a95","entry":"get_args_parser","repo":"ca-tt-ac/key-patch-proposer","repo_kind":"official","path":"KPP_main.py","file_url":"https://github.com/ca-tt-ac/key-patch-proposer/blob/HEAD/KPP_main.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":"90f7444328b22a95"}},{"code_sha256_prefix":"1227ad7072193a83","entry":"search","repo":"CA-TT-AC/key-patch-proposer","repo_kind":"official","path":"KPP_utils.py","file_url":"https://github.com/CA-TT-AC/key-patch-proposer/blob/HEAD/KPP_utils.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":"1227ad7072193a83"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}