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

OrchestraLLM:面向对话状态跟踪的高效语言模型编排框架

OrchestraLLM: Efficient Orchestration of Language Models for Dialogue State Tracking

University of Washington(华盛顿大学);Microsoft Research(微软研究院)

Chia-Hsuan Lee, Hao Cheng, Mari Ostendorf

AI总结:

本文提出OrchestraLLM路由框架,利用微调句子嵌入和k近邻多数投票在SLM与LLM间动态调度,在对话状态跟踪中提升性能并降低50%以上计算成本。

摘要:

大型语言模型(LLMs)已经深刻改变了自然语言处理系统的格局,但其计算开销十分高昂。为了在不牺牲性能的前提下降低成本,以往研究探索了多种方法,以利用小型语言模型(SLMs)的潜力,将其作为大型模型的经济高效替代方案。基于SLMs与LLMs在结构化知识抽取任务中表现出互补优势这一发现,本文提出了一种新颖的SLM/LLM路由框架,旨在提升计算效率并增强任务性能。首先,构建示例池来表示每种语言模型能够给出更可靠回答的上下文类型,并利用经过微调的句子嵌入,使上下文相似度接近对话状态相似度。随后,在推理阶段,检索与测试实例最接近的k个示例,并根据多数投票结果对该实例进行路由。在对话状态跟踪任务中,与仅依赖LLMs相比,所提出的路由框架显著提升了性能,同时将计算成本降低了50%以上。

英文摘要:

Large language models (LLMs) have revolutionized the landscape of Natural Language Processing systems, but are computationally expensive. To reduce the cost without sacrificing performance, previous studies have explored various approaches to harness the potential of Small Language Models (SLMs) as cost-effective alternatives to their larger counterparts. Driven by findings that SLMs and LLMs exhibit complementary strengths in a structured knowledge extraction task, this work presents a novel SLM/LLM routing framework designed to improve computational efficiency and enhance task performance. First, exemplar pools are created to represent the types of contexts where each LM provides a more reliable answer, leveraging a sentence embedding fine-tuned so that context similarity is close to dialogue state similarity. Then, during inference, the k-nearest exemplars to the testing instance are retrieved, and the instance is routed according to majority vote. In dialogue state tracking tasks, the proposed routing framework enhances performance substantially compared to relying solely on LLMs, while reducing the computational costs by over 50%.

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

↑