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

H3Fusion: 有助于、无害且诚实的对齐大语言模型融合

H3Fusion: Helpful, Harmless, Honest Fusion of Aligned LLMs

Georgia Institute of Technology, USA(佐治亚理工学院)

Selim Furkan Tekin, Fatih Ilhan, Tiansheng Huang, Sihao Hu, Yichang Xu, Zachary Yahn, Ling Liu

AI总结:

H3Fusion通过基于MoE的融合机制,在帮助性、无害性和诚实性方面优于现有方法。

摘要:

预训练大语言模型(LLM)的对齐问题持续受到产业和学术界的广泛关注,旨在确保响应具有帮助性、无害性和诚实性。然而,识别模型表示子空间中同时满足这些属性的点仍然具有挑战性。H3Fusion通过引入基于专家混合(MoE)的融合机制来解决这一挑战,将对齐建模为子空间内的可控漂移,通过漂移正则化损失来平衡相互竞争的对齐维度。此外,我们通过寻找生成嵌入与对齐嵌入之间的距离双目标来表征对齐,并通过将激活作用于贡献专家上引入门控损失。对三个基准数据集的广泛评估表明,H3Fusion在三个方面更具帮助性、更无害和更诚实:它在帮助性方面比单独对齐的模型高出11.37%,并且比最先进的LLM集成方法在鲁棒性方面高出13.77%,比模型合并方法高出6.18%。代码可在https://github.com/git-disl/h3fusion上获得。

英文摘要:

The alignment of pre-trained LLMs continues to draw significant attention from both industry and academia, aiming to ensure responses that are helpful, harmless, and honest. However, identifying a point in the model's representation subspace that simultaneously satisfies all these properties remains challenging. H3Fusion addresses this challenge by introducing a mixture-of-experts (MoE)-based fusion mechanism that models alignment as a controllable drift within the subspace, guided by a drift-regularization loss to balance competing alignment dimensions. Furthermore, we formulate the alignment by finding a dual objective of harnessing the distance of generated embeddings and alignment embeddings, and introduce a gating loss by canalizing the activations on the contributing experts. Extensive evaluations of three benchmark datasets show that H3Fusion is more helpful, less harmful, and more honest in three aspects: it outperforms each individually aligned model by 11.37%, and provides stronger robustness compared to the state-of-the-art LLM ensemble approaches by 13.77% and model-merging approaches by 6.18%. Code is available at https://github.com/git-disl/h3fusion.

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

↑