الذكاء الاصطناعي القابل للتفسير في التعليم: تقنيات وتقييم نوعي
Explainable AI in Education: Techniques and Qualitative Assessment

شارك:
المجلة: Applied Sciences، المجلد: 15، العدد: 3
DOI: https://doi.org/10.3390/app15031239
تاريخ النشر: 2025-01-25
المؤلف: Sachini Gunasekara وآخرون
الموضوع الرئيسي: الذكاء الاصطناعي القابل للتفسير (XAI)

نظرة عامة

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

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

مقدمة

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

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

الطرق

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

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

النتائج

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

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

المناقشة

في هذا القسم، تركز المناقشة على التحليل المقارن لنموذجين من نماذج التعلم الآلي – أشجار القرار (DT) والشبكات العصبية الاصطناعية (ANN) – من حيث قابلية تفسيرهما وأدائهما باستخدام مجموعة بيانات OULAD. أظهر نموذج ANN دقة متفوقة (92.09%) مقارنةً بـ DT (89%)، مما يشير إلى فعاليته في مهام التصنيف. ومع ذلك، حقق DT درجات مثالية من الدقة والاستقرار، مما يشير إلى أن تفسيراتها كانت متسقة وتعكس بدقة عملية اتخاذ القرار للنموذج. على الرغم من ذلك، فإن تعرض DT للإفراط في التكيف واعتماده على تقسيمات ثنائية بسيطة حد من قدرته على التقاط التفاعلات المعقدة بين الميزات، مما قد يؤدي إلى تصنيفات خاطئة.

على العكس من ذلك، بينما أظهر نموذج ANN دقة أقل (80%) واستقرارًا (80%) عند تحليله باستخدام LIME، إلا أنه تفوق في تحديد الأنماط المعقدة داخل البيانات. أظهرت SHAP، المطبقة على ANN، دقة مقارنة (79.39%) ولكن استقرارًا أعلى بكثير (98.43%)، مما يبرز فعاليتها في تقديم تنبؤات متسقة. تؤكد النتائج قدرة ANN على دمج ميزات متعددة وتفاعلاتها، مما يوفر فهمًا أكثر دقة لأداء الطلاب. ومع ذلك، فإن النتائج محددة بالسياق، مما يعكس الخصائص الديموغرافية والخلفيات التعليمية الفريدة لطلاب الجامعة المفتوحة، مما قد يحد من إمكانية تعميمها على سياقات تعليمية أخرى.

القيود

يسلط قسم القيود الضوء على عدة تحديات مرتبطة باستخدام LIME (تفسيرات نموذج محلي قابلة للتفسير وغير مرتبطة) لتقييم شفافية نماذج أشجار القرار (DT) والشبكات العصبية الاصطناعية (ANN)، خاصة في مجموعات البيانات عالية الأبعاد مثل OULAD. قد ينتج عن النهج القائم على الاضطراب لـ LIME تفسيرات غير متسقة أو ضوضائية بسبب تفاعلات الميزات، وعلى الرغم من أن كل من LIME وSHAP (تفسيرات إضافية من شابلي) توفر تفسيرات محلية، إلا أنها قد تقصر في نقل السلوك العام للنماذج المعقدة مثل الشبكات العصبية العميقة. تؤكد هذه القيود على الحاجة إلى مزيد من البحث في استراتيجيات التفسير البديلة لتعزيز فهم قابلية تفسير النموذج.

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

Journal: Applied Sciences, Volume: 15, Issue: 3
DOI: https://doi.org/10.3390/app15031239
Publication Date: 2025-01-25
Author(s): Sachini Gunasekara et al.
Primary Topic: Explainable Artificial Intelligence (XAI)

Overview

This section of the research paper addresses the comparative analysis of explainability in two machine learning models—Artificial Neural Networks (ANN) and Decision Trees (DT)—in the context of predicting student outcomes using the Open University Learning Analytics Dataset (OULAD). The study highlights a gap in existing literature, which often emphasizes performance and fairness but neglects the quantitative assessment of explainability.

The findings indicate that while the DT model offers intrinsic explainability through its feature-based decision-making process, it struggles with complex data relationships, resulting in potential misclassifications. Conversely, the ANN model exhibits superior accuracy and stability in predictions but lacks inherent transparency. Notably, when employing post hoc explainability techniques such as LIME (Local Interpretable Model-agnostic Explanations) and SHAP (SHapley Additive exPlanations), the ANN demonstrated high fidelity in its predictions. Overall, the experiments confirmed that the ANN consistently outperformed the DT in terms of prediction accuracy and stability, particularly when utilizing the LIME method. However, the challenge of enhancing the interpretability of ANN models remains an area for future research.

Introduction

The introduction of the research paper highlights the growing adoption of machine learning (ML) technologies across various industries, including education, healthcare, and criminal justice. A notable example is the Correctional Offender Management Profiling for Alternative Sanctions (COMPAS) system, which assists judges in making pretrial detention decisions based on predictions of recidivism. Despite the benefits of ML models, their inherent “black box” nature poses significant interpretability challenges, particularly in critical applications where understanding the rationale behind decisions is essential. This has led to an increased focus on explainable AI (XAI), which aims to provide transparency and comprehensibility in ML predictions.

