Efficient Model Editing with Task-Localized Sparse Fine-tuning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Iurada, Leonardo, Ciccone, Marco, Tommasi, Tatiana
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908299412111360
author Iurada, Leonardo
Ciccone, Marco
Tommasi, Tatiana
author_facet Iurada, Leonardo
Ciccone, Marco
Tommasi, Tatiana
contents Task arithmetic has emerged as a promising approach for editing models by representing task-specific knowledge as composable task vectors. However, existing methods rely on network linearization to derive task vectors, leading to computational bottlenecks during training and inference. Moreover, linearization alone does not ensure weight disentanglement, the key property that enables conflict-free composition of task vectors. To address this, we propose TaLoS which allows to build sparse task vectors with minimal interference without requiring explicit linearization and sharing information across tasks. We find that pre-trained models contain a subset of parameters with consistently low gradient sensitivity across tasks, and that sparsely updating only these parameters allows for promoting weight disentanglement during fine-tuning. Our experiments prove that TaLoS improves training and inference efficiency while outperforming current methods in task addition and negation. By enabling modular parameter editing, our approach fosters practical deployment of adaptable foundation models in real-world applications.
format Preprint
id arxiv_https___arxiv_org_abs_2504_02620
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Model Editing with Task-Localized Sparse Fine-tuning
Iurada, Leonardo
Ciccone, Marco
Tommasi, Tatiana
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
Task arithmetic has emerged as a promising approach for editing models by representing task-specific knowledge as composable task vectors. However, existing methods rely on network linearization to derive task vectors, leading to computational bottlenecks during training and inference. Moreover, linearization alone does not ensure weight disentanglement, the key property that enables conflict-free composition of task vectors. To address this, we propose TaLoS which allows to build sparse task vectors with minimal interference without requiring explicit linearization and sharing information across tasks. We find that pre-trained models contain a subset of parameters with consistently low gradient sensitivity across tasks, and that sparsely updating only these parameters allows for promoting weight disentanglement during fine-tuning. Our experiments prove that TaLoS improves training and inference efficiency while outperforming current methods in task addition and negation. By enabling modular parameter editing, our approach fosters practical deployment of adaptable foundation models in real-world applications.
title Efficient Model Editing with Task-Localized Sparse Fine-tuning
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.02620