English

Direct Large Language Model Alignment Through Self-Rewarding Contrastive Prompt Distillation

Computation and Language 2024-08-16 v2

Abstract

Aligning large language models (LLMs) with human expectations without human-annotated preference data is an important problem. In this paper, we propose a method to evaluate the response preference by using the output probabilities of response pairs under contrastive prompt pairs, which could achieve better performance on LLaMA2-7B and LLaMA2-13B compared to RLAIF. Based on this, we propose an automatic alignment method, Direct Large Model Alignment (DLMA). First, we use contrastive prompt pairs to automatically generate preference data. Then, we continue to evaluate the generated preference data using contrastive prompt pairs and calculate a self-rewarding score. Finally, we use the DPO algorithm to effectively align LLMs by combining this self-rewarding score. In the experimental stage, our DLMA method could surpass the \texttt{RLHF} method without relying on human-annotated preference data.

Keywords

Cite

@article{arxiv.2402.11907,
  title  = {Direct Large Language Model Alignment Through Self-Rewarding Contrastive Prompt Distillation},
  author = {Aiwei Liu and Haoping Bai and Zhiyun Lu and Xiang Kong and Simon Wang and Jiulong Shan and Meng Cao and Lijie Wen},
  journal= {arXiv preprint arXiv:2402.11907},
  year   = {2024}
}

Comments

24 pages, 5 pages

R2 v1 2026-06-28T14:52:47.829Z