Intrusion and anomaly detection, malware analysis, threat intelligence, phishing, security logs and incident response: defensive experiments that really compute in your browser on synthetic data, with algorithms, datasets, projects and quizzes.
- Home
- AI Intrusion Detection
- Cyber Anomaly Detection
- Malware Analysis
- Cyber Threat Intelligence
- AI Network Security
- AI Phishing Detection
- AI Security Log Analytics
- AI Incident Response
- Algorithm Library
- Datasets Repository
- Learning Roadmap
- Projects
- Quizzes and Challenges
- Experiment Workbench
- Research and Metrics
- My experiments
- Scientific references
- Glossary and FAQ
Explaining classification decisions
Malware Analysis · Lesson Advanced
The idea
Feature importance is global; explaining one sample is local. Shapley values distribute the prediction gap over features.
Explanation
The experiment applies a SHAP-style Monte-Carlo estimate (not the SHAP library). An explanation describes the model, not true causality, and varies with the baseline sample.
Example
Sum the contributions: they equal the gap between the sample’s probability and the baseline probability.
Review questions
- What is the difference between global and local explanation?
Related experiments
See also
References
- Arp, Quiring, Pendlebury, Warnecke, Pierazzi, Wressnegger, Cavallaro, Rieck (2024). Pitfalls in Machine Learning for Computer Security. Communications of the ACM 67(11), pp. 104-112. doi:10.1145/3643456
