Proceedings

Moral Compass: A Data-Driven Benchmark for Ethical Cognition in AI

Download BibTeX Cite

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

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

Abstract

We propose the Moral Compass benchmark, a point of reference for incorporating ethical cognition in AI. It has four key contributions. A Moral Decision Dataset (MDD) that captures cases with ethical ambiguity, along with parameters that aid moral decision-making. It is created using a methodology that leverages the use of Large Language Models (LLMs) and seed data from real-world sources which are processed, summarized, and augmented. We also introduce a Moral Decision Knowledge Graph (MDKG) that is created using feature mappings of the relational dataset MDD to facilitate efficient querying. To demonstrate the validity and robustness of this dataset, we introduce an Ethics Scoring Algorithm (ESA) that makes use of the parameters defined in the dataset to calculate ethical scores for isolated actions. Furthermore, ESA is extended by the novel concept of context-sensitive thresholding (CST) to discretize grey areas to resolve ethical dilemmas with explainable results. This work aims to facilitate ethical cognition in AI systems that are deployed in various important sections of society through a clear methodology, modular development, and broad applicability.

  1. [Abdullin et al., 2024] Yelaman Abdullin, Diego Molla- Aliod, Bahadorreza Ofoghi, John Yearwood, and Qingyang Li. Synthetic dialogue dataset generation using llm agents. arXiv preprint arXiv:2401.17461, 2024.
  2. [Aijaz et al., 2025] Aisha Aijaz, Raghava Mutharaju, and Manohar Kumar. Apple: An applied ethics ontology with event context, 2025.
  3. [Anderson and Anderson, 2008] Michael Anderson and Su- san Leigh Anderson. Ethical healthcare agents. In Advanced computational intelligence paradigms in healthcare-3, pages 233-257. Springer, 2008.
  4. [Anderson and Anderson, 2018] Michael Anderson and Su- san Leigh Anderson. Geneth: A general ethical dilemma analyzer. Paladyn, Journal of Behavioral Robotics, 9(1):337-357, 2018.
  5. [Anderson et al., 2006] Michael Anderson, Susan Leigh An- derson, and Chris Armen. An approach to computing ethics. IEEE Intelligent Systems, 21(4):56-63, 2006.
  6. [Awad et al., 2018] Edmond Awad, Sohan Dsouza, Richard Kim, Jonathan Schulz, Joseph Henrich, Azim Shariff, Jean-Franc ¸ois Bonnefon, and Iyad Rahwan. The moral machine experiment. Nature, 563(7729):59-64, 2018.
  7. [Bai et al., 2023] Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xu- ancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang Zhu. Qwen technical report, 2023.
  8. [Bi et al., 2024] Xiao Bi, Deli Chen, Guanting Chen, Shan- huang Chen, Damai Dai, Chengqi Deng, Honghui Ding, Kai Dong, Qiushi Du, Zhe Fu, et al. Deepseek llm: Scal- ing open-source language models with longtermism. arXiv preprint arXiv:2401.02954, 2024.
  9. [Boettcher, 2021] Nick Boettcher. Studies of depression and anxiety using reddit as a data source: scoping review. JMIR mental health, 8(11):e29487, 2021.
  10. [Brożek and Janik, 2019] Bartosz Brożek and Bartosz Janik. Can artificial intelligences be moral agents? New ideas in psychology, 54:101-106, 2019.
  11. [Cervantes et al., 2020a] José-Antonio Cervantes, Sonia López, Luis-Felipe Rodríguez, Salvador Cervantes, Fran- cisco Cervantes, and Félix Ramos. Artificial moral agents: A survey of the current status. Science and engineering ethics, 26(2):501-532, 2020.
  12. [Cervantes et al., 2020b] Salvador Cervantes, Sonia López, and José-Antonio Cervantes. Toward ethical cognitive ar- chitectures for the development of artificial moral agents. Cognitive systems research, 64:117-125, 2020.
  13. [Dehghani et al., 2008] Morteza Dehghani, Emmett Tomai, Kenneth D Forbus, and Matthew Klenk. An integrated rea- soning approach to moral decision-making. AAAI, pages 1280-1286, 2008.
  14. [Ding and Shi, 2024] Yi Ding and Tianyao Shi. Sustainable llm serving: Environmental implications, challenges, and opportunities : Invited paper. In 2024 IEEE 15th Inter- national Green and Sustainable Computing Conference (IGSC), pages 37-38, 2024.
  15. [Formosa and Ryan, 2021] Paul Formosa and Malcolm Ryan. Making moral machines: why we need artificial moral agents. AI & society, 36(3):839-851, 2021.
  16. [Gert and Gert, 2020] Bernard Gert and Joshua Gert. The Definition of Morality. In Edward N. Zalta, editor, The Stanford Encyclopedia of Philosophy. Metaphysics Re- search Lab, Stanford University, Fall 2020 edition, 2020.
  17. [Gordon, 2020] John-Stewart Gordon. Building moral robots: Ethical pitfalls and challenges. Science and en- gineering ethics, 26(1):141-157, 2020.
  18. [Hendrycks et al., 2020] Dan Hendrycks, Collin Burns, Steven Basart, Andrew Critch, Jerry Li, Dawn Song, and Jacob Steinhardt. Aligning ai with shared human values. arXiv preprint arXiv:2008.02275, 2020.
  19. [Holoveichuk et al., 2024] Oleksandr Holoveichuk, Oleg Pursky, Tetyana Filimonova, Tetyana Tomashevska, Ta- tiana Dubovyk, and Iryna Buchatska. Development of red- dit api-based data parsing web system. In International Conference on Inventive Communication and Computa- tional Technologies, pages 635-650. Springer, 2024.
  20. [Honarvar and Ghasem-Aghaee, 2009] Ali Reza Honarvar and Nasser Ghasem-Aghaee. Casuist bdi-agent: a new ex- tended bdi architecture with the capability of ethical rea- soning. In Artificial Intelligence and Computational Intel- ligence: International Conference, AICI 2009, Shanghai, China, November 7-8, 2009. Proceedings 1, pages 86-95. Springer, 2009.
  21. [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, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. Mistral 7b, 2023.
  22. [Kagan, 2018] Shelly Kagan. Normative ethics. Routledge, 2018.
  23. [Lee et al., 2023] Dong-Ho Lee, Jay Pujara, Mohit Sewak, Ryen W White, and Sujay Kumar Jauhar. Making large language models better data creators. arXiv preprint arXiv:2310.20111, 2023.
  24. [Metz, 2021] Cade Metz. Can a machine learn morality? In- ternational New York Times, pages NA-NA, 2021.
  25. [Miles, 2004] Steven H Miles. The hippocratic oath and the ethics of medicine. Oxford University Press, New York, 2004.
  26. [Moor, 2006] James H Moor. The nature, importance, and difficulty of machine ethics. IEEE intelligent systems, 21(4):18-21, 2006.
  27. [Moseson et al., 2022] Heidi Moseson, Jane W Seymour, Carmela Zuniga, Alexandra Wollum, Anna Katz, Terri- Ann Thompson, and Caitlin Gerdts. "it just seemed like a perfect storm": A multi-methods feasibility study on the use of facebook, google ads, and reddit to collect data on abortion-seeking experiences from people who considered but did not obtain abortion care in the united states. PLoS One, 17(3):e0264748, 2022.
  28. [Ringle et al., 2024] Christian M. Ringle, Sven Wende, and Jan-Michael Becker. Smartpls 4, 2024.
  29. [Schmidt, 2023] D. P. Schmidt. Casuistry, 2023.
  30. [Spiekermann, 2023] Sarah Spiekermann. Value-based engi- neering: a guide to building ethical technology for human- ity. De Gruyter, 2023.
  31. [Sun and Ye, 2023] Fuhai Sun and Ruixing Ye. Moral con- siderations of artificial intelligence. Science & Education, pages 1-17, 2023.
  32. [Tao et al., 2024] Chunliang Tao, Xiaojing Fan, and Yahe Yang. Harnessing llms for api interactions: A frame- work for classification and synthetic data generation. arXiv preprint arXiv:2409.11703, 2024.
  33. [Team et al., 2024] Gemma Team, Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa, Cassidy Hardin, and trunc. list. Gemma 2: Improving open language models at a prac- tical size, 2024.
  34. [Thapa et al., 2023] Surendrabikram Thapa, Usman Naseem, and Mehwish Nasim. From humans to ma- chines: can chatgpt-like llms effectively replace human annotators in nlp tasks. In Workshop Proceedings of the 17th International AAAI Conference on Web and Social Media, 2023.
  35. Judith Jarvis Thomson. The trolley prob- lem. Yale LJ, 94:1395, 1984.
  36. [Touvron et al., 2023] Hugo Touvron, Thibaut Lavril, Gau- tier Izacard, Xavier Martinet, Marie-Anne Lachaux, Tim- othée Lacroix, Baptiste Rozière, Naman Goyal, Eric Ham- bro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models, 2023.
  37. [Van Assche et al., 2021] Dylan Van Assche, Thomas Delva, Pieter Heyvaert, Ben De Meester, and Anastasia Dimou. Towards a more human-friendly knowledge graph gener- ation & publication. In ISWC2021, The International Se- mantic Web Conference, volume 2980. CEUR, 2021.
  38. [Vanderelst and Winfield, 2018] Dieter Vanderelst and Alan Winfield. An architecture for ethical robots inspired by the simulation theory of cognition. Cognitive Systems Re- search, 48:56-66, 2018.
  39. [Whitby, 2003] Blay Whitby. The myth of ai failure csrp 568. COGNITIVE SCIENCE RESEARCH PAPER- UNIVERSITY OF SUSSEX CSRP, 2003.

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

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