Search papers, labs, and topics across Lattice.
The paper introduces BD-Merging, a bias-aware model merging framework designed to improve the reliability of merged models under test-time distribution shift. BD-Merging uses a joint evidential head to learn uncertainty and an Adjacency Discrepancy Score (ADS) to quantify evidential alignment among neighboring samples. Guided by ADS, a discrepancy-aware contrastive learning mechanism refines the merged representation, training a debiased router for adaptive task/layer weight allocation.
Model merging can be made significantly more robust to distribution shift by explicitly modeling uncertainty and using contrastive learning to align consistent samples and separate conflicting ones.
Model Merging (MM) has emerged as a scalable paradigm for multi-task learning (MTL), enabling multiple task-specific models to be integrated without revisiting the original training data. Despite recent progress, the reliability of MM under test-time distribution shift remains insufficiently understood. Most existing MM methods typically assume that test data are clean and distributionally aligned with both the training and auxiliary sources. However, this assumption rarely holds in practice, often resulting in biased predictions with degraded generalization. To address this issue, we present BD-Merging, a bias-aware unsupervised model merging framework that explicitly models uncertainty to achieve adaptive reliability under distribution shift. First, BD-Merging introduces a joint evidential head that learns uncertainty over a unified label space, capturing cross-task semantic dependencies in MM. Second, building upon this evidential foundation, we propose an Adjacency Discrepancy Score (ADS) that quantifies evidential alignment among neighboring samples. Third, guided by ADS, a discrepancy-aware contrastive learning mechanism refines the merged representation by aligning consistent samples and separating conflicting ones. Combined with general unsupervised learning, this process trains a debiased router that adaptively allocates task-specific or layer-specific weights on a per-sample basis, effectively mitigating the adverse effects of distribution shift. Extensive experiments across diverse tasks demonstrate that BD-Merging achieves superior effectiveness and robustness compared to state-of-the-art MM baselines.