# MarkTune: Improving the Quality-Detectability Trade-off in Model-Embedded LLM Watermarking

*Yizhou Zhao, Steven Wu, Adam Block*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155648) · [OpenReview](https://openreview.net/forum?id=42tU2vcTxH) · [alphaXiv](https://www.alphaxiv.org/abs/2512.04044) · [Open on the map](../papers.html#p155648)

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [LLM Watermarking](../pgroup/571.md) · Type: new method · Keywords: model-embedded watermarking, quality-detectability trade-off, on-policy fine-tuning, robust watermark detection, LLM security

Areas: [Safety & Security](../areas/safety.md) › Generative Model Integrity › Language Model Watermarking

## Summary
MarkTune is a theoretically grounded on-policy fine-tuning framework that improves the quality-detectability trade-off of model-embedded LLM watermarking while preserving generation quality and robustness.

## Explained to a 5-year-old
Some computers hide secret messages inside the words they write, like a hidden drawing in a picture. Usually, when the secret is strong, the words become less natural and sound weird. MarkTune teaches the computer to hide the secret while still making the words sound normal, like adding a secret code that doesn't change the story. It also makes sure the secret stays hidden even if someone changes the words a little. This helps keep the secret safe without making the computer slower.

## Explained to a 5-year-old, longer
Computers that write stories can hide tiny secret codes inside the words they produce, like a secret picture hidden in a drawing. These secret codes are called watermarks and help prove who wrote the story. Some watermarks work while the computer is writing, but they make the computer slower. Other watermarks are built right into the computer’s memory, so they cost no extra time when the computer writes. However, the hidden codes that are very easy to find often make the words sound strange or less natural. The new method, called MarkTune, tries to solve this problem by teaching the computer to hide a strong code while keeping the words smooth and natural. It does this by adjusting the computer’s internal numbers in a careful way, using a special training process that balances two goals. First, it wants the secret code to be easy for the right people to see. Second, it wants the story’s quality to stay high, so readers don’t notice anything odd. The training also adds extra safety so that even if someone rewrites the story or changes a few words, the secret code still works. Because the method works on many different sets of stories, it can still find the secret even when it sees new, unseen text.

## For a technical reader
MarkTune fine-tunes a language model using an on-policy objective that treats an existing watermark detection statistic as a reward while adding a quality regularizer. This dual objective shifts the quality-detectability frontier, allowing detection performance comparable to inference-time schemes without compromising generation quality. The framework also incorporates robustness mechanisms that preserve detection under paraphrasing and model fine-tuning, and it generalizes across different corpora.

## Problem
Model-embedded watermarking methods suffer from a trade-off where strong detection often degrades text generation quality, limiting their practical adoption. This problem hinders the use of watermarks in open-weight settings where inference overhead must be avoided.

## Method
The approach treats the GaussMark detection statistic as a reward and performs on-policy fine-tuning while adding a regularization term that encourages high text quality. This fine-tuning adjusts model weights to embed a watermark that can be detected without altering the generation pipeline. The method also includes robustness measures against paraphrasing and fine-tuning attacks.

## Results
The approach significantly improves the quality-detectability trade-off, achieving detection performance comparable to inference-time schemes while maintaining generation quality and downstream task performance, and it remains robust to paraphrasing and fine-tuning attacks, with detection power persisting on unseen data.

## Contributions
A theoretically grounded on-policy fine-tuning framework that jointly optimizes watermark detectability and text quality, along with robustness to paraphrasing and fine-tuning attacks and cross-dataset generalization.

## Practical relevance
It enables reliable watermarking for open-weight language models without slowing down generation, supporting copyright protection and provenance tracking.

## Research questions this paper is counted under

- [How can we embed multiple bits of information into LLM text while preserving its quality?](../q/192.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155648)
