NegMerge: Sign-Consensual Weight Merging for Machine Unlearning

Hyoseo Kim, Dongyoon Han, Junsuk Choe
2/12/2026

No official code found. Best implementation: naver-ai/negmerge (16 stars, last commit 2025-11-25).

Abstract

Machine unlearning aims to selectively remove specific knowledge from a trained model. Existing approaches, such as Task Arithmetic, fine-tune the model on the forget set to create a task vector (i.e., a direction in weight space) for subtraction from the original model's weight. However, their effectiveness is highly sensitive to hyperparameter selection, requiring extensive validation to identify the optimal vector from many fine-tuned candidates. In this paper, we propose a novel method that utilizes all fine-tuned models trained with varying hyperparameters instead of a single selection. Specifically, we aggregate the computed task vectors by retaining only the elements with consistent shared signs. The merged task vector is then negated to induce unlearning on the original model. Evaluations on zero-shot and standard image recognition tasks across twelve datasets and four backbone architectures show that our approach outperforms state-of-the-art methods while requiring similar or fewer computational resources. Code is available at https://github.com/naver-ai/negmerge.

View on arXivView PDF

Code Implementations(1)

naver-ai/negmergeCommunity100%

[ICML 2025] Official PyTorch implementation of "NegMerge: Sign-Consensual Weight Merging for Machine Unlearning"

166Python, Jupyter NotebookOct 6, 202411 months agoNOASSERTION

Similar Papers

Cite this paper

@article{kim2026negmerge,
  title  = {NegMerge: Sign-Consensual Weight Merging for Machine Unlearning},
  author = {Hyoseo Kim and Dongyoon Han and Junsuk Choe},
  year   = {2026},
  eprint = {2410.05583},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.05583},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.05583.svg)](https://codeofpaper.com/paper/2410.05583)

Discussion