Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Constitutional AI

Topic: Training and modelsAlso called CAI

Definition

A training method in which a model learns to be harmless by critiquing and revising its own answers against a written list of principles.

In more detail

Anthropic introduced it in a December 2022 paper. In a supervised phase the model drafts answers, critiques them against the principles and is fine-tuned on the revisions. In a reinforcement learning phase a model compares pairs of answers, and a preference model trained on those AI judgements supplies the reward, which the paper calls RL from AI feedback (RLAIF).

The appeal is that the rules are written down and can be read and changed, instead of being spread across thousands of human preference labels. It is one post-training technique among several, and it does not make a model immune to jailbreaks.

  • AI alignment

    The work of making AI systems pursue the goals and values their developers and users intend, and avoid harmful behaviour nobody asked for.

  • DPO

    Direct Preference Optimization: training a model directly on pairs of preferred and rejected outputs, with no separate reward model needed.

  • Post-training

    Training after pretraining that shapes a model's behaviour, including instruction tuning and preference or reinforcement learning.

  • Red-teaming

    Deliberately attacking an AI system to find harmful, insecure or embarrassing behaviour before real users or attackers can find it.

  • RLHF

    Reinforcement learning from human feedback: training a model with a reward signal learned from people's preferences between two outputs.

  • RLHF

    Reinforcement learning from human feedback: training a model with a reward signal learned from people's preferences between two outputs.

    Glossary

  • Fine-tuning

    Further training a model on task-specific examples, and knowing when RAG is enough.

    SkillAdvanced

  • Post-training

    Training after pretraining that shapes a model's behaviour, including instruction tuning and preference or reinforcement learning.

    Glossary