paper-with-me

홈 › Papers

MarkLLM: An Open-Source Toolkit for LLM Watermarking

2024-05-16 · Leyi Pan, Aiwei Liu, Zhiwei He, Zitian Gao, Xuandong Zhao, Yijian Lu, Binglin Zhou, Shuliang Liu, Xuming Hu, Lijie Wen, Irwin King, Philip S. Yu

LLM watermarking, which embeds imperceptible yet algorithmically detectable signals in model outputs to identify LLM-generated text, has become crucial in mitigating the potential misuse of large language models. However, the abundance of LLM watermarking algorithms, their intricate mechanisms, and the complex evaluation procedures and perspectives pose challenges for researchers and the community to easily experiment with, understand, and assess the latest advancements. To address these issues, we introduce MarkLLM, an open-source toolkit for LLM watermarking. MarkLLM offers a unified and extensible framework for implementing LLM watermarking algorithms, while providing user-friendly interfaces to ensure ease of access. Furthermore, it enhances understanding by supporting automatic visualization of the underlying mechanisms of these algorithms. For evaluation, MarkLLM offers a comprehensive suite of 12 tools spanning three perspectives, along with two types of automated evaluation pipelines. Through MarkLLM, we aim to support researchers while improving the comprehension and involvement of the general public in LLM watermarking technology, fostering consensus and driving further advancements in research and application. Our code is available at https://github.com/THU-BPM/MarkLLM.

📄 PDF Abstract BibTeX arXiv:2405.10051

Code (1)

thu-bpm/markllm 공식 구현 pytorch

Similar Papers 제목 키워드 기반

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…

MarkDiffusion: An Open-Source Toolkit for Generative Watermarking of Latent Diffusion Models

2025-09-11 · Leyi Pan, Sheng Guan, Zheyu Fu, Luyang Si 외 arxiv

We introduce MarkDiffusion, an open-source Python toolkit for generative watermarking of latent diffusion models. It comprises three key components: a unified implementation framework for streamlined watermarking algorit…

An Unforgeable Publicly Verifiable Watermark for Large Language Models

2023-07-30 · Aiwei Liu, Leyi Pan, Xuming Hu, Shu'ang Li 외

Recently, text watermarking algorithms for large language models (LLMs) have been proposed to mitigate the potential harms of text generated by LLMs, including fake news and copyright issues. However, current watermark d…

Computational Efficiency

A Semantic Invariant Robust Watermark for Large Language Models

2023-10-10 · Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng 외

Watermark algorithms for large language models (LLMs) have achieved extremely high accuracy in detecting text generated by LLMs. Such algorithms typically involve adding extra watermark logits to the LLM's logits at each…

CredID: Credible Multi-Bit Watermark for Large Language Models Identification

2024-12-04 · Haoyu Jiang, Xuhong Wang, Ping Yi, Shanzhe Lei 외

Large Language Models (LLMs) are widely used in complex natural language processing tasks but raise privacy and security concerns due to the lack of identity recognition. This paper proposes a multi-party credible waterm…