Skip to main content
QUICK REVIEW

[Paper Review] The economic trade-offs of large language models: A case study

Kristen Howell, Gwen Christian|arXiv (Cornell University)|Jun 8, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes a cost framework, Expected Net Cost Savings (ENCS), to evaluate the economic trade-offs of deploying large language models (LLMs) for enterprise customer service agent assistance. By comparing prompt engineering, fine-tuning, and knowledge distillation on a real-world brand case study, the authors find that response usability—measured by low perplexity—can offset high inference costs, yielding $60,000 in annual savings (60% of agent budget) with 83% agent response usage rate.

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.

Motivation & Objective

  • To develop a practical, flexible cost framework for evaluating LLM deployment in enterprise customer service.
  • To assess the economic impact of different LLM specialization strategies—prompt engineering, fine-tuning, and knowledge distillation—on agent assistance.
  • To quantify cost savings and break-even timelines for in-house vs. third-party LLM deployment in a real-world enterprise setting.
  • To identify key predictors of model usability, such as perplexity, to guide future model selection and optimization.

Proposed method

  • Proposes the Expected Net Cost Savings (ENCS) framework to calculate cost savings per message, combining labor cost reduction and inference costs.
  • Applies ENCS at the message and aggregate level using real agent feedback and operational data from a single brand.
  • Evaluates three LLM specialization techniques: prompt engineering, fine-tuning, and knowledge distillation on GPT-2, GPT-3, and Cohere models.
  • Uses perplexity as a proxy for response usability and correlates it with agent acceptance rates to estimate model utility.
  • Employs R&D cost modeling to estimate development and maintenance expenses for in-house models, including amortized monthly costs.
  • Calculates break-even points based on messaging volume and cost savings to determine economic viability.
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).

Experimental results

Research questions

  • RQ1What is the economic impact of deploying LLMs for agent assistance in terms of net cost savings?
  • RQ2How do different LLM specialization strategies (prompting, fine-tuning, distillation) compare in cost and usability?
  • RQ3To what extent does response usability, as measured by perplexity, predict agent usage of LLM-generated suggestions?
  • RQ4What is the break-even point for in-house LLM development versus third-party API usage in a real enterprise context?

Key findings

  • The ENCS framework successfully quantifies cost savings, showing $60,000 in annual savings—60% of the brand’s total agent budget—for the case study brand.
  • Agent response usage reached 83% (including direct use and editing), with a 68% reduction in average agent response time.
  • Low perplexity strongly correlates with higher agent acceptance rates, making it a reliable predictor of model usability.
  • The in-house model broke even in less than two weeks of operation, while the third-party model broke even in 0.29 months.
  • In-house LLM deployment yielded 66% cost savings per message, compared to 56% for third-party models, due to lower inference costs.
  • R&D costs for building and maintaining an in-house model were estimated at $5,567 per month, with amortization over three years.
Figure 2: A toy example of an ENCS calculation.
Figure 2: A toy example of an ENCS calculation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.