Proceedings

An Ethical Dataset from Real-World Interactions Between Users and Large Language Models

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. AI and Social Good. Pages 9737-9745.

https://doi.org/10.24963/ijcai.2025/1082

Abstract

Recent studies have demonstrated that Large Language Models (LLMs) have ethical-related problems such as social biases, lack of moral reasoning, and generation of offensive content.

The existing evaluation metrics and methods to address these ethical challenges use datasets intentionally created by instructing humans to create instances including ethical problems.

Therefore, the data does not sufficiently include comprehensive prompts that users actually provide when using LLM services in everyday contexts and outputs that LLMs generate.

There may be different tendencies between unethical instances intentionally created by humans and actual user interactions with LLM services, which could result in a lack of comprehensive evaluation.

To investigate the difference, we create Eagle datasets extracted from actual interactions between ChatGPT and users that exhibit social biases, opinion biases, toxicity, and immoral problems.

Our experiments show that Eagle captures complementary aspects, not covered by existing datasets proposed for evaluation and mitigation.

We argue that using both existing and proposed datasets leads to a more comprehensive assessment of the ethics.

  1. [Akyürek et al., 2023] Afra Akyürek, Eric Pan, Garry Kuwanto, et al. DUnE: Dataset for unified editing. In
  2. Houda Bouamor, Juan Pino, and Kalika Bali, editors, EMNLP, pages 1847-1861, Singapore, December 2023. Association for Computational Linguistics.
  3. [Anantaprayoon et al., 2023] Panatchakorn Anantaprayoon, Masahiro Kaneko, and Naoaki Okazaki. Evaluating gender bias of pre-trained language models in natural language inference by considering all labels. ArXiv, abs/2309.09697, 2023.
  4. [Bender and Koller, 2020] Emily M. Bender and Alexander Koller. Climbing towards NLU: On meaning, form, and understanding in the age of data. In ACL, 2020.
  5. [Bender et al., 2021] Emily M Bender, Timnit Gebru, An- gelina McMillan-Major, et al. On the dangers of stochastic parrots: Can language models be too big? In ACM FAccT, pages 610-623, 2021.
  6. [Blodgett et al., 2020] Su Lin Blodgett, Solon Barocas, Hal Daumé III, et al. Language (technology) is power: A criti- cal survey of "bias" in NLP. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault, editors, ACL, pages 5454-5476, Online, July 2020. Association for Computa- tional Linguistics.
  7. [Blodgett et al., 2021] Su Lin Blodgett, Gilsinia Lopez, Alexandra Olteanu, et al. Stereotyping Norwegian salmon: An inventory of pitfalls in fairness benchmark datasets. In Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli, editors, ACL-IJCNLP, pages 1004-1015, Online, August 2021. Association for Computational Linguistics.
  8. [Brown et al., 2020] Tom B. Brown, Benjamin Mann, Nick Ryder, et al. Language models are few-shot learners. ArXiv, abs/2005.14165, 2020.
  9. [Chiang and Lee, 2023] Cheng-Han Chiang and Hung-yi Lee. Can large language models be an alternative to human evaluations? In ACL, pages 15607-15631, 2023.
  10. [Dettmers et al., 2022] Tim Dettmers, Mike Lewis, Younes Belkada, et al. 8-bit matrix multiplication for transformers at scale. ArXiv, abs/2208.07339, 2022.
  11. [ElSherief et al., 2021] Mai ElSherief, Caleb Ziems, David Muchlinski, et al. Latent hatred: A benchmark for under- standing implicit hate speech. In EMNLP, 2021.
  12. [Forbes et al., 2020] Maxwell Forbes, Jena D. Hwang, Vered Shwartz, et al. Social chemistry 101: Learning to reason about social and moral norms. In EMNLP, 2020.
  13. [Gallegos et al., 2023] Isabel O. Gallegos, Ryan A. Rossi, Joe Barrow, et al. Bias and fairness in large language models: A survey. ArXiv, abs/2309.00770, 2023.
  14. [Gehman et al., 2020] Samuel Gehman, Suchin Gururangan, Maarten Sap, et al. RealToxicityPrompts: Evaluating neural toxic degeneration in language models. In Trevor Cohn, Yu- lan He, and Yang Liu, editors, Findings of EMNLP, pages 3356-3369, Online, November 2020. Association for Com- putational Linguistics.
  15. [Groeneveld et al., 2024] Dirk Groeneveld, Iz Beltagy, Pete Walsh, et al. OLMo: Accelerating the science of lan- guage models. https://api.semanticscholar.org/CorpusID: 267365485, 2024. Link
  16. [Hartvigsen et al., 2022] Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, et al. ToxiGen: A large-scale machine- generated dataset for adversarial and implicit hate speech detection. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, ACL, pages 3309-3326, Dublin, Ire- land, May 2022. Association for Computational Linguis- tics.
  17. [Hendrycks et al., 2020] Dan Hendrycks, Collin Burns, Steven Basart, et al. Aligning AI with shared human values. ArXiv, abs/2008.02275, 2020.
  18. [Hida et al., 2024] Rem Hida, Masahiro Kaneko, and Naoaki Okazaki. Social bias evaluation for large language models requires prompt variations. In arXiv, 2024.
  19. [Hovy and Spruit, 2016] Dirk Hovy and Shannon L. Spruit. The social impact of natural language processing. In Ka- trin Erk and Noah A. Smith, editors, ACL, pages 591-598, Berlin, Germany, August 2016. Association for Computa- tional Linguistics.
  20. [Jiang et al., 2023] Albert Qiaochu Jiang, Alexandre Sablay- rolles, Arthur Mensch, et al. Mistral 7b. ArXiv, abs/2310.06825, 2023.
  21. [Jobin et al., 2019] Anna Jobin, Marcello Ienca, and Effy Vayena. The global landscape of ai ethics guidelines. Na- ture Machine Intelligence, 1:389 -399, 2019.
  22. [Kaneko and Baldwin, 2024] Masahiro Kaneko and Timothy Baldwin. A little leak will sink a great ship: Survey of transparency for large language models from start to finish. arXiv preprint arXiv:2403.16139, 2024.
  23. [Kaneko and Bollegala, 2021] Masahiro Kaneko and Danushka Bollegala. Unmasking the mask -evaluating social biases in masked language models. In AAAI, 2021.
  24. [Kaneko et al., 2022] Masahiro Kaneko, Aizhan Imankulova, Danushka Bollegala, et al. Gender bias in masked language models for multiple languages. In Marine Carpuat, Marie- Catherine de Marneffe, and Ivan Vladimir Meza Ruiz, edi- tors, NAACL, pages 2740-2750, Seattle, United States, July 2022. Association for Computational Linguistics.
  25. [Kaneko et al., 2023] Masahiro Kaneko, Danushka Bollegala, and Naoaki Okazaki. Comparing intrinsic gender bias eval- uation measures without using human annotated examples. ArXiv, abs/2301.12074, 2023.
  26. [Kaneko et al., 2024] Masahiro Kaneko, Danushka Bollegala, Naoaki Okazaki, et al. Evaluating gender bias in large language models via chain-of-thought prompting. https: //api.semanticscholar.org/CorpusID:267311383, 2024. Link
  27. [Kirchenbauer et al., 2023] John Kirchenbauer, Jonas Geip- ing, et al. A watermark for large language models. In ICML, 2023.
  28. [Koike et al., 2023a] Ryuto Koike, Masahiro Kaneko, and Naoaki Okazaki. How you prompt matters! even task- oriented constraints in instructions affect llm-generated text detection. arXiv, 2023.
  29. [Koike et al., 2023b] Ryuto Koike, Masahiro Kaneko, and Naoaki Okazaki. Outfox: Llm-generated essay detection through in-context learning with adversarially generated examples. ArXiv, abs/2307.11729, 2023.
  30. [Kurita et al., 2019] Keita Kurita, Nidhi Vyas, Ayush Pareek, et al. Measuring bias in contextualized word representa- tions. In Marta R. Costa-jussà, Christian Hardmeier, Will Radford, and Kellie Webster, editors, GeBNLP, pages 166- 172, Florence, Italy, August 2019. Association for Compu- tational Linguistics.
  31. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, et al. RoBERTa: A robustly optimized BERT pretraining ap- proach. ArXiv, abs/1907.11692, 2019.
  32. [Mathew et al., 2020] Binny Mathew, Punyajoy Saha, Seid Muhie Yimam, et al. HateXplain: A benchmark dataset for explainable hate speech detection. In AAAI Conference on Artificial Intelligence, 2020.
  33. [Mehrabi et al., 2019] Ninareh Mehrabi, Fred Morstatter, Nripsuta Ani Saxena, et al. A survey on bias and fairness in machine learning. CSUR, 54:1 -35, 2019.
  34. [Mohammad, 2022] Saif Mohammad. Ethics sheets for AI tasks. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, ACL, pages 8368-8379, Dublin, Ire- land, May 2022. Association for Computational Linguis- tics.
  35. [Nadeem et al., 2021] Moin Nadeem, Anna Bethke, and Siva Reddy. StereoSet: Measuring stereotypical bias in pre- trained language models. In Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli, editors, ACL-IJCNLP, pages 5356-5371, Online, August 2021. Association for Computational Linguistics.
  36. [Nangia et al., 2020] Nikita Nangia, Clara Vania, Rasika Bhalerao, et al. CrowS-pairs: A challenge dataset for mea- suring social biases in masked language models. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu, editors, EMNLP, pages 1953-1967, Online, November 2020. Asso- ciation for Computational Linguistics.
  37. [Nie et al., 2023] Allen Nie, Yuhui Zhang, Atharva Amdekar, et al. MoCa: Measuring human-language model align- ment on causal and moral judgment tasks. ArXiv, abs/2310.19677, 2023.
  38. [Oba et al., 2023] Daisuke Oba, Masahiro Kaneko, and Danushka Bollegala. In-contextual bias suppression for large language models. ArXiv, abs/2309.07251, 2023.
  39. [Palomino et al., 2022] Alonso Palomino, Khalid Al Khatib, Martin Potthast, et al. Differential bias: On the perceptibil- ity of stance imbalance in argumentation. In Findings of AACL-IJCNLP, Online only, 2022.
  40. [Parrish et al., 2022] Alicia Parrish, Angelica Chen, Nikita Nangia, et al. BBQ: A hand-built bias benchmark for question answering. In Findings of ACL, 2022.
  41. [Pavlopoulos et al., 2022] John Pavlopoulos, Leo Laugier, Alexandros Xenos, et al. From the detection of toxic spans in online discussions to the analysis of toxic-to-civil trans- fer. In Smaranda Muresan, Preslav Nakov, and Aline Villav- icencio, editors, ACL, pages 3721-3734, Dublin, Ireland, May 2022. Association for Computational Linguistics.
  42. [Penedo et al., 2023] Guilherme Penedo, Quentin Malartic, Daniel Hesslow, et al. The refinedweb dataset for falcon llm: Outperforming curated corpora with web data, and web data only. ArXiv, abs/2306.01116, 2023.
  43. [Roy et al., 2022] Shamik Roy, Nishanth Sridhar Nakshatri, and Dan Goldwasser. Towards few-shot identification of morality frames using in-context learning. In David Bam- man, Dirk Hovy, David Jurgens, Katherine Keith, Brendan O'Connor, and Svitlana Volkova, editors, NLP+CSS, pages 183-196, Abu Dhabi, UAE, November 2022. Association for Computational Linguistics.
  44. [Rudinger et al., 2018] Rachel Rudinger, Jason Naradowsky, Brian Leonard, et al. Gender bias in coreference resolution. In Marilyn Walker, Heng Ji, and Amanda Stent, editors, NAACL, pages 8-14, New Orleans, Louisiana, June 2018. Association for Computational Linguistics.
  45. [Santurkar et al., 2023] Shibani Santurkar, Esin Durmus, Faisal Ladhak, et al. Whose opinions do language models reflect? ArXiv, abs/2303.17548, 2023.
  46. [Tanmay et al., 2023] Kumar Tanmay, Aditi Khandelwal, Utkarsh Agarwal, et al. Probing the moral development of large language models through defining issues test. ArXiv, abs/2309.13356, 2023.
  47. [Team, 2023] MosaicML NLP Team. Introducing MPT-7B: A new standard for open-source, commercially usable LLMs. www.mosaicml.com/blog/mpt-7b, 2023. Accessed: 2023- 05-05. Link
  48. [Touvron et al., 2023] Hugo Touvron, Louis Martin, et al. Llama 2: Open foundation and fine-tuned chat models. ArXiv, abs/2307.09288, 2023.
  49. [Wu et al., 2023] Minghao Wu, Abdul Waheed, et al. Lamini- lm: A diverse herd of distilled models from large-scale instructions. ArXiv, abs/2304.14402, 2023.
  50. [Yang et al., 2023] Yongjin Yang, Joonkee Kim, Yujin Kim, et al. HARE: Explainable hate speech detection with step- by-step reasoning. ArXiv, abs/2311.00321, 2023.
  51. [Zhang et al., 2023] Jiang Zhang, Qiong Wu, Yiming Xu, et al. Efficient toxic content detection by bootstrapping and distilling large language models. ArXiv, abs/2312.08303, 2023.
  52. [Zhao et al., 2018] Jieyu Zhao, Tianlu Wang, Mark Yatskar, et al. Gender bias in coreference resolution: Evaluation and debiasing methods. In Marilyn Walker, Heng Ji, and Amanda Stent, editors, NAACL, pages 15-20, New Orleans, Louisiana, June 2018. Association for Computational Lin- guistics.
  53. [Zhou et al., 2022] Yi Zhou, Masahiro Kaneko, and Danushka Bollegala. Sense embeddings are also biased -evaluating social biases in static and contextualised sense embeddings. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, ACL, pages 1924-1935, Dublin, Ireland, May 2022. Association for Computational Linguistics.

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

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