Skip to content

Commit

Permalink
Merge branch 'main' into update-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Koukyosyumei authored Apr 7, 2024
2 parents eee8801 + 22d3fcc commit 54fb1fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# What is AIJack?

AIJack is an easy-to-use open-source simulation tool for testing the security of your AI system against hijackers. It provides advanced security techniques like *Differential Privacy*, *Homomorphic Encryption*, *K-anonymity* and *Federated Learning* to guarantee protection for your AI. With AIJack, you can test and simulate defenses against various attacks such as *Poisoning*, *Model Inversion*, *Backdoor*, and *Free-Rider*. We support more than 30 state-of-the-art methods. For more information, check our [documentation](https://koukyosyumei.github.io/AIJack/) and start securing your AI today with AIJack.
AIJack is an easy-to-use open-source simulation tool for testing the security of your AI system against hijackers. It provides advanced security techniques like *Differential Privacy*, *Homomorphic Encryption*, *K-anonymity* and *Federated Learning* to guarantee protection for your AI. With AIJack, you can test and simulate defenses against various attacks such as *Poisoning*, *Model Inversion*, *Backdoor*, and *Free-Rider*. We support more than 30 state-of-the-art methods. For more information, check our [paper](https://arxiv.org/abs/2312.17667) and [documentation](https://koukyosyumei.github.io/AIJack/) and start securing your AI today with AIJack.

# Installation

Expand Down Expand Up @@ -237,6 +237,10 @@ Below you can find a list of papers and books that either use or extend AIJack.
- Huang, Shiyuan. A General Framework for Model Adaptation to Meet Practical Constraints in Computer Vision. Diss. Columbia University, 2024.
- Liu, Can, Jin Wang, and Dongyang Yu. "RAF-GI: Towards Robust, Accurate and Fast-Convergent Gradient Inversion Attack in Federated Learning." arXiv preprint arXiv:2403.08383 (2024).

# Contribution

AIJack welcomes contributions of any kind. If you'd like to address a bug or propose a new feature, please refer to [our guide](docs/source/contribution.rst).

# Contact

welcome2aijack[@]gmail.com
2 changes: 2 additions & 0 deletions src/aijack/defense/dp/manager/accountant.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def calc_upperbound_of_rdp_onestep(self, alpha, noise_params, sampling_rate):
Returns:
float: Upper bound of RDP for one step.
"""

key = hash(
f"{alpha}_{list(noise_params.keys())[0]}_{list(noise_params.values())[0]}_{sampling_rate}"
)
Expand Down Expand Up @@ -101,6 +102,7 @@ def _calc_upperbound_of_rdp(self, lam, steps_info):
Returns:
float: Upper bound of RDP.
"""

rdp = 0.0
for noise_params, sampling_rate, num_steps in steps_info:
rdp += num_steps * self.calc_upperbound_of_rdp_onestep(
Expand Down

0 comments on commit 54fb1fc

Please sign in to comment.