Proceedings

Down the Toxicity Rabbit Hole: A Framework to Bias Audit Large Language Models with Key Emphasis on Racism, Antisemitism, and Misogyny

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. AI for Good. Pages 7242-7250.

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

Abstract

This paper makes three contributions. First, it presents a generalizable, novel framework dubbed toxicity rabbit hole that iteratively elicits toxic content from a wide suite of large language models. Spanning a set of 1,266 identity groups, we first conduct a bias audit of PaLM 2 guardrails presenting key insights. Next, we report generalizability across several other models. Through the elicited toxic content, we present a broad analysis with a key emphasis on racism, antisemitism, misogyny, Islamophobia, homophobia, and transphobia. We release a massive dataset of machine-generated toxic content with a view toward safety for all. Finally, driven by concrete examples, we discuss potential ramifications.

  1. [Abid et al., 2021] Abubakar Abid, Maheen Farooqi, and James Zou. Persistent anti-muslim bias in large language models. In AIES, pages 298-306, 2021.
  2. [Anil et al., 2023] Rohan Anil, Andrew M Dai, Orhan Fi- rat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. Palm 2 technical report. arXiv preprint arXiv:2305.10403, 2023.
  3. [Azevedo, 1998] Mario Joaquim Azevedo. Roots of vio- lence: a history of war in Chad, volume 4. Psychology Press, 1998.
  4. [Bender et al., 2021] Emily M. Bender, Timnit Gebru, An- gelina McMillan-Major, and Shmargaret Shmitchell. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? In ACM FaccT, pages 610-623, 2021.
  5. [Bommasani et al., 2022] Rishi Bommasani, Kathleen A Creel, Ananya Kumar, Dan Jurafsky, and Percy S Liang. Picking on the same person: Does algorithmic monocul- ture lead to outcome homogenization? Advances in Neural Information Processing Systems, 35:3663-3678, 2022.
  6. [Bommasani et al., 2023] Rishi Bommasani, Sayash Kapoor, Kevin Klyman, Shayne Longpre, Ashwin Ra- maswami, Daniel Zhang, Marietje Schaake, Daniel E. Ho, Arvind Narayanan, and Percy Liang. Considerations for governing open foundation models, Dec 2023. [Castelvecchi, 2024] Davide Castelvecchi. Deepmind ai out- does human mathematicians on unsolved problem. Nature, 625(7993):12-13, 2024.
  7. [Chen et al., 2023] Lingjiao Chen, Matei Zaharia, and James Zou. How is chatgpt's behavior changing over time? arXiv preprint arXiv:2307.09009, 2023.
  8. [Chiang et al., 2023] Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E Gonzalez, et al. Vicuna: An open-source chatbot impressing GPT- 4 with 90%* ChatGPT quality. See https://vicuna. lmsys. org (accessed 14 April 2023), 2023. Link
  9. [Conover et al., 2023] Mike Conover, Matt Hayes, Ankit Mathur, Jianwei Xie, Jun Wan, Sam Shah, Ali Ghodsi, Patrick Wendell, Matei Zaharia, and Reynold Xin. Free dolly: Introducing the world's first truly open instruction- tuned llm, 2023.
  10. [Demszky et al., 2019] Dorottya Demszky, Nikhil Garg, Rob Voigt, James Zou, Jesse Shapiro, Matthew Gentzkow, and Dan Jurafsky. Analyzing polarization in social media: Method and application to tweets on 21 mass shootings. In Proceedings of NAACL-HLT. ACL, 2019.
  11. [Deshpande et al., 2023] Ameet Deshpande, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, and Karthik Narasimhan. Toxicity in chatgpt: Analyzing persona-assigned language models. arXiv preprint arXiv:2304.05335, 2023.
  12. [Dettmers et al., 2023] Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. Qlora: Efficient finetun- ing of quantized llms. arXiv preprint arXiv:2305.14314, 2023.
  13. [Fang et al., 2023] Chuyu Fang, Chuan Qin, Qi Zhang, Kaichun Yao, Jingshuai Zhang, Hengshu Zhu, Fuzhen Zhuang, and Hui Xiong. Recruitpro: A pretrained lan- guage model with skill-aware prompt learning for intelli- gent recruitment. In ACM SIGKDD, 2023.
  14. [Fearon, 2003] James D Fearon. Ethnic and cultural diversity by country. Journal of economic growth, 8:195-222, 2003.
  15. [Glaese et al., 2022] Amelia Glaese, Nat McAleese, Maja Trebacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Mari- beth Rauh, Laura Weidinger, Martin J. Chadwick, et al. Improving alignment of dialogue agents via targeted hu- man judgements. CoRR, abs/2209.14375, 2022.
  16. [Harris and Fiske, 2015] Lasana T Harris and Susan T Fiske. Dehumanized perception. Zeitschrift für Psychologie, 2015.
  17. [Hartvigsen et al., 2022] Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap, Dipankar Ray, and Ece Kamar. Toxigen: A large-scale machine-generated dataset for adversarial and implicit hate speech detection. arXiv preprint arXiv:2203.09509, 2022.
  18. [Hilberg, 2003] Raul Hilberg. The destruction of the Euro- pean Jews. Yale University Press, 2003.
  19. [Holzmeyer, 2021] Cheryl Holzmeyer. Beyond 'ai for social good'(ai4sg): social transformations-not tech-fixes-for health equity. Interdisciplinary Science Reviews, 46(1- 2):94-125, 2021.
  20. [Iyengar and Westwood, 2015] Shanto Iyengar and Sean J Westwood. Fear and loathing across party lines: New evi- dence on group polarization. American Journal of Political Science, 59(3):690-707, 2015.
  21. [Jeshion, 2013] Robin Jeshion. Slurs and stereotypes. Ana- lytic Philosophy, 54(3):314-329, 2013.
  22. [Jiang et al., 2023] Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023.
  23. [KhudaBukhsh et al., 2021] Ashiqur R. KhudaBukhsh, Ru- pak Sarkar, Mark S. Kamlet, and Tom M. Mitchell. We don't speak the same language: Interpreting polarization through machine translation. In AAAI 2021, pages 14893- 14901. AAAI Press, 2021.
  24. [Korbak et al., 2023] Tomasz Korbak, Kejian Shi, Angelica Chen, Rasika Vinayak Bhalerao, Christopher Buckley, Ja- son Phang, Samuel R Bowman, and Ethan Perez. Pretrain- ing language models with human preferences. In ICML, pages 17506-17533. PMLR, 2023.
  25. [Li et al., 2023] Haoran Li, Dadi Guo, Wei Fan, Mingshi Xu, and Yangqiu Song. Multi-step jailbreaking privacy attacks on chatgpt. arXiv preprint arXiv:2304.05197, 2023.
  26. [Liu et al., 2023] Yi Liu, Gelei Deng, Zhengzi Xu, Yuekang Li, Yaowen Zheng, Ying Zhang, Lida Zhao, Tian- wei Zhang, and Yang Liu. Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study. arXiv preprint arXiv:2305.13860, 2023.
  27. [Mendelsohn et al., 2020] Julia Mendelsohn, Yulia Tsvetkov, and Dan Jurafsky. A framework for the computational linguistic analysis of dehumanization. Frontiers in artificial intelligence, 3:55, 2020.
  28. [Ouyang et al., 2022] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instruc- tions with human feedback. Advances in Neural Informa- tion Processing Systems, 35:27730-27744, 2022.
  29. [Pierson et al., 2023] Emma Pierson, Divya Shanmugam, Rajiv Movva, Jon Kleinberg, Monica Agrawal, Mark Dredze, Kadija Ferryman, Judy Wawira Gichoya, Dan Ju- rafsky, Pang Wei Koh, et al. Use large language models to promote equity. arXiv preprint arXiv:2312.14804, 2023.
  30. [Reimers and Gurevych, 2019] Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings us- ing Siamese BERT-networks. In EMNLP 2019, pages 3982-3992, 2019.
  31. [Sedgwick, 1882] William Thompson Sedgwick. On varia- tions of reflex-excitability in the frog, induced by changes of temperature. Stud. Biol. Lab., Johns Hopkins Univer- sity, 385, 1882.
  32. [Steuter and Wills, 2010] Erin Steuter and Deborah Wills. 'the vermin have struck again': Dehumanizing the enemy in post 9/11 media representations. Media, War & Conflict, 3(2):152-167, 2010.
  33. [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. Link
  34. [Team, 2023] MosaicML NLP Team. Introducing mpt-30b: Raising the bar for open-source foundation models, 2023. Accessed: 2023-06-22.
  35. [Thirunavukarasu et al., 2023] Arun James Thirunavukarasu, Darren Shu Jeng Ting, Kabilan Elangovan, Laura Gutierrez, Ting Fang Tan, and Daniel Shu Wei Ting. Large language models in medicine. Nature medicine, 29(8):1930-1940, 2023.
  36. [Tunstall et al., 2023] Lewis Tunstall, Edward Beeching, Nathan Lambert, Nazneen Rajani, Kashif Rasul, Younes Belkada, Shengyi Huang, Leandro von Werra, Clémentine Fourrier, Nathan Habib, et al. Zephyr: Direct distillation of lm alignment. arXiv preprint arXiv:2310.16944, 2023.
  37. [Wang et al., 2023a] Yizhong Wang, Hamish Ivison, Pradeep Dasigi, Jack Hessel, Tushar Khot, Khy- athi Raghavi Chandu, David Wadden, Kelsey MacMillan, Noah A. Smith, Iz Beltagy, and Hannaneh Hajishirzi. How far can camels go? exploring the state of instruction tuning on open resources, 2023.
  38. [Wang et al., 2023b] Yuxia Wang, Haonan Li, Xudong Han, Preslav Nakov, and Timothy Baldwin. Do-not-answer: A dataset for evaluating safeguards in llms. arXiv preprint arXiv:2308.13387, 2023.
  39. [Wei et al., 2023] Alexander Wei, Nika Haghtalab, and Ja- cob Steinhardt. Jailbroken: How Does LLM Safety Train- ing Fail? arXiv preprint arXiv:2307.02483, 2023.
  40. [Xu et al., 2023] Can Xu, Qingfeng Sun, Kai Zheng, Xi- ubo Geng, Pu Zhao, Jiazhan Feng, Chongyang Tao, and Daxin Jiang. Wizardlm: Empowering large language models to follow complex instructions. arXiv preprint arXiv:2304.12244, 2023.
  41. [Zhuo et al., 2023] Terry Yue Zhuo, Yujin Huang, Chun- yang Chen, and Zhenchang Xing. Exploring AI ethics of ChatGPT: A diagnostic analysis. arXiv preprint arXiv:2301.12867, 2023.
  42. [Ziems et al., 2023] Caleb Ziems, William Held, Omar Shaikh, Jiaao Chen, Zhehao Zhang, and Diyi Yang. Can large language models transform computational social sci- ence?, 2023.
  43. [Zou et al., 2023] Andy Zou, Zifan Wang, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversar- ial attacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023.

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

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