104 Commits

Author SHA1 Message Date
Yichi
581ed12cc8 新建 lm_head_attack
Update the attack experiment and report

Signed-off-by: Yichi <yichi@isrc.iscas.ac.cn>

Update the newest network code

Signed-off-by: Yichi <yichi@isrc.iscas.ac.cn>

final version

correct the READMD.md
2025-11-11 20:44:27 +08:00
yyuse
5de49f923f !671 add support for deepseekv3 obfuscation
Merge pull request !671 from aojiaosaiban/support-deepseekv3-obfuscation
2025-10-24 13:34:43 +00:00
aojiaosaiban
2c56e6d486 add MoE support for obfuscation.py
add support for deepseekv3 weight obfuscation and
infernece under obfuscation

support rope protection

add support for Deepseek V3 obfuscation and infernce under obfuscation

根据评论更改

删除文件 examples/model_protection/deepseekv3/infer/network_patch/ObfuscateFreqsMgr.py

删除文件 examples/model_protection/deepseekv3/obfuscation/config/deepseekv3_obf_config.yaml

123

解决缩进问题

解决缩进问题
2025-10-24 17:45:14 +08:00
yangyuan
34fdda5f3f clean code 2025-09-13 10:03:09 +08:00
yangyuan
19a76134c3 clean code 2025-09-12 11:51:39 +08:00
yangyuan
66615efe70 fix network patch import errors 2025-08-04 09:19:07 +08:00
yangyuan
d02e3230e1 add README for qwen2_5_7b model obfuscation 2025-07-31 16:18:21 +08:00
yangyuan
225b2dc1a8 add qwen2_5_7b embedding layer obfuscation 2025-07-30 16:11:37 +08:00
yangyuan
1a4f52c13b qwen2_5_7b obfuscation support tensor parallel 2025-07-28 19:54:01 +08:00
yangyuan
088437a851 add network obfuscation for qwen2_5_7b_instruct 2025-07-28 15:48:32 +08:00
hanzb
fc2d306841 add model obfuscation for safetensors 2025-07-21 16:29:43 +08:00
hanzb
46c5bdbfc7 clean code 2025-07-16 18:01:18 +08:00
hanzb
ddfaca6f41 clean code 2025-07-15 14:39:55 +08:00
liuchenyu2025
cee1625933 修改readme
Signed-off-by: liuchenyu2025 <1143966427@qq.com>
2025-07-09 12:02:20 +00:00
yangyuan
f7caeb9892 clean code 2025-07-08 10:46:33 +08:00
yangyuan
4f7403963b adapt mindspore 2.6 2025-06-24 15:09:52 +08:00
liu-siming-hw
ca46d05fff update cifar blackbox 2025-03-24 16:27:56 +08:00
siming liu
e8bea81bd1 update examples of inversion atk 2024-06-05 02:15:53 +00:00
Xingyu-Romantic
8945778568 新增黑盒攻击及影子模型攻击案例 2024-05-15 19:38:51 +08:00
Xingyu-Romantic
99ab931c47 新增CIFAR10CNN网络及训练过程 2024-05-09 19:46:32 +08:00
jxlang910
225009b318 remove redundant codes 2024-01-21 19:44:01 +08:00
Yzx835
aab7ab30f3 update dual_attention_suppression
update dual_attention_suppression

update dual_attention_suppression

update dual_attention_suppression

