Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Distilling Linearized Behavior into Non-Linear Fine-Tuning for Effective Task Arithmetic

About

Task vector composition has emerged as a promising paradigm for editing pre-trained models, enabling model merging through addition and unlearning through subtraction. Fine-tuning in the tangent space of a pre-trained model (linear fine-tuning) has proven effective, as it produces task vectors that are naturally disentangled and resistant to interference. However, linearized models suffer from limited expressivity during training and incur higher computational costs at inference time, which restrict their practical applicability. In this work, we bridge the gap between linear and standard non-linear fine-tuning. We show that linearity with respect to weight perturbations, a property defined in parameter space, can be enforced through constraints in activation space during training. Concretely, we distill hidden representations from a curvature-regularized linearized teacher into a non-linear student trained via conventional fine-tuning. We find that the resulting model inherits key properties of linearized models for task arithmetic, enabling effective composition of task vectors and achieving strong performance across vision and language benchmarks without incurring any inference-time overhead.

Thomas Sommariva, Francesca Morandi, Simone Calderara, Angelo Porrello• 2026

Related benchmarks

TaskDatasetResultRank
Task addition8 Vision
Absolute Score92.2
65
Task Negation8 Vision
Control Accuracy74.7
61
Task Negation14-Vision
Target Accuracy19.1
8
Task addition14-Vision
Absolute Score85.7
7
Showing 4 of 4 rows

Other info

Follow for update