← Latest papers
💻 computer science

ChiselMark: Efficient and Detectable Watermarking for Large Language Models under Speculative Sampling

This paper introduces ChiselMark, a novel watermarking framework that co-designs detection mechanisms with speculative sampling architectures to eliminate the efficiency losses caused by traditional logit-reweighting methods while maintaining robust detectability.

Original authors: Shizhan Cai, Yiming Li, Yongcheng Jing, Siyuan Liang, Dacheng Tao

Published 2026-11-17
📖 5 min read🧠 Deep dive

Original authors: Shizhan Cai, Yiming Li, Yongcheng Jing, Siyuan Liang, Dacheng Tao

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the rapidly evolving world of artificial intelligence, large language models have become powerful tools capable of generating human-like text, from writing code to composing stories. Because these models are expensive to build and train, companies often offer them as services, charging users to access their capabilities. However, this openness creates a vulnerability: bad actors can secretly route their own requests through these paid services, collect the high-quality outputs, and sell them as their own, effectively stealing the intellectual property of the original creators. To combat this, researchers have developed a method called generation-time watermarking. Imagine a secret signal embedded into the very fabric of the text as it is written, invisible to the human eye but detectable by a special key held by the model's owner. This signal allows anyone to prove later that a specific piece of text came from a particular model, acting as a digital fingerprint for accountability and copyright protection.

Yet, as these models move from research labs into real-world applications, the way they generate text has changed to become faster and more efficient. One popular technique, known as speculative sampling, works like a skilled editor who drafts several sentences at once and then quickly checks them against the final authority. A smaller, faster model proposes a sequence of words, and the larger, more accurate model verifies them in a single glance. If the proposals look good, they are accepted all at once, speeding up the process significantly. The challenge arose when researchers tried to combine the secret watermarking signals with this speed-boosting technique. They found that simply adding the watermark to both the fast draft and the slow verification caused a strange problem: the speed boost vanished. The very mechanism designed to make the system faster was being slowed down by the attempt to protect it, creating a conflict between security and efficiency.

A team of researchers at Nanyang Technological University set out to solve this puzzle. They discovered that the failure of previous attempts stemmed from a hidden assumption carried over from older methods. Those methods treated the watermark as a uniform force applied everywhere, assuming that the cost of writing the signal was the same regardless of the context. However, under the new speculative sampling system, the cost of writing a signal depends heavily on the relationship between the fast draft and the slow verification. When the watermark is applied blindly, it disrupts the delicate agreement between the two models, causing the fast draft to be rejected more often and forcing the system to slow down and generate text one word at a time, defeating the purpose of the speed-up.

To fix this, the researchers developed a new framework called ChiselMark. Instead of applying the watermark uniformly, they designed a system that is selective and aware of the architecture it is working with. The process begins by identifying specific spots in the text where a watermark could be written without causing trouble. Before actually writing the signal, the system performs a quick check to see if the local conditions are favorable. It asks whether the fast draft model is likely to accept the change without breaking the flow. If the conditions are right, the signal is written; if not, the system skips that spot and moves on. This approach is applied differently depending on the type of speed-up technology being used. For the token-level method, where words are proposed one by one, the system checks the draft model's confidence before making a decision. For more advanced methods that propose entire trees of possible words, the system waits until the tree is fully built before applying the signal, ensuring that the structure of the proposal remains untouched.

The results of this new approach were striking. When tested across various models and tasks, ChiselMark successfully recovered most of the speed that was lost when using older, less careful watermarking methods. In some cases, the system retained nearly all of its original efficiency, with the speed of generation returning to levels almost indistinguishable from when no watermark was present at all. At the same time, the system remained highly effective at detecting the watermark. Even when the text was edited, with words removed or replaced, the secret signal could still be found, proving that the text originated from the protected model. The researchers found that this method worked consistently across different model sizes and types of tasks, from coding to creative writing.

This work demonstrates that security measures for artificial intelligence cannot be treated as simple add-ons that are bolted onto existing systems. Instead, they must be designed in harmony with the underlying architecture that powers the model. By understanding exactly how the speed-up mechanisms work and tailoring the watermarking to fit those specific conditions, the researchers showed that it is possible to have both high-speed performance and robust protection. The findings suggest a path forward for the industry, where models can be deployed quickly and safely, with their outputs traceable to their source without sacrificing the speed that makes them useful in the first place.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →