On the Reliability of Watermarks for Large Language Models. Kirchenbauer, J., Geiping, J., Wen, Y., Shu, M., Saifullah, K., Kong, K., Fernando, K., Saha, A., Goldblum, M., & Goldstein, T. In Vienna, Austria, May, 2023. arXiv. arXiv:2306.04634 [cs]
Paper doi abstract bibtex As LLMs become commonplace, machine-generated text has the potential to flood the internet with spam, social media bots, and valueless content. Watermarking is a simple and effective strategy for mitigating such harms by enabling the detection and documentation of LLM-generated text. Yet a crucial question remains: How reliable is watermarking in realistic settings in the wild? There, watermarked text may be modified to suit a user's needs, or entirely rewritten to avoid detection. We study the robustness of watermarked text after it is re-written by humans, paraphrased by a non-watermarked LLM, or mixed into a longer hand-written document. We find that watermarks remain detectable even after human and machine paraphrasing. While these attacks dilute the strength of the watermark, paraphrases are statistically likely to leak n-grams or even longer fragments of the original text, resulting in high-confidence detections when enough tokens are observed. For example, after strong human paraphrasing the watermark is detectable after observing 800 tokens on average, when setting a 1e-5 false positive rate. We also consider a range of new detection schemes that are sensitive to short spans of watermarked text embedded inside a large document, and we compare the robustness of watermarking to other kinds of detectors.
@inproceedings{kirchenbauer_reliability_2023,
address = {Vienna, Austria},
title = {On the {Reliability} of {Watermarks} for {Large} {Language} {Models}},
url = {http://arxiv.org/abs/2306.04634},
doi = {10.48550/arXiv.2306.04634},
abstract = {As LLMs become commonplace, machine-generated text has the potential to flood the internet with spam, social media bots, and valueless content. Watermarking is a simple and effective strategy for mitigating such harms by enabling the detection and documentation of LLM-generated text. Yet a crucial question remains: How reliable is watermarking in realistic settings in the wild? There, watermarked text may be modified to suit a user's needs, or entirely rewritten to avoid detection. We study the robustness of watermarked text after it is re-written by humans, paraphrased by a non-watermarked LLM, or mixed into a longer hand-written document. We find that watermarks remain detectable even after human and machine paraphrasing. While these attacks dilute the strength of the watermark, paraphrases are statistically likely to leak n-grams or even longer fragments of the original text, resulting in high-confidence detections when enough tokens are observed. For example, after strong human paraphrasing the watermark is detectable after observing 800 tokens on average, when setting a 1e-5 false positive rate. We also consider a range of new detection schemes that are sensitive to short spans of watermarked text embedded inside a large document, and we compare the robustness of watermarking to other kinds of detectors.},
urldate = {2024-05-02},
publisher = {arXiv},
author = {Kirchenbauer, John and Geiping, Jonas and Wen, Yuxin and Shu, Manli and Saifullah, Khalid and Kong, Kezhi and Fernando, Kasun and Saha, Aniruddha and Goldblum, Micah and Goldstein, Tom},
month = may,
year = {2023},
note = {arXiv:2306.04634 [cs]},
keywords = {Computer Science - Computation and Language, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Year-1-Pubs-Direct},
}
Downloads: 0
{"_id":"WHYAb2iTpoQgxAtbi","bibbaseid":"kirchenbauer-geiping-wen-shu-saifullah-kong-fernando-saha-etal-onthereliabilityofwatermarksforlargelanguagemodels-2023","author_short":["Kirchenbauer, J.","Geiping, J.","Wen, Y.","Shu, M.","Saifullah, K.","Kong, K.","Fernando, K.","Saha, A.","Goldblum, M.","Goldstein, T."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","address":"Vienna, Austria","title":"On the Reliability of Watermarks for Large Language Models","url":"http://arxiv.org/abs/2306.04634","doi":"10.48550/arXiv.2306.04634","abstract":"As LLMs become commonplace, machine-generated text has the potential to flood the internet with spam, social media bots, and valueless content. Watermarking is a simple and effective strategy for mitigating such harms by enabling the detection and documentation of LLM-generated text. Yet a crucial question remains: How reliable is watermarking in realistic settings in the wild? There, watermarked text may be modified to suit a user's needs, or entirely rewritten to avoid detection. We study the robustness of watermarked text after it is re-written by humans, paraphrased by a non-watermarked LLM, or mixed into a longer hand-written document. We find that watermarks remain detectable even after human and machine paraphrasing. While these attacks dilute the strength of the watermark, paraphrases are statistically likely to leak n-grams or even longer fragments of the original text, resulting in high-confidence detections when enough tokens are observed. For example, after strong human paraphrasing the watermark is detectable after observing 800 tokens on average, when setting a 1e-5 false positive rate. We also consider a range of new detection schemes that are sensitive to short spans of watermarked text embedded inside a large document, and we compare the robustness of watermarking to other kinds of detectors.","urldate":"2024-05-02","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Kirchenbauer"],"firstnames":["John"],"suffixes":[]},{"propositions":[],"lastnames":["Geiping"],"firstnames":["Jonas"],"suffixes":[]},{"propositions":[],"lastnames":["Wen"],"firstnames":["Yuxin"],"suffixes":[]},{"propositions":[],"lastnames":["Shu"],"firstnames":["Manli"],"suffixes":[]},{"propositions":[],"lastnames":["Saifullah"],"firstnames":["Khalid"],"suffixes":[]},{"propositions":[],"lastnames":["Kong"],"firstnames":["Kezhi"],"suffixes":[]},{"propositions":[],"lastnames":["Fernando"],"firstnames":["Kasun"],"suffixes":[]},{"propositions":[],"lastnames":["Saha"],"firstnames":["Aniruddha"],"suffixes":[]},{"propositions":[],"lastnames":["Goldblum"],"firstnames":["Micah"],"suffixes":[]},{"propositions":[],"lastnames":["Goldstein"],"firstnames":["Tom"],"suffixes":[]}],"month":"May","year":"2023","note":"arXiv:2306.04634 [cs]","keywords":"Computer Science - Computation and Language, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Year-1-Pubs-Direct","bibtex":"@inproceedings{kirchenbauer_reliability_2023,\n\taddress = {Vienna, Austria},\n\ttitle = {On the {Reliability} of {Watermarks} for {Large} {Language} {Models}},\n\turl = {http://arxiv.org/abs/2306.04634},\n\tdoi = {10.48550/arXiv.2306.04634},\n\tabstract = {As LLMs become commonplace, machine-generated text has the potential to flood the internet with spam, social media bots, and valueless content. Watermarking is a simple and effective strategy for mitigating such harms by enabling the detection and documentation of LLM-generated text. Yet a crucial question remains: How reliable is watermarking in realistic settings in the wild? There, watermarked text may be modified to suit a user's needs, or entirely rewritten to avoid detection. We study the robustness of watermarked text after it is re-written by humans, paraphrased by a non-watermarked LLM, or mixed into a longer hand-written document. We find that watermarks remain detectable even after human and machine paraphrasing. While these attacks dilute the strength of the watermark, paraphrases are statistically likely to leak n-grams or even longer fragments of the original text, resulting in high-confidence detections when enough tokens are observed. For example, after strong human paraphrasing the watermark is detectable after observing 800 tokens on average, when setting a 1e-5 false positive rate. We also consider a range of new detection schemes that are sensitive to short spans of watermarked text embedded inside a large document, and we compare the robustness of watermarking to other kinds of detectors.},\n\turldate = {2024-05-02},\n\tpublisher = {arXiv},\n\tauthor = {Kirchenbauer, John and Geiping, Jonas and Wen, Yuxin and Shu, Manli and Saifullah, Khalid and Kong, Kezhi and Fernando, Kasun and Saha, Aniruddha and Goldblum, Micah and Goldstein, Tom},\n\tmonth = may,\n\tyear = {2023},\n\tnote = {arXiv:2306.04634 [cs]},\n\tkeywords = {Computer Science - Computation and Language, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Year-1-Pubs-Direct},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Kirchenbauer, J.","Geiping, J.","Wen, Y.","Shu, M.","Saifullah, K.","Kong, K.","Fernando, K.","Saha, A.","Goldblum, M.","Goldstein, T."],"key":"kirchenbauer_reliability_2023","id":"kirchenbauer_reliability_2023","bibbaseid":"kirchenbauer-geiping-wen-shu-saifullah-kong-fernando-saha-etal-onthereliabilityofwatermarksforlargelanguagemodels-2023","role":"author","urls":{"Paper":"http://arxiv.org/abs/2306.04634"},"keyword":["Computer Science - Computation and Language","Computer Science - Cryptography and Security","Computer Science - Machine Learning","Year-1-Pubs-Direct"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero-group/dcambrid/5266609","dataSources":["e4qi3jRmPhPzc7C9a"],"keywords":["computer science - computation and language","computer science - cryptography and security","computer science - machine learning","year-1-pubs-direct"],"search_terms":["reliability","watermarks","large","language","models","kirchenbauer","geiping","wen","shu","saifullah","kong","fernando","saha","goldblum","goldstein"],"title":"On the Reliability of Watermarks for Large Language Models","year":2023}