MINGLE: Mixture of Null-Space Gated Low-Rank Experts for Test-Time Continual Model Merging
Zihuan Qiu, Yi Xu, Chiyuan He, Fanman Meng, Linfeng Xu, Qingbo Wu, Hongliang Li
TL;DR
This paper introduces Test-Time Continual Model Merging (TTCMM) to fuse independently fine-tuned models during inference without training data access. It presents MINGLE, a mixture of null-space gated low-rank experts that uses seed unlabeled samples for test-time adaptation, with an adaptive relaxation strategy to balance stability and plasticity, and a null-space constraint to suppress interference from previously learned tasks. Theoretical analysis motivates dynamic routing over static averaging, and extensive experiments on vision and NLP benchmarks show that MINGLE achieves 7–9% higher accuracy on average with near-zero forgetting across varied task orders, while maintaining efficient parameter usage. This work demonstrates that TTCMM with adaptive null-space gating offers robust generalization under distribution shifts and privacy-preserving model merging, with practical applicability across diverse domains.
Abstract
Continual model merging integrates independently fine-tuned models sequentially without access to the original training data, offering a scalable and efficient solution for continual learning. However, existing methods face two critical challenges: parameter interference among tasks, which leads to catastrophic forgetting, and limited adaptability to evolving test distributions. To address these issues, we introduce the task of Test-Time Continual Model Merging (TTCMM), which leverages a small set of unlabeled test samples during inference to alleviate parameter conflicts and handle distribution shifts. We propose MINGLE, a novel framework for TTCMM. MINGLE employs a mixture-of-experts architecture with parameter-efficient, low-rank experts, which enhances adaptability to evolving test distributions while dynamically merging models to mitigate conflicts. To further reduce forgetting, we propose Null-Space Constrained Gating, which restricts gating updates to subspaces orthogonal to prior task representations, thereby suppressing activations on old tasks and preserving past knowledge. We further introduce an Adaptive Relaxation Strategy that adjusts constraint strength dynamically based on interference signals observed during test-time adaptation, striking a balance between stability and adaptability. Extensive experiments on standard continual merging benchmarks demonstrate that MINGLE achieves robust generalization, significantly reduces forgetting, and consistently surpasses previous state-of-the-art methods by 7-9% on average across diverse task orders. Our code is available at: https://github.com/zihuanqiu/MINGLE
