vix.ing · top · new · best · stats · spec

A Framework for Effective Invocation Methods of Various LLM Services

2024/02/05 by Can Wang, Wang, Can, Dianbo Sui +9 · 2 citations
Business, Management and Accounting · Computer Science · Economics, Econometrics and Finance · #Digital Transformation in Law #Dispute Resolution and Class Actions #Distributed #FOS: Computer and information sciences #Parallel #Software Engineering (cs.SE) #Technology and Data Analysis #and Cluster Computing (cs.DC)

paper · pdf · doi:10.48550/arxiv.2402.03408

openalex publication_date 2024/02/05 · openalex created_date 2024/02/08 · openalex updated_date 2026/07/28

Abstract

Large Language Models (LLMs) have shown impressive abilities in solving various natural language processing tasks and are now widely offered as services. LLM services enable users to accomplish tasks without requiring specialized knowledge, simply by paying service providers. However, numerous providers offer various LLM services with variations in pricing, latency, and performance. These factors are also affected by different invocation methods, such as the choice of context and the use of cache, which lead to unpredictable and uncontrollable service cost and quality. Consequently, utilizing various LLM services invocation methods to construct an effective (cost-saving, low-latency and high-performance) invocation strategy that best meets task demands becomes a pressing challenge. This paper provides a comprehensive overview of methods help LLM services to be invoked efficiently. Technically, we define the problem of constructing an effective LLM services invocation strategy, and based on this, propose a unified LLM service invocation framework. The framework classifies existing methods into four categories: input abstraction, semantic cache, solution design, and output enhancement, which can be used separately or jointly during the invocation life cycle. We discuss the methods in each category and compare them to provide valuable guidance for researchers. Finally, we emphasize the open challenges in this domain and shed light on future research.

Cited by

Related