arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.07618cs.AIcs.CL
收藏

基于稀疏自编码器的约束对齐

Constrain Alignment with Sparse Autoencoders

Zhejiang University(浙江大学);Hongkong Polytechnic University(香港理工大学);University College London(伦敦大学学院);Westlake University(西湖大学);King's College London(国王学院);Southern University of Science and Technology(南方科技大学)

Qingyu Yin, Chak Tou Leong, Minjun Zhu, Hanqi Yan, Qiang Zhang, Yulan He, Wenjie Li, Jun Wang, Yue Zhang, Linyi Yang

AI总结:

针对LLM对齐中的计算低效与不稳定问题,提出基于稀疏自编码器的特征级约束偏好优化(FPO),实现高效稳定对齐,胜率绝对提升5.08%。

摘要:

大型语言模型(LLM)与人类偏好的对齐仍是一个关键挑战。尽管诸如基于人类反馈的强化学习(RLHF)和直接偏好优化(DPO)等后训练技术已取得显著成功,但它们常常引入计算效率低下和训练不稳定的问题。在本文中,我们提出了特征级约束偏好优化(FPO),这是一种旨在简化对齐过程并确保稳定性的新方法。FPO利用预训练的稀疏自编码器(SAEs)并引入特征级约束,实现了高效、稀疏性强制对齐。我们的方法通过利用在训练良好的稀疏自编码器中激活的稀疏特征来获得效率,并通过使用特征级离线参考来获得顺序KL散度的质量。在基准数据集上的实验结果表明,与最先进的基线相比,FPO在胜率上实现了5.08%的绝对提升,且计算成本更低,使其成为高效且可控的LLM对齐的有前景的解决方案。

英文摘要:

The alignment of large language models (LLMs) with human preferences remains a key challenge. While post-training techniques like Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) have achieved notable success, they often introduce computational inefficiencies and training instability. In this paper, we propose Feature-level constrained Preference Optimization (FPO), a novel method designed to simplify the alignment process while ensuring stability. FPO leverages pre-trained Sparse Autoencoders (SAEs) and introduces feature-level constraints, allowing for efficient, sparsity-enforced alignment. Our approach enjoys efficiency by using sparse features activated in a well-trained sparse autoencoder and the quality of sequential KL divergence by using the feature-level offline reference. Experimental results on benchmark datasets demonstrate that FPO achieves a 5.08% absolute improvement in win rate with much lower computational cost compared to state-of-the-art baselines, making it a promising solution for efficient and controllable LLM alignments.

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

↑