LAFA:基于智能体大语言模型的去中心化数据源联邦分析 LAFA: Agentic LLM-Driven Federated Analytics over Decentralized Data Sources 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-10-21
👁️ 预览文献
💡 AI 中文简介
这项研究让大语言模型能直接听懂人话,自动在多个分散的数据源上做隐私保护的数据分析。系统先把自然语言问题拆成小任务,再规划成联邦分析操作图,并优化合并去掉重复步骤。实验表明,它比普通提示方法成功率更高,还能大幅减少耗资源的联邦操作,为隐私保护下的智能数据分析打下实用基础。
领域联邦学习与隐私计算、大语言模型应用、数据管理
适合谁读需要一定专业背景(了解联邦分析、LLM智能体基本概念)
核心贡献首次将基于LLM智能体的数据分析与联邦分析结合,支持自然语言输入并自动生成可执行的联邦分析工作流;提出分层多智能体架构与优化器,通过重写合并DAG消除冗余操作,显著降低计算与通信开销。
关键数据执行计划成功率持续高于基线提示策略;资源密集型联邦操作数量大幅减少(具体数值未在摘要中给出)。
推荐理由如果你关心如何让大模型在保护隐私的前提下跨数据源做分析,这篇工作给出了一个既实用又优雅的解决方案,值得一读。
关键词["联邦分析", "大语言模型", "多智能体系统", "隐私保护", "自然语言查询", "查询优化"]

原文摘要

查看英文原文摘要

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.