This paper explores a "top-down" approach to AI alignment. Instead of relying on the opaque and expensive process of human feedback, the authors demonstrate that Large Language Model (LLM) agents can be morally aligned using explicit reward functions derived from classical philosophy.
TL;DR
Researchers successfully aligned LLM agents to human values by fine-tuning them with explicit "intrinsic rewards" based on Deontological and Utilitarian ethics. The study shows that these agents can not only learn to cooperate in strategic games but also "unlearn" selfish behaviors and generalize their moral strategies to entirely new environments.
The Alignment Challenge
The current gold standard for AI alignment is Reinforcement Learning from Human Feedback (RLHF). While effective, RLHF has major drawbacks: it is incredibly expensive, relies on potentially biased human raters, and—most importantly—it is "bottom-up." This means values are implicitly learned from rankings, making the model’s actual "moral" logic opaque and prone to "moral mimicry" (where the AI simply tells the user what they want to hear).
As LLMs become more "agentic"—taking actions and making strategic decisions in the real world—we need a more transparent way to ensure they follow human values. The authors tackle the challenge of moving from implicit preference-matching to explicit, rule-based moral alignment.
Methods and Environments
The authors used Gemma2-2b-it as their base model and applied Proximal Policy Optimization (PPO) for fine-tuning. Instead of human scores, they used two types of intrinsic rewards:
- Deontological Rewards: Based on duty and rules. The agent was penalized for violating the norm: "Do not defect against an opponent who previously cooperated."
- Utilitarian Rewards: Based on consequences. The agent was rewarded for maximizing the collective payoff of both players, rather than just its own score.
The primary training ground was the Iterated Prisoner’s Dilemma (IPD). To ensure the model wasn't just reciting memorized game theory, the researchers used abstract tokens (like action1 and action2) and avoided using terms like "cooperate" or "defect" in the training prompts.
For evaluation and generalization, the study utilized four additional matrix games with different equilibrium structures: Iterated Stag Hunt, Iterated Chicken, Iterated Bach or Stravinsky, and Iterated Defective Coordination. They also used unrelated "call to action" prompts to see if the moral training influenced the model's behavior in non-game contexts.
Key Insights
- Transparency via Math: By defining morality as a reward function (e.g., penalizing the agent if it defects against a cooperator), alignment becomes a transparent, auditable engineering task rather than a "black box" of human preferences.
- The "Unlearning" Capability: One of the most striking findings was that a model previously trained to be "selfish" (maximizing only its own points) could be successfully "re-educated" to follow moral norms through a second phase of fine-tuning with intrinsic rewards.
- Semantic Generalization: The models didn't just learn that a specific action is good; they learned the logic of the interaction. A model trained to be Deontological on the Prisoner's Dilemma automatically applied that same "don't be the first to betray" logic when dropped into a game of "Chicken" or "Stag Hunt."
- Spillover Effects: Fine-tuning on a structured game actually changed how the model responded to general text prompts. If the prompt mentioned a "game" or a "previous state," the model was highly likely to apply its learned moral bias, even without a payoff matrix present.
Key Results
- High Adherence: Deontological agents learned to avoid defecting against cooperators nearly 100% of the time.
- Collective Welfare: Utilitarian agents successfully learned to prioritize mutual cooperation, achieving the highest possible collective scores.
- Robust Generalization: Agents trained on Deontological rewards in the IPD maintained very low "moral regret" across all four other matrix games, proving the values were not overfitted to a single scenario.
- Cost-Effectiveness: This method removes the need for thousands of human annotators, suggesting a more scalable path for aligning specialized agents.
Limitations and Future Work
- Payoff Observability: Utilitarian rewards require the agent to know (or estimate) the opponent's payoff. In many real-world scenarios, this information is hidden.
- Complexity Gap: While matrix games are excellent for studying strategic logic, they are far simpler than real-world moral dilemmas. Future work needs to test these rewards in more complex, multi-agent, and long-form text environments.
- Pluralistic Alignment: The paper focuses on two specific moral frameworks. The authors suggest that future research could use multi-objective reinforcement learning to balance multiple competing moral values (e.g., being both Utilitarian and Deontological) to satisfy a wider range of human preferences.
Summary updated