[Paper Review] GraphAdapter: Tuning Vision-Language Models With Dual Knowledge Graph
GraphAdapter introduces a dual knowledge graph (textual and visual) to guide textual adapters in vision-language model tuning, using GCNs to fuse intra- and cross-modality structure for better few-shot performance across 11 benchmarks.
Adapter-style efficient transfer learning (ETL) has shown excellent performance in the tuning of vision-language models (VLMs) under the low-data regime, where only a few additional parameters are introduced to excavate the task-specific knowledge based on the general and powerful representation of VLMs. However, most adapter-style works face two limitations: (i) modeling task-specific knowledge with a single modality only; and (ii) overlooking the exploitation of the inter-class relationships in downstream tasks, thereby leading to sub-optimal solutions. To mitigate that, we propose an effective adapter-style tuning strategy, dubbed GraphAdapter, which performs the textual adapter by explicitly modeling the dual-modality structure knowledge (i.e., the correlation of different semantics/classes in textual and visual modalities) with a dual knowledge graph. In particular, the dual knowledge graph is established with two sub-graphs, i.e., a textual knowledge sub-graph, and a visual knowledge sub-graph, where the nodes and edges represent the semantics/classes and their correlations in two modalities, respectively. This enables the textual feature of each prompt to leverage the task-specific structure knowledge from both textual and visual modalities, yielding a more effective classifier for downstream tasks. Extensive experimental results on 11 benchmark datasets reveal that our GraphAdapter significantly outperforms previous adapter-based methods. The code will be released at https://github.com/lixinustc/GraphAdapter
Motivation & Objective
- Motivate efficient transfer learning for VLMs in low-data regimes without tuning all parameters.
- Model task-specific knowledge using both textual and visual structure knowledge.
- Leverage dual modality graphs to inform textual adapters via graph convolutional networks.
- Demonstrate superior performance over prior adapter-based and prompt-based ETL methods on diverse datasets.
Proposed method
- Define a dual knowledge graph with a textual sub-graph and a visual sub-graph to store semantics and their inter-class relations.
- Construct textual nodes from mean prompts per class and edges via cosine similarity of textual features.
- Construct visual nodes from mean visual features per class and edges via cosine similarity of visual features.
- Warp the textual feature z_t through GCNs on both textual and visual graphs to obtain enriched representations.
- Fuse inner-modality and cross-modality structure knowledge with a learnable fusion weight beta and apply a residual adapter with weight alpha.
- Train only the GCNs while optimizing classification with cross-entropy loss.
Experimental results
Research questions
- RQ1Can an explicit dual-modality structure graph improve task-specific knowledge extraction for VLMs in few-shot settings?
- RQ2How does integrating textual and visual graphs, and their interactions, affect the quality of the textual adapter?
- RQ3What is the relative importance of textual versus visual structure knowledge for downstream classification?
Key findings
- GraphAdapter consistently outperforms prior ETL methods (e.g., Prompt/Adapter-style) across 11 few-shot benchmarks.
- On 16-shot evaluations, GraphAdapter achieves an average of 76.22% (vs. 75.65–76.87% in some baselines), and shows notable gains on fine-grained datasets like FGVCAircraft.
- Ablations show the textual knowledge sub-graph is more critical than the visual one, but jointly modeling both yields the best results.
- GraphAdapter generalizes across multiple CLIP backbones (ResNet-50/101, ViT-B/32, ViT-B/16) and maintains gains in cross-domain tests (ImageNet-V2, -Sketch, -A, -R).
- Enabling dual-modality structure knowledge via GCNs and residual fusion is key to the performance improvements over prior adapters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.