Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
4 years ago | |
---|---|---|
.gitee | 5 years ago | |
.github | 5 years ago | |
docs | 4 years ago | |
example | 4 years ago | |
mindarmour | 4 years ago | |
tests | 4 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
NOTICE | 5 years ago | |
README.md | 4 years ago | |
README_CN.md | 4 years ago | |
RELEASE.md | 4 years ago | |
package.sh | 5 years ago | |
requirements.txt | 4 years ago | |
setup.py | 4 years ago |
A tool box for MindSpore users to enhance model security and trustworthiness and protect privacy data.
MindArmour model security module is designed for adversarial examples, including four submodule: adversarial examples generation, adversarial examples detection, model defense and evaluation. The architecture is shown as follow:
MindArmour differential privacy module Differential-Privacy implements the differential privacy optimizer. Currently, SGD, Momentum and Adam are supported. They are differential privacy optimizers based on the Gaussian mechanism.
This mechanism supports both non-adaptive and adaptive policy. Rényi differential privacy (RDP) and Zero-Concentrated differential privacy(ZDP) are provided to monitor differential privacy budgets. The architecture is shown as follow:
This library uses MindSpore to accelerate graph computations performed by many machine learning models. Therefore, installing MindSpore is a pre-requisite. All other dependencies are included in setup.py
.
git clone https://gitee.com/mindspore/mindarmour.git
$ cd mindarmour
$ python setup.py install
Pip
installationpip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
No module named 'mindarmour'
when execute the following command:python -c 'import mindarmour'
Guidance on installation, tutorials, API, see our User Documentation.
Welcome contributions. See our Contributor Wiki for more details.
The release notes, see our RELEASE.
MindArmour关注AI的安全和隐私问题。致力于增强模型的安全可信、保护用户的数据隐私。主要包含3个模块:对抗样本鲁棒性模块、Fuzz Testing模块、隐私保护与评估模块。 对抗样本鲁棒性模块 对抗样本鲁棒性模块用于评估模型对于对抗样本的鲁棒性,并提供模型增强方法用于增强模型抗对抗样本攻击的能力,提升模型鲁棒性。对抗样本鲁棒性模块包含了4个子模块:对抗样本的生成、对抗样本的检测、模型防御、攻防评估。
Python Markdown Text other