https://github.com/airbus/decomon
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: airbus
- License: mit
- Language: Python
- Default Branch: main
- Size: 10.2 MB
Statistics
- Stars: 37
- Watchers: 4
- Forks: 3
- Open Issues: 9
- Releases: 4
Metadata Files
README.md
Decomon: Automatic Certified Perturbation Analysis of Neural Networks
Introduction
What is decomon? decomon is a library that allows the derivation of upper and lower bounds
for the predictions of a Tensorflow/Keras neural network with perturbed inputs.
In the current release, these bounds are represented as affine functions with respect to some variable under perturbation.
Previous works that tackled certified robustness with backward propagation relied on forward upper and lower bounds. In decomon,
we explored various ways to tighten forward upper and lower bounds, while remaining backpropagation-compatible
thanks to symbolic optimization.
Our algorithm improves existing forward linear relaxation algorithms for general Keras-based neural networks without manual derivation. Our implementation is also automatically differentiable. So far we support interval bound propagation, forward mode perturbation, backward mode perturbation as well as hybrid approaches.
decomon is compatible with a wider range of perturbation: boxes, $L_{\inf, 1, 2}$ norms or general
convex sets described by their vertices.
We believe that decomon is a complementary tool to existing libraries for the certification of neural networks.
Since we rely on Tensorflow and not Pytorch, we are opening up the possibility for a new community to formally assess the robustness of their networks, without worrying about the technicality of the implementation. In this way, we hope to promote the formal certification of neural networks into safety critical systems.
Installation
Quick version:
shell
pip install decomon
For more details, see the online documentation.
Quick start
You can see how to get certified lower and upper bounds for a basic Keras neural network in the Getting started section of the online documentation.
Documentation
The latest documentation is available online.
Examples
Some educational notebooks are available in tutorials/ folder.
Links to launch them online with colab or binder are provided in the
Tutorials section of the online documentation.
Contributing
We welcome any contribution. See more about how to contribute in the online documentation.
Owner
- Name: Airbus
- Login: airbus
- Kind: organization
- Location: Toulouse
- Website: https://www.airbus.com
- Repositories: 5
- Profile: https://github.com/airbus
We design, manufacture and deliver industry-leading commercial aircraft, helicopters, military transports, satellites and launch vehicles
GitHub Events
Total
- Watch event: 9
- Issue comment event: 5
- Push event: 8
- Pull request event: 16
Last Year
- Watch event: 9
- Issue comment event: 5
- Push event: 8
- Pull request event: 16
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 37
- Average time to close issues: N/A
- Average time to close pull requests: 10 days
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.05
- Merged pull requests: 24
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 12
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.17
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- nhuet (36)
- ducoffeM (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 12 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
pypi.org: decomon
Linear Relaxation for Certified Robustness Bound for Tensorflow Neural Networks
- Documentation: https://decomon.readthedocs.io/
- License: mit
-
Latest release: 0.2.1
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- JamesIves/github-pages-deploy-action v4 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- jupyter-server-proxy *
- kaggle *
- pandas *
- tensorboard >=2.13
- myst_parser *
- sphinx *
- sphinx_rtd_theme *
- matplotlib *
- numpy >=1.21
- tensorflow >=2.6.0