From Protecting Training Data to Building a New Generation of Secure AI Systems
Artificial intelligence (AI) has emerged as one of the most transformative technologies in the world in recent years. From disease detection and medical image analysis to autonomous vehicles, financial systems, intelligent assistants, and large language models, these applications all rely on vast amounts of data and substantial computational power.
However, as artificial intelligence continues to expand, a fundamental question has become increasingly important:
How Can We Protect the Data Used to Train and Develop Artificial Intelligence Models?
Much of the data used to train these models contains personal, medical, financial, or commercial information. At the same time, developing more accurate models may require multiple organizations or research institutions to share their data and computational resources. While such collaboration can improve the quality of AI models, it also raises concerns about data confidentiality and communication security.
In this context, quantum cryptography, particularly Quantum Key Distribution (QKD), could play an important role in establishing secure communication infrastructures for the next generation of artificial intelligence.
1. Why Does Artificial Intelligence Need Quantum Security?
To understand this connection, we must first examine how many artificial intelligence systems are developed.
In conventional approaches, data is typically collected at a central processing facility and subsequently used to train a model. Although this approach is effective in many applications, transferring raw data to a centralized location is not always feasible.
For example, consider several hospitals seeking to develop an AI model for the early detection of diseases. Each hospital has access to a collection of medical images and patient records. Combining these datasets could help develop a more accurate model, but transferring patients' medical information to a shared server may be subject to legal and ethical restrictions.
This issue is not limited to healthcare. Banks, insurance companies, industrial organizations, and research institutions face similar challenges.
Therefore, the future development of artificial intelligence requires approaches that enable collaboration among organizations without compromising confidential information.
One important solution to this challenge is Federated Learning.
2. Federated Learning: A Step Toward Privacy-Preserving Artificial Intelligence
Federated learning is an approach to collaboratively training an artificial intelligence model while allowing the raw data of individual users or organizations to remain at its original location.
Rather than transferring the original data to a central server, each participating organization trains the model using its own local data. Information such as updated model parameters or gradients is then transmitted to the central server.
The server receives and aggregates these updates from different participants to generate an updated version of the shared model. This process is repeated over multiple training rounds until the model achieves the desired performance.
For example, three hospitals can collaboratively train a shared disease detection model without transferring patient records to one another.
Despite this advantage, federated learning alone does not guarantee complete information security, since even the transmitted model parameters and gradients may reveal information about the underlying training data. Furthermore, communications between participating organizations and the central server may become targets of cyberattacks.
This is where QKD can come into play.
3. How Does Quantum Key Distribution Protect AI Communications?
Quantum Key Distribution is a method for generating and sharing cryptographic keys between two communicating parties, with security grounded in the fundamental principles of quantum mechanics.
Importantly, QKD does not directly encrypt AI data, nor does it replace conventional encryption algorithms. Instead, it provides the cryptographic keys required by symmetric encryption schemes, such as the Advanced Encryption Standard (AES) or the One-Time Pad (OTP).
This makes it possible to design a hybrid architecture in which:
Training data remains at local institutions.
Local models are trained without transferring raw data.
Cryptographic keys are distributed between participating institutions and the server through QKD.
Model updates are exchanged over encrypted communication channels.
If suspicious disturbances are detected in the quantum communication channel, key exchange is suspended or the communication conditions are reassessed.
In such an architecture, QKD serves as a security layer within the AI communication infrastructure.
4. What Does Existing Research Tell Us?
The relationship between artificial intelligence and quantum cryptography has attracted increasing research interest in recent years. It is important to recognize, however, that this relationship develops in two distinct directions: using QKD to enhance the security of AI infrastructures, and using artificial intelligence to improve the performance and security of QKD systems.
A. Integrating QKD with Federated Learning
One of the most significant research directions involves using QKD-generated keys to protect information exchange in federated learning.
In this context, a review article published in 2025, entitled “Quantum Federated Learning: A Comprehensive Literature Review of Foundations, Challenges, and Future Directions,” examines the relationship between federated learning and quantum technologies.
This study categorizes various aspects of quantum federated learning, including efficiency, security, and implementation challenges. However, Quantum Federated Learning (QFL) should not be confused with classical federated learning in which communications are secured using QKD. Although these two fields are related, they differ in terms of their architectures and computational objectives.
A more specific example is a study published in the journal Physical Communication in 2026, entitled “Quantum Key Distribution Secured Federated Learning for AI-Driven Physical Layer Tasks in Next Generation Networks.”
This study presents a QKD-based federated learning framework for physical-layer applications in next-generation networks, including wireless channel estimation and radar spectrum detection. The authors employ encryption and additive masking mechanisms using shared keys to protect users' model updates during the aggregation process. The quantum bit error rate is also used as a criterion for suspending training rounds under conditions indicative of potential eavesdropping.
Such studies demonstrate that QKD can extend beyond its conventional role as a communication technology and contribute to the design of secure infrastructures for distributed AI training.
B. Using Artificial Intelligence to Optimize QKD Systems
The other direction of this relationship involves using artificial intelligence and machine learning algorithms to improve the performance of quantum key distribution systems themselves.
Under real-world operating conditions, QKD systems face challenges such as channel loss, environmental noise, phase instability, polarization fluctuations, and detector limitations.
Managing and adjusting the parameters of these systems, particularly in large-scale networks, can be complex and time-consuming.
By analyzing system performance data, machine learning algorithms can identify patterns in channel variations and assist the system in selecting appropriate operating parameters.
For example, in decoy-state protocols, the choice of pulse intensities and the transmission probability of each state can affect the secure key rate. Machine learning models can be employed to predict suitable parameters under different channel conditions.
A review article published in 2024, entitled “Advances in Artificial Intelligence and Machine Learning for Quantum Communication Applications,” examines the applications of machine learning in quantum communications, including the optimization of QKD protocols and quantum networks.
Furthermore, in November 2025, a study entitled “Deep Anomaly Detection for Active Attacks on the Receiver in Quantum Key Distribution” was published in the journal Optics Express. In this study, machine learning was employed to detect anomalous behavior in the receiver of a QKD system. By learning the system's normal behavior, the proposed model aims to identify active attacks targeting the receiver, even without prior knowledge of the specific type of attack. The experimental results reported in this study demonstrated an AUC (Area Under the Curve) exceeding 99%.
This example illustrates how artificial intelligence can become a valuable tool for enhancing the monitoring and protection capabilities of quantum communication infrastructures.
C. Quantum Machine Learning and QKD Security Analysis
Another promising research direction is emerging: the application of Quantum Machine Learning (QML) to the study of quantum cryptographic protocols themselves.
For example, an article entitled “Quantum Key Distribution as a Quantum Machine Learning Task” was published in the journal npj Quantum Information in 2025.
In this study, the authors employed Quantum Circuit Learning techniques to investigate and optimize eavesdropping attacks against the BB84 protocol.
They demonstrated that quantum learning algorithms can identify circuits corresponding to certain optimal attacks and discover new attack strategies under noisy conditions.
However, these findings do not imply that the security of the BB84 protocol has been compromised. The authors also emphasize that their results do not contradict existing security proofs. The significance of this work lies primarily in demonstrating the potential of quantum machine learning to provide deeper insights into the behavior of quantum cryptographic protocols.
5. Challenges and Limitations Ahead
Despite its considerable potential, the use of QKD in the development of AI infrastructures still faces several significant challenges.
The first challenge is the limited key generation rate. Unlike conventional digital data transmission, key generation in QKD systems depends on the physical conditions of the communication channel, optical losses, noise, and equipment specifications. Consequently, the key generation rate may not be sufficient to meet the demands associated with large volumes of information exchange in large-scale AI models.
Another challenge is the cost and complexity of the required equipment. Implementing QKD requires optical sources, detectors, control equipment, and suitable communication infrastructure. Therefore, widespread deployment of this technology across all data centers is unlikely to be straightforward, at least in the short term.
It is also important to recognize that QKD only provides security for key distribution. On its own, this technology cannot prevent attacks such as training data poisoning, gradient manipulation, model theft, or the misuse of information contained within the model itself.
Similarly, federated learning alone does not guarantee complete data confidentiality. Therefore, establishing a truly secure infrastructure requires the integration of QKD with techniques such as homomorphic encryption, secure multiparty computation, differential privacy, and authentication mechanisms.
Ultimately, the future of artificial intelligence depends not only on building larger and more powerful models, but also on our ability to establish infrastructures that enable the secure use and exchange of data on a global scale. QKD could be one of the key technologies in achieving this goal.
Resources
- Ballester, R., Cerquides, J., & Artiles, L. (2025). Quantum federated learning: A comprehensive literature review of foundations, challenges, and future directions. Quantum Machine Intelligence. https://doi.org/10.1007/s42484-025-00292-2
- Catak, F. O., et al. (2026). Quantum key distribution secured federated learning for AI-driven physical layer tasks in next generation networks. Physical Communication, 77, 103186.
- Advances in artificial intelligence and machine learning for quantum communication applications (2024). https://doi.org/10.1049/qtc2.12094
- Liu, J., et al. (2025). Deep anomaly detection for active attacks on the receiver in quantum key distribution. Optics Express, 33, 47137–47150. https://doi.org/10.1364/OE.575434
- Decker, T., et al. (2025). Quantum key distribution as a quantum machine learning task. npj Quantum Information, 11, 140. https://doi.org/10.1038/s41534-025-01088-9
- Dervisevic, E., et al. (2025). Quantum Key Distribution Networks – Key Management: A Survey. ACM Computing Surveys. https://doi.org/10.1145/3730575