arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02465cs.CLcs.AI
收藏

揭示预训练语言模型的固有的指令可遵循性

Revealing the Inherent Instructability of Pre-Trained Language Models

Department of Computer Science and Engineering, UNIST(UNIST计算机科学与工程系);Graduate School of Artificial Intelligence, POSTECH(POSTECH人工智能研究生院);Department of Computer Science and Engineering, POSTECH(POSTECH计算机科学与工程系)

Seokhyun An, Minji Kim, Hyounghun Kim

AI总结:

提出Response Tuning方法,仅通过响应数据训练模型,验证预训练LLMs具备固有的指令理解和处理能力及安全性。

摘要:

指令微调——使用指令-响应对进行监督微调——是使预训练大型语言模型(LLMs)具备指令可遵循性的关键步骤。同时,LLMs在其预训练期间执行多任务学习,获取广泛的知识和能力。我们假设预训练阶段能够使它们发展出理解和处理指令的能力。为了验证这一点,我们提出了Response Tuning(RT),它去除了指令微调中的指令及其到响应的映射。相反,它仅专注于建立响应分布。我们的实验表明,仅在响应上训练的RT模型,能够像其经过指令微调的对应模型一样,有效地对广泛的指令作出响应。此外,我们观察到,模型在仅从响应数据中学习安全策略后,能够识别并拒绝不安全的查询。此外,我们发现这些观察结果延伸到了上下文学习设置中。这些发现支持了我们的假设,突出了预训练LLMs广泛的固有能力。

英文摘要:

Instruction tuning -- supervised fine-tuning using instruction-response pairs -- is a key step in making pre-trained large language models (LLMs) instructable. Meanwhile, LLMs perform multitask learning during their pre-training, acquiring extensive knowledge and capabilities. We hypothesize that the pre-training stage can enable them to develop the ability to comprehend and address instructions. To verify this, we propose Response Tuning (RT), which removes the instruction and its corresponding mapping to the response from instruction tuning. Instead, it focuses solely on establishing a response distribution. Our experiments demonstrate that RT models, trained only on responses, can effectively respond to a wide range of instructions akin to their instruction-tuned counterparts. In addition, we observe that the models can recognize and reject unsafe queries after learning a safety policy only from the response data. Furthermore, we find that these observations extend to an in-context learning setting. These findings support our hypothesis, highlighting the extensive inherent capabilities of pre-trained LLMs.

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

↑