Aligning AI With Shared Human Values

Dan Hendrycks, Collin Burns, Steven Basart, Andrew Critch, Jerry Li, Dawn Song, Jacob Steinhardt

As artificial intelligence systems become increasingly autonomous—powering everything from conversational chatbots to complex reinforcement learning agents—ensuring they behave in ways that align with human values is a critical challenge. Historically, researchers have attempted to "hard-code" ethics using narrow mathematical definitions of fairness or rigid safety constraints. However, human morality is notoriously messy, nuanced, and highly context-dependent.

Intelligence is fundamentally orthogonal to moral behavior; a highly capable model is not inherently an ethical one. To bridge this gap, researchers have introduced the ETHICS dataset, a massive new benchmark designed to measure a machine learning system’s grasp of general human values in open-world, diverse scenarios.

Example commonsense morality scenarios and model predictions.

The ETHICS Benchmark

Unlike previous datasets that focus on descriptive knowledge (understanding what is), the ETHICS dataset focuses on normative knowledge (understanding what should be). The researchers grounded the dataset in five long-standing traditions of normative ethics, encompassing over 130,000 crowdsourced scenarios:

  1. Justice: Focusing on impartiality and "desert" (giving people what they deserve based on their actions).
  2. Deontology: Understanding rules, obligations, and when exemptions are reasonable.
  3. Virtue Ethics: Identifying character traits (like honesty, courage, or cruelty) reflected in specific actions.
  4. Utilitarianism: Ranking scenarios based on which outcome maximizes well-being or minimizes suffering.
  5. Commonsense Morality: Capturing everyday human intuitions about right and wrong.
Examples from the Justice framework testing impartiality and desert.

To ensure models couldn't simply "cheat" by relying on keyword heuristics (e.g., automatically flagging the word "kill" as bad regardless of context), the authors employed counterfactual augmentations. They created pairs of sentences with tiny, subtle edits that completely flip the moral verdict. Furthermore, they used adversarial filtration—employing a separate model to identify and remove "easy" examples—to create a "Hard Test" set designed specifically to expose the weaknesses of current AI.

Key Findings and Model Performance

The researchers benchmarked several state-of-the-art language models, including BERT, RoBERTa, ALBERT, and GPT-3, revealing a landscape of promising capabilities but significant blind spots.

  • The "Hard Test" Reality Check: While models performed reasonably well on standard test sets, their accuracy plummeted on the adversarially filtered Hard Test. For instance, the top-performing model, ALBERT-xxlarge, achieved a 71.0% average accuracy on the standard test set, but dropped sharply to 47.9% on the Hard Test. This suggests models often rely on superficial statistical cues rather than possessing a robust understanding of ethics.
  • Scale Matters, But Isn't Everything: Larger models generally performed better, but even the most advanced architectures remain far below the human performance ceiling.
  • GPT-3's Zero-Shot Struggle: In a few-shot setting without specific fine-tuning, GPT-3 struggled significantly, averaging only 39.3% on the test set. However, it did show better intuition for utilitarian rankings than for binary moral classification.
  • Framing and Scope Insensitivity: Models proved surprisingly sensitive to how a scenario was framed. A model might assign different utility scores to "the cup is half full" versus "the cup is half empty," despite the physical reality being identical. In utilitarian tasks, models also exhibited "scope insensitivity," sometimes failing to recognize that saving 1,000,000 lives is mathematically and morally vastly preferable to saving 1,000 lives.

Limitations and the Road Ahead

While the ETHICS dataset is a massive leap forward for machine ethics, the authors acknowledge several limitations. The dataset primarily reflects English-speaking, Western perspectives (US, Canada, UK), highlighting a need for broader cultural representation in future iterations. Additionally, the models often behave in opaque ways—for example, changing a character's name from Lauren to Ruth can inexplicably alter the model's moral probability score.

Looking forward, the authors note that ethical AI will eventually need to operate beyond text, functioning in multimodal (visual/auditory) and sequential decision-making environments. There is also the looming risk of "reward hacking": if these models are used as reward functions to train other AIs, those agents might find loopholes to achieve high scores without actually acting ethically.

Ultimately, the ETHICS dataset proves that progress can be made on machine ethics today. By providing a rigorous, multi-faceted benchmark, it offers a crucial stepping stone toward developing AI systems that truly understand and align with shared human values.

Summary updated

BibTeX
@inproceedings{hendrycks2021aligning,
  author = {Dan Hendrycks and Collin Burns and Steven Basart and Andrew Critch and Jerry Li and Dawn Song and Jacob Steinhardt},
  title = {{Aligning AI With Shared Human Values}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=lW7YBrioBqO},
}
Figure