Pin It on Anyone: Certified Targeted Displacement of Multi-Bit LLM Watermarks Without the Key
Organizations: Heinrich Heine University Düsseldorf · Jagiellonian University · IDEAS Research Institute
Abstract
Multi-bit watermarking embeds a message, typically an account identifier, into LLM output so that harmful text can be traced to its origin. We show an attack technique that allows to alter the watermarking message. This allows to, for example, exchange the embedded account ID to an arbitrary different one. The attacker mainly needs access to a few accounts for generating LLM output and model logits, but crucially not the secret key used to watermark. The attacker then rewrites the text, keeping its meaning, so that the watermarking message decoder recovers the watermarking message embedded by the attacker. We are, to our knowledge, the first to propose such an attack, which we call a targeted displacement. Theoretically, we present upper and lower bounds on the probability of our attack succeeding. This bound depends on the number of accounts the attacker has access to, the length of the message and some characteristics of the given text. Our attack can succeed whenever we can bound the ambiguity of the generated text well enough. Empirically, we test our attack technique against five watermarking methods and four LLMs. Attack success tracks our predicted bounds, allowing us to alter watermarking messages in almost all cases with high accuracy, given enough accounts. Our code can be found at https://github.com/Batorskq/PinIt.
Figures & tables
| decoding accuracy (%) | fidelity to the source | ||||||||||||
| clean | no attack | own acc. | accounts | BERTScore | ROUGE-L | LLM judge (1–5) | |||||||
| Generator | BA | BA | BA | EM | BA | EM | para. | attack | para. | attack | para. | attack | |
| Llama-2-7B | 8 | 96.5 | 50.2 | 100.0 | 100 | 100.0 | 100 | 0.89 | 0.84 | 0.48 | 0.32 | 3.4 | 2.7 |
| 16 | 93.5 | 49.2 | 100.0 | 100 | 99.9 | 99 | 0.90 | 0.84 | 0.48 | 0.32 | 3.4 | 2.9 | |
| Llama-3.1-8B | 8 | 98.0 | 49.2 | 100.0 | 100 | 100.0 | 100 | 0.90 | 0.86 | 0.39 | 0.28 | 3.6 | 3.1 |
| 16 | 94.8 | 49.4 | 100.0 | 100 | 99.9 | 99 | 0.90 | 0.87 | 0.40 | 0.29 | 3.5 | 3.2 | |
| certificate | |||||
| Scheme | succ. | cert. | succ. | succ. | flagged |
| rule | |||||
| MPAC | 100 | 70 | 77 | 4 | 0/104 |
| RSBH | 100 | 8 | 14 | 1 | 6/92 |
| StealthInk | 100 | 60 | 93 | 5 | 0/108 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Watermarked source | Paraphrase without the attack | Attack rewrite |
|---|---|---|
| Example 1. Qwen3.5-4B, , 12 colluding accounts. Target , decoded . Paraphrase / attack rewrite: judge 5.0 / 4.0, ROUGE-L 0.53 / 0.51, BERTScore 0.93 / 0.93. | ||
| Google Music will continue to be free to download in the U.S., but the service is shutting down for free users in all of Europe, except for Italy. Apple Music, now in beta testing, seems to be getting the best of all worlds. It offers a monthly subscription service like Spotify and Google Music, but the company is also offering an option to buy your music from the App Store. Apple Music is available for testing in the U.S. only for now and it will be available as an in-app purchase on both iOS and Mac for users in beta. So there are a lot of choices for mobile music consumers, and Google Music is a strong contender for those looking for a cloud music experience. Does the “cloud music” label mean that it’s only available on mobile devices? No. You can use the Google Music app on your iPhone and Android. You can also access the service through a web browser. How much of your music is stored on your computer | Google Music remains free to download within the U.S.; however, the service is ending for free users across all European countries except Italy. Apple Music, currently in beta, appears to combine the best features of both worlds: it offers a monthly streaming subscription similar to Spotify and Google, while also allowing users to purchase individual tracks from the App store. For now, Apple Music is available exclusively for testing in America, where beta users can access it as an in-purchase on both iOS devices and Mac computers. Consequently, mobile music consumers have numerous options, with Google Music serving as a strong choice for those seeking a cloud-based music experience. The term "cloud music" does not imply the service is limited to mobile devices; users can stream via the app on iPhones and Android phones, as well as through any web browser. | Users will still be able to download Google Music for free from America. However, in every part Europe other except for Italy, free access to music is shutting down. Apple Music, which is now in beta, appears to combine the best of both options: a subscription service that works the type of Spotify and Google plus an option to purchase songs from Apple Store. Apple is available only for testing right now in America. It is available as an on-the-floor, in-app store purchase to iOS and MAC users who participate in beta testing the service. So there are many options for mobile consumers and Google Music remains a very strong contender if people are searching out the best cloud-based music experience. The label "cloud music" does not mean it is only for mobile phones or tablets. You can utilize Google Music on an iOS and Android phone, plus on the web. So much of your personal library stored on the personal computer. |
| Example 2. Llama-3.1-8B, , 12 colluding accounts. Target , decoded . Paraphrase / attack rewrite: judge 4.0 / 4.0, ROUGE-L 0.41 / 0.40, BERTScore 0.91 / 0.89. | ||
| They also collected money for those in struggle and leafleted with information. The event went on for two hours. The speakers at the rally included a young man from Afghanistan, who said, “The U.S. has been bombing my country for 16 years. We don’t want this war. We don’t support this war. We support peace, not war.” The speaker from the Philippines, who is also a veteran of the U.S.’ wars there, said, “The people of the Philippines have been resisting the U.S. for more than 120 years. The American imperialists have never been able to subjugate the Filipino people, and they never will.” The IAC also set up an anti-imperialist book table on Wilshire Boulevard at the corner of Western. The table was staffed by IAC members who spoke to passers-by about the U.S. war in Afghanistan, the U.S. wars in Korea and the Philippines, and the U.S. attack on | The event featured fundraising efforts for those affected by conflict, as well as the distribution of informational leaflets. The rally itself lasted for two hours. Speakers at the event included a young Afghan man, who emphasized that the U.S.’s 16-year bombing campaign in his country has been met with opposition. He stated that the Afghan people do not support the ongoing war and instead advocate for peace. A speaker from the Phillipines, who has also experienced U.S. military involvement firsthand, noted that the Phillipine people have been resisting U.S. influence for over 120 years, with the U.S.-led imperialist efforts ultimately proving unsuccessful. The IAC set up an information table on Wilhire Boulevard at Western Avenue, where members engaged with passersby about U.S. involvement in various conflicts, including Afghanistan, Korea, and the Phillipines. | The demonstration featured fundraising efforts for communities impacted by war. In conjunction, participants distributed leaflets with relevant informational materials during the two-hours-long protest. A speaker at the rally from Afghanistan expressed his country’s prolonged experience of conflict, having been bombed by the U. S for nearly sixteen years. He emphasized that the Afghan people’s opposition to war remains unwavering, with their desire for peaceful resolution being the primary stance. A veteran from the U. s-affected Philippines also shared his views at the rally. He highlighted the long history between the U. and s the Philippine people, with their resistance dating back over more a century. He confidently stated that the U. could never subsume their people under its control. The IAC set-up a book display on Wilhire Boulevard, at the intersection of Western. This display was staffed and monitored by IAC volunteers who spoke with on-looking passers-by, addressing the U. ’S involvement in conflicts in countries including Afghanistan, s Korea, s the U. the U. as and s the U, s the attack. |
| clean | no attack | own acc. | accounts | BERTScore | perplexity | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Scheme | Generator | BA | BA | BA | EM | BA | EM | paraphrase | attack | source | attack | |
| MPAC (binary) | 8 | Llama-2-7B | 96.5 | 50.2 | 100.0 | 100 | 100.0 | 100 | 0.89 | 0.84 | 4.9 | 41.7 |
| Llama-3.1-8B | 98.0 | 49.2 | 100.0 | 100 | 100.0 | 100 | 0.90 | 0.86 | 4.4 | 19.8 | ||
| Qwen3.5-4B | 99.0 | 48.0 | 100.0 | 100 | 100.0 | 100 | 0.90 | 0.86 | 5.8 | 23.5 | ||
| Qwen3.5-9B | 98.4 | 52.5 | 100.0 | 100 | 100.0 | 100 | 0.91 | 0.86 | 5.4 | 24.3 | ||
| mean | 98.0 | 50.0 | 100.0 | 100 | 100.0 | 100 | 0.90 | 0.86 | 5.1 | 27.3 | ||
| Scheme | seconds per rewritten text | queries | corpus | |||||
|---|---|---|---|---|---|---|---|---|
| Llama-2-7B | Llama-3.1-8B | Qwen3.5-4B | Qwen3.5-9B | per rewrite | (min) | |||
| MPAC | 8 | 200 | 1 | 2 | 3 | 3 | 120 | 3 |
| 16 | 200 | 1 | 2 | 3 | 3 | 174 | 3 | |
| 32 | 200 | 2 | 2 | 4 | 5 | 845 | 2 | |
| 64 | 200 | 2 | 3 | 5 | 5 | 1555 | 2 | |
| 8 | 400 | 3 | 3 | 6 | 7 | 276 | 5 | |
| exact target match (%) | facts kept | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Generator | Text | own, | own, | , | , | judges | NLI | numbers | entities |
| Llama-2-7B | paraphrase | 4.21 | 0.74 | 0.85 | 0.83 | ||||
| , block incl. source | 100 | 100 | 100 | 99 | 2.76 | 0.51 | 0.07 | 0.21 | |
| , rewrite-only block | 100 | 100 | 100 | 99 | 2.76 | 0.50 | 0.08 | 0.24 | |
| + fact protection | 100 | 90 | 100 | 93 | 3.10 | 0.59 | 0.66 | 0.56 | |
| Llama-3.1-8B | paraphrase | 4.17 | 0.75 | 0.80 | 0.77 | ||||
LLM Watermarking
Large language model watermarking embeds or detects signals in text and models to trace provenance, ownership, and unauthorized use.
See all 111 papers