ICM-Fusion: In-Context Meta-Optimized LoRA Fusion for Multi-Task Adaptation

Authors

  • Yihua Shao The Hong Kong Polytechnic University Institute of Automation, Chinese Academy of Sciences
  • Xiaofeng Lin Guangdong University of Technology
  • Xinwei Long Tsinghua University
  • Siyu Chen Institute of Automation of the Chinese Academy of Sciences
  • Minxi Yan The Chinese University of Hong Kong
  • Yang Liu Beijing Institute for General Artificial Intelligence
  • Ziyang Yan University of Trento
  • Ao Ma JD.com
  • Hao Tang Peking University
  • Jingcai Guo The Hong Kong Polytechnic University

DOI:

https://doi.org/10.1609/aaai.v40i11.37840

Abstract

Enabling multi-task adaptation in pre-trained Low-Rank Adaptation (LoRA) models is crucial for enhancing their generalization capabilities. Most existing pre-trained LoRA fusion methods decompose weight matrices, sharing similar parameters, while fusion divergent ones. However, this paradigm inevitably induces inter-weight conflicts and leads to catastrophic domain forgetting. While incremental learning enables adaptation to multiple tasks, it struggles to achieve generalization in few-shot scenarios. Consequently, when the weight data follows a long-tailed distribution, it can lead to forgetting in the fused weights. To address this issue, we propose In-Context Meta LoRA Fusion (ICM-Fusion), a novel framework that synergizes meta-learning with in-context adaptation. The key innovation lies in our task vector arithmetic, which dynamically balances conflicting optimization directions across domains through learned manifold projections. ICM-Fusion obtains the optimal task vector orientation for the fused model in the latent space by adjusting the orientation of the task vectors. Subsequently, the fused LoRA is reconstructed by a self-designed Fusion VAE (F-VAE) to realize multi-task LoRA generation. We have conducted extensive experiments on visual and linguistic tasks, and the experimental results demonstrate that ICM-Fusion can be adapted to a wide range of architectural models and applied to various tasks. Compared to the current pre-trained LoRA fusion method, ICM-Fusion fused LoRA can significantly reduce the multi-tasking loss and can even achieve task enhancement in few-shot scenarios.

Downloads

Published

2026-03-14

How to Cite

Shao, Y., Lin, X., Long, X., Chen, S., Yan, M., Liu, Y., … Guo, J. (2026). ICM-Fusion: In-Context Meta-Optimized LoRA Fusion for Multi-Task Adaptation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(11), 8860–8868. https://doi.org/10.1609/aaai.v40i11.37840

Issue

Section

AAAI Technical Track on Computer Vision VIII