paper-with-me

홈 › Papers

When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformers

2025-04-15 · Hongkang Li, Yihua Zhang, Shuai Zhang, Meng Wang, Sijia Liu, Pin-Yu Chen

Task arithmetic refers to editing the pre-trained model by adding a weighted sum of task vectors, each of which is the weight update from the pre-trained model to fine-tuned models for certain tasks. This approach recently gained attention as a computationally efficient inference method for model editing, e.g., multi-task learning, forgetting, and out-of-domain generalization capabilities. However, the theoretical understanding of why task vectors can execute various conceptual operations remains limited, due to the highly non-convexity of training Transformer-based models. To the best of our knowledge, this paper provides the first theoretical characterization of the generalization guarantees of task vector methods on nonlinear Transformers. We consider a conceptual learning setting, where each task is a binary classification problem based on a discriminative pattern. We theoretically prove the effectiveness of task addition in simultaneously learning a set of irrelevant or aligned tasks, as well as the success of task negation in unlearning one task from irrelevant or contradictory tasks. Moreover, we prove the proper selection of linear coefficients for task arithmetic to achieve guaranteed generalization to out-of-domain tasks. All of our theoretical results hold for both dense-weight parameters and their low-rank approximations. Although established in a conceptual setting, our theoretical findings were validated on a practical machine unlearning task using the large language model Phi-1.5 (1.3B).

📄 PDF Abstract BibTeX arXiv:2504.10957

Code (0)

등록된 구현이 없습니다.

Tasks

Binary ClassificationDomain GeneralizationLarge Language ModelMachine UnlearningModel EditingMulti-Task LearningNegationTask Arithmetic

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Editing Models with Task Arithmetic

2022-12-08 · Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan 외

Changing how pre-trained models behave -- e.g., improving their performance on a downstream task or mitigating biases learned during pre-training -- is a common practice when developing machine learning systems. In this …

NegationTask Arithmetic

Verified Neural Compressed Sensing

2024-05-07 · Rudy Bunel, Krishnamurthy Dvijotham, M. Pawan Kumar, Alessandro De Palma 외

We develop the first (to the best of our knowledge) provably correct neural networks for a precise computational task, with the proof of correctness generated by an automated verification algorithm without any human inpu…

compressed sensing

Exploring and Leveraging Class Vectors for Classifier Editing

2025-10-13 · Jaeik Kim, Jaeyoung Do arxiv

Image classifiers play a critical role in detecting diseases in medical imaging and identifying anomalies in manufacturing processes. However, their predefined behaviors after extensive training make post hoc model editi…

Image ClassificationAdversarial Defense

Merging Methods for Multilingual Knowledge Editing for Large Language Models: An Empirical Odyssey

2026-05-13 · Kunil Lee, Ki-Young Shin, Jong-Hyeok Lee, Young-Joo Suh arxiv

Multilingual knowledge editing (MKE) remains challenging because language-specific edits interfere with one another, even when locate-then-edit methods work well in monolingual settings. This paper focuses on three issue…

knowledge editing

Hierarchical Vectorization for Portrait Images

2022-05-24 · QiAn Fu, Linlin Liu, Fei Hou, Ying He

Aiming at developing intuitive and easy-to-use portrait editing tools, we propose a novel vectorization method that can automatically convert raster images into a 3-tier hierarchical representation. The base layer consis…