Federated Computing: Query, Learning, and Beyond

Yongxin Tong, Yuxiang Zeng, Zimu Zhou, Boyi Liu, Yexuan Shi, Shuyuan Li, Ke Xu, Weifeng LvIEEE Data Eng. Bull 2023

Abstract

In the era of big data, information is often trapped in isolated silos due to privacy regulations and organizational boundaries. Federated computing emerges as a transformative paradigm that enables joint data analysis and machine learning without the need for centralized data aggregation. This paper explores the two primary pillars of federated computing—Federated Queries and Federated Learning—detailing their workflows, security mechanisms, and the critical distinction between horizontal and vertical data partitioning. By pushing computation to local data sources, federated computing bridges the gap between data utility and privacy preservation.

Introduction: The Challenge of Data Isolation

Modern data-driven applications, ranging from healthcare diagnostics to urban management, rely on large-scale datasets. However, these datasets are frequently distributed across multiple entities, creating "data islands." Stringent privacy laws like GDPR prevent the pooling of raw sensitive data into central repositories. Federated computing addresses this "data isolation" dilemma by allowing organizations to extract global insights while keeping raw data local and secure.

Methods: Federated Queries and Learning

Federated computing is categorized into two main approaches:

  1. Federated Queries: This database-centric approach handles structured queries across multiple owners. The workflow involves query rewriting to maximize local execution, local optimization using learned indexes, and secure operations—such as Secure Multi-Party Computation (SMC) and Differential Privacy (DP)—to aggregate results without exposing individual records.
  2. Federated Learning (FL): This AI-centric approach focuses on training global models. Clients perform local training on their own data and share only model updates (gradients) with a central server. Secure aggregation techniques like Homomorphic Encryption ensure the server never sees the underlying training data.

Data Partitioning Strategies

A key consideration in federated systems is how data is distributed among participants. The complexity of the federation depends heavily on whether the data is split by rows or by columns.

Comparison of Horizontal and Vertical Data Federation

As illustrated in the figure above, data can be partitioned in two primary ways:

  • Horizontal Partitioning: Participants share the same attributes but have different sets of users (e.g., different hospitals with different patient lists). This is common in cross-device settings like mobile apps.
  • Vertical Partitioning: Participants have the same users but different attributes (e.g., a bank and an e-commerce site sharing a customer base). Vertical federation is often more complex but offers significant value for cross-domain business intelligence.

Key Insights and Results

The efficiency of federated systems often hinges on the trade-off between privacy and performance. While Secure Multi-Party Computation (SMC) provides robust privacy, it is computationally intensive. Successful systems mitigate this by pushing the majority of the workload to local, non-secure engines through clever query rewriting.

Comparative analysis of existing frameworks (e.g., SMCQL, FedAvg, FATE) reveals a divergence in scalability. While Federated Learning scales to thousands of devices in cross-device settings, federated query systems are currently limited to smaller groups of data owners (typically fewer than 10). Furthermore, most systems operate under a "semi-honest" security model, leaving a significant research gap in defenses against malicious actors who might actively sabotage computation.

Future Directions

The field is moving toward industrial maturity with frameworks like Alibaba's FederatedScope and Webank's FATE. Future research must address security heterogeneity, where participants have varying privacy requirements, and "Multi-Model Federated Computing," which aims to handle diverse data types (SQL, JSON, Graphs) within a single unified environment. Additionally, developing robust defenses against poisoning attacks—where fake updates are sent to ruin the global model—remains a critical priority.

Conclusion

Federated computing represents a fundamental shift from data-centric to computation-centric architectures. By enabling secure collaboration across silos, it unlocks the potential of decentralized data while upholding the highest standards of privacy, effectively bridging the gap between academic theory and production-ready software.

Summary updated

BibTeX
@inproceedings{tong2023federated,
  author = {Yongxin Tong and Yuxiang Zeng and Zimu Zhou and Boyi Liu and Yexuan Shi and Shuyuan Li and Ke Xu and Weifeng Lv},
  title = {{Federated Computing: Query, Learning, and Beyond}},
  booktitle = {IEEE Data Eng. Bull},
  year = {2023},
  url = {https://openreview.net/forum?id=k1v9bTf0Ad},
}
Figure