AI Ethics
الذكاء الاصطناعي المسؤول والآمن والشفاف والجدير بالثقة
🎯 Learning Objectives
- Understand why AI ethics is an engineering issue.
- Explain fairness, transparency, explainability, and accountability.
- Understand data privacy and cybersecurity risks.
- Recognize bias in data and AI models.
- Understand the importance of human oversight.
- Discuss AI safety in critical power-system infrastructure.
🎯 أهداف التعلم
- فهم لماذا تعد أخلاقيات الذكاء الاصطناعي مسألة هندسية.
- فهم العدالة والشفافية وقابلية التفسير والمساءلة.
- فهم مخاطر خصوصية البيانات والأمن السيبراني.
- التعرف على التحيز في البيانات والنماذج.
- فهم أهمية الإشراف البشري.
- مناقشة سلامة الذكاء الاصطناعي في البنية التحتية الكهربائية الحرجة.
1. Why Do We Need AI Ethics?
AI systems increasingly influence decisions that affect people, organizations, infrastructure, and society.
1. لماذا نحتاج إلى أخلاقيات الذكاء الاصطناعي؟
تؤثر أنظمة الذكاء الاصطناعي بصورة متزايدة في قرارات تمس الأفراد والمؤسسات والبنية التحتية والمجتمع.
2. Responsible AI
Responsible AI aims to ensure that AI systems are:
The system should not create unacceptable physical or operational risks.
Decisions should not systematically disadvantage particular groups.
Users should understand how and why AI is being used.
Responsibility for AI-supported decisions must remain identifiable.
2. الذكاء الاصطناعي المسؤول
يجب أن يكون النظام المسؤول آمنًا وعادلًا وشفافًا وقابلًا للمساءلة.
3. Data Bias
Machine-learning models learn from data.
Therefore, biased or incomplete training data can produce biased predictions.
3. التحيز في البيانات
تتعلم نماذج التعلم الآلي من البيانات المستخدمة في التدريب.
لذلك قد تؤدي البيانات غير المتوازنة أو غير الممثلة جيدًا للواقع إلى قرارات منحازة.
4. Example of Dataset Shift
Suppose a load-forecasting model is trained mainly using normal weekdays.
During an unusual event, public holiday, heat wave, or major outage, the statistical behavior may change.
4. مثال على تغير توزيع البيانات
لنفترض أن نموذج التنبؤ بالحمل دُرّب بصورة أساسية على أيام عمل عادية.
في يوم عطلة أو موجة حر أو حالة طوارئ قد تختلف خصائص البيانات جذريًا.
5. Explainability
Explainability means providing understandable reasons for an AI prediction or recommendation.
5. قابلية التفسير
تعني قابلية التفسير توفير سبب مفهوم للقرار أو التنبؤ الذي قدمه النموذج.
6. Accuracy vs Explainability
A more complex model may sometimes provide higher predictive accuracy, but its decisions may be more difficult to interpret.
Often easier to understand and audit.
May capture more complex relationships but can be harder to explain.
6. الدقة مقابل قابلية التفسير
قد يكون النموذج الأكثر تعقيدًا أكثر دقة، لكنه قد يكون أصعب في التفسير.
7. Human-in-the-Loop
Human-in-the-loop means that a qualified person remains involved in important AI-supported decisions.
7. الإنسان ضمن حلقة القرار
يعني ذلك بقاء مهندس أو خبير مؤهل مشاركًا في القرارات المهمة التي يدعمها الذكاء الاصطناعي.
8. Automation Bias
Automation bias occurs when people trust an automated recommendation simply because it was produced by a computer system.
8. التحيز نحو الأتمتة
يحدث التحيز نحو الأتمتة عندما يثق المستخدم بتوصية النظام بصورة تلقائية لمجرد أن الحاسوب أنتجها.
9. Privacy
AI systems may process large amounts of operational, customer, household, or infrastructure data.
Important principles include:
- Data minimization
- Purpose limitation
- Secure storage
- Controlled access
- Appropriate anonymization
9. خصوصية البيانات
قد تتعامل أنظمة الذكاء الاصطناعي مع كميات كبيرة من بيانات المستهلكين والتشغيل والبنية التحتية.
لذلك يجب جمع البيانات الضرورية فقط، وتأمينها، والتحكم بمن يستطيع الوصول إليها.
10. Cybersecurity
AI introduces new cybersecurity considerations.
An attacker may alter measurements or training data.
Model parameters or software may be modified.
Carefully designed inputs may cause incorrect predictions.
Unauthorized access may turn an AI tool into an operational risk.
10. الأمن السيبراني
يضيف استخدام الذكاء الاصطناعي مخاطر جديدة مثل التلاعب بالبيانات أو النموذج أو المدخلات أو الوصول غير المصرح به إلى النظام.
11. AI in Critical Infrastructure
Electrical power systems are critical infrastructure.
Therefore, AI used in power systems requires stricter verification, validation, monitoring, and fallback mechanisms.
11. الذكاء الاصطناعي في البنية التحتية الحرجة
تعد نظم الطاقة الكهربائية من البنى التحتية الحرجة.
12. Safety Constraints
An AI controller should not be allowed to violate physical safety limits.
For example:
12. قيود السلامة
يجب ألا يسمح لنظام الذكاء الاصطناعي بانتهاك الحدود الفيزيائية الآمنة.
13. Fail-Safe Design
A safe AI system should define what happens if the model fails, produces unreasonable outputs, or becomes unavailable.
13. التصميم الآمن عند الفشل
يجب تحديد ما يحدث عندما يفشل النموذج أو ينتج قيمة غير منطقية أو يصبح غير متاح.
14. Accountability
AI does not remove human or organizational responsibility.
Important questions include:
- Who approved the model?
- Who validated the data?
- Who monitors performance?
- Who can override the system?
- Who investigates failures?
14. المساءلة
استخدام الذكاء الاصطناعي لا يلغي المسؤولية البشرية أو المؤسسية.
يجب تحديد بوضوح من يعتمد النموذج، ومن يراقبه، ومن يستطيع إيقافه، ومن يتحمل مسؤولية التحقيق عند حدوث خطأ.
15. Monitoring After Deployment
Model evaluation should not stop when the model is deployed.
Model performance can deteriorate as system conditions change.
15. المراقبة بعد التشغيل
لا تنتهي عملية تقييم النموذج بمجرد تشغيله.
فقد يتدهور الأداء مع تغير ظروف النظام والبيانات بمرور الزمن.
16. Engineering Verification
Before using an AI model operationally, engineers should test:
- Normal operating conditions
- Extreme operating conditions
- Missing or corrupted measurements
- Out-of-distribution inputs
- Communication failures
- Sensor failures
16. التحقق الهندسي
يجب اختبار النموذج في الحالات الطبيعية والمتطرفة، ومع فقدان البيانات وأعطال الحساسات والاتصالات والمدخلات غير المألوفة.
17. Example: AI Voltage Controller
Suppose an AI model recommends reactive-power control:
Before applying the recommendation:
17. مثال: متحكم جهد يعتمد على AI
لنفترض أن نموذجًا ذكيًا يقترح تغيير القدرة الردية:
قبل تنفيذ الأمر يجب التأكد من أن الجهد والتيار وبقية المتغيرات ستبقى داخل الحدود المسموحة.
18. A Responsible AI Workflow
18. دورة تطوير ذكاء اصطناعي مسؤول
19. Key Questions Before Deployment
- Is the model sufficiently accurate?
- Do we understand its failure modes?
- Are the training data representative?
- Can the decision be explained?
- Are safety limits enforced independently?
- Can a human override the model?
- Is there a fallback strategy?
- Is the system protected against cyber threats?
- How will performance be monitored?
19. أسئلة أساسية قبل التشغيل
- هل دقة النموذج كافية؟
- هل نعرف الحالات التي قد يفشل فيها؟
- هل بيانات التدريب ممثلة للواقع؟
- هل يمكن تفسير القرار؟
- هل قيود السلامة مفروضة بشكل مستقل؟
- هل يمكن للإنسان تجاوز قرار النموذج؟
- هل يوجد نظام احتياطي؟
- هل النظام محمي سيبرانيًا؟
- كيف ستتم مراقبة أدائه؟
20. Summary
- AI ethics is part of responsible engineering.
- Biased data can produce biased model behavior.
- Explainability is especially important in high-impact applications.
- AI does not eliminate human accountability.
- Privacy and cybersecurity must be considered throughout the AI lifecycle.
- Power-system AI should operate inside explicit safety constraints.
- Fail-safe mechanisms and human oversight are essential for critical infrastructure.
- AI models must be monitored after deployment.
20. الخلاصة
- أخلاقيات الذكاء الاصطناعي جزء من المسؤولية الهندسية.
- يمكن أن تنتج البيانات المنحازة نماذج منحازة.
- قابلية التفسير مهمة بصورة خاصة في التطبيقات ذات التأثير الكبير.
- لا يلغي الذكاء الاصطناعي المسؤولية البشرية.
- يجب مراعاة الخصوصية والأمن السيبراني في جميع مراحل النظام.
- يجب أن يعمل AI في نظم الطاقة ضمن قيود سلامة واضحة.
- وجود نظام احتياطي وإشراف بشري مهم في البنى التحتية الحرجة.
- يجب مراقبة أداء النموذج بعد تشغيله.
📝 Review Questions
- Why is AI ethics important in engineering?
- What is data bias?
- What is dataset shift?
- What is explainable AI?
- What is automation bias?
- Why is human oversight important?
- Give three cybersecurity risks related to AI.
- Why is AI safety especially important in power systems?
- What is a fail-safe mechanism?
- Why must deployed models continue to be monitored?
📝 أسئلة المراجعة
- لماذا تعد أخلاقيات الذكاء الاصطناعي مهمة هندسيًا؟
- ما المقصود بتحيز البيانات؟
- ما المقصود بتغير توزيع البيانات؟
- ما المقصود بالذكاء الاصطناعي القابل للتفسير؟
- ما هو التحيز نحو الأتمتة؟
- لماذا يعد الإشراف البشري مهمًا؟
- اذكر ثلاثة مخاطر سيبرانية مرتبطة بالذكاء الاصطناعي.
- لماذا تكون سلامة AI مهمة بصورة خاصة في نظم الطاقة؟
- ما المقصود بنظام Fail-Safe؟
- لماذا يجب مراقبة النموذج بعد تشغيله؟