With a surge of large-scale pre-trained models, parameter-efficient transfer learning (PETL) of large models has garnered significant attention. While promising, they commonly rely on two optimistic assumptions: 1) full access to the parameters of a PTM, and 2) sufficient memory capacity to cache all intermediate activations for gradient computation. However, in most real-world applications, PTMs serve as black-box APIs or proprietary software without full parameter accessibility. Besides, it is hard to meet a large memory requirement for modern PTMs. This work proposes black-box visual prompting (BlackVIP), which efficiently adapts the PTMs without knowledge of their architectures or parameters. BlackVIP has two components: 1) Coordinator and 2) simultaneous perturbation stochastic approximation with gradient correction (SPSA-GC). The Coordinator designs input-dependent visual prompts, which allow the target PTM to adapt in the wild. SPSA-GC efficiently estimates the gradient of PTM to update Coordinator. Besides, we introduce a variant, BlackVIP-SE, which significantly reduces the runtime and computational cost of BlackVIP. Extensive experiments on 19 datasets demonstrate that BlackVIPs enable robust adaptation to diverse domains and tasks with minimal memory requirements. We further provide a theoretical analysis on the generalization of visual prompting methods by presenting their connection to the certified robustness of randomized smoothing, and presenting an empirical support for improved robustness.
South China University of Technology(华南理工大学);Hong Kong Polytechnic University(香港理工大学)
在本文中,我们研究了一个可以说是最少的限制设置的领域自适应在实际部署的意义上,只有源模型的接口是可用的目标域,并允许两个域之间的标签空间关系是不同的和未知的。我们将这样的设置称为通用黑盒领域自适应(UB $^2$ DA)。然而,由于领域自适应只能通过访问源模型的接口,依赖于部分重叠标签空间中未标记目标数据的预测,因此UB $^2$ DA带来了巨大的学习挑战。为了应对这些挑战,我们首先注意到学习任务可以转换为类内\footnote{In this paper we use in-class (out-class) to describe the classes observed (not observed) in the source black-box model.}判别和类外检测两个子任务,它们可以分别通过模型蒸馏和熵分离来学习。我们建议将它们统一到一个自训练框架中,通过目标样本局部邻域中预测的一致性进行正则化。我们的框架是简单的,强大的,易于优化。在领域自适应基准上的实验表明了该方法的有效性。值得注意的是,通过仅访问源模型的接口,我们的框架优于现有的通用领域自适应方法,这些方法利用源数据和/或源模型,具有新提出的(并且可以说是更合理的)H分数度量,并且与平均类准确度度量的性能相当。
Prototypical Distillation and Debiased Tuning for Black-box Unsupervised Domain Adaptation
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);University of Science and Technology of China(中国科学技术大学);School of Intelligence Science and Technology, University of Science and Technology Beijing(北京科技大学智能科学与技术学院)
Adaptive Dual-Teacher Distillation with Subnetwork Rectification for Bridging Semantic Gaps in Black-Box Domain Adaptation
School of Computer Science and Engineering, Tianjin University of Technology(天津理工大学计算机科学与工程学院);School of Artificial Intelligence, Tianjin University(天津大学人工智能学院)
Box Pose and Shape Estimation and Domain Adaptation for Large-Scale Warehouse Automation
Laboratory for Information & Decision Systems (LIDS)(信息与决策系统实验室);Massachusetts Institute of Technology(麻省理工学院);Symbotic(Symbotic公司);Vector Institute University of Toronto(多伦多大学向量研究所)
Unsupervised Domain Adaptation for Segmentation with Black-box Source Model
Gordon Center for Medical Imaging, Massachusetts General Hospital and Harvard Medical School(戈登医学影像中心,麻省总医院与哈佛医学院);Ewha Womans University(梨花女子大学);University of Southern California(南加州大学)
On Conditional and Compositional Language Model Differentiable Prompting
Mila - Québec AI Institute(米拉-魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔理工学院);Amazon Alexa(亚马逊Alexa);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)
LoR-VP: Low-Rank Visual Prompting for Efficient Vision Model Adaptation
Rutgers University(罗格斯大学);Zhejiang University(浙江大学);Red Hat AI Innovation(红帽人工智能创新中心);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);NVIDIA Research(英伟达研究院)
From Adaptation to Generalization: Adaptive Visual Prompting for Medical Image Segmentation
Technical University of Munich(慕尼黑技术大学);Korea University(韩国大学);Kyung Hee University(庆熙大学);Seoul National University of Science and Technology(首尔科学技术大学)
ES-VP : Energy-Shaped Dynamic Visual Prompting for Efficient Model Adaptation
Rutgers University(罗格斯大学);Zhejiang University(浙江大学);University at Buffalo, SUNY(纽约州立大学布法罗分校);Adobe Research(奥多比研究院);University of Connecticut(康涅狄格大学);Washington University(华盛顿大学)
FVP: Fourier Visual Prompting for Source-Free Unsupervised Domain Adaptation of Medical Image Segmentation
Beihang University(北京航空航天大学);Zhejiang Lab(之江实验室);Singapore University of Technology and Design(新加坡科技设计大学);BioMind Technology Center(BioMind技术中心);Zhongguancun Laboratory(中关村实验室)