arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.00067cs.CL
收藏

Query-OPT:通过会议摘要中的多查询指令优化大语言模型推理

Query-OPT: Optimizing Inference of Large Language Models via Multi-Query Instructions in Meeting Summarization

Dialpad Inc.(Dialpad公司)

Md Tahmid Rahman Laskar, Elena Khasanova, Xue-Yong Fu, Cheng Chen, Shashi Bhushan TN

AI总结:

本文研究在会议摘要任务中将同一上下文的多个查询合并为单个提示,以减少LLM推理调用成本,并通过对比多种主流LLMs验证了多查询提示在优化推理成本方面的有效性。

摘要:

本研究聚焦于基于查询的会议摘要任务,即根据特定查询为会议转录文本这一上下文生成摘要。当使用大语言模型(LLMs)执行此任务时,即使上下文保持不变,通常每出现一个新查询就会触发一次新的LLM推理端点/API调用。然而,反复调用LLM推理端点会显著增加生产环境中的使用成本,使得LLMs在许多实际应用场景中不切实际。为解决这一问题,本文研究了将同一输入上下文对应的多个查询合并到单个提示中以最小化重复调用是否能够成功应用于会议摘要。为此,我们进行了大量实验,比较了多种流行LLMs——GPT-4、Gemini、Claude-3、LLaMA-2、Mistral、Phi-3和Qwen-2在单查询与多查询设置下的性能。我们观察到,以预期格式生成响应的100%可靠性通常仅限于某些闭源LLMs,大多数开源LLMs则表现落后(少数70亿参数LLMs如Mistral和Phi-3除外)。我们得出结论,多查询提示可能有助于显著优化会议摘要中的推理成本。

英文摘要:

This work focuses on the task of query-based meeting summarization in which the summary of a context (meeting transcript) is generated in response to a specific query. When using Large Language Models (LLMs) for this task, usually a new call to the LLM inference endpoint/API is triggered for each new query, even if the context stays the same. However, repeated calls to the LLM inference endpoints would significantly increase the costs of using them in production, making LLMs impractical for many real-world use cases. To address this problem, in this paper, we investigate whether combining the queries for the same input context in a single prompt to minimize repeated calls can be successfully used in meeting summarization. In this regard, we conduct extensive experiments by comparing the performance of various popular LLMs: GPT-4, Gemini, Claude-3, LLaMA-2, Mistral, Phi-3, and Qwen-2 in single-query and multi-query settings. We observe that 100% reliability in generating the response in the expected format is usually limited to certain closed-source LLMs, with most open-source LLMs lagging behind (except a few 7B parameters LLMs like Mistral and Phi-3). We conclude that multi-query prompting could be useful to significantly optimize the inference costs in meeting summarization.

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

↑