Societal Impacts

The Capacity for Moral Self-Correction in Large Language Models

Feb 15, 2023
Read Paper

Abstract

We test the hypothesis that language models trained with reinforcement learning from human feedback (RLHF) have the capability to "morally self-correct" -- to avoid producing harmful outputs -- if instructed to do so. We find strong evidence in support of this hypothesis across three different experiments, each of which reveal different facets of moral self-correction. We find that the capability for moral self-correction emerges at 22B model parameters, and typically improves with increasing model size and RLHF training. We believe that at this level of scale, language models obtain two capabilities that they can use for moral self-correction: (1) they can follow instructions and (2) they can learn complex normative concepts of harm like stereotyping, bias, and discrimination. As such, they can follow instructions to avoid certain kinds of morally harmful outputs. We believe our results are cause for cautious optimism regarding the ability to train language models to abide by ethical principles.

Policy Memo

Moral Self-Correction Policy Memo

Related content

Anthropic Economic Index: new building blocks for understanding AI use

Read more

Anthropic Economic Index report: economic primitives

This report introduces new metrics of AI usage to provide a rich portrait of interactions with Claude in November 2025, just prior to the release of Opus 4.5.

Read more

Next-generation Constitutional Classifiers: More efficient protection against universal jailbreaks

Read more
The Capacity for Moral Self-Correction in Large Language Models \ Anthropic