mlsanityData to 7 Oct 2026

Learning to Follow In-Context Watermark Instructions via Self-Distillation

arXiv 2608.29030 ↗First posted 29 Aug 2026cs.AIcited by 0

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

In-context watermarking (ICW) prepends an instruction to a query asking the model to embed a statistically detectable signal in its response. It thus equips LLMs with a watermarking interface that third parties can invoke without access to model internals. Its reliability hinges on the LLM following the instruction without degrading answer quality, yet how well current LLMs do so has not been measured. We introduce mathsfICWBench, a benchmark of three verifiable ICW instruction families, each scored on both detectability and answer quality. Evaluating 14 frontier proprietary and open-source LLMs, we find that none of the evaluated LLMs achieves both objectives across all three families. To address this, we propose a self-contained two-stage training method, requiring no distillation from a stronger model, no manual annotation, and no pre-existing ICW IF ability. The first stage, self-distillation with logits perturbation (SDLP), uses the same base LLM as both teacher and student: an instruction-equivalent decoding-time logits perturbation makes the teacher follow the ICW instruction, and the student is trained to match the teacher's output distribution. The second stage applies reinforcement learning with the automatic verifier as the reward. Applied to Qwen3-14B and GPT-OSS-20B, our method raises average TPR@1%FPR across three ICW instructions from 0.100 to 0.974 and from 0.337 to 0.968, respectively, while maintaining high response quality under both perplexity evaluation and LLM-as-a-Judge.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 61 of its 72 references that are in the map. First posted on arXiv 29 Aug 2026.

Builds on

61 of 72 references.

Closest ancestors · 32

Same direction, newest first

  1. 2026MC2Mark: Distortion-Free Multi-Bit Watermarking for Long Messages15 Feb
  2. 2026More Haste, Less Speed: Weaker Single-Layer Watermark Improves Distortion-Free Watermark Ensembles12 Feb
  3. 2025TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidance1 Dec
  4. 2025A Reinforcement Learning Framework for Robust and Secure LLM Watermarking23 Oct
  5. 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoption21 Oct
  6. 2025Analyzing and Evaluating Unbiased Language Model Watermark28 Sep
  7. 2025RLCracker: Evaluating the Worst-Case Vulnerability of LLM Watermarks with Adaptive RL Attacks25 Sep
  8. 2025In-Context Watermarks for Large Language Models22 May
  9. 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learning9 Apr
  10. 2025Improved Unbiased Watermark for Large Language Models16 Feb
  11. 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs15 Feb
  12. 2024SoK: Watermarking for AI-Generated Content27 Nov
20 more
  1. 2024Robust Detection of Watermarks for Large Language Models Under Human Edits21 Nov
  2. 2024Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach3 Oct
  3. 2024PostMark: A Robust Blackbox Watermark for Large Language Models20 Jun
  4. 2024A Statistical Framework of Watermarks for Large Language Models: Pivot, Detection Efficiency and Optimal Rules1 Apr
  5. 2024Duwak: Dual Watermarks in Large Language Models12 Mar
  6. 2024WaterMax: breaking the LLM watermark detectability-robustness-quality trade-off6 Mar
  7. 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMs8 Feb
  8. 2024Adaptive Text Watermark for Large Language Models25 Jan
  9. 2023A Survey of Text Watermarking in the Era of Large Language Models13 Dec
  10. 2023Watermarks in the Sand: Impossibility of Strong Watermarking for Generative Models7 Nov
  11. 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Models18 Oct
  12. 2023A Semantic Invariant Robust Watermark for Large Language Models10 Oct
  13. 2023An Unforgeable Publicly Verifiable Watermark for Large Language Models30 Jul
  14. 2023Robust Distortion-free Watermarks for Language Models28 Jul
  15. 2023Three Bricks to Consolidate Watermarks for Large Language Models26 Jul
  16. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
  17. 2023Undetectable Watermarks for Language Models25 May
  18. 2023Can AI-Generated Text be Reliably Detected?17 Mar
  19. 2023Protecting Language Generation Models via Invisible Watermarking6 Feb
  20. 2023A Watermark for Large Language Models24 Jan

Other references · 29

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  7. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  8. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  9. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  10. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  11. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  12. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
17 more
  1. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  2. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  3. 2023Efficient Guided Generation for Large Language Modelscited by 192
  4. 2023RADAR: Robust AI-Text Detection via Adversarial Learningcited by 187
  5. 2023GPT detectors are biased against non-native English writerscited by 175
  6. 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 128
  7. 2023FollowBench: A Multi-level Fine-grained Constraints Following Benchmark for Large Language Modelscited by 112
  8. 2024RingID: Rethinking Tree-Ring Watermarking for Enhanced Multi-Key Identificationcited by 87
  9. 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
  10. 2023A Survey on Detection of LLMs-Generated Contentcited by 70
  11. 2023Can LLMs Follow Simple Rules?cited by 45
  12. 2024Image Watermarks are Removable Using Controllable Regeneration from Clean Noisecited by 43
  13. 2021Paraphrastic Representations at Scalecited by 19
  14. 2025Detecting LLM-Generated Peer Reviewscited by 18
  15. 2026GPTZero: Robust Detection of LLM-Generated Textscited by 10
  16. 2025Distributional Information Embedding: A Framework for Multi-bit Watermarkingcited by 8
  17. 2026ConvexBench: Can LLMs Recognize Convex Functions?cited by 3

Built on by

Not cited yet.