CTRAIN is an unified, modular and comprehensive package for the training and evaluation of certified training techniques.
Project description
Implementation of Certified Training Methods
- IBP (Gowal et al. , On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Models, 2019)
- Improved IBP (Shi et al., Fast Certified Robust Training with Short Warmup, 2021)
- CROWN-IBP (Zhang et al., Towards Stable and Efficient Training of Verifably Robust Neural Networks)
- SABR
- TAPS
- STAPS
TODO: Multiple Recent Papers by De Palma: https://arxiv.org/pdf/2206.14772 https://arxiv.org/pdf/2305.13991 https://arxiv.org/pdf/2410.01617
Setup
- Create Virtual Environment and activate it
python3 -m venv ./venv
source venv/bin/activate
- Clone auto_LiRPA
git clone git@github.com:Verified-Intelligence/auto_LiRPA.git
- For complete verification, install $\alpha\beta$-CROWN
git clone git@github.com:Verified-Intelligence/alpha-beta-CROWN.git
Then, adjust the folder name and add an init file, s.t. we can import it as a module.
mv ./alpha-beta-CROWN ./abCROWN
touch ./abCROWN/__init__.py
- Install Dependencies
On Linux:
pip3 install -r requirements_linux.txt
On MacOS:
pip3 install -r requirements_macos.txt
And install auto_LiRPA
pip3 install ./auto_LiRPA
ToDos
- Investigate Crit. Eps for different certified training methods
- Investigate number of stable/unstable/active/inactive neurons
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CTRAIN-0.1.1.tar.gz
(284.2 kB
view details)
File details
Details for the file CTRAIN-0.1.1.tar.gz.
File metadata
- Download URL: CTRAIN-0.1.1.tar.gz
- Upload date:
- Size: 284.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66d31fae9633ce1aa63ce7deeadee51648ce12aad4021cef378a93e06579d862
|
|
| MD5 |
0d831820603acc91a7b0893f60ebb168
|
|
| BLAKE2b-256 |
307ce7ae9a218f984449ab19e66836292e38b0229189bb9f8da4b2a3f1d8ad1f
|