paper-with-me

홈 › Papers

Task-Agnostic Language Model Watermarking via High Entropy Passthrough Layers

2024-12-17 · Vaden Masrani, Mohammad Akbari, David Ming Xuan Yue, Ahmad Rezaei, Yong Zhang

In the era of costly pre-training of large language models, ensuring the intellectual property rights of model owners, and insuring that said models are responsibly deployed, is becoming increasingly important. To this end, we propose model watermarking via passthrough layers, which are added to existing pre-trained networks and trained using a self-supervised loss such that the model produces high-entropy output when prompted with a unique private key, and acts normally otherwise. Unlike existing model watermarking methods, our method is fully task-agnostic, and can be applied to both classification and sequence-to-sequence tasks without requiring advanced access to downstream fine-tuning datasets. We evaluate the proposed passthrough layers on a wide range of downstream tasks, and show experimentally our watermarking method achieves a near-perfect watermark extraction accuracy and false-positive rate in most cases without damaging original model performance. Additionally, we show our method is robust to both downstream fine-tuning, fine-pruning, and layer removal attacks, and can be trained in a fraction of the time required to train the original model. Code is available in the paper.

📄 PDF Abstract BibTeX arXiv:2412.12563

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Semantic Differentiation for Tackling Challenges in Watermarking Low-Entropy Constrained Generation Outputs

2026-01-14 · Nghia T. Le, Alan Ritter, Kartik Goyal arxiv

We demonstrate that while the current approaches for language model watermarking are effective for open-ended generation, they are inadequate at watermarking LM outputs for constrained generation tasks with low-entropy o…

Machine TranslationCode Generation

HeavyWater and SimplexWater: Watermarking Low-Entropy Text Distributions

2025-06-06 · Dor Tsur, Carol Xuan Long, Claudio Mayrink Verdun, Hsiang Hsu 외

Large language model (LLM) watermarks enable authentication of text provenance, curb misuse of machine-generated text, and promote trust in AI systems. Current watermarks operate by changing the next-token predictions ou…

Large Language ModelText Generation

CATMark: A Context-Aware Thresholding Framework for Robust Cross-Task Watermarking in Large Language Models

2025-09-27 · Yu Zhang, Shuliang Liu, Xu Yang, Xuming Hu arxiv

Watermarking algorithms for Large Language Models (LLMs) effectively identify machine-generated content by embedding and detecting hidden statistical features in text. However, such embedding leads to a decline in text q…

Text Generation

An Entropy-based Text Watermarking Detection Method

2024-03-20 · Yijian Lu, Aiwei Liu, Dianzhi Yu, Jingjing Li 외

Text watermarking algorithms for large language models (LLMs) can effectively identify machine-generated texts by embedding and detecting hidden features in the text. Although the current text watermarking algorithms per…

CODE ACROSTIC: Robust Watermarking for Code Generation

2025-12-14 · Li Lin, Siyuan Xin, Yang Cao, Xiaochun Cao arxiv

Watermarking large language models (LLMs) is vital for preventing their misuse, including the fabrication of fake news, plagiarism, and spam. It is especially important to watermark LLM-generated code, as it often contai…

Code Generation