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

语言模型的级联感知训练

Cascade-Aware Training of Language Models

Google Inc.(谷歌公司)

Congchao Wang, Sean Augenstein, Keith Rush, Wittawat Jitkrittum, Harikrishna Narasimhan, Ankit Singh Rawat, Aditya Krishna Menon, Alec Go

AI总结:

针对语言模型级联系统通常独立训练忽略推理交互的问题,提出级联感知训练(CAT)方法,通过让小模型感知其在级联中的位置及下游能力进行优化,在60多个任务上验证了其有效平衡质量与成本的性能。

摘要:

降低服务成本和延迟是商业应用中部署语言模型(LMs)的基本关注点。为此,LM级联提供了一种有效的解决方案,该方案针对较简单的查询有条件地采用较小的模型。级联系统通常由独立训练的模型构建,忽略了在训练期间考虑级联LM推理时交互的优势。在本文中,我们提出了级联感知训练(CAT),这是一种优化LM级联整体质量与成本性能权衡的方法。我们通过在训练小型LM时让其感知自身在级联中的位置及下游能力,从而实现推理时的收益。我们利用SuperGLUE、WMT22和FLAN2021数据集的60多个LM任务证明了所提方法的价值。

英文摘要:

Reducing serving cost and latency is a fundamental concern for the deployment of language models (LMs) in business applications. To address this, cascades of LMs offer an effective solution that conditionally employ smaller models for simpler queries. Cascaded systems are typically built with independently trained models, neglecting the advantages of considering inference-time interactions of the cascaded LMs during training. In this paper, we present cascade-aware training(CAT), an approach to optimizing the overall quality-cost performance tradeoff of a cascade of LMs. We achieve inference-time benefits by training the small LM with awareness of its place in a cascade and downstream capabilities. We demonstrate the value of the proposed method with over 60 LM tasks of the SuperGLUE, WMT22, and FLAN2021 datasets.

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

↑