Constitutional AI
Also known as: CAI
Training method developed by Anthropic that guides an AI model's behavior with a written set of principles, using AI feedback in place of much human labeling.
Constitutional AI is an approach to training AI assistants to be helpful and harmless using an explicit list of principles, called a constitution, rather than relying only on large numbers of human judgments about individual outputs. The principles describe desired behavior, for example avoiding harmful or deceptive responses while still being genuinely useful. The model itself uses these principles to critique and improve responses, and AI-generated preference judgments guided by the principles replace much of the human feedback used in reinforcement learning from human feedback.
Anthropic described the method in a December 2022 paper, "Constitutional AI: Harmlessness from AI Feedback". Training has two phases. In a supervised phase, the model generates responses, critiques them against principles drawn from the constitution and revises them, and it is then fine-tuned on the revised answers. In a reinforcement learning phase, the model compares pairs of responses according to the constitution, and those AI preferences train a reward model, a technique known as reinforcement learning from AI feedback. Anthropic has used constitutional methods in training its Claude models.
The approach aims to make the values guiding a model more transparent and easier to adjust, since the principles are written down rather than implicit in thousands of individual ratings. It also reduces the need for human workers to review harmful content. Critics note that behavior still depends on how principles are interpreted during training and that the choice of principles reflects the developer's own judgment. Written principles also do not guarantee aligned behavior in every situation. Anthropic has experimented with drafting principles through public input.
Key points
- Constitutional AI trains models using a written set of principles rather than only human ratings.
- Anthropic introduced the method in a December 2022 paper on harmlessness from AI feedback.
- Models critique and revise their own outputs, and AI preference judgments train a reward model.
- Written principles increase transparency but do not by themselves guarantee aligned behavior.
Related entries
Training technique that fine-tunes AI models using human judgments of output quality, which are turned into a reward signal for reinforcement learning.
American AI safety and research company that develops the Claude family of large language models and publishes research on alignment and interpretability.
Claude
Family of large language models and the AI assistant built on them, developed by Anthropic and first released to the public in 2023.
Research field concerned with ensuring that AI systems pursue the goals their designers intend and act in line with human values and interests.
Interdisciplinary field focused on preventing accidents, misuse and other harmful outcomes from AI systems, from present models to future ones.
Further training of a pretrained model on a smaller, task-specific dataset so that it adapts its behavior to a particular domain, style or task.
Jailbreak (AI)
Technique for bypassing the safety restrictions of an AI model so that it produces content or actions its developers intended it to refuse.