الكشف عن الشذوذ القائم على الارتباط القابل للتفسير لأنظمة التحكم الصناعية Explainable correlation-based anomaly detection for Industrial Control Systems

شارك:
المجلة: Frontiers in Artificial Intelligence، المجلد: 7
DOI: https://doi.org/10.3389/frai.2024.1508821
PMID: https://pubmed.ncbi.nlm.nih.gov/39968163
تاريخ النشر: 2025-02-04
المؤلف: Ermiyas Birihanu وآخرون
الموضوع الرئيسي: تقنيات الكشف عن الشذوذ وتطبيقاتها

نظرة عامة

تتناول ورقة البحث الحاجة الملحة للكشف الفعال عن الشذوذ في أنظمة التحكم الصناعية (ICS)، والتي تتميز بوجود علاقات زمنية معقدة بين العديد من المعلمات. غالبًا ما تتجاهل المنهجيات الحالية هذه العلاقات وتفشل في اختيار المعلمات المثلى، مما يؤدي إلى فقدان الرؤى والتحديات في القابلية للتفسير وكفاءة الموارد. لمعالجة هذه القضايا، تقدم الدراسة طريقة للكشف عن الشذوذ تعتمد على العلاقات القابلة للتفسير، تستخدم شبكات الذاكرة طويلة وقصيرة المدى – مشفر تلقائي (LSTM-AE) لتحديد حجم نافذة البيانات الأمثل وتستخدم ارتباط بيرسون لاستخراج مجموعة من معلمات الارتباط. يؤدي ذلك إلى إنشاء مصفوفة الارتباط الكامنة (LCM) ومتجه الارتباط الكامن (LCV)، والتي يتم من خلالها تحديد الشذوذ باستخدام توزيع غاوسي متعدد المتغيرات (MGD) وآلية عتبة تتضمن قيم ألفا وإبسيلون. يتم تقييم الطريقة على مجموعات بيانات متعددة، مما يظهر تحسينًا في دقة وقياسات F-score، مما يساعد مهندسي ICS في تحديد الأسباب الجذرية.

في الختام، تؤكد الدراسة على أهمية الكشف عن الشذوذ القائم على الارتباط في مجموعات البيانات متعددة المتغيرات، لا سيما في تحديد الشذوذ الجماعي الذي قد لا يظهر تباينات كبيرة في الشذوذ الفردي. تؤكد النتائج على ضرورة اختيار أحجام النوافذ المناسبة واستخدام LSTM-AE لتقسيم البيانات بشكل فعال، وهو أمر حاسم للتنبؤ الدقيق بالشذوذ. لا يحدد نموذج الكشف عن الشذوذ المقترح الشذوذ فحسب، بل يتتبع أيضًا بفعالية أسبابها الجذرية ضمن مجال ICS. ستركز الأعمال المستقبلية على تحسين استخدام الموارد للتطبيقات في الوقت الحقيقي، وتعزيز قابلية تفسير النموذج، ودمج تقنيات التعلم العميق المتقدمة، مثل TimesNet، لتحسين المتانة والتعميم في بيئات البيانات المتدفقة.

مقدمة

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

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

طرق

تبحث الدراسة في فعالية الكشف عن الشذوذ القائم على الارتباط (CAD) في تحديد الشذوذ داخل بيانات أنظمة التحكم الصناعية (ICS) من خلال منهجية منظمة. تستخدم الطريقة نوافذ منزلقة لتحليل بيانات السلاسل الزمنية، مما يلتقط الأنماط المحلية ويعزز الكفاءة الحسابية. تشمل المعلمات الرئيسية حجم النافذة، وحجم الخطوة، وعدد العينات، والتي تحدد معًا شكل الإدخال لنموذج مشفر الذاكرة طويلة وقصيرة المدى (LSTM-AE). يتم تحديد حجم النافذة الأمثل من خلال تقييم خطأ إعادة البناء، وبالتحديد الجذر التربيعي لمتوسط الخطأ (RMSE)، الذي يعكس قدرة النموذج على التقاط الأنماط الأساسية للبيانات.

تشمل المنهجية أيضًا بناء مصفوفة الارتباط الكامنة (LCM) باستخدام ارتباطات بيرسون وسبيرمان من مخرجات LSTM-AE. يتم تحويل هذه المصفوفة بعد ذلك إلى متجهات ارتباط كامنة (LCVs) تمثل الارتباطات عبر سلاسل بيانات المراقبة المختلفة. يتم تطوير نموذج احتمالية الارتباط الكامن (LCMP) بناءً على توزيع غاوسي متعدد المتغيرات (MGD) لوصف توزيع الاحتمالية لـ LCVs، مما يسهل تحديد الارتباطات الشاذة. يتم تنفيذ الكشف عن الشذوذ باستخدام نهج قائم على العتبة، حيث يتم تصنيف النوافذ على أنها طبيعية أو شاذة بناءً على عتبات ألفا وإبسيلون. يتم تعزيز قابلية تفسير النموذج من خلال SHAP (SHapley Additive exPlanations)، الذي يحدد مساهمة كل ميزة في درجة الشذوذ، مما يوفر رؤى حول الشذوذ المكتشف.

مناقشة

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

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

Journal: Frontiers in Artificial Intelligence, Volume: 7
DOI: https://doi.org/10.3389/frai.2024.1508821
PMID: https://pubmed.ncbi.nlm.nih.gov/39968163
Publication Date: 2025-02-04
Author(s): Ermiyas Birihanu et al.
Primary Topic: Anomaly Detection Techniques and Applications

