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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ji, Haichao, Wang, Zibo, Pan, Cheng, Han, Meng, Zhu, Yifei, Wang, Dan, Han, Zhu
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908622106132480
author Ji, Haichao
Wang, Zibo
Pan, Cheng
Han, Meng
Zhu, Yifei
Wang, Dan
Han, Zhu
author_facet Ji, Haichao
Wang, Zibo
Pan, Cheng
Han, Meng
Zhu, Yifei
Wang, Dan
Han, Zhu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_18477
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LAFA: Agentic LLM-Driven Federated Analytics over Decentralized Data Sources
Ji, Haichao
Wang, Zibo
Pan, Cheng
Han, Meng
Zhu, Yifei
Wang, Dan
Han, Zhu
Artificial Intelligence
Cryptography and Security
Distributed, Parallel, and Cluster Computing
Multiagent Systems
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.
title LAFA: Agentic LLM-Driven Federated Analytics over Decentralized Data Sources
topic Artificial Intelligence
Cryptography and Security
Distributed, Parallel, and Cluster Computing
Multiagent Systems
url https://arxiv.org/abs/2510.18477