用于对齐大语言模型的控制屏障函数
Control Barrier Function for Aligning Large Language Models
AI总结:
本文提出基于控制的框架,利用控制屏障函数确保用户期望的文本生成,通过安全过滤器干预生成文本,无需微调基模型。
摘要:
本文提出了一种基于控制的框架,通过利用控制屏障函数(CBF)来对齐大语言模型(LLMs),以确保用户期望的文本生成。所提出的框架将CBF安全过滤器应用于从基线LLM生成的预测标记,以干预生成的文本。安全过滤器有两个显著优势:该安全过滤器是一种附加类型,允许其用于对齐目的而无需微调基线LLM;如果存在关于期望对齐的评估模型,则可以直接应用于过滤器设计。整体文本生成系统使用开源语言模型实现,旨在生成积极的文本。
英文摘要:
This paper proposes a control-based framework for aligning large language models (LLMs) by leveraging a control barrier function (CBF) to ensure user-desirable text generation. The presented framework applies the CBF safety filter to the predicted token generated from the baseline LLM, to intervene in the generated text. The safety filter includes two significant advantages: this safety filter is an add-on type, allowing it to be used for alignment purposes without fine-tuning the baseline LLM, and if there is an evaluation model regarding the desired alignment, it can be directly applied to the filter design. The overall text-generation system is implemented with open-source language models, aiming to generate positive text.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。