Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision
FreeSelf-aligning LLMs with minimal human supervision
About Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision
SELF-ALIGN is a novel approach for aligning large language models (LLMs) with human intentions using minimal human supervision. It combines principle-driven reasoning and the generative power of LLMs to self-align AI agents. The method consists of four stages: (1) generating synthetic prompts with a topic-guided method to enhance diversity, (2) using a small set of human-written principles and in-context learning from demonstrations to produce helpful, ethical, and reliable responses, (3) fine-tuning the original LLM with the self-aligned responses so that the model can generate desirable responses directly without the principle set or demonstrations, and (4) a refinement step to address overly brief or indirect responses. Applied to LLaMA-65b, SELF-ALIGN produced the Dromedary AI assistant, which surpasses Text-Davinci-003 and Alpaca on benchmark datasets with fewer than 300 lines of human annotations (200 seed prompts, 16 generic principles, and 5 exemplars). Accepted at NeurIPS 2023 as a Spotlight paper.
Key Features
Pros & Cons
- Requires only 200 seed prompts, 16 principles, and 5 exemplars (under 300 lines of human annotations)
- Significantly surpasses state-of-the-art systems like Text-Davinci-003 and Alpaca on benchmarks
- Eliminates the need for expensive reinforcement learning from human feedback (RLHF)
- Uses the generative power of LLMs for self-alignment, enhancing scalability
- Publicly available as an open-source research paper with code links
- Based on LLaMA-65b, a large model requiring substantial compute resources
- Still requires some human-written principles and seed prompts (though minimal)
- The refinement step is needed to handle overly brief or indirect responses
- Evaluated only on benchmark datasets; real-world deployment performance may vary
- The method may not fully eliminate biases present in the base LLM or seed data