RMAdapter: Reconstruction-based Multi-Modal Adapter for Vision-Language Models

Xiang Lin, Weixin Li, Shu Guo, Lihong Wang, Di Huang
12/7/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: LeapLabTHU/Cross-Modal-Adapter (143 stars, Apache-2.0, PyTorch, last commit 2025-08-17).

Abstract

Pre-trained Vision-Language Models (VLMs), \textit{e.g.} CLIP, have become essential tools in multimodal transfer learning. However, fine-tuning VLMs in few-shot scenarios poses significant challenges in balancing task-specific adaptation and generalization in the obtained model. Meanwhile, current researches have predominantly focused on prompt-based adaptation methods, leaving adapter-based approaches underexplored and revealing notable performance gaps. To address these challenges, we introduce a novel Reconstruction-based Multimodal Adapter (RMAdapter), which leverages a dual-branch architecture. Unlike conventional single-branch adapters, RMAdapter consists of: (1) an adaptation branch that injects task-specific knowledge through parameter-efficient fine-tuning, and (2) a reconstruction branch that preserves general knowledge by reconstructing latent space features back into the original feature space. This design facilitates a dynamic balance between general and task-specific knowledge. Importantly, although RMAdapter introduces an additional reconstruction branch, it is carefully optimized to remain lightweight. By computing reconstruction loss locally at each layer and sharing projection modules, the overall computational overhead is kept minimal. A consistency constraint is also incorporated to better regulate the trade-off between discriminability and generalization. We comprehensively evaluate the effectiveness of RMAdapter on three representative tasks: generalization to new categories, generalization to new target datasets, and domain generalization. Without relying on data augmentation or duplicate prompt designs, our RMAdapter consistently outperforms state-of-the-art approaches across all evaluation metrics.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[Pattern Recognition 2025] Cross-Modal Adapter for Vision-Language Retrieval

14312PythonNov 16, 20221 years agoApache-2.0
adapterclipdeep-learningmachine-learningparameter-efficient-learning+4 more

Similar Papers

Cite this paper

@article{lin2025rmadapter,
  title  = {RMAdapter: Reconstruction-based Multi-Modal Adapter for Vision-Language Models},
  author = {Xiang Lin and Weixin Li and Shu Guo and Lihong Wang and Di Huang},
  year   = {2025},
  eprint = {2512.06811},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.06811v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.06811.svg)](https://codeofpaper.com/paper/2512.06811)

Discussion