ExplainabilitySafetySecuritycs.SE
XMutant: XAI-based Fuzzing for Deep Learning Systems
Xingcheng Chen, Matteo Biagiola, Vincenzo Riccio, Marcelo d'Amorim, Andrea Stocco
March 10, 2025
Empirical Software Engineering
7 citations
Key Takeaways
-
XAI can improve AI safety testing: The paper demonstrates that explainable AI (XAI) techniques—which show which parts of an input influence a model's decision—can be used to more efficiently find failures in deep learning systems. By focusing on the most important features rather than random changes, XMutant found up to 125% more failure cases than existing methods.
-
Efficiency gains matter for practical deployment: XMutant generated failure-inducing test cases up to 7 times faster than baseline approaches, suggesting that XAI-guided testing could make comprehensive safety validation more practical and cost-effective for organizations deploying AI systems.
-
Generated test cases remain realistic: The paper maintained a validation rate above 89% for generated test inputs, meaning the failure cases discovered were realistic and not artificial artifacts. This is critical for ensuring that test results actually reflect real-world risks rather than edge cases that would never occur in practice.
-
Broader applicability across AI domains: The technique was successfully tested on multiple types of AI systems—from sentiment analysis and digit recognition to advanced driving assistance systems—suggesting that XAI-guided fuzzing could be a generalizable approach to improving safety across different AI applications.
-
Responsible AI requires better testing tools: This work highlights that as AI systems become more critical (like in autonomous vehicles), we need smarter, faster ways to uncover their failures before deployment. Combining XAI with systematic testing represents a practical step toward more responsible AI development.