Skip to main content
QUICK REVIEW

[论文解读] The economic trade-offs of large language models: A case study

Kristen Howell, Gwen Christian|arXiv (Cornell University)|Jun 8, 2023
Topic ModelingComputer Science被引用 3
一句话总结

本文提出了一种成本框架——预期净成本节约(ENCS),用于评估在企业客户服务代理辅助中部署大型语言模型(LLMs)的经济权衡。通过在一个真实品牌的案例研究中对比提示工程、微调和知识蒸馏,作者发现,响应可用性(通过低困惑度衡量)可以抵消高昂的推理成本,实现每年60,000美元的节约(占代理预算的60%),代理响应使用率达到83%。

ABSTRACT

Contacting customer service via chat is a common practice. Because employing customer service agents is expensive, many companies are turning to NLP that assists human agents by auto-generating responses that can be used directly or with modifications. Large Language Models (LLMs) are a natural fit for this use case; however, their efficacy must be balanced with the cost of training and serving them. This paper assesses the practical cost and impact of LLMs for the enterprise as a function of the usefulness of the responses that they generate. We present a cost framework for evaluating an NLP model's utility for this use case and apply it to a single brand as a case study in the context of an existing agent assistance product. We compare three strategies for specializing an LLM - prompt engineering, fine-tuning, and knowledge distillation - using feedback from the brand's customer service agents. We find that the usability of a model's responses can make up for a large difference in inference cost for our case study brand, and we extrapolate our findings to the broader enterprise space.

研究动机与目标

  • 开发一个实用且灵活的成本框架,用于评估企业客户服务中LLM部署的经济影响。
  • 评估不同LLM专业化策略(提示工程、微调和知识蒸馏)对代理辅助的经济影响。
  • 量化在企业实际环境中,自建模型与第三方模型部署的单位消息成本节约和盈亏平衡时间。
  • 识别模型可用性的关键预测指标,如困惑度,以指导未来模型选择与优化。

提出的方法

  • 提出预期净成本节约(ENCS)框架,用于计算每条消息的成本节约,结合人工成本降低与推理成本。
  • 使用单个品牌的实际代理反馈和运营数据,在消息级别和汇总级别应用ENCS。
  • 评估三种LLM专业化技术:在GPT-2、GPT-3和Cohere模型上应用提示工程、微调和知识蒸馏。
  • 使用困惑度作为响应可用性的代理指标,并将其与代理接受率相关联,以估算模型效用。
  • 采用研发成本建模方法,估算自建模型的开发与维护成本,包括分摊后的月度成本。
  • 基于消息量和成本节约计算盈亏平衡点,以确定经济可行性。
Figure 1: Conversation Assist as a system that returns canned responses (left), compared with the product described in this paper, which generates suggestions from LLMs (right).
Figure 1: Conversation Assist as a system that returns canned responses (left), compared with the product described in this paper, which generates suggestions from LLMs (right).

实验结果

研究问题

  • RQ1在净成本节约方面,部署LLM用于代理辅助的经济影响是什么?
  • RQ2不同LLM专业化策略(提示、微调、蒸馏)在成本和可用性方面如何比较?
  • RQ3响应可用性(以困惑度衡量)在多大程度上能预测代理对LLM生成建议的使用率?
  • RQ4在真实企业环境中,自建LLM开发与第三方API使用的盈亏平衡点是什么?

主要发现

  • ENCS框架成功量化了成本节约,显示在案例研究品牌中实现每年60,000美元的节约——占该品牌总代理预算的60%。
  • 代理响应使用率达到83%(包括直接使用和编辑),平均代理响应时间减少68%。
  • 低困惑度与更高的代理接受率显著相关,使其成为模型可用性的可靠预测指标。
  • 自建模型在运营不到两周内即实现盈亏平衡,而第三方模型在0.29个月内实现盈亏平衡。
  • 由于推理成本更低,自建LLM部署每条消息实现66%的成本节约,而第三方模型为56%。
  • 自建模型的开发与维护研发成本估计为每月5,567美元,按三年分摊。
Figure 2: A toy example of an ENCS calculation.
Figure 2: A toy example of an ENCS calculation.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。