Sample-specific Masks for Visual Reprogramming-based Prompting
Chengyi Cai, Zesheng Ye, Lei Feng, Jianzhong Qi, Feng Liu
摘要
Visual reprogramming (VR) is a prompting technique that aims to re-purpose a pre-trained model (e.g., a classifier on ImageNet) to target tasks (e.g., medical data prediction) by learning a small-scale pattern added into input images instead of tuning considerable parameters within the model. The location of the pattern within input samples is usually determined by a pre-defined mask shared across all samples. In this paper, we show that the shared mask potentially limits VR's generalization and increases its approximation error due to the lack of sample-level adaptation. Motivated by this finding, we design a new framework for VR called sample-specific multi-channel masks (SMM). Specifically, SMM employs a lightweight ConvNet and patch-wise interpolation to generate sample-specific three-channel masks instead of a shared and pre-defined mask. Since we generate different masks for individual samples, SMM is theoretically shown to reduce approximation error for the target tasks compared with existing state-of-the-art VR methods. We also empirically demonstrate its performance gain on both ResNet and ViT. The success of SMM further highlights the broader applicability of VR in leveraging the latent knowledge of pre-trained models for various target tasks. Our code is available at https: //github.com/tmlr-group/SMM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Enhancing Visual Prompting through Expanded Transformation Space and Overfitting Mitigation 引用了 Conditional Prompt Learning for Vision-Language Models
- Enhancing Visual Prompting through Expanded Transformation Space and Overfitting Mitigation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Enhancing Visual Prompting through Expanded Transformation Space and Overfitting Mitigation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Enhancing Visual Prompting through Expanded Transformation Space and Overfitting Mitigation 引用了 Bayesian-guided Label Mapping for Visual Reprogramming
- Conditional Prompt Learning for Vision-Language Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Conditional Prompt Learning for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Generalization-Preserved Learning: Closing the Backdoor to Catastrophic Forgetting in Continual Deepfake Detection 引用了 Bayesian-guided Label Mapping for Visual Reprogramming
- Standing on the Shoulders of Giants: Reprogramming Visual-Language Model for General Deepfake Detection 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Prime Once, then Reprogram Locally: An Efficient Alternative to Black-Box Service Model Adaptation 引用了 Conditional Prompt Learning for Vision-Language Models
- Prime Once, then Reprogram Locally: An Efficient Alternative to Black-Box Service Model Adaptation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Prime Once, then Reprogram Locally: An Efficient Alternative to Black-Box Service Model Adaptation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Prime Once, then Reprogram Locally: An Efficient Alternative to Black-Box Service Model Adaptation 引用了 Bayesian-guided Label Mapping for Visual Reprogramming
- Bayesian-guided Label Mapping for Visual Reprogramming 引用了 Conditional Prompt Learning for Vision-Language Models
- Bayesian-guided Label Mapping for Visual Reprogramming 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Bayesian-guided Label Mapping for Visual Reprogramming 引用了 Voice2Series: Reprogramming Acoustic Models for Time Series Classification
- Bayesian-guided Label Mapping for Visual Reprogramming 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper13
- Standing on the Shoulders of Giants: Reprogramming Visual-Language Model for General Deepfake DetectionKaiqing Lin, Yuzhen Lin, Weixiang Li, Taiping Yao 等AAAI 2025 · 32 次引用
- Bayesian-guided Label Mapping for Visual ReprogrammingChengyi Cai, Zesheng Ye, Lei Feng, Jianzhong Qi 等NeurIPS 2024 · 14 次引用
- Prime Once, then Reprogram Locally: An Efficient Alternative to Black-Box Service Model AdaptationYunbei Zhang, Chengyi Cai, Feng Liu, Jihun HammCVPR 2026 · 5 次引用
- Generalization-Preserved Learning: Closing the Backdoor to Catastrophic Forgetting in Continual Deepfake DetectionXueyi Zhang, Peiyin Zhu, Chengwei Zhang, Zhiyuan Yan 等ICCV 2025 · 3 次引用
- Enhancing Visual Prompting through Expanded Transformation Space and Overfitting MitigationShohei EnomotoNeurIPS 2025 · 1 次引用
它引用的 Paper14
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 次引用
- Voice2Series: Reprogramming Acoustic Models for Time Series ClassificationChao-Han Huck Yang, Yun-Yun Tsai, Pin-Yu ChenICML 2021 · 150 次引用
相关 Paper
- Attribute-based Visual Reprogramming for Vision-Language ModelsChengyi Cai, Zesheng Ye, Lei Feng, Jianzhong Qi 等ICLR 2025
- Understanding Model Reprogramming for CLIP via Decoupling Visual PromptsChengyi Cai, Zesheng Ye, Lei Feng, Jianzhong Qi 等ICML 2025
- Endowing Visual Reprogramming with Adversarial RobustnessShengjie Zhou, Xin Cheng, Haiyang Xu, Ming Yan 等ICLR 2025
- Visual Prompting via Image InpaintingAmir Bar, Yossi Gandelsman, Trevor Darrell, Amir Globerson 等NeurIPS 2022 · 340 次引用
- MEDICAL IMAGE UNDERSTANDING WITH PRETRAINED VISION LANGUAGE MODELS: A COMPREHENSIVE STUDYZiyuan Qin, Huahui Yi, Qicheng Lao, Kang LiICLR 2023 · 25 次引用
