BPO:在对齐中实现知识广度与深度之间平衡偏好优化
BPO: Towards Balanced Preference Optimization between Knowledge Breadth and Depth in Alignment
AI总结:
针对对齐数据中知识广度与深度学习失衡的问题,本文提出BPO,利用基于梯度的聚类动态增强样本知识深度,在保持训练效率的同时提升对齐性能。
摘要:
基于人类反馈的强化学习(RLHF)是近年来大语言模型(LLM)取得成功的关键。在本研究中,我们首先引入知识广度和知识深度的概念,二者分别衡量LLM或知识来源的全面性与深度。我们揭示,提示与响应数量的不平衡可能导致对齐调优数据集中广度学习和深度学习存在潜在差异;我们通过表明即使是一种用于平衡指令与响应数量的简单均匀方法,也能带来显著改进而证明了这一点。在此基础上,我们进一步提出平衡偏好优化(Balanced Preference Optimization,BPO),旨在动态增强每个样本的知识深度。BPO的动机来自如下观察:知识的有用性因样本而异,因此需要对知识深度进行定制化学习。为实现这一目标,我们引入基于梯度的聚类,根据模型的优化方向估计每个增强样本的知识信息量和有用性。我们在多个基准上的实验结果表明,BPO在对齐调优中优于其他基线方法,同时保持训练效率。此外,我们对BPO的每个组成部分进行了详细分析,为未来偏好数据优化研究提供指导原则。
英文摘要:
Reinforcement Learning with Human Feedback (RLHF) is the key to the success of large language models (LLMs) in recent years. In this work, we first introduce the concepts of knowledge breadth and knowledge depth, which measure the comprehensiveness and depth of an LLM or knowledge source respectively. We reveal that the imbalance in the number of prompts and responses can lead to a potential disparity in breadth and depth learning within alignment tuning datasets by showing that even a simple uniform method for balancing the number of instructions and responses can lead to significant improvements. Building on this, we further propose Balanced Preference Optimization (BPO), designed to dynamically augment the knowledge depth of each sample. BPO is motivated by the observation that the usefulness of knowledge varies across samples, necessitating tailored learning of knowledge depth. To achieve this, we introduce gradient-based clustering, estimating the knowledge informativeness and usefulness of each augmented sample based on the model's optimization direction. Our experimental results across various benchmarks demonstrate that BPO outperforms other baseline methods in alignment tuning while maintaining training efficiency. Furthermore, we conduct a detailed analysis of each component of BPO, providing guidelines for future research in preference data optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。