DataFactory: 用于高级表格问答的协作多智能体框架
DataFactory: Collaborative Multi-Agent Framework for Advanced Table Question Answering
AI总结:
DataFactory通过多智能体协作框架提升表格问答的准确性和鲁棒性,采用ReAct范式和自动知识转换,显著提高查询精度和多跳推理能力。
摘要:
表格问答(TableQA)使自然语言与结构化表格数据进行交互成为可能。然而,现有的大型语言模型(LLM)方法面临关键限制:上下文长度限制限制了数据处理能力,幻觉问题影响了答案的可靠性,以及单智能体架构在涉及语义关系和多跳逻辑的复杂推理场景中表现不佳。本文介绍了DataFactory,一个多智能体框架,通过专门的团队协调和自动知识转换来解决这些限制。该框架包括采用ReAct范式进行推理编排的数据领导者,以及专门的数据库和知识图谱团队,能够将复杂查询系统地分解为结构化和关系推理任务。我们通过映射函数T:D x S x R -> G正式化了自动数据到知识图谱的转换,并实现了基于自然语言的咨询,不同于固定工作流多智能体系统,它允许灵活的智能体协商和适应性规划以提高协调的鲁棒性。我们还应用了上下文工程策略,整合历史模式和领域知识以减少幻觉并提高查询准确性。在TabFact、WikiTableQuestions和FeTaQA上,使用八个来自五个提供商的LLM,结果显示出一致的提升。我们的方法在TabFact上比基线提高了20.2%,在WikiTQ上提高了23.9%,效果显著(Cohen's d > 1)。团队协调也优于单团队变体(+5.5% TabFact,+14.4% WikiTQ,+17.1% FeTaQA ROUGE-2)。该框架通过集成的结构化查询和基于图的知识表示提供了多智能体协作的设计指南和企业数据分析的实用平台。
英文摘要:
Table Question Answering (TableQA) enables natural language interaction with structured tabular data. However, existing large language model (LLM) approaches face critical limitations: context length constraints that restrict data handling capabilities, hallucination issues that compromise answer reliability, and single-agent architectures that struggle with complex reasoning scenarios involving semantic relationships and multi-hop logic. This paper introduces DataFactory, a multi-agent framework that addresses these limitations through specialized team coordination and automated knowledge transformation. The framework comprises a Data Leader employing the ReAct paradigm for reasoning orchestration, together with dedicated Database and Knowledge Graph teams, enabling the systematic decomposition of complex queries into structured and relational reasoning tasks. We formalize automated data-to-knowledge graph transformation via the mapping function T:D x S x R -> G, and implement natural language-based consultation that - unlike fixed workflow multi-agent systems - enables flexible inter-agent deliberation and adaptive planning to improve coordination robustness. We also apply context engineering strategies that integrate historical patterns and domain knowledge to reduce hallucinations and improve query accuracy. Across TabFact, WikiTableQuestions, and FeTaQA, using eight LLMs from five providers, results show consistent gains. Our approach improves accuracy by 20.2% (TabFact) and 23.9% (WikiTQ) over baselines, with significant effects (Cohen's d > 1). Team coordination also outperforms single-team variants (+5.5% TabFact, +14.4% WikiTQ, +17.1% FeTaQA ROUGE-2). The framework offers design guidelines for multi-agent collaboration and a practical platform for enterprise data analysis through integrated structured querying and graph-based knowledge representation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。