Building Interpretable Models for Moral Decision-Making
Mayank Goel, Aritra Das, Paras Chopra
TL;DR
This work presents a compact transformer engineered for moral reasoning over structured trolley-dilemma scenarios, with embeddings that separately encode who is affected, how many, and which side they belong to. It achieves 77.1% validation accuracy on Moral Machine data using a 2-layer, 2-head architecture with d=64 and enforces side-invariance at inference. Through DoWhy-based causal interventions, layer-wise attribution, and circuit probing, the authors show that moral biases localize to specific computational stages and that a sparse subnetwork causally implements the final moral scores, highlighting interpretability as a practical path to debiasing. The study demonstrates that interpretable moral reasoning can be built in small models and lays groundwork for extending these mechanistic analyses to larger language models, with implications for transparency and bias mitigation in AI moral decision-making.
Abstract
We build a custom transformer model to study how neural networks make moral decisions on trolley-style dilemmas. The model processes structured scenarios using embeddings that encode who is affected, how many people, and which outcome they belong to. Our 2-layer architecture achieves 77% accuracy on Moral Machine data while remaining small enough for detailed analysis. We use different interpretability techniques to uncover how moral reasoning distributes across the network, demonstrating that biases localize to distinct computational stages among other findings.
