تعزيز أنظمة توصية المحاصيل باستخدام الذكاء الاصطناعي القابل للتفسير: دراسة حول اتخاذ القرارات الزراعية
Enhancing crop recommendation systems with explainable artificial intelligence: a study on agricultural decision-making

المجلة: Neural Computing and Applications، المجلد: 36، العدد: 11
DOI: https://doi.org/10.1007/s00521-023-09391-2
تاريخ النشر: 2024-01-11
المؤلف: Mahmoud Y. Shams وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي

نظرة عامة

تقدم البحث XAI-CROP، وهو نظام متقدم لتوصية المحاصيل يدمج التعلم الآلي مع مبادئ الذكاء الاصطناعي القابل للتفسير (XAI) لتعزيز الشفافية وقابلية التفسير في اتخاذ القرارات الزراعية. من خلال تحليل البيانات حول خصائص التربة، وأداء المحاصيل التاريخي، وأنماط الطقس، يوفر XAI-CROP توصيات مخصصة لاختيار المحاصيل. يقيم الدراسة XAI-CROP بدقة مقارنةً بنماذج التعلم الآلي المعتمدة، بما في ذلك تعزيز التدرج، شجرة القرار، الغابة العشوائية، بايزي Gaussian الساذج، وبايزي الساذج متعدد النماذج، باستخدام مقاييس الأداء مثل متوسط الخطأ التربيعي (MSE)، ومتوسط الخطأ المطلق (MAE)، وR-squared (R²). تظهر النتائج دقة XAI-CROP الفائقة، حيث حقق MSE منخفضًا قدره 0.9412، وMAE قدره 0.9874، وقيمة R² قدرها 0.94152، مما يشير إلى قدرته على تفسير 94.15% من التباين في بيانات إنتاج المحاصيل.

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

مقدمة

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

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

النتائج

تظهر نتائج الدراسة أن نموذج XAI-CROP تفوق بشكل كبير على عدة نماذج تقليدية للتعلم الآلي، بما في ذلك تعزيز التدرج، شجرة القرار، الغابة العشوائية، بايزي Gaussian الساذج، وبايزي الساذج متعدد النماذج، في توقع إنتاج المحاصيل. حقق نموذج XAI-CROP متوسط خطأ تربيعي (MSE) قدره 0.9412، ومتوسط خطأ مطلق (MAE) قدره 0.9874، وقيمة R-squared ($R^2$) قدرها 0.94152، مما يشير إلى دقته العالية وقدرته على تفسير 94.15% من التباين في البيانات. في المقابل، كان لدى نموذج شجرة القرار MSE قدره 1.1785، وMAE قدره 1.0002، و$R^2$ قدره 0.8942، بينما أظهرت نماذج الغابة العشوائية وبايزي Gaussian الساذج أداءً مشابهًا مع معدلات خطأ أعلى. لم يتطابق نموذج بايزي الساذج متعدد النماذج، على الرغم من حصوله على أعلى قيمة $R^2$ قدرها 0.77521، مع الأداء العام لـ XAI-CROP.

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

المناقشة

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

كما يقدم القسم الخوارزمية المقترحة XAI-CROP، التي تهدف إلى تعزيز قابلية تفسير أنظمة توصية المحاصيل من خلال الذكاء الاصطناعي القابل للتفسير (XAI). تتكون الخوارزمية من خمس مراحل: معالجة البيانات، اختيار الميزات، تدريب النموذج، دمج XAI باستخدام التفسيرات المحلية القابلة للتفسير (LIME)، والتحقق. تم تصميم المنهجية لضمان توقعات قوية مع توفير تفسيرات واضحة لتوصيات النموذج، مما يساعد المزارعين وصانعي السياسات في اتخاذ قرارات مستنيرة. يتم تقييم أداء نموذج XAI-CROP باستخدام مقاييس قياسية مثل متوسط الخطأ الجذري التربيعي (RMSE)، ومتوسط الخطأ المطلق (MAE)، وR-squared (R²)، مما يظهر فعاليته في توقع إنتاج المحاصيل بناءً على عوامل إدخال متنوعة. بشكل عام، تؤكد النتائج على إمكانيات دمج التعلم الآلي وXAI في معالجة التحديات الزراعية التي تفاقمت بسبب تغير المناخ.

Journal: Neural Computing and Applications, Volume: 36, Issue: 11
DOI: https://doi.org/10.1007/s00521-023-09391-2
Publication Date: 2024-01-11
Author(s): Mahmoud Y. Shams et al.
Primary Topic: Smart Agriculture and AI

Overview

The research introduces XAI-CROP, an advanced crop recommendation system that integrates machine learning with eXplainable Artificial Intelligence (XAI) principles to enhance transparency and interpretability in agricultural decision-making. By analyzing data on soil characteristics, historical crop performance, and weather patterns, XAI-CROP provides tailored crop selection recommendations. The study rigorously evaluates XAI-CROP against established machine learning models, including Gradient Boosting, Decision Tree, Random Forest, Gaussian Naïve Bayes, and Multimodal Naïve Bayes, using performance metrics such as Mean Squared Error (MSE), Mean Absolute Error (MAE), and R-squared (R²). The results demonstrate XAI-CROP’s superior accuracy, achieving a low MSE of 0.9412, an MAE of 0.9874, and an R² value of 0.94152, indicating its capability to explain 94.15% of the variability in crop yield data.

