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

大规模语言模型中判别式分类的缩放定律

Scaling Laws for Discriminative Classification in Large Language Models

Cash App

Dean Wyatte, Fatemeh Tahmasbi, Ming Li, Thomas Markovich

AI总结:

本文提出将语言建模重构为判别式分类任务,以增强客户支持代理,通过离线与在线实验验证了性能提升,并探讨了模型规模、延迟与准确率的权衡。

摘要:

现代大规模语言模型(LLMs)代表了机器学习模型可能实现功能的范式转变。LLMs能够对各种查询生成合理的回答,这一事实表明它们在客户支持应用中会很有用。尽管功能强大,但观察到LLMs容易产生幻觉,这不幸地使其在客户支持应用中的近期使用面临挑战。为解决这一问题,我们提出一个系统,通过将语言建模任务重新定义为判别式分类任务,使我们能够使用LLM来增强客户支持代理。在这种框架下,我们寻求为客户支持代理在回应客户时提供前K个最佳模板响应。我们展示了离线和在线实验的结果,在这些实验中,我们观察到离线收益以及实验系统的统计显著的在线提升。在此过程中,我们展示了从模型参数消融研究中得到的验证损失和前K准确率的观察缩放曲线。最后,我们讨论了模型大小、延迟和准确性之间的权衡空间,并提出了未来可探索的应用方向。

英文摘要:

Modern large language models (LLMs) represent a paradigm shift in what can plausibly be expected of machine learning models. The fact that LLMs can effectively generate sensible answers to a diverse range of queries suggests that they would be useful in customer support applications. While powerful, LLMs have been observed to be prone to hallucination which unfortunately makes their near term use in customer support applications challenging. To address this issue we present a system that allows us to use an LLM to augment our customer support advocates by re-framing the language modeling task as a discriminative classification task. In this framing, we seek to present the top-K best template responses for a customer support advocate to use when responding to a customer. We present the result of both offline and online experiments where we observed offline gains and statistically significant online lifts for our experimental system. Along the way, we present observed scaling curves for validation loss and top-K accuracy, resulted from model parameter ablation studies. We close by discussing the space of trade-offs with respect to model size, latency, and accuracy as well as and suggesting future applications to explore.

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

↑