مرونة متفوقة تجاه التسمم وقابلية للتعلم غير الفعال في التعلم الآلي الكمي
Superior resilience to poisoning and amenability to unlearning in quantum machine learning

شارك:
المجلة: Nature Communications، المجلد: 17، العدد: 1
DOI: https://doi.org/10.1038/s41467-026-70420-4
PMID: https://pubmed.ncbi.nlm.nih.gov/41803125
تاريخ النشر: 2026-03-09
المؤلف: Yu-Qin Chen وآخرون
الموضوع الرئيسي: خوارزميات وهندسة الحوسبة الكمومية

نظرة عامة

يتناول هذا القسم من ورقة البحث تأثير سلامة البيانات على موثوقية الذكاء الاصطناعي (AI)، مع التركيز بشكل خاص على الاختلافات بين الشبكات العصبية الكلاسيكية والكمومية في ظل وجود فساد البيانات. تكشف الدراسة أن النماذج الكلاسيكية تميل إلى إظهار حفظ هش، مما يعيق قدرتها على التعميم بفعالية عند مواجهة بيانات مشوشة أو فاسدة. بالمقابل، تظهر النماذج الكمومية مرونة ملحوظة تتميز بسلوك يشبه الانتقال الطوري؛ مع زيادة الضوضاء، هناك عتبة حرجة يتغير عندها أداء النموذج الكمومي نوعيًا.

بالإضافة إلى ذلك، يقدم المؤلفون مفهومًا يسمى “إلغاء التعلم الكمومي”، والذي يشير إلى العملية الفعالة لمسح تأثير البيانات الخاطئة من نموذج مدرب. تشير النتائج إلى أن النماذج الكلاسيكية عرضة لتشكيل ذكريات جامدة للبيانات الفاسدة، مما يجعلها أقل تكيفًا. بالمقابل، تظهر النماذج الكمومية أنها أكثر مرونة بشكل ملحوظ، مما يسمح بنسيان فعال من خلال تقنيات إلغاء التعلم التقريبية. بشكل عام، تسلط الأبحاث الضوء على مزايا التعلم الآلي الكمومي، مع التأكيد على مرونته وتكيفه الجوهري، مما قد يمهد الطريق لأنظمة ذكاء اصطناعي أكثر موثوقية في المستقبل.

مقدمة

تسلط مقدمة هذه الورقة البحثية الضوء على التأثير التحويلي للذكاء الاصطناعي (AI) على العلوم والمجتمع، مع التأكيد على أن موثوقية نماذج الذكاء الاصطناعي تعتمد بشكل كبير على جودة بيانات التدريب الخاصة بها. غالبًا ما تعاني مجموعات البيانات في العالم الحقيقي من مشكلات مثل الفساد والهجمات الخبيثة، مما يمكن أن يؤدي إلى تحيزات كبيرة وثغرات أمنية. تعتبر إزالة التعلم من الآلات تحديًا ملحًا في هذا السياق، حيث تتضمن الإزالة الفعالة لتأثيرات بيانات معينة من النماذج المدربة للامتثال للوائح الخصوصية أو تصحيح الأخطاء. بينما يُعتبر إعادة تدريب النماذج على مجموعات بيانات مُنظفة حلاً نهائيًا، إلا أنه غالبًا ما يكون غير عملي بسبب التكاليف الحسابية العالية، مما يدفع لاستكشاف بدائل أكثر كفاءة.

تقدم الورقة التعلم الآلي الكمومي (QML) كنهج واعد لمعالجة هذه التحديات، خاصة من خلال استخدام الشبكات العصبية الكمومية (QNNs). على الرغم من التقدم في هذا المجال، لا يزال سلوك QNNs في ظل وجود عيوب بيانات العالم الحقيقي غير مستكشف إلى حد كبير. يحدد المؤلفون تمييزًا حاسمًا بين الهجمات العدائية في وقت الاستدلال وتسميم البيانات أثناء التدريب، مشيرين إلى أن الأخيرة تفسد اكتساب المعرفة للنموذج. تهدف هذه الدراسة إلى سد الفجوة في فهم كيفية استجابة QNNs لفساد البيانات وتحقق من إلغاء التعلم الكمومي. تكشف النتائج أن النماذج الكلاسيكية، مثل الشبكات العصبية متعددة الطبقات (MLPs)، تظهر حفظًا هشًا، مما يؤدي إلى فشل كارثي في التعميم عند مواجهة معلومات متناقضة. بالمقابل، تظهر QNNs مرونة وديناميكية تعلم منظمة، مما يجعلها أكثر ملاءمة للإلغاء الفعال. تقارن الأبحاث بشكل منهجي بين النماذج الكلاسيكية والكمومية، كاشفة أن QNNs لا تتعامل فقط مع فساد البيانات بشكل أكثر فعالية ولكن أيضًا تسهل طرق إلغاء تعلم أكثر استقرارًا وتفوقًا مقارنة بإعادة التدريب التقليدية، مما يعزز تطوير تقنيات كمومية آمنة.

