arXiv:2610.32581cs.LGOct 2026

Manuscript Offprint

arXiv:2610.32581

From Parameter Rebasin to Functional Transfer Across Heterogeneous Transformers

Filippo Rinaldi, Aniello Panariello, Giacomo Salici, Simone Magistri, Angelo Porrello, Andrew D. Bagdanov, Simone Calderara

ABSTRACT

Adapting pretrained Transformers to downstream tasks produces task-specific updates that are expensive to reproduce for every model variant. Reusing these updates across different depths and widths is challenging because their parameters have incompatible shapes and do not share a canonical coordinate system. We introduce ARIADNE, a training-free method that transfers task-specific behavior across heterogeneous Transformers without resizing the source model or transporting its parameters. Rather than treating the source task vector, i.e., the difference in parameter space between the fine-tuned and the base models, as the object to move, ARIADNE characterizes fine-tuning by the activation changes it induces at matched blocks. First, it aligns these effects to a target base through local Procrustes maps. Then, it directly synthesizes a native target update by closed-form ridge regression. Across Transformer expansion, reduction and language-model transfer, ARIADNE improves target-model performance while substantially reducing the time and memory required to construct an update relative to previous cross-architecture rebasin approaches. These results show that local functional effects provide an efficient alternative to parameter transport.

1 INTRODUCTION

Foundation models (Radford et al., 2021; Yang et al., 2025) are increasingly reused rather than trained from scratch. A single pretrained checkpoint can give rise to many fine-tuned task variants, represented as task vectors (Ilharco et al., 2023), each defined in the parameterization of its source architecture. When a deployment requires a different backbone, the learned task-specific behavior cannot be directly transferred because source and target models inhabit different parameter spaces. Valuable model families consequently remain tied to the architecture on which they were trained.

This coupling is limiting in practice. For example, a practitioner may have an instruction-tuned assistant at one Transformer depth and width, but later need to deploy the same instruction-following behavior in a smaller model under a tighter serving budget, or in a newer and larger backbone. Similarly, reducing depth can lower latency and memory use, while expansion can make an existing model family compatible with a larger target architecture. Retraining every task-specific model in the new architecture may be unavailable or prohibitively expensive; it also repeats substantial training compute and its associated energy use. The practical goal is therefore to reuse task-specific behavior across heterogeneous Transformer architectures without repeating fine-tuning.

Existing work tackles this challenge by either adapting pretrained architectures or transporting task-specific updates across models. Function-preserving transformations such as Net2Net (Chen et al., 2015) and Network Morphism (Wei et al., 2016) expand trained networks, while Transformer-specific growth and compression methods often rely on parameter transformations or continued training (Gesmundo & Maile, 2023; Ding et al., 2023; Chen et al., 2022; Fan et al., 2020; Sajjad et al., 2023; Xu et al., 2020). A natural alternative is to align source and target parameterizations and then transport the source task vector, as in cross-architecture rebasin methods such as THE-

SEUS (Rinaldi et al., 2026b) and BiCo (Son et al., 2026). This formulation treats the source task vector, namely the parameter change caused by fine-tuning, as the object to move.

With reference to these transport-based methods (Rinaldi et al., 2026b; Son et al., 2026), a sufficiently accurate correspondence in parameter space or at the global functional level is therefore required. This typically entails assumptions on the backbone and relative depth of the models, together with architectural resampling operations such as block copying, interpolation, or deletion to match their depths. These choices are inherently heuristic and do not guarantee that the transported task vector remains informative. More elaborate resampling procedures can mitigate this issue (Kangaslahti et al., 2026), but require gradient access. In this work, we therefore seek transfer techniques that are simple, efficient, and robust to mismatches between model parameterizations.

To reach these goals, ARIADNE adopts a different transfer paradigm. Rather than transporting the source task vector, it transfers the observable effect of source fine-tuning, that is the change in the transformer block activation induced by fine-tuning. For each matched pair of Transformer blocks, ARIADNE aligns source and target base residual-stream states with a local Procrustes map and uses it to express the source fine-tuning activation displacement in target coordinates. Then, a closed-form ridge regression computes an additive update to one residual-writing target component that matches this desired effect. The base-model relation is therefore only a local coordinate bridge, not the optimization target. The resulting update is native to the target backbone and requires neither a target fine-tuned checkpoint, source resizing, parameter transport, nor inference-time interventions. The name of the method recalls Ariadne's thread: the activation displacement guides construction of an update through a differently structured target model. Our contributions are:

• We formulate transfer across Transformer depths and widths as direct reproduction of fine-tuning-induced functional effects, rather than parameter rebasin.

• We introduce a training-free local Procrustes and ridge construction that synthesizes target-space task vectors from a source base and fine-tuned counterpart.

• We evaluate direct functional transfer across Vision Transformer expansion and reduction, and across language-model variants.

References (30)