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

用于个性化、上下文丰富辅助的多LLM编排引擎

A Multi-LLM Orchestration Engine for Personalized, Context-Rich Assistance

Sumedh Rasal

AI总结:

本文提出一种多LLM编排引擎架构,结合时序图数据库和向量数据库,通过捕获用户交互、构建图表示和协调多LLM迭代反思,解决LLM幻觉和长期上下文问题,实现个性化、隐私优先的AI助手。

摘要:

近年来,大型语言模型在自然语言理解和生成方面展现出卓越能力。然而,这些模型常受困于幻觉及难以维持长期上下文相关性,特别是在处理私有或本地数据时。本文提出一种新架构,通过集成一个利用多个LLM的编排引擎,结合时序图数据库和向量数据库来解决这些挑战。该系统捕获用户交互,构建对话的图表示,并存储随时间映射关键概念、实体和行为之间关联的节点与边。这种基于图的结构使系统能够对用户偏好形成不断演进的理解,提供个性化且上下文相关的回答。此外,向量数据库对私有数据进行编码,以在需要时提供详细信息,使LLM能够访问并合成复杂回复。为进一步提升可靠性,编排引擎协调多个LLM生成全面回答,并迭代反思其准确性。最终成果是一个自适应、以隐私为中心的AI助手,能提供更深入、更相关的交互,同时将幻觉风险降至最低。本文概述了该系统的架构、方法论和潜在应用,为个性化、上下文感知AI辅助贡献了新方向。

英文摘要:

In recent years, large language models have demonstrated remarkable capabilities in natural language understanding and generation. However, these models often struggle with hallucinations and maintaining long term contextual relevance, particularly when dealing with private or local data. This paper presents a novel architecture that addresses these challenges by integrating an orchestration engine that utilizes multiple LLMs in conjunction with a temporal graph database and a vector database. The proposed system captures user interactions, builds a graph representation of conversations, and stores nodes and edges that map associations between key concepts, entities, and behaviors over time. This graph based structure allows the system to develop an evolving understanding of the user preferences, providing personalized and contextually relevant answers. In addition to this, a vector database encodes private data to supply detailed information when needed, allowing the LLM to access and synthesize complex responses. To further enhance reliability, the orchestration engine coordinates multiple LLMs to generate comprehensive answers and iteratively reflect on their accuracy. The result is an adaptive, privacy centric AI assistant capable of offering deeper, more relevant interactions while minimizing the risk of hallucinations. This paper outlines the architecture, methodology, and potential applications of this system, contributing a new direction in personalized, context aware AI assistance.

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

↑