Learning Optimal Prompt Ensemble for Multi-source Visual Prompt Transfer

HGPrompt Overview
Overview of the HGPrompt framework for optimal visual prompt ensemble learning.

Prompt tuning has emerged as a lightweight strategy for adapting foundation models to downstream tasks, particularly for resource-constrained systems. As pre-trained prompts become valuable assets, combining multiple source prompts offers a promising approach to enhance generalization for new tasks by leveraging complementary knowledge. However, naive aggregation often overlooks different source prompts have different contribution potential to the target task. To address this, we propose HGPrompt, a dynamic framework that learns optimal ensemble weights. These weights are optimized by jointly maximizing an information-theoretic metric for transferability and minimizing gradient conflicts via a novel regularization strategy. Specifically, we propose a differentiable prompt transferability metric to captures the discriminability of prompt-induced features on the target task. Meanwhile, HGPrompt match the gradient variances with respect to different source prompts based on Hessian and Fisher Information, ensuring stable and coherent knowledge transfer while suppressing gradient conflicts among them. Extensive experiments on the large-scale VTAB benchmark demonstrate the state-of-the-art performance of HGPrompt, validating its effectiveness in learning an optimal ensemble for effective multi-source prompt transfer.

Links & Resources

Publication

Enming Zhang, Liwen Cao, Yanru Wu, Zijie Zhao, Guan Wang, Yang Li*, Learning Optimal Prompt Ensemble for Multi-source Visual Prompt Transfer, In The 38th Annual AAAI Conference on Artificial Intelligence (AAAI’26), 2026 pdf
Bibtex
@inproceedings{zhang2026hgprompt,
  title={Learning Optimal Prompt Ensemble for Multi-source Visual Prompt Transfer},
  author={Zhang, Enming and Cao, Liwen and Wu, Yanru and Zhao, Zijie and Wang, Guan and Li, Yang},
  booktitle={The 38th Annual AAAI Conference on Artificial Intelligence (AAAI)},
  year={2026}
}

Project list