Skip to main content

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

  1. Create Virtual Environment and activate it
python3 -m venv ./venv
source venv/bin/activate
  1. Clone auto_LiRPA
git clone git@github.com:Verified-Intelligence/auto_LiRPA.git
  1. 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
  1. 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

Metadata

Release files for CTRAIN 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CTRAIN 0.1.1
File Size Uploaded Provenance Actions
CTRAIN-0.1.1.tar.gz 284.2 kB Without provenance Details for CTRAIN-0.1.1.tar.gz

Release files / CTRAIN-0.1.1.tar.gz

Download URL CTRAIN-0.1.1.tar.gz
Size 284.2 kB
Tags Source
SHA-256 checksum
How to use checksums
66d31fae9633ce1aa63ce7deeadee51648ce12aad4021cef378a93e06579d862
BLAKE2b-256 checksum
How to use checksums
307ce7ae9a218f984449ab19e66836292e38b0229189bb9f8da4b2a3f1d8ad1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Security for CTRAIN 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page