IterAlign: Iterative Constitutional Alignment of Large Language Models
<|reference_start|>IterAlign: Iterative Constitutional Alignment of Large Language Models: With the rapid development of large language models (LLMs), aligning LLMs with human values and societal norms to ensure their reliability and safety has become crucial. Reinforcement learning with human feedback (RLHF) and Constitutional AI (CAI) have been proposed for LLM alignment. However, these methods require either heavy human annotations or explicitly pre-defined constitutions, which are labor-intensive and resource-consuming. To overcome these drawbacks, we study constitution-based LLM alignment and propose a data-driven constitution discovery and self-alignment framework called IterAlign. IterAlign leverages red teaming to unveil the weaknesses of an LLM and automatically discovers new constitutions using a stronger LLM. These constitutions are then used to guide self-correction of the base LLM. Such a constitution discovery pipeline can be run iteratively and automatically to discover new constitutions that specifically target the alignment gaps in the current LLM. Empirical results on several safety benchmark datasets and multiple base LLMs show that IterAlign successfully improves truthfulness, helpfulness, harmlessness and honesty, improving the LLM alignment by up to $13.5\%$ in harmlessness.<|reference_end|>
@article{chen2024iteralign:,
    title={IterAlign: Iterative Constitutional Alignment of Large Language Models},
    author={Xiusi Chen, Hongzhi Wen, Sreyashi Nag, Chen Luo, Qingyu Yin, Ruirui
  Li, Zheng Li, Wei Wang},
    journal={arXiv preprint arXiv:2403.18341},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.18341},
    primaryClass={cs.CL}
}