arXiv Science⌕ Search

arXiv subjects

Antonio Andrea Gargiulo

Publications and source records attributed to Antonio Andrea Gargiulo.

4 recordsLinked to original sources

Task Singular Vectors go Functional: Model Merging in the Data Metric

Spectral model merging compresses task vectors and reduces interference by orthogonalizing their retained directions. Existing methods make both decisions in the Euclidean geometry of weight space, however, directions that are orthogonal in parameter space can still overlap in the activations the model actually sees. We derive a joint least-squares perspective that unifies several existing merging methods in a common objective, and use it to replace Euclidean geometry with a data-induced metric estimated from a few unlabeled samples. Functional TSV (F-TSV) utilizes this metric to choose each task's low-rank subspace and to define cross-task orthogonality, while preserving the expert update within the chosen subspace. Our derivation predicts a square-root metric weighting, and validation sweeps across vision, GLUE, and generative merging select the same setting. Ablations reveal the main empirical effect: data-aware cross-task orthogonalization accounts for almost all of the gains in vision, whereas data-aware subspace selection contributes minimally outside GLUE. F-TSV is training-free, relies only on label-free metric, and produces a single checkpoint with no inference-time overhead, and it consistently improves over its Euclidean counterpart across all reported benchmarks.

cs.LG↗

Zero-Shot Quantization via Weight-Space Arithmetic

We show that robustness to post-training quantization (PTQ) is a transferable direction in weight space. We call this direction the quantization vector: extracted from a donor task by simple weight-space arithmetic, it can be used to patch a receiver model and improve PTQ Top-1 accuracy by up to 60% in a 3-bit setting, without receiver-side quantization-aware training (QAT). When using no receiver validation data, the method provides a zero-shot, low-cost alternative to QAT for extremely low-bit deployment. Across multiple vision and language models and more than 30 tasks, donor quantization vectors often yield substantial gains even when donor and receiver tasks differ markedly. We further prove rigorously that quantization vectors are well-defined and do not suffer from reparameterization symmetries, and provide a local geometric account of their effect. Together, these results suggest that quantization robustness can be partially isolated, reused, and transferred through simple weight-space algebra.

cs.CV↗

MASS: MoErging through Adaptive Subspace Selection

Model merging has recently emerged as a lightweight alternative to ensembling, combining multiple fine-tuned models into a single set of parameters with no additional training overhead. Yet, existing merging methods fall short of matching the full accuracy of separately fine-tuned endpoints. We present MASS (MoErging through Adaptive Subspace Selection), a new approach that closes this gap by unifying multiple fine-tuned models while retaining near state-of-the-art performance across tasks. Building on the low-rank decomposition of per-task updates, MASS stores only the most salient singular components for each task and merges them into a shared model. At inference time, a non-parametric, data-free router identifies which subspace (or combination thereof) best explains an input's intermediate features and activates the corresponding task-specific block. This procedure is fully training-free and introduces only a two-pass inference overhead plus a ~2 storage factor compared to a single pretrained model, irrespective of the number of tasks. We evaluate MASS on CLIP-based image classification using ViT-B-16, ViT-B-32 and ViT-L-14 for benchmarks of 8, 14 and 20 tasks respectively, establishing a new state-of-the-art. Most notably, MASS recovers up to ~98% of the average accuracy of individual fine-tuned models, making it a practical alternative to ensembling at a fraction of the storage cost.

cs.LG↗

Task Singular Vectors: Reducing Task Interference in Model Merging

Task Arithmetic has emerged as a simple yet effective method to merge models without additional training. However, by treating entire networks as flat parameter vectors, it overlooks key structural information and is susceptible to task interference. In this paper, we study task vectors at the layer level, focusing on task layer matrices and their singular value decomposition. In particular, we concentrate on the resulting singular vectors, which we refer to as Task Singular Vectors (TSV). Recognizing that layer task matrices are often low-rank, we propose TSV-Compress (TSV-C), a simple procedure that compresses them to 10% of their original size while retaining 99% of accuracy. We further leverage this low-rank space to define a new measure of task interference based on the interaction of singular vectors from different tasks. Building on these findings, we introduce TSV-Merge (TSV-M), a novel model merging approach that combines compression with interference reduction, significantly outperforming existing methods.

cs.LG↗