Proceedings

Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Sampling

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 494-502.

https://doi.org/10.24963/ijcai.2024/55

Abstract

With the rapidly increasing application of large language models (LLMs), their abuse has caused many undesirable societal problems such as fake news, academic dishonesty, and information pollution. This makes AI-generated text (AIGT) detection of great importance. Among existing methods, white-box methods are generally superior to black-box methods in terms of performance and generalizability, but they require access to LLMs' internal states and are not applicable to black-box settings. In this paper, we propose to estimate word generation probabilities as pseudo white-box features via multiple re-sampling to help improve AIGT detection under the black-box setting. Specifically, we design POGER, a proxy-guided efficient re-sampling method, which selects a small subset of representative words (e.g., 10 words) for performing multiple re-sampling in black-box AIGT detection. Experiments on datasets containing texts from humans and seven LLMs show that POGER outperforms all baselines in macro F1 under black-box, partial white-box, and out-of-distribution settings and maintains lower re-sampling costs than its existing counterparts.

  1. [Aich et al., 2022] Ankit Aich, Souvik Bhattacharya, and Natalie Parde. Demystifying Neural Fake News via Lin- guistic Feature-Based Interpretation. In Proceedings of the 29th International Conference on Computational Linguis- tics, pages 6586-6599, 2022.
  2. [Beresneva, 2016] Daria Beresneva. Computer-Generated Text Detection Using Machine Learning: A Systematic Review. In Proceedings of the 21st International Confer- ence on Applications of Natural Language to Information System, pages 421-426, 2016.
  3. [Bhattacharjee et al., 2023] Amrita Bhattacharjee, Tharindu Kumarage, Raha Moraffah, and Huan Liu. ConDA: Con- trastive Domain Adaptation for AI-generated Text Detec- tion. In Proceedings of the 13th International Joint Con- ference on Natural Language Processing and the 3rd Con- ference of the Asia-Pacific Chapter of the Association for Computational Linguistics, pages 598-610, 2023.
  4. [Bohacek, 2023] Matyas Bohacek. The Unseen A+ Student: Navigating the Impact of Large Language Models in the Classroom. In ICML 2023 Workshop on Deployment Chal- lenges for Generative AI, 2023.
  5. [Brewster et al., 2023] Jack Brewster, Zack Fishman, and Elisa Xu. Funding the Next Generation of Content Farms. https://www.newsguardtech.com/ misinformation-monitor/june-2023/, 2023. Accessed: 2024-05-15. Link
  6. [Chen et al., 2023] Yutian Chen, Hao Kang, Vivian Zhai, Liangze Li, Rita Singh, and Bhiksha Raj. Token Predic- tion as Implicit Classification to Identify LLM-Generated Text. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 13112- 13120, 2023.
  7. [Fan et al., 2019] Angela Fan, Yacine Jernite, Ethan Perez, David Grangier, Jason Weston, and Michael Auli. ELI5: Long Form Question Answering. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3558-3567, 2019.
  8. [Fröhling and Zubiaga, 2021] Leon Fröhling and Arkaitz Zubiaga. Feature-based detection of automated language models: tackling GPT-2, GPT-3 and Grover. PeerJ Com- puter Science, 7:e443, 2021.
  9. [Gehrmann et al., 2019] Sebastian Gehrmann, Hendrik Stro- belt, and Alexander M Rush. GLTR: Statistical Detection and Visualization of Generated Text. In Proceedings of the 57th Annual Meeting of the Association for Compu- tational Linguistics: System Demonstrations, pages 111- 116, 2019.
  10. [Greene and Cunningham, 2006] Derek Greene and Pádraig Cunningham. Practical Solutions to the Problem of Diag- onal Dominance in Kernel Document Clustering. In Pro- ceedings of the 23rd International Conference on Machine Learning, pages 377-384, 2006.
  11. [Gu et al., 2023] Chenchen Gu, Xiang Lisa Li, Percy Liang, and Tatsunori Hashimoto. On the Learnability of Watermarks for Language Models. arXiv preprint arXiv:2312.04469, 2023.
  12. [Guo et al., 2023] Biyang Guo, Xin Zhang, Ziyuan Wang, Minqi Jiang, Jinran Nie, Yuxuan Ding, Jianwei Yue, and Yupeng Wu. How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detection. arXiv preprint arXiv:2301.07597, 2023.
  13. [Ippolito et al., 2023] Daphne Ippolito, Nicholas Carlini, Katherine Lee, Milad Nasr, and Yun William Yu. Reverse- Engineering Decoding Strategies Given Blackbox Access to a Language Generation System. In Proceedings of the 16th International Natural Language Generation Confer- ence, pages 396-406, 2023.
  14. [Jakesch et al., 2023] Maurice Jakesch, Jeffrey T Hancock, and Mor Naaman. Human Heuristics for AI-Generated Language are Flawed. Proceedings of the National Academy of Sciences, 120(11):e2208839120, 2023.
  15. [Kirchenbauer et al., 2023] John Kirchenbauer, Jonas Geip- ing, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Gold- stein. A watermark for large language models. In Pro- ceedings of the 40th International Conference on Machine Learning, volume 202, pages 17061-17084, 2023.
  16. [Lavergne et al., 2008] Thomas Lavergne, Tanguy Urvoy, and Franc ¸ois Yvon. Detecting Fake Content with Rela- tive Entropy Scoring. In Proceedings of the 2008 Inter- national Conference on Uncovering Plagiarism, Author- ship and Social Software Misuse-Volume 377, pages 27- 31, 2008.
  17. [Li et al., 2023a] Linyang Li, Pengyu Wang, Ke Ren, Tianx- iang Sun, and Xipeng Qiu. Origin Tracing and Detecting of LLMs. arXiv preprint arXiv:2304.14072, 2023.
  18. [Li et al., 2023b] Yafu Li, Qintong Li, Leyang Cui, Wei Bi, Longyue Wang, Linyi Yang, Shuming Shi, and Yue Zhang. Deepfake Text Detection in the Wild. arXiv preprint arXiv:2305.13242, 2023.
  19. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A robustly optimized BERT pretraining ap- proach. arXiv preprint arXiv:1907.11692, 2019.
  20. [Liu et al., 2023] Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng, and Lijie Wen. A Semantic Invariant Robust Watermark for Large Language Models. arXiv preprint arXiv:2310.06356, 2023.
  21. [Lucas et al., 2023] Jason Lucas, Adaku Uchendu, Michi- haru Yamashita, Jooyoung Lee, Shaurya Rohatgi, and Dongwon Lee. Fighting Fire with Fire: The Dual Role of LLMs in Crafting and Detecting Elusive Disinforma- tion. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 14279- 14305, 2023.
  22. [Mitchell et al., 2023] Eric Mitchell, Yoonho Lee, Alexan- der Khazatsky, Christopher D. Manning, and Chelsea Finn. DetectGPT: Zero-Shot Machine-Generated Text De- tection Using Probability Curvature. In Proceedings of the 40th International Conference on Machine Learning, 2023.
  23. [OpenAI, 2022] OpenAI. ChatGPT: Optimizing language models for dialogue. https://openai.com/index/chatgpt/, 2022. Accessed: 2024-05-15. Link
  24. [OpenAI, 2023] OpenAI. GPT-4 Technical Report. arXiv preprint arXiv:2303.08774, 2023.
  25. [Radford et al., 2019] Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners. OpenAI blog, 2019.
  26. [Solaiman et al., 2019] Irene Solaiman, Miles Brundage, Jack Clark, Amanda Askell, Ariel Herbert-Voss, Jeff Wu, Alec Radford, Gretchen Krueger, Jong Wook Kim, Sarah Kreps, et al. Release strategies and the social impacts of language models. arXiv preprint arXiv:1908.09203, 2019.
  27. [Taori et al., 2023] Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Stanford Alpaca: An Instruction-following LLaMA model. https://github.com/ tatsu-lab/stanford alpaca, 2023. Accessed: 2024-05-15. Link
  28. [Tian, 2023] Edward Tian. GPTZero: An AI Text Detector. https://gptzero.me/, 2023. Accessed: 2024-05-15. Link
  29. [Touvron et al., 2023] Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
  30. [Uchendu et al., 2020] Adaku Uchendu, Thai Le, Kai Shu, and Dongwon Lee. Authorship attribution for neural text generation. In Proceedings of the 2020 Conference on Em- pirical Methods in Natural Language Processing, pages 8384-8395, 2020.
  31. [Uchendu et al., 2023] Adaku Uchendu, Jooyoung Lee, Hua Shen, Thai Le, Ting-Hao 'Kenneth' Huang, and Dongwon Lee. Does Human Collaboration Enhance the Accuracy of Identifying LLM-Generated Deepfake Texts? In Proceed- ings of the AAAI Conference on Human Computation and Crowdsourcing, volume 11, pages 163-174, 2023.
  32. [Verma et al., 2023] Vivek Verma, Eve Fleisig, Nicholas Tomlin, and Dan Klein. Ghostbuster: Detecting Text Ghostwritten by Large Language Models. arXiv preprint arXiv:2305.15047, 2023.
  33. [Wang and Komatsuzaki, 2021] Ben Wang and Aran Ko- matsuzaki. GPT-J-6B: A 6 Billion Parameter Autore- gressive Language Model. https://github.com/kingoflolz/ mesh-transformer-jax, 2021. Accessed: 2024-05-15. Link
  34. [Wang et al., 2023a] Lean Wang, Wenkai Yang, Deli Chen, Hao Zhou, Yankai Lin, Fandong Meng, Jie Zhou, and Xu Sun. Towards codable text watermarking for large lan- guage models. arXiv preprint arXiv:2307.15992, 2023.
  35. [Wang et al., 2023b] Pengyu Wang, Linyang Li, Ke Ren, Botian Jiang, Dong Zhang, and Xipeng Qiu. SeqXGPT: Sentence-Level AI-Generated Text Detection. In Proceed- ings of the 2023 Conference on Empirical Methods in Nat- ural Language Processing, pages 1144-1156, 2023.
  36. [Yang et al., 2023a] Xianjun Yang, Wei Cheng, Linda Pet- zold, William Yang Wang, and Haifeng Chen. DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text. arXiv preprint arXiv:2305.17359, 2023.
  37. [Yang et al., 2023b] Xianjun Yang, Liangming Pan, Xuan- dong Zhao, Haifeng Chen, Linda Petzold, William Yang Wang, and Wei Cheng. A Survey on Detection of LLMs- Generated Content. arXiv preprint arXiv:2310.15654, 2023.
  38. [Yoo et al., 2023] KiYoon Yoo, Wonhyuk Ahn, Jiho Jang, and Nojun Kwak. Robust multi-bit natural language water- marking through invariant features. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2092-2115, Toronto, Canada, July 2023.
  39. [Yu et al., 2023] Xiao Yu, Yuang Qi, Kejiang Chen, Guo- qiang Chen, Xi Yang, Pengyuan Zhu, Weiming Zhang, and Nenghai Yu. GPT Paternity Test: GPT Generated Text Detection with GPT Genetic Inheritance. arXiv preprint arXiv:2305.12519, 2023.
  40. [Zhan et al., 2023] Haolan Zhan, Xuanli He, Qiongkai Xu, Yuxiang Wu, and Pontus Stenetorp. G3Detector: Gen- eral GPT-Generated Text Detector. arXiv preprint arXiv:2305.12680, 2023.
  41. [Zheng et al., 2023] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging LLM-as-a- judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems, volume 36, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards