SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.09924 · ACL · 2025

From Trade-off to Synergy: A Versatile Symbiotic Watermarking Framework for Large Language Models

Yanan Cao, Yubing Ren, Binxing Fang, Yidan Wang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 8 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
redwyd/SymMark — 8 of 11
FunctionStatusWhere it lives
AlgorithmNameMismatchError Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("3c3168ea3c8ca884")
BaseWatermark Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("4cab22d77de7f827")
ComputeEntropy Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("ab61c9a63b8af054")
DataForVisualization Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("14b01e46f6b5227d")
KgwExpConfig Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("122ca35dd2b201dd")
LengthMismatchError Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("3d9f0fc848ddabc3")
TransformersConfig Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("e9663dc9ea5f33df")
load_config_file Ran redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("0d816de51e8bf895")
KGWLogitsProcessor Not yet run redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("654ebf252c19fdef")
KgwExp Not yet run redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("e5055bd0b13b18d4")
KgwExpUtils Not yet run redwyd/SymMark/watermark/kgw_exp/kgw_exp.py
pointer only (licence: NONE) · get_code("8f61fcca234aed38")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The rise of Large Language Models (LLMs) has heightened concerns about the misuse of AI-generated text, making watermarking a promising solution. Mainstream watermarking schemes for LLMs fall into two categories: logits-based and sampling-based. However, current schemes entail trade-offs among robustness, text quality, and security. To mitigate this, we integrate logits-based and sampling-based schemes, harnessing their respective strengths to achieve synergy. In this paper, we propose a versatile symbiotic watermarking framework with three strategies: serial, parallel, and hybrid. The hybrid framework adaptively embeds watermarks using token entropy and semantic entropy, optimizing the balance between detectability, robustness, text quality, and security. Furthermore, we validate our approach through comprehensive experiments on various datasets and models. Experimental results indicate that our method outperforms existing baselines and achieves state-of-the-art (SOTA) performance. We believe this framework provides novel insights into diverse watermarking paradigms. Our code is available at https://github.com/redwyd/SymMark.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.09924")
get_code_for_paper("2505.09924")
have("2505.09924")

Connect an agent — have() is free.