P-laplacian Adaptation For Generative Pre-trained Vision-language Models · The Large Language Model Bible Contribute to LLM-Bible

P-laplacian Adaptation For Generative Pre-trained Vision-language Models

Wu Haoyuan, Zhang Xinyun, Xu Peng, Liao Peiyu, Yao Xufeng, Yu Bei. Arxiv 2023

[Paper]    
Applications Attention Mechanism Fine Tuning Model Architecture Multimodal Models Pretraining Methods Tools Training Techniques

Vision-Language models (VLMs) pre-trained on large corpora have demonstrated notable success across a range of downstream tasks. In light of the rapidly increasing size of pre-trained VLMs, parameter-efficient transfer learning (PETL) has garnered attention as a viable alternative to full fine-tuning. One such approach is the adapter, which introduces a few trainable parameters into the pre-trained models while preserving the original parameters during adaptation. In this paper, we present a novel modeling framework that recasts adapter tuning after attention as a graph message passing process on attention graphs, where the projected query and value features and attention matrix constitute the node features and the graph adjacency matrix, respectively. Within this framework, tuning adapters in VLMs necessitates handling heterophilic graphs, owing to the disparity between the projected query and value space. To address this challenge, we propose a new adapter architecture, \(p\)-adapter, which employs \(p\)-Laplacian message passing in Graph Neural Networks (GNNs). Specifically, the attention weights are re-normalized based on the features, and the features are then aggregated using the calibrated attention matrix, enabling the dynamic exploitation of information with varying frequencies in the heterophilic attention graphs. We conduct extensive experiments on different pre-trained VLMs and multi-modal tasks, including visual question answering, visual entailment, and image captioning. The experimental results validate our method’s significant superiority over other PETL methods.

Similar Work