arXiv Science⌕ Search

arXiv subjects

Gabriel Azpitarte

Publications and source records attributed to Gabriel Azpitarte.

3 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↗

Parsing Visual Latents for Multimodal Spatial Reasoning

Spatial reasoning across multiple views requires inferring the 3D relations between objects and the camera from 2D observations, which depends on cross-view correspondence and scene geometry that vision-language models (VLMs) do not reliably extract. Pretrained vision encoders already capture this information in their latent features, with CLIP linking objects to image regions, DINOv3 matching semantics across views, and VGGT encoding multi-view geometry. However, VLMs do not benefit from these features when we present them directly in context as grayscale feature images. We therefore propose LatentParse, a training-free framework that parses latent features into explicit spatial evidence for VLMs. In LatentParse, an analyst VLM probes the features of all three encoders with predefined tools that locate objects, track them across views, and measure motion between views. It then distills the results into a concise text report, which is provided together with the images to the VLM to answer the question. We evaluate LatentParse on MMSI-Bench, MV-RoboBench and SPAR-Bench, where it improves all five VLMs over the photo-only baseline by 0.7-2.4 percentage points on average. On MMSI-Bench, it raises Qwen3.8-27B from 34.4% to 39.5%, with the largest improvements of 19.2 percentage points on the camera-related questions. These results suggest that latent features become useful for spatial reasoning once they are parsed into relation evidence, without training. Code is available at https://github.com/Harvard-AI-and-Robotics-Lab/LatentParse.

cs.CV↗