arXiv Science⌕ Search

arXiv subjects

Alexandre Molohio

Publications and source records attributed to Alexandre Molohio.

2 recordsLinked to original sources

Let Expert Confidence Guide LoRA Merging: Margin-Aware Spectral Adaptation

Model merging combines LoRA experts specialized in different tasks into a single model without retraining, at the cost of interference between them. Recent methods reduce this interference by flattening the spectrum of each LoRA's weights, which can also weaken what each expert has learned. We show that flattening should adapt to the confidence of the experts. Less confident experts merge best when fully flattened, while more confident experts benefit from keeping more of their spectrum. We introduce MASAR, which measures this confidence with the margin, defined as the difference between an expert's top two class scores. Our method needs only one unlabeled example per task to compute this margin and set the amount of flattening. Since one example covers few input directions, we complement it with those encoded in the LoRA weights. This yields a closed-form merge that needs no labels, no training and no hyperparameter search. MASAR thus adapts to experts trained with different levels of confidence, where uniform flattening does not. On CLIP ViT-B/32, MASAR outperforms the best label-free baseline by more than 7 accuracy points. It even surpasses merges tuned on labeled data and gives the best label-free average on both ViT-L/14 and language tasks with Llama-3-8B. Our code is available at https://github.com/Harvard-AI-and-Robotics-Lab/masar-merging

cs.LG↗

LoRAccord: Label-Free Model Merging of LoRA Adapters for Vision-Language Models Trained on Data That Cannot Be Shared

Sharing model weights is much easier than sharing data. Hospitals and other data holders fine-tune LoRA adapters of one open vision or vision-language model on data that cannot leave them, and want one adapter that does what all of theirs do, built without moving data or labels and served without a router. RegMean merges such adapters in closed form from statistics of each layer's inputs, but fixes the scale of the merged update at 1/K for K adapters. The best scale moves from merge to merge: below 1/K on CLIP, above it on the medical models. LoRAccord is a training-free, label-free model merging method. It solves the regression once from base-model statistics, picks the scale of each merge by its agreement with each adapter on unlabeled inputs, and returns one exact LoRA. On all seven pools of our ablation, this label-free pick is the scale that labeled validation data would select. On two CLIP backbones, three medical VLMs and Gemma-4-31B, LoRAccord has a higher average than every baseline we compare, up to 8.8 points above RegMean. It also leads on four language-model pools, and merges ten dermoscopy sites into one adapter 8.0 points above the best site.

cs.CV↗