paper-with-me

홈 › Papers

Gradient-Sign Masking for Task Vector Transport Across Pre-Trained Models

2025-10-07 · Filippo Rinaldi, Aniello Panariello, Giacomo Salici, Fengyuan Liu, Marco Ciccone, Angelo Porrello, Simone Calderara arxiv

When a new release of a foundation model is published, practitioners typically need to repeat fine-tuning, even if the same task was already tackled in the previous version. A promising alternative is to reuse the parameter changes (i.e., task vectors) that capture how a model adapts to a specific task. However, these vectors often fail to transfer across different pre-trained models because their parameter spaces are misaligned. In this work, we show that successful transfer depends strongly on the gradient-sign structure of the new model. Based on this insight, we propose GradFix, which approximates the ideal sign structure and leverages it to transfer knowledge using only a handful of labeled samples. Notably, this requires no additional fine-tuning: we only compute a few target-model gradients without parameter updates and mask the source task vector accordingly. This yields an update that is locally aligned with the target loss landscape, effectively rebasing the task vector onto the new pre-training. We provide a theoretical guarantee that our method ensures first-order descent. Empirically, we demonstrate significant performance gains on vision and language benchmarks, consistently outperforming naive task vector addition and few-shot fine-tuning. We further show that transporting task vectors improves multi-task and multi-source model merging. Code is available at https://github.com/fillo-rinaldi/GradFix.

📄 PDF Abstract BibTeX arXiv:2510.09658

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Riemannian Stochastic Recursive Gradient Algorithm with Retraction and Vector Transport and Its Convergence Analysis

2018-07-01 · ICML 2018 7 · Hiroyuki Kasai, Hiroyuki Sato, Bamdev Mishra

Stochastic variance reduction algorithms have recently become popular for minimizing the average of a large, but finite number of loss functions on a Riemannian manifold. The present paper proposes a Riemannian stoc…

Regularity of Solutions to Beckmann's Parametric Optimal Transport

2026-03-20 · Hanno Gottschalk, Tobias J. Riedlinger arxiv

Beckmann's problem in optimal transport minimizes the total squared flux in a continuous transport problem from a source to a target distribution. In this article, the regularity theory for solutions to Beckmann's proble…

Stein transport for Bayesian inference

2024-09-02 · Nikolas Nüsken

We introduce $\textit{Stein transport}$, a novel methodology for Bayesian inference designed to efficiently push an ensemble of particles along a predefined curve of tempered probability distributions. The driving vector…

Bayesian Inference

Vector quantile regression and optimal transport, from theory to numerics

2021-02-25 · Guillaume Carlier, Victor Chernozhukov, Gwendoline de Bie, Alfred Galichon

In this paper, we first revisit the Koenker and Bassett variational approach to (univariate) quantile regression, emphasizing its link with latent factor representations and correlation maximization problems. We then rev…

quantile regressionregression

Riemannian stochastic variance reduced gradient algorithm with retraction and vector transport

2017-02-18 · Hiroyuki Sato, Hiroyuki Kasai, Bamdev Mishra

In recent years, stochastic variance reduction algorithms have attracted considerable attention for minimizing the average of a large but finite number of loss functions. This paper proposes a novel Riemannian extension …

Low-Rank Matrix CompletionMatrix CompletionRiemannian optimization