secml: A Python library for security and interpretable machine learningsecml: A Python Library for Secure and Explainable Machine Learning
AI summary
The paper introduces the open-source Python library secml, used to evaluate the security of machine learning models and explain the basis of their decisions. The library implements test-time evasion attacks against deep neural networks, as well as training-time poisoning attacks against support vector machines and other algorithms, covering white-box and black-box threat models. Built-in functions can plot security evaluation curves, showing how classification performance degrades as input adversarial perturbation increases. Interpretability methods visualize the features and training prototypes that most influence each decision. The project is released under the Apache License 2.0 and hosted on GitHub at pralab/secml.