LAFA: Agentic LLM-Driven Federated Analytics over Decentralized Data Sources
Ji, Haichao, Wang, Zibo, Pan, Cheng, Han, Meng, Zhu, Yifei, Wang, Dan, Han, Zhu
–arXiv.org Artificial Intelligence
Abstract--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 (F A) 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 LAF A, the first system that integrates LLM-agent-based data analytics with F A. LAF A introduces a hierarchical multi-agent architecture that accepts natural language queries and transforms them into optimized, executable F A workflows. T o improve execution efficiency, an optimizer agent rewrites and merges multiple DAGs, eliminating redundant operations and minimizing computational and communicational overhead. Our experiments demonstrate that LAF A consistently outperforms baseline prompting strategies by achieving higher execution plan success rates and reducing resource-intensive F A operations by a substantial margin. This work establishes a practical foundation for privacy-preserving, LLM-driven analytics that supports natural language input in the F A setting. The rapid development of Large Language Models (LLMs) has offered unprecedented capabilities in natural language understanding, reasoning, and planning [1], significantly transforming the landscape of data analytics. LLMs can interpret complex analytical intents, generate structured code, and orchestrate multi-step tasks by interacting with external environments such as databases and computation sandboxes. These capabilities have led to the emergence of LLM-based agents that decompose high-level queries, plan analytical workflows, and execute or verify results through tool interactions.
arXiv.org Artificial Intelligence
Nov-3-2025
- Country:
- Africa > Rwanda
- Asia
- China
- Guangdong Province > Shenzhen (0.04)
- Hong Kong (0.05)
- Shanghai > Shanghai (0.05)
- Zhejiang Province > Hangzhou (0.04)
- Singapore (0.04)
- China
- Europe
- Austria > Vienna (0.14)
- Germany (0.04)
- United Kingdom > England
- Greater London > London (0.04)
- North America
- Canada (0.04)
- United States
- Arizona > Maricopa County
- Scottsdale (0.04)
- California (0.14)
- District of Columbia > Washington (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- New York > Erie County
- Buffalo (0.04)
- Texas > Harris County
- Houston (0.14)
- Arizona > Maricopa County
- Genre:
- Research Report (0.82)
- Workflow (0.97)
- Industry:
- Government (1.00)
- Information Technology > Security & Privacy (1.00)
- Law (1.00)
- Technology: