Reproduce “Constitutional AI: Harmlessness from AI Feedback” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie and 43 more

Constitutional AI trains assistants to answer harmful requests with safer alternatives, using human-written principles to critique and revise responses. In reinforcement learning, a model compares answers to generate harmlessness preferences for a preference model, while human labels still guide helpfulness. In crowdworker comparisons, 52B RL-CAI was judged more harmless at a given helpfulness level, under evaluations favoring thoughtful, non-evasive replies.

Key insights

  • Leveraging AI feedback, guided by natural language constitutional principles, significantly reduces the reliance on human labeling for AI alignment.
  • Incorporating Chain-of-Thought reasoning into AI evaluation processes improves the transparency and effectiveness of model critique and revision.
  • A progressive, multi-round revision process in the supervised learning stage effectively reduces AI harmfulness while maintaining helpfulness.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.