update dual_attention_suppression
2024-01-02 16:13:03 +08:00
i-robot
b57e2c09a7 !536 New Add Dual Attention Suppression Attack (Beihang University)
Merge pull request !536 from Yzx835/master
2023-12-01 05:50:55 +00:00
yzx835
a08ae73046 update for pylint 2023-11-12 20:59:50 +08:00
yzx835
d1d3d6e761 update for pylint 2023-11-12 19:38:01 +08:00
yzx835
5ac824bee4 update for pylint 2023-11-12 19:30:00 +08:00
yzx835
5c5d8f923f update for pylint 2023-11-12 16:58:37 +08:00
shunchang
11c374f748 add Dual Attention Suppression Attack 2023-11-06 21:59:28 +08:00
huan
7b0c2ce1a0 modify the error link 2023-09-28 10:02:49 +08:00
i-robot
3796cb637f !503 Add neuron sensitivity metric (Beihang University)
Merge pull request !503 from sharinka0715/master
2023-08-29 16:11:10 +00:00
sharinka0715
13c81d08ac second review
add neuron sensitivity 3
2023-08-28 15:12:30 +08:00
i-robot
77762820c2 !485 Add speech adversairal attack example from Beihang University
Merge pull request !485 from Yzx835/master
2023-08-28 06:58:45 +00:00
yzx835
b379cfbb64 update speech adversairal attack example
Signed-off-by: yzx835 <250443537@qq.com>
2023-08-27 21:45:47 +08:00
shu-kun-zhang
2ab9c49537 Fix expired link 2023-07-07 10:32:10 +08:00
i-robot
00c6ecf482 !529 SensitivityCovergenceCoverage 完善中文文档和修复代码注释不一致问题
Merge pull request !529 from Huang Dong/master
2023-06-29 07:47:39 +00:00
huangd1999
5cba3972ff 修复注释与函数定义不一致问题 2023-06-29 10:39:41 +08:00
i-robot
4a1007025f !514 Add the detector for black-box query-based attack in CV domain
Merge pull request !514 from min/master
2023-06-17 02:20:17 +00:00
min
f487e39b63 新建 query_attack_detector
update examples/community/query_attack_detector/README.md.

Signed-off-by: min <guojianmin2@huawei.com>

update examples/community/query_attack_detector/query_detector.py.

Signed-off-by: min <guojianmin2@huawei.com>
2023-06-16 11:10:05 +08:00
huangd1999
cef49ac784 create neuron covergence coverage 2023-06-13 15:31:26 +08:00
weiwan
7c3def9bca add examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py.
测试variance tuning momentum iterative method.

Signed-off-by: weiwan <wanwei_0303@hust.edu.cn>

update examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py.

Signed-off-by: weiwan <wanwei_0303@hust.edu.cn>

update examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py.

Signed-off-by: weiwan <wanwei_0303@hust.edu.cn>

update examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py.

Signed-off-by: weiwan <wanwei_0303@hust.edu.cn>

update examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py.

Signed-off-by: weiwan <wanwei_0303@hust.edu.cn>

	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	modified:   .jenkins/check/config/filter_pylint.txt
	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	modified:   .jenkins/check/config/filter_pylint.txt
	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	modified:   .jenkins/check/config/filter_pylint.txt
	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py

	modified:   .jenkins/check/config/filter_pylint.txt
	new file:   examples/model_security/model_attacks/white_box/mnist_attack_vmifgsm.py
	modified:   mindarmour/adv_robustness/attacks/__init__.py
	modified:   tests/ut/python/adv_robustness/attacks/test_iterative_gradient_method.py
2023-05-10 20:14:28 +08:00
xumengjuan1
4369526396 modify doc 2022-11-21 14:50:40 +08:00
xumengjuan1
241261964e modify doc 2022-10-26 15:36:51 +08:00
i-robot
128ecc028d !431 modify doc
Merge pull request !431 from xumengjuan1/master
2022-10-25 03:30:00 +00:00
xumengjuan1
fef203141e modify doc 2022-10-24 13:41:05 +08:00
lmj
e7aeb59e3e “update”
“update”

“update”

“update”

“update”

“update”

“update”

“update”

“update”

“update”

“update”

“update”

update

update

update

update

update

update

update

update

update
2022-10-14 12:56:59 +08:00
huangjiaqi
2eb709e9aa modify the initial_noise_multiplier of a dp example 2022-08-16 10:59:50 +08:00
huangjiaqi
750733562c correct the delta value 2022-08-10 10:53:48 +08:00
huangjiaqi
2b8bdd4a2e modify the grad clipping operation 2022-07-26 17:21:01 +08:00
huodagu
8a14015559 modify url 2022-04-12 17:07:19 +08:00
huodagu
2486210810 modify url 2022-04-08 16:56:25 +08:00