arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.18477cs.AIcs.CRcs.DCcs.MA
收藏

LAFA:基于智能体LLM驱动的去中心化数据源联邦分析

LAFA: Agentic LLM-Driven Federated Analytics over Decentralized Data Sources

Shanghai Jiao Tong University(上海交通大学);Peng Cheng Laboratory(鹏城实验室);The University of Hong Kong(香港大学);Zhejiang University(浙江大学);The Hong Kong Polytechnic University(香港理工大学);University of Houston(休斯顿大学)

Haichao Ji, Zibo Wang, Cheng Pan, Meng Han, Yifei Zhu, Dan Wang, Zhu Han

AI总结:

LAFA是首个结合LLM智能体与联邦分析(FA)的系统,采用分层多智能体架构将自然语言查询转化为优化的FA工作流,通过粗细粒度规划与DAG优化显著提升执行成功率并降低开销。

摘要:

大型语言模型(LLMs)在自动化数据分析任务中展现出巨大潜力,能够通过解析自然语言查询并生成多操作执行计划来实现。然而,现有的基于LLM智能体的分析框架在集中式数据访问的假设下运行,几乎不提供隐私保护。相比之下,联邦分析(FA)支持跨分布式数据源的隐私保护计算,但缺乏对自然语言输入的支持,且需要结构化的机器可读查询。在本研究中,我们提出了LAFA,这是首个将基于LLM智能体的数据分析与FA相结合的系统。LAFA引入了分层多智能体架构,可接受自然语言查询并将其转化为优化的、可执行的FA工作流。粗粒度规划器首先将复杂查询分解为子查询,而细粒度规划器利用先验结构知识将每个子查询映射为FA操作的有向无环图(DAG)。为提高执行效率,优化器智能体会重写并合并多个DAG,消除冗余操作并最小化计算与通信开销。实验表明,LAFA通过实现更高的执行计划成功率并大幅减少资源密集型FA操作,持续优于基线提示策略。这项工作为在FA环境中支持自然语言输入的隐私保护LLM驱动分析奠定了实用基础。

英文摘要:

Large Language Models (LLMs) have shown great promise in automating data analytics tasks by interpreting natural language queries and generating multi-operation execution plans. However, existing LLM-agent-based analytics frameworks operate under the assumption of centralized data access, offering little to no privacy protection. In contrast, federated analytics (FA) enables privacy-preserving computation across distributed data sources, but lacks support for natural language input and requires structured, machine-readable queries. In this work, we present LAFA, the first system that integrates LLM-agent-based data analytics with FA. LAFA introduces a hierarchical multi-agent architecture that accepts natural language queries and transforms them into optimized, executable FA workflows. A coarse-grained planner first decomposes complex queries into sub-queries, while a fine-grained planner maps each subquery into a Directed Acyclic Graph of FA operations using prior structural knowledge. To improve execution efficiency, an optimizer agent rewrites and merges multiple DAGs, eliminating redundant operations and minimizing computational and communicational overhead. Our experiments demonstrate that LAFA consistently outperforms baseline prompting strategies by achieving higher execution plan success rates and reducing resource-intensive FA operations by a substantial margin. This work establishes a practical foundation for privacy-preserving, LLM-driven analytics that supports natural language input in the FA setting.

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

↑