Hardened Extension of the Adversarial Robustness Toolbox (HEART) supports assessment of adversarial AI vulnerabilities in Test & Evaluation workflows.
Project description
Hardened Extension of the Adversarial Robustness Toolbox (HEART)
HEART is a Python extension library for Machine Learning Security that builds on the popular Adversarial Robustness algorithms within the Adversarial Robustness Toolbox (ART). The extension library allows the user to leverage core ART algorithms while providing additional benefits to AI Test & Evaluation (T&E) engineers.
- Support for T&E of models for Department of Defense use cases
- Alignment to MAITE protocols for seamless T&E workflows
- Essential subset of adversarial robustness methods for targeted AI security coverage
- Quality assurance of model assessments in the form of metadata
- In-depth support for users based on codified T&E expert experience in form of guides and examples
- Front-end application for low-code users: HEART Gradio Application
Installation
From Python Packaging Index (PyPI)
To install the latest version of HEART from PyPI, run:
pip install heart-library
From IBM GitHub Source
To install the latest version of HEART from the heart-library public GitHub, run:
git clone https://github.com/IBM/heart-library.git
cd heart-library
pip install .
(Optional) Development Environment via Poetry
In some cases, it may be beneficial for developers to set up an environment from a reproducible source of truth. This environment is useful for developers that wish to work within a pull request or leverage the same development conditions used by HEART contributors. Please follow the instructions for installation via Poetry within the official HEART repository:
Getting Started With HEART
IBM has published a catalog of notebooks designed to assist developers of all skill levels with the process of getting started utilizing HEART in their AI T&E workflows. These Jupyter notebooks can be accessed within the official heart-library GitHub repository:
HEART Modules
The HEART library is organized into three primary modules: attacks, estimators, and metrics.
heart_library.attacks
The HEART attacks module contains implementations of attack algorithms for generating adversarial examples and evaluating model robustness.
heart_library.estimators
The HEART estimators module contains classes that wrap and extend the evaluated model to make it compatible with attacks and metrics.
heart_library.metrics
The HEART metrics module implements industry standard, commonly-used T&E metrics for model evaluation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for heart_library-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f744ea1f578c81e18dccb83efa5ff61713605610ce6601f7bc13f1071eb3558b |
|
MD5 | 383ed9074375ce5f5a3dde61a0925971 |
|
BLAKE2b-256 | f23a4d269783a9c66c65ec01a3fa0224a08bcb04bc69c9e728effc8350be9a1a |