Lune

ICML2025Top-tier venue

Update Your Transformer to the Latest Release: Re-Basin of Task Vectors

Filippo Rinaldi, Giacomo Capitani, Lorenzo Bonicelli, Donato Crisostomi, Federico Bolelli, Elisa Ficarra, Emanuele Rodolà, Simone Calderara, Angelo Porrello

Abstract

Foundation models serve as the backbone for numerous specialized models developed through fine-tuning. However, when the underlying pretrained model is updated or retrained (e.g., on larger and more curated datasets), the fine-tuned model becomes obsolete, losing its utility and requiring retraining. This raises the question: is it possible to transfer fine-tuning to a new release of the model? In this work, we investigate how to transfer fine-tuning to a new checkpoint without having to re-train, in a data-free manner. To do so, we draw principles from model re-basin and provide a recipe based on weight permutations to re-base the modifications made to the original base model, often called task vector. In particular, our approach tailors model re-basin for Transformer models, taking into account the challenges of residual connections and multi-head attention layers. Specifically, we propose a twolevel method rooted in spectral theory, initially permuting the attention heads and subsequently adjusting parameters within select pairs of heads. Through extensive experiments on visual and textual tasks, we achieve the seamless transfer of fine-tuned knowledge to new pre-trained backbones without relying on a single training step or datapoint. Code is available at https:// github.com/aimagelab/TransFusion .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature cites Accurate and Efficient Low-Rank Model Merging in Core Space
  • Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature cites TIES-Merging: Resolving Interference When Merging Models
  • Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature cites Learning Transferable Visual Models From Natural Language Supervision
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites TIES-Merging: Resolving Interference When Merging Models
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites Learning Transferable Visual Models From Natural Language Supervision
  • TIES-Merging: Resolving Interference When Merging Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • TIES-Merging: Resolving Interference When Merging Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • TIES-Merging: Resolving Interference When Merging Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Transporting Task Vectors across Different Architectures without Training cites Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature
  • Transporting Task Vectors across Different Architectures without Training cites Accurate and Efficient Low-Rank Model Merging in Core Space
  • Transporting Task Vectors across Different Architectures without Training cites TIES-Merging: Resolving Interference When Merging Models
  • Transporting Task Vectors across Different Architectures without Training cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Transporting Task Vectors across Different Architectures without Training cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transporting Task Vectors across Different Architectures without Training cites Learning Transferable Visual Models From Natural Language Supervision
  • DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Learning Transferable Visual Models From Natural Language Supervision
  • Model Merging Scaling Laws in Large Language Models cites TIES-Merging: Resolving Interference When Merging Models
  • Model Merging Scaling Laws in Large Language Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Accurate and Efficient Low-Rank Model Merging in Core SpaceAniello Panariello, Daniel Marczak, Simone Magistri, Angelo Porrello et al.NeurIPS 2025 · 32 citations
  2. Model Merging Scaling Laws in Large Language ModelsYuanyi Wang, Yanggan Gu, Yiming Zhang, Qi ZHOU et al.ICML 2026 · 8 citations
  3. Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate CurvatureAngelo Porrello, Pietro Buzzega, Felix Dangel, Thomas Sommariva et al.ICLR 2026 · 6 citations
  4. DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network WeightsSaumya Gupta, Scott Biggs, Moritz Laber, Zohair Shafi et al.ICLR 2026 · 5 citations
  5. Transporting Task Vectors across Different Architectures without TrainingFilippo Rinaldi, Aniello Panariello, Giacomo Salici, Angelo Porrello et al.ICML 2026 · 3 citations

Builds on23

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
  4. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
  5. TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel et al.NeurIPS 2023 · 999 citations

Related papers

  1. Gradient-Sign Masking for Task Vector Transport Across Pre-Trained ModelsFilippo Rinaldi, Aniello Panariello, Giacomo Salici, Fengyuan Liu et al.ICLR 2026 · 3 citations
  2. Fine-Tune Once, Reuse Across Models: Bayesian Task-Update Factors and ApproximationsSiyang Guo, Junbo Wang, Zibin ZhengICML 2026
  3. Basis-Oriented Low-rank Transfer for Few-Shot and Test-Time AdaptationJunghwan Park, Woojin Cho, Junhyuk Heo, Darongsae Kwon et al.CVPR 2026
  4. ViM: Vision Middleware for Unified Downstream TransferringYutong Feng, Biao Gong, Jianwen Jiang, Yiliang Lv et al.ICCV 2023 · 2 citations
  5. Parameter-Free Fine-tuning via Redundancy Elimination for Vision Foundation ModelsJiahuan Long, Tingsong Jiang, Wen Yao, Yizhe Xiong et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines