Procedural Dilemma Generation for Evaluating Moral Reasoning in Humans and Language Models
Jan-Philipp Fränken, Kanishk Gandhi, Tori Qiu, Ayesha Khawaja, Noah D. Goodman, Tobias Gerstenberg
TL;DR
This work introduces OffTheRails, a procedural framework that uses causal-graph templates to generate scalable moral-dilemma prompts for evaluating moral reasoning in humans and language models. Through a two-stage generation process, it yields 50 scenarios with eight conditions each (400 items), and it benchmarks 80 human judgments alongside GPT-4 and Claude-2 responses. The findings show that harms that are a necessary means and evitable harms reduce permissibility and raise intended harm, while commission vs omission shows little effect, with models correlating to human judgments but with weaker signals. The framework offers a scalable, structured approach for probing moral reasoning in AI systems, highlighting both its promise and current limitations, and pointing to directions for improving scenario strength and coverage.
Abstract
As AI systems like language models are increasingly integrated into decision-making processes affecting people's lives, it's critical to ensure that these systems have sound moral reasoning. To test whether they do, we need to develop systematic evaluations. We provide a framework that uses a language model to translate causal graphs that capture key aspects of moral dilemmas into prompt templates. With this framework, we procedurally generated a large and diverse set of moral dilemmas -- the OffTheRails benchmark -- consisting of 50 scenarios and 400 unique test items. We collected moral permissibility and intention judgments from human participants for a subset of our items and compared these judgments to those from two language models (GPT-4 and Claude-2) across eight conditions. We find that moral dilemmas in which the harm is a necessary means (as compared to a side effect) resulted in lower permissibility and higher intention ratings for both participants and language models. The same pattern was observed for evitable versus inevitable harmful outcomes. However, there was no clear effect of whether the harm resulted from an agent's action versus from having omitted to act. We discuss limitations of our prompt generation pipeline and opportunities for improving scenarios to increase the strength of experimental effects.
