Are Language Models Consequentialist or Deontological Moral Reasoners?
Keenan Samway, Max Kleiman-Weiner, David Guzman Piedrahita, Rada Mihalcea, Bernhard Schölkopf, Zhijing Jin
TL;DR
The paper investigates how large language models reason about morality by separating the final moral judgments from the underlying reasoning traces. It introduces MoralLens, a taxonomy of 16 rationales aligned with consequentialist or deontological ethics, and applies it to over 600 trolley-style dilemmas to study both decision outcomes and the reasoning processes (pre- vs post-decision). Key findings show that LLMs lean toward deontological rationales in chain-of-thought analyses but shift toward consequentialist rationales in post-hoc explanations, with context (e.g., equal vs unequal group sizes) and model capability influencing the balance. Alignment techniques (SFT vs DPO) produce mixed shifts in reasoning frameworks but tend to increase the tendency to save larger groups, as reflected in utility metrics, suggesting nuanced effects of training data on moral deliberation. The work provides a framework for interpretable AI safety in high-stakes domains and contributes a reproducible codebase, while also acknowledging limitations related to evaluation design, normative ethics scope, and potential misinterpretation of moral reasoning traces.
Abstract
As AI systems increasingly navigate applications in healthcare, law, and governance, understanding how they handle ethically complex scenarios becomes critical. Previous work has mainly examined the moral judgments in large language models (LLMs), rather than their underlying moral reasoning process. In contrast, we focus on a large-scale analysis of the moral reasoning traces provided by LLMs. Furthermore, unlike prior work that attempted to draw inferences from only a handful of moral dilemmas, our study leverages over 600 distinct trolley problems as probes for revealing the reasoning patterns that emerge within different LLMs. We introduce and test a taxonomy of moral rationales to systematically classify reasoning traces according to two main normative ethical theories: consequentialism and deontology. Our analysis reveals that LLM chains-of-thought tend to favor deontological principles based on moral obligations, while post-hoc explanations shift notably toward consequentialist rationales that emphasize utility. Our framework provides a foundation for understanding how LLMs process and articulate ethical considerations, an important step toward safe and interpretable deployment of LLMs in high-stakes decision-making environments. Our code is available at https://github.com/keenansamway/moral-lens .
