TL;DR
Multimodal Large Language Models (MLLMs) typically require massive, joint-modal datasets to learn new modalities, making updates computationally prohibitive. This paper introduces PathWeave, a continual learning framework that uses a novel "Adapter-in-Adapter" architecture to let MLLMs learn new modalities sequentially without forgetting old ones. By freezing previous knowledge and dynamically routing inputs, PathWeave matches state-of-the-art performance while reducing trainable parameters by over 98%.
The Challenge of Multimodal Expansion
Today’s Multimodal LLMs are incredibly powerful, but they are also rigid. If you have a model trained on text and images, and you want to teach it to understand audio or 3D point clouds, you typically have to gather a massive dataset containing all modalities and retrain the model jointly. This joint-modal pretraining is incredibly resource-intensive.
The alternative is Continual Learning (CL)—teaching the model one modality at a time. However, neural networks famously suffer from "catastrophic forgetting," where learning new information overwrites previously learned skills. The authors tackle this exact gap: How can we build an MLLM that continually evolves to understand new modalities (X-modal reasoning) using only single-modality data, without forgetting what it already knows, and without requiring massive compute?
The PathWeave Framework
The authors propose PathWeave, a flexible framework built on top of a pre-trained vision-language model (X-InstructBLIP). Instead of fine-tuning the massive core model, they keep the LLM and the primary projection layers (Q-Former) completely frozen. To learn new modalities, they introduce two key innovations:
- Adapter-in-Adapter (AnA) Framework:
- Uni-modal Adapters: When a new modality (e.g., audio) is introduced, lightweight, parallel adapter layers are added to the network. Once trained on that specific modality, these adapters are permanently frozen to completely prevent catastrophic forgetting.
- Cross-modal Adapters (In-adapters): To prevent the model from learning every modality from scratch, tiny "in-adapters" are inserted into the frozen uni-modal adapters of previously learned modalities. This allows the new modality to borrow historical knowledge (e.g., using visual concepts to help understand 3D shapes) without altering the frozen weights.
- MoE-based Gating: Because different modalities have vastly different data distributions, simply adding their outputs together causes interference. The authors use a Mixture-of-Experts (MoE) gating module that dynamically calculates routing weights, ensuring the model uses the optimal blend of past and present adapter paths for any given input.
Datasets: The MCL Benchmark
To evaluate their approach, the authors introduce a new benchmark called Continual Learning of multi-Modality (MCL). Unlike standard benchmarks, MCL is designed to feed data to the model sequentially. It consists of high-quality Question Answering (QA) and captioning data across five distinct modalities:
- Image: COCO, GQA, LLaVA-150K, etc.
- Video: MSRVTT, MSVD.
- Audio: AudioCaps, Clotho, ESC50.
- Depth: CC3M subset, NYU v2, SUN RGB-D.
- 3D / Point Cloud: Cap3D, Modelnet.
Key Insights and Results
- Zero Forgetting by Design: By strictly freezing the uni-modal adapters after a training phase is complete, PathWeave structurally eliminates catastrophic forgetting. While standard continual fine-tuning suffers a massive ~59.6% forgetting rate on historical modalities, PathWeave achieves a 0.00 forgetting rate.
- Knowledge Transfer Across Modalities: The success of the "In-adapters" proves that an LLM can use representations learned from one modality to bootstrap the learning of a completely different one. For example, learning video helps the model subsequently learn audio faster and more accurately.
- Superior Continual Learning: Compared to existing continual learning baselines (like WiSE-FT or L2 Regularization), PathWeave surpasses them by over 29 points on average transfer learning metrics across in-domain datasets.
- Parameter Efficiency: Modularity beats brute force. PathWeave reduces the parameter training burden by at least 98.73% compared to fully fine-tuned state-of-the-art models like OneLLM and X-InstructBLIP, while performing on par with them on multimodal QA tasks.
Limitations and Future Work
The authors note a few limitations. First, they only explored five specific modalities; real-world scenarios contain a much wider and messier array of sensory inputs. Second, because the modalities are learned sequentially and interact implicitly through adapters, the current framework cannot easily perform cross-modal joint reasoning tasks (e.g., answering a complex question that requires simultaneously analyzing an image and an audio clip that were never trained together). Future work will likely focus on enabling explicit cross-modal reasoning while maintaining the highly efficient continual learning paradigm.
Summary updated