In conclusion, XAI-CROP not only outperforms traditional models but also provides interpretable insights into its recommendations, fostering trust among farmers and stakeholders. Its design considers geographical and seasonal factors, enhancing its applicability in precision agriculture and contributing to improved crop yield predictions and resource allocation. The study emphasizes the potential of XAI-CROP to transform agricultural practices by enabling data-driven decision-making, ultimately promoting food security and sustainability. Future research directions include enhancing the model’s accuracy and scalability, exploring its application across diverse regions and crops, and integrating it with cutting-edge techniques to further advance agricultural decision support systems.

Introduction

The introduction of the paper highlights the critical role of agriculture in the economies of African nations, where approximately two-thirds of the workforce is employed in this sector. It emphasizes the necessity of agricultural reform to combat poverty, hunger, and malnutrition, while also addressing the challenges posed by climate change, such as altered rainfall patterns, droughts, and pest proliferation, which complicate crop yield predictions. Traditional statistical models have been employed for yield estimation, but the advent of big data and machine learning (ML) offers new avenues for advanced predictive modeling. The paper notes that while deterministic biophysical crop models are useful for analyzing plant responses, statistical models generally yield better predictions across broader spatial scales.

The authors introduce “XAI-CROP,” an algorithm that integrates eXplainable Artificial Intelligence (XAI) into Crop Recommendation Systems (CRS) to enhance transparency and interpretability. By utilizing decision tree algorithms and the Local Interpretable Model-agnostic Explanations (LIME) technique, XAI-CROP provides farmers with clear explanations for its recommendations based on various input factors. This approach aims to address the limitations of existing CRS, which often function as “black boxes,” thereby fostering trust and understanding among farmers regarding the decision-making processes. The paper outlines its contributions, including improved accuracy and transparency of crop recommendations, and positions XAI-CROP as a significant advancement in leveraging technology to tackle food security and sustainable agricultural challenges.

Results

The results of the study demonstrate that the XAI-CROP model significantly outperformed several traditional machine learning models, including Gradient Boosting, Decision Tree, Random Forest, Gaussian Naïve Bayes, and Multimodal Naïve Bayes, in predicting crop yield. The XAI-CROP model achieved a Mean Squared Error (MSE) of 0.9412, a Mean Absolute Error (MAE) of 0.9874, and an R-squared ($R^2$) value of 0.94152, indicating its high accuracy and ability to explain 94.15% of the variability in the data. In contrast, the Decision Tree model had an MSE of 1.1785, MAE of 1.0002, and $R^2$ of 0.8942, while the Random Forest and Gaussian Naïve Bayes models showed similar performance with higher error rates. The Multimodal Naïve Bayes model, despite having the highest $R^2$ value of 0.77521, did not match the overall performance of XAI-CROP.

The study emphasizes the importance of explainability in machine learning applications within agriculture, as demonstrated by the use of the LIME technique in the XAI-CROP model. This approach not only enhances the model’s predictive capabilities but also provides interpretable insights into its recommendations, addressing the common issue of “black box” models in AI. The findings suggest that XAI-CROP can serve as a valuable tool for farmers and agricultural managers, enabling them to make informed decisions based on tailored crop recommendations that consider local conditions, thereby optimizing yields and resource management. Future research directions include exploring the application of XAI in optimization tasks, natural language processing, and supply chain management within agricultural contexts.

Discussion

The discussion section of the research paper highlights the significant challenges posed by climate change, particularly its impact on agricultural productivity and food security in vulnerable regions such as South Asia and Sub-Saharan Africa. It emphasizes the urgent need for innovative strategies to mitigate these effects, particularly through advanced crop yield prediction methodologies. Various studies are referenced, showcasing the application of machine learning techniques, including Convolutional Neural Networks (CNNs) and hybrid models combining crop modeling with machine learning, to enhance the accuracy of yield predictions. For instance, You et al. demonstrated improved predictions using a CNN integrated with Gaussian processes, while Yoon et al. found that incorporating crop model variables significantly reduced prediction errors.

The section also introduces the proposed XAI-CROP algorithm, which aims to enhance the interpretability of crop recommendation systems through explainable artificial intelligence (XAI). The algorithm comprises five phases: data preprocessing, feature selection, model training, XAI integration using Local Interpretable Model-agnostic Explanations (LIME), and validation. The methodology is designed to ensure robust predictions while providing clear explanations for the model’s recommendations, thereby aiding farmers and policymakers in making informed decisions. The performance of the XAI-CROP model is evaluated using standard metrics such as Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and R-squared (R²), demonstrating its effectiveness in predicting crop yields based on diverse input factors. Overall, the findings underscore the potential of integrating machine learning and XAI in addressing agricultural challenges exacerbated by climate change.