cs.CLAug 28, 2026

OpenStamp: A Watermark for Open-Source Language Models

Authors: Miroojin Bakshi, Saksham Rastogi, Danish Pruthi

Organizations: Indian Institute of Science · Carnegie Mellon University

Abstract

With the growing prevalence of large language model (LLM) generated content, watermarking is considered a promising approach for attributing text to LLMs and distinguishing it from human-written content. A prominent class of techniques embeds subtle but detectable signals in generated text by modifying token sampling probabilities. However, such methods are unsuitable for open-source models, where users have white-box access and can easily disable watermarking during inference. In this work, we introduce OpenStamp, a watermarking technique that encodes the watermarking logic directly into the model weights by modifying only the final projection, or unembedding, layer. Through experiments across two models, we show that OpenStamp achieves superior detection performance, with minimal degradation in model capabilities compared to prior methods. The implanted watermark is explicitly designed, and empirically confirmed, to be more robust to paraphrasing attacks and harder to scrub off through post-hoc fine-tuning than prior open-source watermarks. To enable developers to watermark their models, we release our code alongside watermarked versions of 4 popular open-source models.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Tracing Provenance and Detecting Tampering with Complementary LLM Watermarks

    Aug 13, 2026Xiaoyan Feng, Yanjun Zhang, He Zhang +2Data ProvenanceLLM Watermarking

  2. Language Model Fingerprinting Requires Rethinking Watermark Teachers

    Oct 3, 2026Jeongyeon Hwang, Anshul Nasery, Sewoong Oh +1Language Model FingerprintingLLM Watermarking