LLMs Can Evolve Continually on Modality for X-Modal Reasoning

Jiazuo Yu, Haomiao Xiong, Lu Zhang, Haiwen Diao, Yunzhi Zhuge +5 more
10/26/2024
cs.AIcs.CLcs.CV

Official code: JiazuoYu/PathWeave (41 stars, last commit 2024-12-18).

Abstract

Multimodal Large Language Models (MLLMs) have gained significant attention due to their impressive capabilities in multimodal understanding. However, existing methods rely heavily on extensive modal-specific pretraining and joint-modal tuning, leading to significant computational burdens when expanding to new modalities. In this paper, we propose PathWeave, a flexible and scalable framework with modal-Path sWitching and ExpAnsion abilities that enables MLLMs to continually EVolve on modalities for $\mathbb{X}$-modal reasoning. We leverage the concept of Continual Learning and develop an incremental training strategy atop pre-trained MLLMs, enabling their expansion to new modalities using uni-modal data, without executing joint-modal pretraining. In detail, a novel Adapter-in-Adapter (AnA) framework is introduced, in which uni-modal and cross-modal adapters are seamlessly integrated to facilitate efficient modality alignment and collaboration. Additionally, an MoE-based gating module is applied between two types of adapters to further enhance the multimodal interaction. To investigate the proposed method, we establish a challenging benchmark called Continual Learning of Modality (MCL), which consists of high-quality QA data from five distinct modalities: image, video, audio, depth and point cloud. Extensive experiments demonstrate the effectiveness of the proposed AnA framework on learning plasticity and memory stability during continual learning. Furthermore, PathWeave performs comparably to state-of-the-art MLLMs while concurrently reducing parameter training burdens by 98.73%. Our code locates at https://github.com/JiazuoYu/PathWeave

View on arXivView PDF

Code Implementations(1)

JiazuoYu/PathWeaveOfficial100%

Code for paper "LLMs Can Evolve Continually on Modality for X-Modal Reasoning" NeurIPS2024

412Shell, PythonOct 10, 20241 years ago

Similar Papers

Cite this paper

@article{yu2024llms,
  title  = {LLMs Can Evolve Continually on Modality for X-Modal Reasoning},
  author = {Jiazuo Yu and Haomiao Xiong and Lu Zhang and Haiwen Diao and Yunzhi Zhuge and Lanqing Hong and Dong Wang and Huchuan Lu and You He and Long Chen},
  year   = {2024},
  eprint = {2410.20178},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.20178},
  url    = {http://arxiv.org/abs/2410.20178v2},
  journal = {NEURIPS 2024 2024}
}

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/2410.20178.svg)](https://codeofpaper.com/paper/2410.20178)

Discussion