{"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/gradient-based-parameter-selection-for","title":"Gradient-based Parameter Selection for Efficient Fine-Tuning","arxiv_id":"2312.10136","date":"2023-12-15","proceeding":"CVPR 2024 1","authors":["Zhi Zhang","Qizhe Zhang","Zijun Gao","Renrui Zhang","Ekaterina Shutova","Shiji Zhou","Shanghang Zhang"],"abstract":"With the growing size of pre-trained models, full fine-tuning and storing all the parameters for various downstream tasks is costly and infeasible. In this paper, we propose a new parameter-efficient fine-tuning method, Gradient-based Parameter Selection (GPS), demonstrating that only tuning a few selected parameters from the pre-trained model while keeping the remainder of the model frozen can generate similar or better performance compared with the full model fine-tuning method. Different from the existing popular and state-of-the-art parameter-efficient fine-tuning approaches, our method does not introduce any additional parameters and computational costs during both the training and inference stages. Another advantage is the model-agnostic and non-destructive property, which eliminates the need for any other design specific to a particular model. Compared with the full fine-tuning, GPS achieves 3.33% (91.78% vs. 88.45%, FGVC) and 9.61% (73.1% vs. 65.57%, VTAB) improvement of the accuracy with tuning only 0.36% parameters of the pre-trained model on average over 24 image classification tasks; it also demonstrates a significant improvement of 17% and 16.8% in mDice and mIoU, respectively, on medical image segmentation task. Moreover, GPS achieves state-of-the-art performance compared with existing PEFT methods.","url_abs":"https://arxiv.org/abs/2312.10136v3","url_pdf":"https://arxiv.org/pdf/2312.10136v3.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":"gradient-based-parameter-selection-for","repo_url":"https://github.com/FightingFighting/GPS","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"medical-image-segmentation","task_name":"Medical Image Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"image-classification","task_name":"image-classification"},{"task_slug":"parameter-efficient-fine-tuning","task_name":"parameter-efficient fine-tuning"}],"methods":[{"method_slug":"gps","method_name":"GPS"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2312.10136","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.10136"}},"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/FightingFighting/GPS","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":5,"ran":1,"ran_honours":1,"ran_fixture":1,"unverified":4},"by_repo_kind":{"official":{"samples":12,"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":"c3f4c265067c1717","entry":"MyNorm","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/as_mlp.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/as_mlp.py","link_basis":"plan_row","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":"c3f4c265067c1717"}},{"code_sha256_prefix":"def23f7d7d042968","entry":"get_init_weights_vit","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/vision_transformer.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/vision_transformer.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":"def23f7d7d042968"}},{"code_sha256_prefix":"896b5eec245f1bab","entry":"init_ssf_scale_shift","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/vision_transformer.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/vision_transformer.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"896b5eec245f1bab"}},{"code_sha256_prefix":"9873773b10315cc0","entry":"init_ssf_scale_shift","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/as_mlp.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/as_mlp.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9873773b10315cc0"}},{"code_sha256_prefix":"88f4962784e09b88","entry":"param_groups_weight_decay","repo":"FightingFighting/GPS","repo_kind":"official","path":"optim_factory.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/optim_factory.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":"88f4962784e09b88"}},{"code_sha256_prefix":"61e8364b7e9bcb70","entry":"ssf_ada","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/as_mlp.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/as_mlp.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61e8364b7e9bcb70"}},{"code_sha256_prefix":"993ae96666b00cb5","entry":"window_partition","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/swin_transformer.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"993ae96666b00cb5"}},{"code_sha256_prefix":"609922bd93c75117","entry":"window_reverse","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/swin_transformer.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"609922bd93c75117"}},{"code_sha256_prefix":"7619bf7f57c5d2b6","entry":"checkpoint_filter_fn","repo":"FightingFighting/GPS","repo_kind":"official","path":"models/convnext.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/models/convnext.py","link_basis":"harvester_set","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":"7619bf7f57c5d2b6"}},{"code_sha256_prefix":"efeb37d90ba28266","entry":"group_parameters","repo":"FightingFighting/GPS","repo_kind":"official","path":"optim_factory.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/optim_factory.py","link_basis":"harvester_set","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":"efeb37d90ba28266"}},{"code_sha256_prefix":"0332519996466b5a","entry":"group_with_matcher","repo":"FightingFighting/GPS","repo_kind":"official","path":"optim_factory.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/optim_factory.py","link_basis":"harvester_set","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":"0332519996466b5a"}},{"code_sha256_prefix":"e2a98c6a53ded11f","entry":"validate","repo":"FightingFighting/GPS","repo_kind":"official","path":"train_gps.py","file_url":"https://github.com/FightingFighting/GPS/blob/HEAD/train_gps.py","link_basis":"plan_row","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":"e2a98c6a53ded11f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}