The paper emphasizes the need for effective evaluation metrics for explainability, as existing methods often lack standardization, making comparisons across different approaches difficult. While initial efforts in educational contexts primarily utilized interpretable models like Decision Trees, the complexity of educational data has necessitated the use of more advanced, less transparent models such as deep learning. Techniques like SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) have emerged to enhance the interpretability of these black box models. The study aims to address the gap in quantitative assessments of explainability by applying these techniques to the Open University Learning Analytics Dataset (OULAD) and exploring the relationship between explainability metrics and model performance. The subsequent sections of the paper outline the conceptual framework, experimental setup, results, and discussions regarding the findings and future directions for enhancing AI explainability in education.

Methods

In this section, the authors detail the experimental setup utilized for analyzing student performance through a binary classification task. They begin by describing the dataset, focusing on a specific subset that includes key features and its overall size. The analysis employs two machine learning models: Artificial Neural Networks (ANN) and Decision Trees (DT).

The methodology includes an evaluation of both models’ performance and explainability. For the DT classifiers, feature importance is assessed, while local interpretability methods such as LIME (Local Interpretable Model-agnostic Explanations) and SHAP (SHapley Additive exPlanations) are used to provide insights into individual predictions, elucidating the reasons behind a student’s predicted success or failure. All experiments were conducted using Python 3.10.

Results

The results section presents a detailed analysis of a decision tree (DT) model developed to predict student success based on various features derived from a dataset. The most critical feature identified is “assessment_count,” with a threshold of four assessments indicating a higher likelihood of failure. Additionally, the “score,” representing average assessment performance, significantly influences predictions, with better scores correlating with higher pass rates. Other factors, such as “delay” and “sum_click,” also contribute to success, suggesting that increased engagement and effort can enhance student outcomes.

To enhance interpretability, the LIME and SHAP methods were employed to elucidate the model’s predictions. LIME provided insights into individual student cases, illustrating how specific features impacted outcomes, with visualizations indicating positive (green) and negative (red) contributions to predictions. For instance, features like “code_presentation_2014J” negatively affected Student 29’s prediction, while “sum_click” positively influenced it. SHAP further clarified feature importance through heatmap visualizations, revealing that attributes like “score” had a consistently positive impact, while others, such as “code_presentation_2013B,” contributed negatively to predictions for specific students. The analysis of fidelity and stability across multiple model runs demonstrated the robustness of feature importance rankings, with consistent contributions from key features like “score,” “sum_click,” and “assessment_count,” underscoring their significance in predicting student success.

Discussion

In this section, the discussion focuses on the comparative analysis of two machine learning models—Decision Trees (DT) and Artificial Neural Networks (ANN)—in terms of their interpretability and performance using the OULAD dataset. The ANN model demonstrated superior accuracy (92.09%) compared to the DT (89%), indicating its effectiveness in classification tasks. However, the DT achieved perfect fidelity and stability scores, suggesting that its explanations were consistent and accurately reflected the model’s decision-making process. Despite this, the DT’s susceptibility to overfitting and its reliance on simple binary splits limited its ability to capture complex interactions among features, which may lead to misclassifications.

Conversely, while the ANN model exhibited lower fidelity (80%) and stability (80%) when analyzed with LIME, it excelled in identifying intricate patterns within the data. SHAP, applied to the ANN, showed comparable fidelity (79.39%) but significantly higher stability (98.43%), highlighting its effectiveness in providing consistent predictions. The findings underscore the ANN’s capacity to integrate multiple features and their interactions, offering a more nuanced understanding of student performance. However, the results are context-specific, reflecting the unique demographics and educational backgrounds of the Open University students, which may limit generalizability to other educational settings.

Limitations

The section on limitations highlights several challenges associated with using LIME (Local Interpretable Model-agnostic Explanations) for evaluating the explainability of decision tree (DT) and artificial neural network (ANN) models, particularly in high-dimensional datasets like OULAD. The perturbation-based approach of LIME may produce inconsistent or noisy explanations due to feature interactions, and while both LIME and SHAP (SHapley Additive exPlanations) provide local explanations, they may fall short in conveying the global behavior of complex models such as deep neural networks. This limitation underscores the need for further research into alternative explanation strategies to enhance understanding of model interpretability.

Future research directions should focus on exploring the relationships between various explanation techniques and different feature types, emphasizing key explainability metrics such as stability and fidelity. Additionally, ethical considerations in the deployment of AI systems in education must be addressed, as highlighted by Al-kfairy et al. and Vetter et al. These concerns include ensuring accountability and fairness, particularly when dealing with sensitive data. Integrating ethical perspectives into future studies could facilitate a better balance between effective model performance and the ethical implications of AI use in educational contexts.