Federated Learning Priorities Under the European Union Artificial Intelligence Act

Herbert Woisetschläger, Alexander Erben, Bill Marino, Shiqiang Wang, Nicholas D. Lane, Ruben Mayer, Hans-Arno JacobsenarXiv 2024 · DOI

Introduction: A Regulatory Catalyst

The European Union’s Artificial Intelligence Act (AI Act) is poised to redefine the landscape of machine learning development. By categorizing AI systems based on risk and imposing strict data governance requirements, the Act creates a significant hurdle for traditional centralized learning models. Federated Learning (FL), which allows for model training on decentralized data, has emerged as a promising solution for achieving compliance. However, as Woisetschlager et al. demonstrate, the transition to FL is complicated by a critical "privacy-energy trade-off" that researchers must address to align with the Act’s environmental sustainability goals.

Federated Learning as a Compliance Tool

FL offers a natural advantage for meeting the AI Act's requirements, particularly regarding data lineage and privacy. Since raw data remains on the source device, the risks associated with centralized data lakes are mitigated. This decentralized approach simplifies compliance with Article 10, which mandates rigorous data governance and bias examination for high-risk AI systems. However, the Act also promotes environmental sustainability, creating a conflict with current FL overheads.

The Privacy-Energy Trade-off

Despite its privacy benefits, FL introduces significant overhead. The study identifies a fundamental tension between the "tight" privacy guarantees required by regulators and the energy efficiency demanded by environmental mandates. Achieving high privacy (low epsilon) often requires adding noise to model updates, which destabilizes training and necessitates more communication rounds, thereby increasing energy consumption and training time.

Experimental Methodology

The researchers evaluated these challenges by fine-tuning a 110M parameter BERT model using Federated Averaging (FedAvg) on the 20 Newsgroup dataset. To simulate realistic edge device constraints, they employed Low-Rank Adapters (LoRA). They compared three privacy mechanisms: $(\epsilon, \delta)$-Differential Privacy (DP), Secure Multi-Party Computation (SMPC), and Homomorphic Encryption (HEC).

Results: The Efficiency and Energy Gap

The experimental results reveal a substantial efficiency gap. FL was found to be 5x less energy-efficient than centralized training when reaching a 50% accuracy threshold (TTA50). A significant portion of this energy is consumed during "idle" time—when clients wait for server responses or other participants—accounting for approximately 31% of total power consumption. Network communication accounted for roughly 26% of total energy draw, though the use of LoRA reduced this by 2100x compared to full fine-tuning.

Energy sink breakdown: FL vs. Centralized training.

Algorithmic Complexity and Compliance

The choice of privacy technique has profound implications for scalability and compliance. While cryptographic methods like SMPC and HEC offer strong privacy, their computational and communication costs scale poorly compared to Differential Privacy, as detailed in the authors' algorithmic cost analysis.

Algorithmic costs of different privacy techniques.

Conclusion and Future Directions

For Federated Learning to become a viable standard under the AI Act, the research community must move beyond "pure privacy" metrics. Future work should focus on "energy-aware privacy," developing methods that optimize the interplay between model performance, privacy guarantees, and environmental impact. Addressing "data quality blindness" and clarifying regulatory responsibility for edge device energy consumption remain critical open questions.

Summary updated

Abstract

The age of AI regulation is upon us, with the European Union Artificial Intelligence Act (AI Act) leading the way. Our key inquiry is how this will affect Federated Learning (FL), whose starting point of prioritizing data privacy while performing ML fundamentally differs from that of centralized learning. We believe the AI Act and future regulations could be the missing catalyst that pushes FL toward mainstream adoption. However, this can only occur if the FL community reprioritizes its research focus. In our position paper, we perform a first-of-its-kind interdisciplinary analysis (legal and ML) of the impact the AI Act may have on FL and make a series of observations supporting our primary position through quantitative and qualitative analysis. We explore data governance issues and the concern for privacy. We establish new challenges regarding performance and energy efficiency within lifecycle monitoring. Taken together, our analysis suggests there is a sizable opportunity for FL to become a crucial component of AI Act-compliant ML systems and for the new regulation to drive the adoption of FL techniques in general. Most noteworthy are the opportunities to defend against data bias and enhance private and secure computation
BibTeX
@misc{woisetschlager2024federated,
  author = {Herbert Woisetschläger and Alexander Erben and Bill Marino and Shiqiang Wang and Nicholas D. Lane and Ruben Mayer and Hans-Arno Jacobsen},
  title = {{Federated Learning Priorities Under the European Union Artificial Intelligence Act}},
  year = {2024},
  eprint = {2402.05968},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.05968},
}
Figure