When Ethics and Payoffs Diverge: LLM Agents in Morally Charged Social Dilemmas

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Backmann, Steffen, Piedrahita, David Guzman, Tewolde, Emanuel, Mihalcea, Rada, Schölkopf, Bernhard, Jin, Zhijing
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910967547297792
author Backmann, Steffen
Piedrahita, David Guzman
Tewolde, Emanuel
Mihalcea, Rada
Schölkopf, Bernhard
Jin, Zhijing
author_facet Backmann, Steffen
Piedrahita, David Guzman
Tewolde, Emanuel
Mihalcea, Rada
Schölkopf, Bernhard
Jin, Zhijing
contents Recent advances in large language models (LLMs) have enabled their use in complex agentic roles, involving decision-making with humans or other agents, making ethical alignment a key AI safety concern. While prior work has examined both LLMs' moral judgment and strategic behavior in social dilemmas, there is limited understanding of how they act when moral imperatives directly conflict with rewards or incentives. To investigate this, we introduce Moral Behavior in Social Dilemma Simulation (MoralSim) and evaluate how LLMs behave in the prisoner's dilemma and public goods game with morally charged contexts. In MoralSim, we test a range of frontier models across both game structures and three distinct moral framings, enabling a systematic examination of how LLMs navigate social dilemmas in which ethical norms conflict with payoff-maximizing strategies. Our results show substantial variation across models in both their general tendency to act morally and the consistency of their behavior across game types, the specific moral framing, and situational factors such as opponent behavior and survival risks. Crucially, no model exhibits consistently moral behavior in MoralSim, highlighting the need for caution when deploying LLMs in agentic roles where the agent's "self-interest" may conflict with ethical expectations. Our code is available at https://github.com/sbackmann/moralsim.
format Preprint
id arxiv_https___arxiv_org_abs_2505_19212
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle When Ethics and Payoffs Diverge: LLM Agents in Morally Charged Social Dilemmas
Backmann, Steffen
Piedrahita, David Guzman
Tewolde, Emanuel
Mihalcea, Rada
Schölkopf, Bernhard
Jin, Zhijing
Computation and Language
Artificial Intelligence
Computers and Society
Recent advances in large language models (LLMs) have enabled their use in complex agentic roles, involving decision-making with humans or other agents, making ethical alignment a key AI safety concern. While prior work has examined both LLMs' moral judgment and strategic behavior in social dilemmas, there is limited understanding of how they act when moral imperatives directly conflict with rewards or incentives. To investigate this, we introduce Moral Behavior in Social Dilemma Simulation (MoralSim) and evaluate how LLMs behave in the prisoner's dilemma and public goods game with morally charged contexts. In MoralSim, we test a range of frontier models across both game structures and three distinct moral framings, enabling a systematic examination of how LLMs navigate social dilemmas in which ethical norms conflict with payoff-maximizing strategies. Our results show substantial variation across models in both their general tendency to act morally and the consistency of their behavior across game types, the specific moral framing, and situational factors such as opponent behavior and survival risks. Crucially, no model exhibits consistently moral behavior in MoralSim, highlighting the need for caution when deploying LLMs in agentic roles where the agent's "self-interest" may conflict with ethical expectations. Our code is available at https://github.com/sbackmann/moralsim.
title When Ethics and Payoffs Diverge: LLM Agents in Morally Charged Social Dilemmas
topic Computation and Language
Artificial Intelligence
Computers and Society
url https://arxiv.org/abs/2505.19212