Overview

The research paper addresses the critical need for effective anomaly detection in Industrial Control Systems (ICS), which are characterized by complex temporal correlations among numerous parameters. Current methodologies often overlook these correlations and fail to select optimal parameters, leading to missed insights and challenges in interpretability and resource efficiency. To address these issues, the study introduces an explainable correlation-based anomaly detection method that employs Long Short-Term Memory Networks-Autoencoder (LSTM-AE) for optimal data window sizing and utilizes Pearson correlation to extract a correlation parameter set. This leads to the creation of a Latent Correlation Matrix (LCM) and a Latent Correlation Vector (LCV), from which anomalies are identified using a Multivariate Gaussian Distribution (MGD) and a threshold mechanism involving alpha and epsilon values. The method is evaluated on multiple datasets, demonstrating improved precision and F-score metrics, thereby aiding ICS engineers in root cause identification.

In conclusion, the study emphasizes the importance of correlation-based anomaly detection in multivariate datasets, particularly in identifying collective anomalies that may not show significant variations in point anomalies. The findings underscore the necessity of selecting appropriate window sizes and employing LSTM-AE for effective data segmentation, which is crucial for accurate anomaly predictions. The proposed anomaly detection module not only identifies anomalies but also effectively traces their root causes within the ICS domain. Future work will focus on optimizing resource usage for real-time applications, enhancing the model’s explainability, and incorporating advanced deep learning techniques, such as TimesNet, to improve robustness and generalization in streaming data environments.

Introduction

The introduction of this research paper addresses the complexities of anomaly detection in industrial control systems (ICS), emphasizing the interconnected nature of devices and the challenges posed by diverse data streams. Anomalies in ICS can propagate across sensors and actuators, necessitating efficient algorithms capable of handling both continuous and discrete data types. The authors highlight the importance of capturing correlations among devices in multivariate time series, noting that existing methods often focus on individual devices rather than their interrelations. This limitation underscores the need for correlation-based anomaly detection, which can identify anomalous patterns that emerge during abnormal operational states.

The paper identifies three primary challenges in anomaly detection: the difficulty of obtaining labeled datasets, the interdependence of devices, and the variability in data properties. It discusses the significance of hidden correlations among equipment parameters that remain stable under normal conditions but change during anomalies. The authors propose a novel approach that integrates Long Short-Term Memory Networks-Autoencoder (LSTM-AE) with a multivariate Gaussian distribution (MGD) for anomaly detection, aiming to enhance the interpretability and efficiency of the detection process. This method not only addresses the identification of complex anomalies but also incorporates explainable artificial intelligence (XAI) techniques to elucidate causal relationships, thereby improving decision-making in resource-constrained environments. The study ultimately aims to optimize the performance of anomaly detection models while ensuring practical applicability in real-time scenarios.

Methods

The study investigates the efficacy of correlation-based anomaly detection (CAD) in identifying anomalies within Industrial Control System (ICS) data through a structured methodology. The approach employs sliding windows to analyze time series data, capturing local patterns and enhancing computational efficiency. Key parameters include the window size, step size, and the number of samples, which together define the input shape for the Long Short-Term Memory Autoencoder (LSTM-AE) model. The optimal window size is determined by evaluating the reconstruction error, specifically the root mean square error (RMSE), which reflects the model’s ability to capture underlying data patterns.

The methodology further involves constructing a Latent Correlation Matrix (LCM) using Pearson and Spearman correlations from the LSTM-AE outputs. This matrix is then transformed into Latent Correlation Vectors (LCVs) that represent correlations across different monitoring data series. A Latent Correlation Probability Model (LCMP) is developed based on a multivariate Gaussian distribution (MGD) to characterize the probability distribution of the LCVs, facilitating the identification of anomalous correlations. Anomaly detection is performed using a threshold-based approach, where windows are classified as normal or anomalous based on Alpha and Epsilon thresholds. The model’s interpretability is enhanced through SHAP (SHapley Additive exPlanations), which quantifies the contribution of each feature to the anomaly score, thus providing insights into the detected anomalies.

Discussion

The discussion section of the research paper outlines the landscape of anomaly detection approaches, emphasizing the significance of correlation-based methods, particularly in the context of Industrial Control Systems (ICS). Anomaly detection can be classified into knowledge-based, model-based, and data-driven approaches, with the latter being the most prevalent. However, the study highlights a gap in the literature regarding correlated anomalies, which are defined as data entries exhibiting strong internal correlations, often indicative of anomalous behavior. The authors propose a correlation anomaly detection (CAD) framework that leverages classical machine learning algorithms to identify significant deviations across multiple time series, thus enhancing the detection of anomalies that traditional methods might overlook.

Furthermore, the section discusses the importance of explainable anomaly detection (XAD), which aims to provide interpretable insights into model predictions. This is crucial for various stakeholders in ICS environments, where understanding the rationale behind anomaly detection is essential for trust and decision-making. The authors employ SHAP (SHapley Additive exPlanations) as a model-agnostic method to elucidate the contributions of different features to the model’s predictions, despite its computational costs. The findings underscore the necessity of adapting existing anomaly detection methods for ICS data, focusing on correlation characteristics to optimize resource efficiency while maintaining system health. Overall, the study advocates for a nuanced approach to anomaly detection that incorporates both correlation analysis and explainability to address the complexities inherent in ICS environments.