الطرق

في هذا القسم، يصف المؤلفون تنفيذ ومقارنة أربعة خوارزميات لإلغاء التعلم الآلي مصممة لتقييم قدرة النماذج على “إصلاح” نفسها من خلال إزالة تأثير مجموعة النسيان المحددة، \( D_{\text{forget}} \)، مع الاحتفاظ بالمعرفة من مجموعة الاحتفاظ النظيفة، \( D_{\text{retain}} \). يتم تعريف كل عملية إلغاء تعلم كفترة تدريب واحدة على \( D_{\text{retain}} \) و، حيثما كان ذلك ممكنًا، \( D_{\text{forget}} \).

تعتبر الطريقة الأولى، إعادة التدريب، المعيار الذهبي لإلغاء التعلم. تتضمن التخلص من النموذج الملوث تمامًا وتدريب نموذج جديد من الصفر باستخدام فقط \( D_{\text{retain}} \). الهدف هو تقليل المخاطر التجريبية على البيانات المنظفة، والتي يتم صياغتها كـ \( \theta_{\text{new}} = \arg \min_{\theta} \sum_{(x,y) \in D_{\text{retain}}} L(\theta; x, y) \). على الرغم من أن هذه الطريقة تضمن إزالة كاملة لتأثير مجموعة النسيان، إلا أنها غالبًا ما تكون مكلفة حسابيًا للنماذج الكبيرة. تقدم الطريقة الثانية، التعديل الدقيق، بديلاً أكثر كفاءة من الناحية الحسابية من خلال البدء من معلمات النموذج الملوث، \( \theta_{\text{old}} \)، ومواصلة التدريب باستخدام \( D_{\text{retain}} \). تهدف هذه الطريقة إلى الكتابة فوق المعرفة الضارة المكتسبة من \( D_{\text{forget}} \) من خلال آلية النسيان الكارثي، باستخدام نفس دالة الخسارة مثل طريقة إعادة التدريب ولكن بدءًا من حالة مدربة بالفعل.

النتائج

في هذه الدراسة، قمنا بفحص منهجي لأداء شبكة متعددة الطبقات الكلاسيكية (MLP) وشبكة عصبية كمومية (QNN) تعتمد على الدوائر الكمومية المعلمة (PQC) في سياق تسميم البيانات ضمن التعلم الخاضع للإشراف. تم تقييم النماذج على مهمتين لتصنيف ثنائي: التمييز بين الأرقام ‘1’ و ‘9’ من مجموعة بيانات MNIST وتصنيف حالات الحالة الأرضية لهاميلتونيان دوران XXZ أحادي البعد. لتقييم مرونة النماذج، قمنا بفساد جزء مسيطر عليه $\alpha$ من بيانات التدريب باستخدام طريقتين: تغيير العلامات، التي تغير تسميات الفئات، وعشوائية الميزات، التي تستبدل متجهات الميزات بضوضاء عشوائية.

أشارت النتائج إلى ميزة ملحوظة لصالح QNN، حيث أظهرت مرونة أكبر تجاه فساد بيانات التدريب مقارنةً بـ MLP. علاوة على ذلك، أظهرت QNN قدرة محسنة على النسيان الفعال عند تعرضها لأربع خوارزميات مختلفة لإلغاء التعلم الآلي تهدف إلى التخفيف من آثار البيانات الفاسدة. تشير هذه النتائج إلى أن النماذج الكمومية قد تقدم فوائد كبيرة في التعامل مع قضايا سلامة البيانات في تطبيقات التعلم الآلي.

المناقشة

