← Latest papers
💻 computer science

Codebook-constrained soft decoding improves message recovery and attribution in localized watermarks

By restricting messages to a 16-bit error-correcting codebook and employing soft maximum-likelihood decoding with calibrated thresholds, the proposed method significantly improves exact message recovery and attribution accuracy while reducing false attributions in localized image watermarking without requiring retraining of the underlying Watermark Anything (WAM) model.

Original authors: Hyeong Gyun Yun, Hye Young Kim

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

Original authors: Hyeong Gyun Yun, Hye Young Kim

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 digital age, images are no longer just pictures; they are data packets that can carry hidden signatures. Invisible watermarks are the tools used to stamp these signatures onto content, allowing us to trace who created an image or to verify that a picture has not been altered. For years, the standard approach was to hide a single message across an entire image, like a watermark on a banknote. However, as artificial intelligence begins to generate and remix content, a single global stamp is often insufficient. When a photo is cropped, or when parts of several different images are stitched together, a global watermark may make it harder to detect or attribute. This has led researchers to develop "localized" watermarks, which can hide multiple distinct messages in different corners of the same picture, much like placing different labels on different items in a single box. The challenge, however, has been reading these labels accurately when the image has been distorted, cropped, or compressed, and ensuring that the system does not mistakenly assign a label to the wrong person.

A team of researchers at Hongik University has tackled this problem by refining how these hidden messages are read, rather than how they are written. They started with an existing system called Watermark Anything (WAM), which is capable of detecting multiple watermarks in a single image by grouping pixels together. While the original system could find these groups, it struggled to read the exact message inside them, often failing if even a few bits of data were corrupted by image editing. The researchers introduced a new reading method that acts like a strict librarian. Instead of accepting any random string of data that looks close enough, they forced every message to be one of a specific, pre-approved list of 65,536 unique codes. When the system finds a watermarked region, it does not just guess the message; it compares the noisy, damaged data against every single one of those 65,536 approved codes to find the best possible match.

The results of this approach were striking. In tests involving 3,000 images that had been subjected to various distortions, such as being flipped horizontally or having their contrast changed, the new method recovered the exact message 94.4% of the time under the horizontal-flip-plus-contrast-1.5 test condition. This was a massive improvement over the original system, which only succeeded 50.8% of the time under the same conditions. The researchers discovered that the key to this success was not the specific mathematical structure of the codes they used, but rather the fact that the codes were far apart from one another and that the system used a "soft" reading technique. This soft technique allowed the system to weigh the confidence of every pixel in a watermarked area, rather than just taking a simple majority vote, which helped it correct errors that would have otherwise ruined the message.

Beyond simply reading the messages better, the new method also addressed a critical security issue: false attribution. In the original system, if a damaged part of an image looked slightly like a registered user's ID, the system might mistakenly blame that user for the content. The new method, combined with a careful calibration process, resulted in a one-sided upper confidence bound of less than 0.32% for false attribution, while still correctly identifying the right user 80.2% of the time. This means the system is much less likely to falsely accuse an innocent person of creating content they did not make. The researchers also tested what would happen if a bad actor tried to forge a watermark. They found that if the assignment of user IDs to codes is kept secret, no targeted impersonation was observed in the tested attack. However, if the codebook is public, forged regions could still be attributed to unrelated registered users, highlighting that secret keys are still necessary for full security.

The study also shed light on why previous evaluations of these systems were misleading. The original system reported high accuracy by measuring how close the decoded bits were to the original, even if the final message was wrong. The researchers showed that this metric was like grading a student on how many letters they got right in a misspelled word, rather than whether they spelled the word correctly. By focusing on exact message recovery, they revealed that the original system was failing far more often than it appeared. Furthermore, they found that when two watermarks are placed too close together in terms of their data patterns, the system tends to merge them into a single, unreadable blob. This suggests that for localized watermarks to work reliably, the messages placed in the same image must be sufficiently different from one another.

Ultimately, this work demonstrates that significant improvements in digital watermarking can be achieved without retraining the complex artificial intelligence models that create the watermarks. By changing only how the messages are encoded before they are hidden and how they are decoded after they are found, the researchers created a system that is far more robust and trustworthy. The findings suggest that for digital provenance to be reliable in a world of mixed and edited content, we need systems that can read messages exactly, not just approximately, and that can distinguish clearly between a genuine signal and a false alarm. The researchers conclude that while their method greatly improves recovery and attribution, it must be paired with secret keys to prevent forgery, and future systems must be evaluated based on whether they recover the full message, not just the individual bits.

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 →