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

向语言模型添加对齐控制

Adding Alignment Control to Language Models

Wenhong Zhu, Weinan Zhang, Rui Wang

AI总结:

本文提出CLM模型,通过添加身份层实现语言模型的对齐控制,通过插值系数实现对齐的插值和外推,提升模型的可用性。

摘要:

在训练后加入对齐因素已成为增强语言模型(LMs)可用性的重要因素。然而,对齐的强度会因个人偏好而异。本文提出了一种方法,将对齐控制整合到单个模型中,称为CLM。该方法在初始层之前添加一个身份层,并仅在该层上进行偏好学习,以将未对齐的输入标记嵌入映射到对齐空间。实验结果表明,这种高效的微调方法在性能上与全微调相当。在推理过程中,输入嵌入会经过对齐和未对齐的层,然后通过插值系数进行合并。通过控制此参数,对齐表现出明显的插值和外推现象。

英文摘要:

Post-training alignment has increasingly become a crucial factor in enhancing the usability of language models (LMs). However, the strength of alignment varies depending on individual preferences. This paper proposes a method to incorporate alignment control into a single model, referred to as CLM. This approach adds one identity layer preceding the initial layers and performs preference learning only on this layer to map unaligned input token embeddings into the aligned space. Experimental results demonstrate that this efficient fine-tuning method performs comparable to full fine-tuning. During inference, the input embeddings are processed through the aligned and unaligned layers, which are then merged through the interpolation coefficient. By controlling this parameter, the alignment exhibits a clear interpolation and extrapolation phenomenon.

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

↑