تسلط قسم المناقشة من ورقة البحث الضوء على المرونة الفائقة لشبكات الأعصاب الكمومية (QNNs) مقارنةً بالشبكات العصبية متعددة الطبقات الكلاسيكية (MLPs) عند مواجهة فساد البيانات، خاصة في سيناريوهات تغيير العلامات. تظهر MLP حساسية عالية لضوضاء العلامات، مما يؤدي إلى انخفاض مستمر في دقة التحقق مع زيادة نسبة الضوضاء. يُعزى هذا السلوك إلى ميل MLP للحفظ الهش، مما يضر بقدرتها على التعميم من خلال تشويه الحدود القرار لاستيعاب البيانات ذات التسميات الخاطئة. بالمقابل، تحافظ QNN على مستوى أداء قوي حتى نقطة انتقال حرجة عند نسبة ضوضاء تبلغ حوالي $\alpha = 0.5$، حيث تنتقل من مرحلة مهيمنة على الإشارة إلى مرحلة مهيمنة على الضوضاء. تتيح هذه المرونة لـ QNN تجاهل القيم الشاذة الضوضائية بفعالية، مما يحافظ على سلامة تمثيلها المتعلم.

تستكشف الورقة أيضًا قدرات إلغاء التعلم لـ QNNs، مما يظهر أنها يمكن أن تتكيف بكفاءة مع بيانات جديدة بينما تتخلص من تأثير العينات الفاسدة. تم تقييم استراتيجيات إلغاء التعلم المختلفة، مما يكشف أن QNNs تظهر مرونة أكبر مقارنةً بـ MLPs، التي تكافح لمسح ذكريات عنيدة للبيانات الملوثة دون إعادة تدريب مكلفة. تشير تحليل هندسة سطح الخسارة إلى أن QNNs تحافظ على سطح مستقر يقاوم التشويه تحت الضوضاء، مما يتناقض بشكل حاد مع سطح MLP الهش الذي يصبح محددًا بشكل حاد استجابةً لفساد البيانات. يُعتبر هذا الاستقرار الهيكلي هو الآلية الأساسية لمرونة QNN وكفاءتها في إلغاء التعلم، مما يشير إلى أن QNNs لا تمتلك فقط قدرة عالية على الحفظ ولكن أيضًا تفضيل قوي للتعميم في ظل وجود الضوضاء. بشكل عام، تؤكد النتائج على إمكانيات النماذج الكمومية في تطوير أنظمة ذكاء اصطناعي قوية قادرة على العمل بفعالية في بيئات صاخبة في العالم الحقيقي.

Journal: Nature Communications, Volume: 17, Issue: 1
DOI: https://doi.org/10.1038/s41467-026-70420-4
PMID: https://pubmed.ncbi.nlm.nih.gov/41803125
Publication Date: 2026-03-09
Author(s): Yu-Qin Chen et al.
Primary Topic: Quantum Computing Algorithms and Architecture

Overview

This section of the research paper discusses the impact of data integrity on the reliability of artificial intelligence (AI), particularly focusing on the differences between classical and quantum neural networks in the presence of data corruption. The study reveals that classical models tend to exhibit brittle memorization, which hampers their ability to generalize effectively when faced with noisy or corrupted data. In contrast, quantum models show a remarkable resilience characterized by a phase transition-like behavior; as noise increases, there is a critical threshold beyond which the performance of the quantum model changes qualitatively.

Additionally, the authors introduce a concept termed “quantum machine unlearning,” which refers to the efficient process of erasing the influence of erroneous data from a trained model. The findings indicate that classical models are prone to forming rigid memories of corrupted data, making them less adaptable. In contrast, quantum models are shown to be significantly more flexible, allowing for efficient forgetting through approximate unlearning techniques. Overall, the research highlights the advantages of quantum machine learning, emphasizing its intrinsic resilience and adaptability, which could pave the way for more trustworthy AI systems in the future.

Introduction

The introduction of this research paper highlights the transformative impact of artificial intelligence (AI) on science and society, emphasizing that the reliability of AI models is heavily dependent on the quality of their training data. Real-world datasets often suffer from issues such as corruption and malicious attacks, which can lead to significant biases and security vulnerabilities. A pressing challenge in this context is machine unlearning, which involves the efficient removal of specific data influences from trained models to comply with privacy regulations or correct errors. While retraining models on sanitized datasets is a definitive solution, it is often impractical due to high computational costs, prompting the exploration of more efficient alternatives.

