The moral machine experiment on large language models

R Soc Open Sci. 2024 Feb 7;11(2):231393. doi: 10.1098/rsos.231393. eCollection 2024 Feb.

Abstract

As large language models (LLMs) have become more deeply integrated into various sectors, understanding how they make moral judgements has become crucial, particularly in the realm of autonomous driving. This study used the moral machine framework to investigate the ethical decision-making tendencies of prominent LLMs, including GPT-3.5, GPT-4, PaLM 2 and Llama 2, to compare their responses with human preferences. While LLMs' and humans' preferences such as prioritizing humans over pets and favouring saving more lives are broadly aligned, PaLM 2 and Llama 2, especially, evidence distinct deviations. Additionally, despite the qualitative similarities between the LLM and human preferences, there are significant quantitative disparities, suggesting that LLMs might lean toward more uncompromising decisions, compared with the milder inclinations of humans. These insights elucidate the ethical frameworks of LLMs and their potential implications for autonomous driving.

Keywords: ChatGPT; autonomous driving; large language models; moral machine.

Associated data

  • figshare/10.6084/m9.figshare.c.7055611
  • Dryad/10.5061/dryad.d7wm37q6v