📚 Course
Intermediate
~2–3h

AI Ethics Frameworks

2,000-Year-Old Philosophy, Applied to Today's Algorithms

Every AI system that ranks, filters, or acts on your behalf has already made an implicit ethical choice about what to optimize for. This course teaches the three classical frameworks philosophers use to evaluate any decision — outcomes, rules, and character — so you can name which one is quietly running underneath any algorithm you encounter.
Intermediate
~2–3 hours (self-paced)
5 Modules

TL;DR:

Three classical frameworks — utilitarianism (judge by outcomes), deontology (judge by rules and duties), and virtue ethics (judge by character) — give three different, defensible answers to the same AI design question. The 2018 Moral Machine experiment (Nature, ~40 million decisions from 233 countries) shows these aren't abstract disagreements — they produce measurably different, culturally variable real-world choices. This course teaches you to spot which framework any AI system is quietly built on, not to declare one framework universally correct.

Who this course is for

This course is for anyone who designs, evaluates, or is affected by systems that make decisions on people's behalf — product managers shaping content moderation policy, engineers building autonomous systems, policymakers writing AI governance rules, or anyone who wants a sharper vocabulary than “that seems wrong” for evaluating an algorithm's choices.

No philosophy background required. Each framework is explained from its original source, in plain language, before being applied to concrete AI examples.

What you'll learn

Utilitarianism

Judging by outcomes — maximize good results across everyone affected, and why this is harder to apply than it sounds.

Deontology

Kant's duty-based ethics — some actions are wrong regardless of outcome, and how AI systems encode hard rules.

Virtue Ethics

Judging by character rather than rules or outcomes — and what it means for a system trained by imitation.

The Moral Machine Study

The largest ethics experiment ever run (40M decisions, 233 countries) — and what it revealed about cultural variation in moral intuition.

A Diagnostic Framework

How to identify which ethical logic is baked into any AI system you encounter — content moderation, autonomous vehicles, hiring tools.

Where Frameworks Conflict

Real cases where the three frameworks give different answers — and why that disagreement is a feature of ethics, not a bug in the AI.

Module 1 — Utilitarianism: judge by outcomes

Utilitarianism, most associated with Jeremy Bentham and John Stuart Mill, is a form of consequentialism: an action is right if it produces the best overall outcome — typically framed as maximizing well-being and minimizing suffering, summed across everyone affected. Nothing is intrinsically forbidden; the ends genuinely can justify the means, if the math works out.

In AI systems, utilitarian logic shows up constantly and usually invisibly: a content moderation system tuned to “minimize total harm across the user base” is utilitarian. A resource allocation algorithm optimizing aggregate outcomes (most lives saved, most requests served) is utilitarian. The appeal is that it's measurable and optimizable — exactly what makes it natural for engineers to reach for by default, often without recognizing it as one ethical position among several rather than simply “the objective approach.”

The classic objection

Pure aggregation can justify harming a minority if it benefits a larger majority more — which is precisely why most real systems that use utilitarian optimization also layer deontological hard limits on top (Module 2), rather than optimizing outcomes with zero constraints.

Module 2 — Deontology: judge by rules and duties

Immanuel Kant's moral philosophy takes the opposite approach: some actions are wrong regardless of their consequences, because they violate a duty or a rule that should hold universally. Kant's famous test — the categorical imperative — asks whether you could will the rule behind your action to become a universal law everyone follows. Lying fails this test even when lying would produce a better outcome, because a world where everyone lies whenever it's convenient undermines the very possibility of trust.

