Journal article · 2025 · Open access

A Contrastive Semantic Watermarking Framework for Large Language Models

Jianxin Wang, Xiangze Chang, Chaoen Xiao, Lei Zhang

Symmetry, 17(7), 1124 · Published 14 July 2025 · DOI 10.3390/sym17071124

Open PDFView at the publisherCite this paper

In brief

“A Contrastive Semantic Watermarking Framework for Large Language Models” is a 2025 journal article by Jianxin Wang and 3 co-authors, published in Symmetry. OpenAlex counts 3 citations as of 29 November 2026, which puts it in the top 5% of works published in 2025 by citations. It is open access under a CC BY licence: the full text is free to read at Symmetry.

Citations
3
Most cited in
2026 (3)
Field-weighted impact
0.53
References
25
Authors
4

Abstract

The widespread deployment of large language models (LLMs) has raised urgent demands for verifiable content attribution and misuse mitigation. Existing text watermarking techniques often struggle in black-box or sampling-based scenarios due to limitations in robustness, imperceptibility, and detection generality. These challenges are particularly critical in open-access settings, where model internals and generation logits are unavailable for attribution. To address these limitations, we propose CWS (Contrastive Watermarking with Semantic Modeling)—a novel keyless watermarking framework that integrates contrastive semantic token selection and shared embedding space alignment. CWS enables context-aware, fluent watermark embedding while supporting robust detection via a dual-branch mechanism: a lightweight z-score statistical test for public verification and a GRU-based semantic decoder for black-box adversarial robustness. Experiments on GPT-2, OPT-1.3B, and LLaMA-7B over C4 and DBpedia datasets demonstrate that CWS achieves F1 scores up to 99.9% and maintains F1 ≥ 93% under semantic rewriting, token substitution, and lossy compression (ε ≤ 0.25, δ ≤ 0.2). The GRU-based detector offers a superior speed–accuracy trade-off (0.42 s/sample) over LSTM and Transformer baselines. These results highlight CWS as a lightweight, black-box-compatible, and semantically robust watermarking method suitable for practical content attribution across LLM architectures and decoding strategies. Furthermore, CWS maintains a symmetrical architecture between embedding and detection stages via shared semantic representations, ensuring structural consistency and robustness. This semantic symmetry helps preserve detection reliability across diverse decoding strategies and adversarial conditions.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Wang, J., Chang, X., Xiao, C., & Zhang, L. (2025). A Contrastive Semantic Watermarking Framework for Large Language Models. Symmetry, 17(7), 1124. https://doi.org/10.3390/sym17071124

MLA 9

Wang, Jianxin, et al. “A Contrastive Semantic Watermarking Framework for Large Language Models.” Symmetry, vol. 17, no. 7, 2025, p. 1124. https://doi.org/10.3390/sym17071124.

Chicago

Wang, Jianxin, Xiangze Chang, Chaoen Xiao, and Lei Zhang. 2025. “A Contrastive Semantic Watermarking Framework for Large Language Models.” Symmetry 17 (7): 1124. https://doi.org/10.3390/sym17071124.

Harvard

Wang, J. et al. (2025) ‘A Contrastive Semantic Watermarking Framework for Large Language Models’, Symmetry, 17(7), p. 1124. doi:10.3390/sym17071124.

IEEE

J. Wang, X. Chang, C. Xiao, and L. Zhang, “A Contrastive Semantic Watermarking Framework for Large Language Models,” Symmetry, vol. 17, no. 7, p. 1124, 2025, doi: 10.3390/sym17071124.

BibTeX

@article{wang2025contrastive,
  title     = {{A Contrastive Semantic Watermarking Framework for Large Language Models}},
  author    = {Wang, Jianxin and Chang, Xiangze and Xiao, Chaoen and Zhang, Lei},
  journal   = {Symmetry},
  year      = {2025},
  volume    = {17},
  number    = {7},
  pages     = {1124},
  doi       = {10.3390/sym17071124},
  url       = {https://doi.org/10.3390/sym17071124}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Steganography and Watermarking Techniques

  • text watermarking
  • large language models
  • adversarial robustness
  • lossy compression robustness

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Wang, J., Chang, X., Xiao, C., & Zhang, L. (2025). A Contrastive Semantic Watermarking Framework for Large Language Models. Symmetry, 17(7), 1124. https://doi.org/10.3390/sym17071124

How many times has this paper been cited?

3 times, according to OpenAlex on 29 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at Symmetry: sign in and open the PDF from this page.

Who wrote this paper?

Jianxin Wang, Xiangze Chang, Chaoen Xiao, Lei Zhang.

What is the DOI of this paper?

10.3390/sym17071124, permanently at https://doi.org/10.3390/sym17071124. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 29 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.