I-SHEEP: Self-Alignment of LLM from Scratch through an Iterative Self-Enhancement Paradigm
Yiming Liang, Ge Zhang, Xingwei Qu, Tianyu Zheng, Jiawei Guo, Xinrun Du, Zhenzhu Yang, Jiaheng Liu, Chenghua Lin, Lei Ma, Wenhao Huang, Jiajun Zhang
TL;DR
I-SHEEP tackles continuous self-alignment of LLMs from scratch by combining self-driven data synthesis with metacognitive self-assessment, filtering, and supervised fine-tuning to yield iterative improvements without external data or tools. The framework demonstrates significant gains across multiple model families and benchmarks, including up to 78.2% relative improvement on Alpaca Eval and notable gains in IFEval, code generation, and SQuAD, while highlighting the importance of metacognitive prompts and data filtering. Key contributions include the introduction of an explicit self-assessment mechanism, a detailed ablation study on data size, thresholds, and prompts, and evidence of generalization to other models like Llama-3, suggesting strong potential for resource-efficient, continuous self-improvement. Limitations include reliance on RLHF to realize final gains, potential synthetic-data biases, and the need for further work to fully mitigate incorrect cognitions and safety concerns.
Abstract
Large Language Models (LLMs) have achieved significant advancements, however, the common learning paradigm treats LLMs as passive information repositories, neglecting their potential for active learning and alignment. Some approaches train LLMs using their own generated synthetic data, exploring the possibility of active alignment. However, there is still a huge gap between these one-time alignment methods and the continuous automatic alignment of humans. In this paper, we introduce \textbf{I-SHEEP}, an \textbf{I}terative \textbf{S}elf-En\textbf{H}anc\textbf{E}m\textbf{E}nt \textbf{P}aradigm.This human-like paradigm enables LLMs to \textbf{continuously self-align from scratch with nothing}. Compared to the one-time alignment method Dromedary \cite{sun2023principledriven}, which refers to the first iteration in this paper, I-SHEEP can significantly enhance capacities on both Qwen and Llama models. I-SHEEP achieves a maximum relative improvement of 78.2\% in the Alpaca Eval, 24.0\% in the MT Bench, and an absolute increase of 8.88\% in the IFEval accuracy over subsequent iterations in Qwen-1.5 72B model. Additionally, I-SHEEP surpasses the base model in various standard benchmark generation tasks, achieving an average improvement of 24.77\% in code generation tasks, 12.04\% in TrivialQA, and 20.29\% in SQuAD. We also provide new insights based on the experiment results. Our codes, datasets, and models are available at \textbf{https://anonymous.4open.science/r/I-SHEEP}.
