arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.04305cs.CLcs.LG
收藏

ALMA:基于最小标注的对齐

ALMA: Alignment with Minimal Annotation

Meta FAIR

Michihiro Yasunaga, Leonid Shamis, Chunting Zhou, Andrew Cohen, Jason Weston, Luke Zettlemoyer, Marjan Ghazvininejad

AI总结:

针对大语言模型对齐需大量人工标注或外部模型的问题,提出ALMA方法,通过少样本提示合成、多模型响应生成等技术仅用9000个标注样本实现有效对齐,性能接近Llama3-Instruct且突破传统训练轮次上限。

摘要:

近期大语言模型(LLM)对齐方法通常需要数百万人工标注,或依赖外部对齐模型生成合成数据。本文提出ALMA:基于最小标注的对齐,证明仅用9000个标注样本(不足传统方法的1%)即可实现有效对齐。ALMA通过新技术生成大量高质量合成对齐数据:通过少样本学习实现多样化提示合成、利用多模型检查点生成多样化响应、通过分数聚合和自蒸馏增强评判器(奖励模型)。仅使用预训练Llama3基础模型、5000个SFT样本和4000个评判器标注,ALMA在多种对齐基准上性能接近Llama3-Instruct(如AlpacaEval 2.0得分差异仅0.1%)。这些结果通过多轮自引导数据合成与训练方案实现,该方案可持续改进10轮,突破了此前方法通常3轮的上限。结果表明基础模型已具备有效对齐的足够知识,合成数据生成方法可挖掘这些知识。

英文摘要:

Recent approaches to large language model (LLM) alignment typically require millions of human annotations or rely on external aligned models for synthetic data generation. This paper introduces ALMA: Alignment with Minimal Annotation, demonstrating that effective alignment can be achieved using only 9,000 labeled examples -- less than 1% of conventional approaches. ALMA generates large amounts of high-quality synthetic alignment data through new techniques: diverse prompt synthesis via few-shot learning, diverse response generation with multiple model checkpoints, and judge (reward model) enhancement through score aggregation and self-distillation. Using only a pretrained Llama3 base model, 5,000 SFT examples, and 4,000 judge annotations, ALMA achieves performance close to Llama3-Instruct across diverse alignment benchmarks (e.g., 0.1% difference on AlpacaEval 2.0 score). These results are achieved with a multi-round, self-bootstrapped data synthesis and training recipe that continues to improve for 10 rounds, surpassing the typical 3-round ceiling of previous methods. These results suggest that base models already possess sufficient knowledge for effective alignment, and that synthetic data generation methods can expose it.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