Enhancing Multimodal Continual Instruction Tuning with BranchLoRA

Duzhen Zhang, Yong Ren, Zhong-Zhi Li, Yahan Yu, Jiahua Dong, Chenxing Li, Zhilong Ji, Jinfeng Bai

Abstract

Multimodal Continual Instruction Tuning (MCIT) aims to finetune Multimodal Large Language Models (MLLMs) to continually align with human intent across sequential tasks. Existing approaches often rely on the Mixture-of-Experts (MoE) LoRA framework to preserve previous instruction alignments. However, these methods are prone to Catastrophic Forgetting (CF), as they aggregate all LoRA blocks via simple summation, which compromises performance over time. In this paper, we identify a critical parameter inefficiency in the MoELoRA framework within the MCIT context. Based on this insight, we propose BranchLoRA, an asymmetric framework to enhance both efficiency and performance. To mitigate CF, we introduce a flexible tuning-freezing mechanism within BranchLoRA, enabling branches to specialize in intra-task knowledge while fostering inter-task collaboration. Moreover, we incrementally incorporate task-specific routers to ensure an optimal branch distribution over time, rather than favoring the most recent task. To streamline inference, we introduce a task selector that automatically routes test inputs to the appropriate router without requiring task identity. Extensive experiments on the latest MCIT benchmark demonstrate that BranchLoRA significantly outperforms MoELoRA and maintains its superiority across various MLLM sizes.

Introduction

As Multimodal Large Language Models (MLLMs) like LLaVA are deployed in dynamic environments, they must adapt to new instructions and tasks sequentially without retraining from scratch. This challenge, known as Multimodal Continual Instruction Tuning (MCIT), is primarily hindered by Catastrophic Forgetting (CF), where the acquisition of new knowledge overwrites previously learned patterns.

While Mixture-of-Experts LoRA (MoELoRA) has been proposed to mitigate CF by using independent LoRA blocks for different tasks, it suffers from two critical issues. First, it is parameter-inefficient, training full LoRA matrices ($A$ and $B$) for every expert despite significant redundancy. Second, its reliance on a single, continuously updated shared router leads to a bias toward recent tasks, causing the model to "forget" how to route older information.

Proposed Method: BranchLoRA

To overcome these limitations, we introduce BranchLoRA, an asymmetric MoE framework designed for efficient and robust continual learning.

Comparison of MoELoRA and the proposed BranchLoRA architecture.

BranchLoRA departs from the symmetric design of MoELoRA through several key innovations:

  • Asymmetric Architecture: BranchLoRA utilizes a single, shared matrix $A$ (the "trunk") to capture task-invariant features, while multiple $B$ matrices (the "branches") serve as task-specific experts.
  • Flexible Tuning-Freezing: To prevent forgetting, the model identifies and freezes the top-$k$ experts most relevant to previous tasks. Only the remaining unfrozen experts are updated for new tasks, ensuring that core knowledge is anchored while maintaining plasticity.
  • Task-Specific Routers and Auto-Selector: Instead of a single shared router, BranchLoRA adds a new router for each task. An "Auto-Selector" uses learnable task-specific keys to route inputs to the correct router during inference based on embedding similarity, eliminating the need for explicit task IDs.

Analysis of Parameter Redundancy

The design of BranchLoRA is motivated by an empirical analysis of parameter behavior in MoELoRA. By visualizing the parameters using t-SNE, we observed a distinct divergence in the roles of matrices $A$ and $B$.

t-SNE visualization of LoRA matrices A and B during continual tuning.

As shown in the visualization, the $A$ matrices across different experts tend to converge to highly similar states, suggesting they learn redundant, shared patterns. In contrast, the $B$ matrices remain distinct, capturing the unique nuances of individual tasks. BranchLoRA exploits this by sharing $A$ across all experts, significantly reducing parameter overhead without sacrificing performance.

Experimental Results

We evaluated BranchLoRA on the CoIN benchmark, which includes 8 diverse multimodal datasets (e.g., ScienceQA, TextVQA, ImageNet, GQA) presented sequentially.

Performance and Forgetting

BranchLoRA demonstrates superior performance across various model scales. On LLaVA-1.5-7B, it achieved an Average Accuracy (ACC) of 44.20%, significantly higher than MoELoRA's 37.13%. Crucially, it showed much lower forgetting, with a Backward Transfer (BWT) of -20.98% compared to -25.91% for the baseline.

Efficiency

By sharing the $A$ matrix, BranchLoRA reduces the number of trainable parameters from 350M to 222M. This architectural streamlining also translates to faster training, reducing the time per batch from 62ms to 51ms.

Routing Accuracy

The proposed Auto-Selector proved highly effective, achieving an average routing accuracy of 95.8%. This allows the model to function autonomously in real-world scenarios where task identities are unknown at test time.

Conclusion

BranchLoRA addresses the fundamental inefficiencies and forgetting issues inherent in symmetric MoE frameworks for MCIT. By decoupling shared and task-specific knowledge through an asymmetric trunk-and-branch architecture, and employing a robust routing mechanism, it sets a new state-of-the-art for multimodal continual learning. Future work will explore integrating these techniques with advanced model merging strategies to further refine knowledge preservation.

Summary updated

BibTeX
@inproceedings{zhang2025enhancing,
  author = {Duzhen Zhang and Yong Ren and Zhong-Zhi Li and Yahan Yu and Jiahua Dong and Chenxing Li and Zhilong Ji and Jinfeng Bai},
  title = {{Enhancing Multimodal Continual Instruction Tuning with BranchLoRA}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=VR3BUtizdV},
}
Figure