JOURNAL ARTICLE

Robust and Efficient Watermarking of Large Language Models Using Error Correction Codes

Xiaokun LuanZeming WeiYihao ZhangMeng Sun

Year: 2025 Journal:   Proceedings on Privacy Enhancing Technologies Vol: 2025 (4)Pages: 183-200   Publisher: De Gruyter Open

Abstract

Large language models (LLMs) have demonstrated remarkable performance in various tasks, but they also face challenges in intellectual property (IP) protection. Traditional training-based watermarking techniques are computationally expensive, while function invariant transformations (FITs) offer a lightweight alternative. Nevertheless, FIT-based watermarking methods are vulnerable to adaptive attacks, where adversaries can exploit the same transformation to remove or forge watermarks. We propose a novel white-box watermarking scheme that combines error correction codes (ECCs) with weight permutations. By encoding model identifiers using ECCs, our approach guarantees reliable watermark extraction under various attacks. Additionally, we develop a linear assignment-based extraction algorithm to enhance its efficiency. Evaluations on six LLMs show that our method offers robust watermarking capabilities. It has a minimal impact on model performance while effectively defending against removal and forgery attacks. Overall, our approach provides a scalable and secure solution for safeguarding the copyrights of LLMs.

Keywords:
Digital watermarking Computer science Error detection and correction Algorithm Theoretical computer science Artificial intelligence Image (mathematics)

Metrics

1
Cited By
4.77
FWCI (Field Weighted Citation Impact)
0
Refs
0.86
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Steganography and Watermarking Techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Internet Traffic Analysis and Secure E-voting
Physical Sciences →  Computer Science →  Artificial Intelligence
Chaos-based Image/Signal Encryption
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

ASR Error Correction Using Large Language Models

Rao MaMengjie QianMark GalesK.M. Knill

Journal:   IEEE Transactions on Audio Speech and Language Processing Year: 2025 Vol: 33 Pages: 1389-1401
JOURNAL ARTICLE

ASR Error Correction Using Large Language Models

Ma, RaoQian, MengjieGales, MarkKnill, Kate

Journal:   Apollo (University of Cambridge) Year: 2025
JOURNAL ARTICLE

Tampering resistant self recoverable watermarking method using error correction codes

Sachin MehtaVijayaraghavan VaradharajanRajarathnam Nallusamy

Journal:   International Journal of Information and Computer Security Year: 2012 Vol: 5 (1)Pages: 28-28
© 2026 ScienceGate Book Chapters — All rights reserved.