The paper introduces quantum machine learning (QML) as a promising approach to address these challenges, particularly through the use of quantum neural networks (QNNs). Despite advancements in the field, the behavior of QNNs in the presence of real-world data imperfections remains largely unexplored. The authors identify a critical distinction between adversarial attacks at inference time and data poisoning during training, noting that the latter corrupts the model’s knowledge acquisition. This study aims to bridge the gap in understanding how QNNs respond to data corruption and investigates quantum machine unlearning. The findings reveal that classical models, such as multi-layer perceptrons (MLPs), exhibit brittle memorization, leading to catastrophic generalization failures when faced with contradictory information. In contrast, QNNs demonstrate resilience and a structured learning dynamic, making them more amenable to efficient unlearning. The research systematically compares classical and quantum models, revealing that QNNs not only handle data corruption more effectively but also facilitate more stable and superior unlearning methods compared to traditional retraining, thereby advancing the development of secure quantum technologies.

Methods

In this section, the authors describe the implementation and comparison of four machine unlearning algorithms designed to evaluate the capacity of models to “repair” themselves by removing the influence of a specified forget set, \( D_{\text{forget}} \), while retaining knowledge from a clean retain set, \( D_{\text{retain}} \). Each unlearning process is defined as a single training epoch over \( D_{\text{retain}} \) and, where applicable, \( D_{\text{forget}} \).

The first method, Retrain, is regarded as the gold standard for unlearning. It involves discarding the polluted model entirely and training a new model from scratch using only \( D_{\text{retain}} \). The objective is to minimize the empirical risk on the sanitized data, formalized as \( \theta_{\text{new}} = \arg \min_{\theta} \sum_{(x,y) \in D_{\text{retain}}} L(\theta; x, y) \). Although this method ensures complete removal of the forget set’s influence, it is often computationally expensive for large-scale models. The second method, Finetune, offers a more computationally efficient alternative by starting from the parameters of the polluted model, \( \theta_{\text{old}} \), and continuing training with \( D_{\text{retain}} \). This approach aims to overwrite the detrimental knowledge acquired from \( D_{\text{forget}} \) through the mechanism of catastrophic forgetting, utilizing the same loss function as the Retrain method but beginning from an already trained state.

Results

In this study, we systematically examined the performance of a classical Multi-Layer Perceptron (MLP) and a Quantum Neural Network (QNN) based on parameterized quantum circuits (PQC) in the context of data poisoning within supervised learning. The models were evaluated on two binary classification tasks: distinguishing between the digits ‘1’ and ‘9’ from the MNIST dataset and classifying ground state phases of the one-dimensional XXZ spin Hamiltonian. To assess the models’ resilience, we corrupted a controlled fraction $\alpha$ of the training data using two methods: Label Flipping, which alters class labels, and Feature Randomization, which replaces feature vectors with random noise.

The results indicated a notable advantage for the QNN, as it exhibited greater resilience to the corruption of training data compared to the MLP. Furthermore, the QNN demonstrated enhanced capacity for efficient forgetting when subjected to four different machine unlearning algorithms aimed at mitigating the effects of the corrupted data. These findings suggest that quantum models may offer significant benefits in handling data integrity issues in machine learning applications.

Discussion

The discussion section of the research paper highlights the superior resilience of Quantum Neural Networks (QNNs) compared to classical Multi-Layer Perceptrons (MLPs) when faced with data corruption, particularly in label flipping scenarios. The MLP demonstrates a high sensitivity to label noise, leading to a continuous decline in validation accuracy as the noise ratio increases. This behavior is attributed to the MLP’s tendency for brittle memorization, which compromises its generalization ability by distorting the decision boundary to accommodate mislabeled data. Conversely, the QNN maintains a robust performance plateau until a critical transition point at a noise ratio of approximately $\alpha = 0.5$, where it shifts from a signal-dominated phase to a noise-dominated phase. This resilience allows the QNN to effectively disregard noisy outliers, preserving the integrity of its learned representation.

The paper further explores the unlearning capabilities of QNNs, demonstrating that they can efficiently adapt to new data while discarding the influence of corrupted samples. Various unlearning strategies were evaluated, revealing that QNNs exhibit greater plasticity compared to MLPs, which struggle to erase stubborn memories of polluted data without costly retraining. The analysis of the loss landscape geometry indicates that QNNs maintain a stable landscape that resists deformation under noise, contrasting sharply with the MLP’s fragile landscape that becomes sharply defined in response to data corruption. This structural stability is posited as the underlying mechanism for the QNN’s resilience and efficient unlearning, suggesting that QNNs not only possess a high capacity for memorization but also a strong preference for generalization in the presence of noise. Overall, the findings underscore the potential of quantum models in developing robust AI systems capable of operating effectively in noisy, real-world environments.