Zero Labs
Industry News / AI

What We Learned While Securing Federated Learning Across Multiple Clouds

Source · Towards AI By Deniz Karaboğa

From the publisher’s feed, collected in the ZeroLabs newsroom.

What You Need to Know Before Securing Federated Learning Across CloudsPrivacy is only the beginning. The harder problem is trust.Secure-CCFL architecture for secure coordination across distributed cloud participants. (Image generated by the author using AI)Federated Learning is usually introduced with a simple promise: different parties can train a shared AI model without sharing their raw data.That promise is powerful, but it is also incomplete.In real-world AI collaboration, especially when data, infrastructure, and governance are distributed across independent cloud environments, the problem is not only where the data lives. The harder question is whether the training process itself can be trusted.A model update can be malicious. A participant can pretend to be many participants. A coordinator can become a weak point. And different cloud providers may follow different security rules while still contributing to the same global model.This is where cross-cloud federated learning becomes both useful and risky.This article shares the main engineering ideas behind our peer-reviewed IEEE Computer paper, “Secure Cross-Cloud Federated Learning: A Layered Defense Architecture [1].” The full paper includes the formal model, threat assumptions, implementation details, and full experimental results.The promise starts to crack at cloud boundariesIn a standard federated setup, the system often operates within a relatively controlled administrative domain. The trust model is easier to define because the participants usually share common rules, infrastructure assumptions, or governance expectations.Cross-cloud federated learning changes that.Several independent cloud providers or institutions may collaborate on the same model, but each side keeps its own infrastructure, access rules, compliance requirements, and governance model. That makes the setting realistic for large-scale collaboration. It also makes it harder to secure.A cloud provider may be honest but curious. A participant may be compromised. Some clients may submit manipulated updates. Others may collude. Even policy differences between providers can create security gaps that are not visible at first.For cross-cloud learning, the real issue is not only data privacy. It is whether the whole training process can be trusted.One defense sounds good. It is rarely enough.It is tempting to add one strong mechanism and call the system secure.Differential privacy helps reduce the risk of information leakage from model updates, but it does not stop poisoned updates. Secure aggregation can hide individual updates from the server, but it does not say whether those updates are honest [3]. Anomaly detection can flag suspicious behavior, but without auditability, there is little accountability if the results are ignored or changed.This is why we designed Secure Cross-Cloud Federated Learning (Secure-CCFL) as a layered security pipeline rather than a single add-on mechanism.At a high level, the system tries to protect three moments in the learning process: before an update leaves a participant, before aggregation takes place, and after each round is completed.Before transmission, privacy protection is applied locally. Before aggregation, suspicious update behavior is checked. After each round, security-relevant metadata is logged so that the process can be reviewed later.The goal is not to store full model updates on a ledger. That would be unnecessary and inefficient. The goal is to leave enough evidence to make the process more accountable: which clients participated, which updates were flagged, and what happened during the round.The framework behind the ideaIn the full paper, we describe Secure-CCFL as a six-layer framework. The idea is simple: no single layer should be responsible for the entire security burden.Secure-CCFL’s six-layer defense framework for privacy, trust, attack detection, secure aggregation, and auditable federated learning. (Image by author)The first part of the framework protects updates before they leave the client side. Local Differential Privacy reduces the risk of sensitive information leaking through gradients [4], while Zero-Knowledge Proof artifacts provide a lightweight way to discuss verification costs and training-related claims without exposing private data. In our prototype, this layer is represented through proof artifacts rather than a full production-grade ZKP implementation.The second part focuses on what happens before aggregation. Sybil detection looks for suspiciously similar update patterns that may come from fake or colluding identities. Poisoning resistance filters statistically abnormal updates before they can damage the global model[2].The final part protects and records the aggregation process. Secure aggregation keeps individual updates hidden during computation, while blockchain-based audit logging records compact metadata such as update hashes, anomaly flags, and timestamps.What makes the framework interesting is not the presence of six separate tools. It is their placement around the training loop: privacy before transmission, detection before aggregation, protection during aggregation, and accountability after each round.The paper goes into the full workflow, threat model, mathematical formulation, and experimental setup behind this design. Here, the main point is simpler: in cross-cloud federated learning, trust has to be engineered at several points in the pipeline, not assumed at the center.What changed when the attacks got realWe evaluated Secure-CCFL in a simulated cross-cloud environment with multiple cloud providers, heterogeneous communication latency, non-IID local data, and malicious clients.The clearest result came from the setting where 30% of the clients were malicious.In that scenario, standard Federated Learning suffered a 42% accuracy loss. Plain Cross-Cloud Federated Learning reduced the loss to 24%. Secure-CCFL limited the reduction to 7%.That difference was the most important result for us. It showed that the layered design was not only adding complexity; it was helping the global model remain usable under attack.The detection results were also encouraging. The Sybil detection component reached 88% precision and 83% recall, while the poisoning detection component reached 91% recall in the reported experiments.There was, of course, a cost. Communication overhead increased from about 6.0 MB per round in standard FL to 9.4 MB in Secure-CCFL. This increase mainly came from the additional security mechanisms, including encryption-related payloads and verification artifacts.(Infographic generated by the author using NotebookLM)For some applications, that overhead may be too much. For others, especially regulated or high-risk environments, it may be acceptable. A hospital network, a financial consortium, or a multi-cloud critical infrastructure system may prefer a slower but more accountable learning process over a faster but fragile one.Security is not a feature at the endThe broader lesson is that Federated Learning should not be discussed only as a privacy technique.Privacy is one part of the story. Robustness is another. Accountability is another.As federated systems move from controlled experiments into real deployments, these concerns start to overlap. A system that protects data but cannot detect manipulation is incomplete. A system that detects manipulation but leaves no audit trail is also incomplete. A system that assumes all participants are honest will eventually be tested by reality.Cross-cloud settings make this more visible because they bring together different organizations, different infrastructures, and different expectations of trust.That is why future federated learning systems need to be designed less like isolated machine learning workflows and more like distributed trust systems.The model matters, but so does the process that produced it.What we would tell anyone building thisIf we were to give one practical recommendation, it would be this: do not treat security as something that can be attached after the learning system is already designed.Local data storage is important, but it is not enough. Encrypted updates are useful, but they are not automatically honest. A coordinator may be necessary, but it should not be trusted blindly.If a federated system is expected to operate across organizational or cloud boundaries, logging, verification, and attack detection need to be part of the training loop from the beginning.Secure-CCFL is one attempt in that direction. It is not a final solution to every federated learning security problem, and there are still open questions around cryptographic efficiency, adaptive attacks, stronger verification, and large-scale deployment.But the main direction is clear: cross-cloud AI collaboration needs mechanisms that make trust observable, not just assumed.Where this leaves usCross-cloud federated learning has real potential. It can help organizations collaborate without centralizing sensitive data. It can support AI development across institutional and geographic boundaries. It can make privacy-preserving collaboration more practical.But the success of these systems will depend on more than model accuracy.They will need to defend against malicious participants, protect sensitive updates, verify training behavior, and create records that can be checked later.The short video below provides a visual overview of the Secure-CCFL idea and its layered defense structure.https://medium.com/media/c8008bd657dd29d98684cc6982b8fc4b/hrefThe next stage of federated learning is not only about keeping data local. It is about making distributed AI collaboration trustworthy enough to survive real-world conditions.References[1] Deniz Karaboga and Enis Karaarslan, “Secure Cross-Cloud Federated Learning: A Layered Defense Architecture,” IEEE Computer, 2026. DOI: 10.1109/MC.2025.3649076[2] E. Bagdasaryan et al., “How to Backdoor Federated Learning,” Proceedings of AISTATS, 2020.[3] H. Fereidooni et al., “SafeLearn: Secure Aggregation for Private Federated Learning,” IEEE Security and Privacy Workshops, 2021.[4] P. C. Mahawaga Arachchige et al., “Local Differential Privacy for Federated Learning,” ESORICS, 2022.About the AuthorsDeniz Karaboga is an AI Researcher with a background in Computer Engineering from Istanbul University. Currently, he is conducting advanced research in the Artificial Intelligence Department at Mugla Sitki Kocman University. His work focuses on AI security, federated learning, blockchain-based trust mechanisms, and secure distributed learning systems.Enis Karaarslan is an Associate Professor in the Department of Computer Engineering at Mugla Sitki Kocman University. His research focuses on cybersecurity, blockchain, AI security, digital twins, and AI-driven defense mechanisms.What We Learned While Securing Federated Learning Across Multiple Clouds was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.