EditMark: Watermarking Large Language Models based on Model Editing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Shuai, Chen, Kejiang, Jiang, Jun, Zhang, Jie, Yao, Qiyi, Zeng, Kai, Zhang, Weiming, Yu, Nenghai
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915561435299840
author Li, Shuai
Chen, Kejiang
Jiang, Jun
Zhang, Jie
Yao, Qiyi
Zeng, Kai
Zhang, Weiming
Yu, Nenghai
author_facet Li, Shuai
Chen, Kejiang
Jiang, Jun
Zhang, Jie
Yao, Qiyi
Zeng, Kai
Zhang, Weiming
Yu, Nenghai
contents Large Language Models (LLMs) have demonstrated remarkable capabilities, but their training requires extensive data and computational resources, rendering them valuable digital assets. Therefore, it is essential to watermark LLMs to protect their copyright and trace unauthorized use or resale. Existing methods for watermarking LLMs primarily rely on training LLMs with a watermarked dataset, which entails burdensome training costs and negatively impacts the LLM's performance. In addition, their watermarked texts are not logical or natural, thereby reducing the stealthiness of the watermark. To address these issues, we propose EditMark, the first watermarking method that leverages model editing to embed a training-free, stealthy, and performance-lossless watermark for LLMs. We observe that some questions have multiple correct answers. Therefore, we assign each answer a unique watermark and update the weights of LLMs to generate corresponding questions and answers through the model editing technique. In addition, we refine the model editing technique to align with the requirements of watermark embedding. Specifically, we introduce an adaptive multi-round stable editing strategy, coupled with the injection of a noise matrix, to improve both the effectiveness and robustness of the watermark embedding. Extensive experiments indicate that EditMark can embed 32-bit watermarks into LLMs within 20 seconds (Fine-tuning: 6875 seconds) with a watermark extraction success rate of 100%, which demonstrates its effectiveness and efficiency. External experiments further demonstrate that EditMark has fidelity, stealthiness, and a certain degree of robustness against common attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2510_16367
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EditMark: Watermarking Large Language Models based on Model Editing
Li, Shuai
Chen, Kejiang
Jiang, Jun
Zhang, Jie
Yao, Qiyi
Zeng, Kai
Zhang, Weiming
Yu, Nenghai
Cryptography and Security
Large Language Models (LLMs) have demonstrated remarkable capabilities, but their training requires extensive data and computational resources, rendering them valuable digital assets. Therefore, it is essential to watermark LLMs to protect their copyright and trace unauthorized use or resale. Existing methods for watermarking LLMs primarily rely on training LLMs with a watermarked dataset, which entails burdensome training costs and negatively impacts the LLM's performance. In addition, their watermarked texts are not logical or natural, thereby reducing the stealthiness of the watermark. To address these issues, we propose EditMark, the first watermarking method that leverages model editing to embed a training-free, stealthy, and performance-lossless watermark for LLMs. We observe that some questions have multiple correct answers. Therefore, we assign each answer a unique watermark and update the weights of LLMs to generate corresponding questions and answers through the model editing technique. In addition, we refine the model editing technique to align with the requirements of watermark embedding. Specifically, we introduce an adaptive multi-round stable editing strategy, coupled with the injection of a noise matrix, to improve both the effectiveness and robustness of the watermark embedding. Extensive experiments indicate that EditMark can embed 32-bit watermarks into LLMs within 20 seconds (Fine-tuning: 6875 seconds) with a watermark extraction success rate of 100%, which demonstrates its effectiveness and efficiency. External experiments further demonstrate that EditMark has fidelity, stealthiness, and a certain degree of robustness against common attacks.
title EditMark: Watermarking Large Language Models based on Model Editing
topic Cryptography and Security
url https://arxiv.org/abs/2510.16367