前缀文本如线:在基础语言模型中激发非英语对齐
Prefix Text as a Yarn: Eliciting Non-English Alignment in Foundation Language Model
AI总结:
本文提出免训练对齐方法PreTTY,通过最少任务相关前序token连接基础与SFT大语言模型,在八种语言任务中达到与SFT相当的性能,为多语言LLM普及提供低成本替代方案。
摘要:
尽管监督微调(SFT)一直是将基础大语言模型(LLM)的输出调整为特定偏好的直接方法,但人们对这种对齐的深度提出了担忧,一些批评认为它仅仅是“表面的”。我们在跨语言生成任务的范围内批判性地检验这一假设,提出SFT的有效性可能受限于其依赖前序token来引导跨语言生成。基于这一关键洞察,并应对SFT非英语数据成本高昂且可用性有限的挑战,我们引入了一种名为PreTTY的免训练对齐新方法,该方法使用最少的与任务相关的前序token来连接基础LLM和SFT LLM,无需训练即可实现相当的性能。在八种语言的机器翻译和词性标注实验证明了PreTTY在跨语言环境中的有效性。值得注意的是,仅通过一两个前序token启动解码过程,基础LLM就能达到与其SFT对应模型相当的性能。该方法为SFT提供了一种经济高效的替代方案,并推动了多语言LLM的普及。
英文摘要:
While supervised fine-tuning (SFT) has been a straightforward approach for tailoring the output of foundation large language model (LLM) to specific preferences, concerns have been raised about the depth of this alignment, with some critiques suggesting it is merely "superficial". We critically examine this hypothesis within the scope of cross-lingual generation tasks, proposing that the effectiveness of SFT may be constrained by its reliance on prior tokens to guide cross-lingual generation. Based on this crucial insight, and in response to the challenges posed by the costly and limited availability of non-English data for SFT, we introduce a novel training-free alignment method named PreTTY, which employs minimal task-related prior tokens to bridge the foundation LLM and the SFT LLM, achieving comparable performance without training. Experiments on machine translation and part-of-speech tagging across eight languages demonstrate the efficacy of PreTTY in cross-lingual settings. Remarkably, by initiating the decoding process with only one or two prior tokens, foundation LLMs can achieve performance comparable to their SFT counterparts. This method presents a cost-effective alternative to SFT and advances the democratization of multilingual LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。