{"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/e-2vpt-an-effective-and-efficient-approach","title":"E^2VPT: An Effective and Efficient Approach for Visual Prompt Tuning","arxiv_id":"2307.13770","date":"2023-07-25","proceeding":"ICCV 2023 1","authors":["Cheng Han","Qifan Wang","Yiming Cui","Zhiwen Cao","Wenguan Wang","Siyuan Qi","Dongfang Liu"],"abstract":"As the size of transformer-based models continues to grow, fine-tuning these large-scale pretrained vision models for new tasks has become increasingly parameter-intensive. Parameter-efficient learning has been developed to reduce the number of tunable parameters during fine-tuning. Although these methods show promising results, there is still a significant performance gap compared to full fine-tuning. To address this challenge, we propose an Effective and Efficient Visual Prompt Tuning (E^2VPT) approach for large-scale transformer-based model adaptation. Specifically, we introduce a set of learnable key-value prompts and visual prompts into self-attention and input layers, respectively, to improve the effectiveness of model fine-tuning. Moreover, we design a prompt pruning procedure to systematically prune low importance prompts while preserving model performance, which largely enhances the model's efficiency. Empirical results demonstrate that our approach outperforms several state-of-the-art baselines on two benchmarks, with considerably low parameter usage (e.g., 0.32% of model parameters on VTAB-1k). Our code is available at https://github.com/ChengHan111/E2VPT.","url_abs":"https://arxiv.org/abs/2307.13770v1","url_pdf":"https://arxiv.org/pdf/2307.13770v1.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":"e-2vpt-an-effective-and-efficient-approach","repo_url":"https://github.com/chenghan111/e2vpt","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"visual-prompt-tuning","task_name":"Visual Prompt Tuning"}],"methods":[{"method_slug":"pruning","method_name":"Pruning"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2307.13770","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.13770"}},"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/chenghan111/e2vpt","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"540bd73960d859c8","entry":"find_best_MtMtp","repo":"chenghan111/e2vpt","repo_kind":"official","path":"tune_vtab_PruningRewind_CVK_imagenet1k.py","file_url":"https://github.com/chenghan111/e2vpt/blob/HEAD/tune_vtab_PruningRewind_CVK_imagenet1k.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":"540bd73960d859c8"}},{"code_sha256_prefix":"f24fe10a4c3795a2","entry":"find_best_lrwd","repo":"chenghan111/e2vpt","repo_kind":"official","path":"five_runs_fgvc.py","file_url":"https://github.com/chenghan111/e2vpt/blob/HEAD/five_runs_fgvc.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":"f24fe10a4c3795a2"}},{"code_sha256_prefix":"0f806382f4ff9673","entry":"find_best_lrwd","repo":"chenghan111/e2vpt","repo_kind":"official","path":"tune_fgvc_fiveRuns.py","file_url":"https://github.com/chenghan111/e2vpt/blob/HEAD/tune_fgvc_fiveRuns.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":"0f806382f4ff9673"}},{"code_sha256_prefix":"96cd94d7836ffe52","entry":"find_best_lrwd","repo":"chenghan111/e2vpt","repo_kind":"official","path":"tune_vtab_AS.py","file_url":"https://github.com/chenghan111/e2vpt/blob/HEAD/tune_vtab_AS.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":"96cd94d7836ffe52"}},{"code_sha256_prefix":"3e009472c0d2fa50","entry":"find_best_lrwd","repo":"chenghan111/e2vpt","repo_kind":"official","path":"tune_vtab_PruningRewind_CVK_imagenet1k.py","file_url":"https://github.com/chenghan111/e2vpt/blob/HEAD/tune_vtab_PruningRewind_CVK_imagenet1k.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":"3e009472c0d2fa50"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}