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

仅使用目标无标注语言数据适配聊天语言模型

Adapting Chat Language Models Using Only Target Unlabeled Language Data

University of Sheffield(谢菲尔德大学);Hitachi, Ltd.(日立株式会社);University of Exeter(埃克塞特大学)

Atsuki Yamaguchi, Terufumi Morishita, Aline Villavicencio, Nikolaos Aletras

AI总结:

针对聊天模型无标注语言适配易遗忘对话能力的问题,提出 ElChat,直接在目标无标注数据上适配并注入源聊天模型信息,性能优于聊天向量方法。

摘要:

词汇扩展(VE)是通过添加新 token 并在目标数据上继续预训练来对大型语言模型(LLM)进行语言适配的事实标准方法。虽然这对基于无标注数据训练的基础模型有效,但给通过有标注对话数据训练以遵循指令的聊天模型带来了挑战。直接在目标无标注数据上用 VE 适配后者可能导致聊天能力遗忘。尽管目标聊天数据很理想,但对于低资源语言而言往往不可获得或创建成本高昂,而机器翻译替代方案也并不总是有效。为解决这一问题,先前工作提出使用同一系列的基础模型和聊天模型。该方法首先在目标无标注数据上用 VE 适配基础 LLM,然后通过添加聊天向量(CV)将其转换为聊天模型,CV 来源于源基础模型与聊天模型之间的权重差。我们提出 ElChat,这是一种面向聊天 LLM 的新型语言适配方法,无需基础模型即可直接在目标无标注数据上适配聊天模型。它通过注入来自源聊天模型的信息来引出聊天能力。与 CV 相比,ElChat 提供更稳健、更具竞争力的目标语言和安全性能,同时实现更优的英语、聊天及指令遵循能力。

英文摘要:

Vocabulary expansion (VE) is the de-facto approach to language adaptation of large language models (LLMs) by adding new tokens and continuing pre-training on target data. While this is effective for base models trained on unlabeled data, it poses challenges for chat models trained to follow instructions through labeled conversation data. Directly adapting the latter with VE on target unlabeled data may result in forgetting chat abilities. While ideal, target chat data is often unavailable or costly to create for low-resource languages, and machine-translated alternatives are not always effective. To address this issue, previous work proposed using a base and chat model from the same family. This method first adapts the base LLM with VE on target unlabeled data and then converts it to a chat model by adding a chat vector (CV) derived from the weight difference between the source base and chat models. We propose ElChat, a new language adaptation method for chat LLMs that adapts a chat model directly on target unlabeled data, without a base model. It elicits chat abilities by injecting information from the source chat model. ElChat offers more robust and competitive target language and safety performance while achieving superior English, chat, and instruction-following abilities compared to CV.

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

↑