In AI systems, deontological logic shows up as hard constraints that hold no matter what the optimizer “wants” — a content policy that never allows certain content regardless of engagement benefits, a safety system with rules an autonomous vehicle will never violate (don't intentionally target a pedestrian) even if simulation shows a rule violation would minimize total harm in some edge case. These are exactly the guardrails that keep pure outcome optimization from producing outcomes nobody actually wants.

The classic objection

Rigid rules can produce clearly bad outcomes in edge cases the rule-writer didn't anticipate — which is why real systems rarely run on deontology alone, and why virtue ethics (Module 3) appeals precisely where neither optimization nor rules handle novel, context-heavy situations well.

Module 3 — Virtue ethics: judge by character

Tracing back to Aristotle, virtue ethics asks a different question entirely: not “what outcome maximizes good?” or “what rule applies?”, but “what would a person of genuinely good character — honest, courageous, fair, wise — do here?” Right action flows from good character rather than from calculation or rule-following, and good character is cultivated through practice and habituation, not derived from a formula.

This is the hardest framework to encode directly into an AI system, precisely because it resists reduction to a formula or a rulebook — which is exactly why it maps unusually well onto how modern AI systems are actually trained. A model fine-tuned on examples of how a careful, fair, thoughtful human moderator or advisor handled thousands of specific, messy real situations is closer to learning “character by imitation” than to running a utility calculation or checking a rule list — even though the underlying mechanism is statistical pattern-matching, not virtue in the Aristotelian sense.

The classic objection

Virtue ethics gives little concrete guidance for genuinely novel situations no training example covered, and “imitating good judgment” is not the same as possessing it — an imitation-trained system can reproduce the surface pattern of good judgment while still lacking whatever underlies real human wisdom, which loops back to Module 4's question of this course's companion, Can Machines Think?

Module 4 — The Moral Machine experiment

In 2018, a team led by Edmond Awad published “The Moral Machine Experiment” in Nature — an online platform presenting trolley-problem-style dilemmas for self-driving cars (spare passengers or pedestrians? more lives or fewer? young or old?) that collected roughly 40 million decisions from people in 233 countries, the largest empirical study of applied moral intuition ever conducted.

The findings map directly onto this course's three frameworks: most respondents leaned utilitarian in aggregate (favoring fewer deaths over more), but layered in strong, near-universal deontological exceptions (a strong reluctance to treat any decision as intentionally targeting a person) and showed clear virtue-adjacent cultural variation in what counted as a “fair” or “honorable” choice. Crucially, the study found real, systematic cross-cultural clusters — there was no single global consensus.

Why this matters beyond self-driving cars

The Moral Machine is often reduced to a cute trolley-problem quiz, but its real finding is structural: any AI system deployed globally will encounter genuinely different, culturally grounded moral expectations — meaning a single hard-coded ethical setting cannot be “neutral,” it will always be someone's framework applied to everyone.

Module 5 — Spotting the framework baked into a system

Every AI system that ranks, filters, moderates, allocates, or acts already encodes an ethical position — usually without anyone stating it out loud. Use this template to name it explicitly the next time you evaluate, design, or are affected by one.

AI Ethics Framework Diagnostic Template:
I'm evaluating the ethical logic behind this AI system or decision: [describe the system, e.g. "a content moderation algorithm" or "an autonomous vehicle's collision-avoidance behavior"]

Walk me through it against these three lenses:
1. Utilitarian lens: What outcome is this system apparently optimizing to maximize or minimize? Whose well-being counts, and is anyone's excluded from the calculation?
2. Deontological lens: What hard rules or limits does this system never violate, regardless of the outcome? Are those limits stated explicitly, or only implied by what it refuses to do?
3. Virtue-ethics lens: Was this system trained by imitating examples of good human judgment in context, rather than by rule or by optimization? If so, whose judgment, and in what contexts, was it trained on?
4. Where these three lenses would give DIFFERENT answers for a real decision this system might face, which one appears to actually govern, and is that the right choice for this context?

Give me a one-paragraph assessment of which framework(s) this system is actually built on, and one concrete scenario where that choice would visibly matter.

Risks & Responsible Use

Know these before you go further.

Assuming Utilitarian Optimization Is "Neutral" or "Objective"

Because outcome-maximization is measurable and easy to encode in an optimization objective, it's often treated as the default, "objective" choice rather than recognized as one ethical position among several with its own well-known failure modes (justifying harm to a minority for aggregate benefit).

What this means for you

When a system optimizes a metric, ask explicitly whose well-being is counted, whose is excluded, and whether hard deontological limits are needed on top — don't treat the optimization target as ethically self-justifying.

Treating One Framework as Universally Correct

Utilitarianism, deontology, and virtue ethics have been actively, seriously debated by professional philosophers for centuries without convergence. Presenting any one as simply "correct" misrepresents the actual state of the field and can hide real trade-offs a design choice is making.

What this means for you

When justifying an AI system's ethical design, name which framework(s) it relies on explicitly, rather than presenting the choice as the only reasonable one.

Using "It's Just Following Rules" to Deflect Accountability

Deontological framing ("the system just enforces policy X") can be used to deflect responsibility for a rule's real-world effects, as if encoding a rule removes human accountability for choosing that rule in the first place.

What this means for you

Trace any "the system just follows the rules" defense back to who chose the rules and why — rule-following doesn't eliminate responsibility for the rules themselves.

Ignoring Cross-Cultural Variation in Globally Deployed Systems

The Moral Machine experiment found real, systematic cross-cultural differences in moral intuitions. A single hard-coded ethical setting deployed globally isn't neutral — it's one region or culture's framework applied to everyone, often without anyone deciding that deliberately.

What this means for you

For systems deployed across cultures or regions, treat the choice of ethical defaults as a deliberate, disclosed decision — not a technical detail that happens to reflect one cultural context by default.

Test Your Knowledge

Complete this quiz to test your understanding of utilitarianism, deontology, virtue ethics, and the Moral Machine experiment.

Loading quiz...

Frequently asked questions

Key Insights: What You've Learned

1

Utilitarianism judges by outcomes, deontology judges by rules and duties regardless of outcome, and virtue ethics judges by character — three defensible, actively debated positions that give genuinely different answers to the same AI design question.

2

The 2018 Moral Machine experiment (Nature, ~40 million decisions, 233 countries) is the largest empirical ethics study ever run, and found real cross-cultural variation in which framework people implicitly favor — there is no single 'neutral' setting.

3

Every AI system that ranks, filters, or acts already encodes one or more of these frameworks, usually implicitly; naming which one governs a given system is more useful than searching for the one universally correct framework.