Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch #145

Merged
merged 3 commits into from
Jun 27, 2023
Merged

Patch #145

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ You can also find more examples in our tutorials and documentation.
| Attack | Free-Rider | [Delta-Weight](https://arxiv.org/pdf/1911.12560.pdf) |
| Attack | Evasion | [Gradient-Descent Attack](https://arxiv.org/abs/1708.06131) |
| Attack | Membership Inference | [Shaddow Attack](https://arxiv.org/abs/1610.05820) |
| Defense | Homomorphic Encryption | [Paiilier](https://link.springer.com/chapter/10.1007/3-540-48910-X_16), [CKKS](https://eprint.iacr.org/2016/421.pdf) |
| Defense | Homomorphic Encryption | [Paiilier](https://link.springer.com/chapter/10.1007/3-540-48910-X_16) |
| Defense | Differential Privacy | [DPSGD](https://arxiv.org/abs/1607.00133), [AdaDPS](https://arxiv.org/pdf/2202.05963.pdf) |
| Defense | Anonymization | [Mondrian](https://ieeexplore.ieee.org/document/1617393) |
| Defense | Debugging | [Model Assertions](https://cs.stanford.edu/~matei/papers/2019/debugml_model_assertions.pdf) |
Expand Down
29 changes: 29 additions & 0 deletions docs/source/aijack.defense.debugging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
aijack.defense.debugging package
================================

Submodules
----------

aijack.defense.debugging.assertions module
------------------------------------------

.. automodule:: aijack.defense.debugging.assertions
:members:
:undoc-members:
:show-inheritance:

aijack.defense.debugging.utils module
-------------------------------------

.. automodule:: aijack.defense.debugging.utils
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: aijack.defense.debugging
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/source/aijack.defense.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Subpackages
.. toctree::
:maxdepth: 4

aijack.defense.ckks
aijack.defense.debugging
aijack.defense.dp
aijack.defense.foolsgold
aijack.defense.kanonymity
Expand Down
15 changes: 0 additions & 15 deletions src/aijack/attack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,3 @@
)
from .membership import ShadowMembershipInferenceAttack # noqa: F401
from .poison import Poison_attack_sklearn # noqa: F401

__all__ = [
"BaseAttacker",
"Evasion_attack_sklearn",
"MI_FACE",
"GANAttackClientManager",
"Generator_Attack",
"GradientInversion_Attack",
"GradientInversionAttackServerManager",
"attach_ganattack_to_client",
"NormAttackSplitNNManager",
"attach_normattack_to_splitnn",
"Poison_attack_sklearn",
"ShadowMembershipInferenceAttack",
]
1 change: 0 additions & 1 deletion src/aijack/defense/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Subpackage for defense algorithms for machine learning models.
"""
from .ckks import CKKSEncoder, CKKSEncrypter, CKKSPlaintext # noqa: F401
from .dp import DPSGDManager, GeneralMomentAccountant # noqa: F401
from .mid import VIB, KL_between_normals, mib_loss # noqa:F401
from .paillier import PaillierGradientClientManager, PaillierKeyGenerator # noqa: F401
Expand Down
3 changes: 0 additions & 3 deletions src/aijack/defense/ckks/__init__.py

This file was deleted.

51 changes: 0 additions & 51 deletions src/aijack/defense/ckks/ciphertext.py

This file was deleted.

120 changes: 0 additions & 120 deletions src/aijack/defense/ckks/encoder.py

This file was deleted.

78 changes: 0 additions & 78 deletions src/aijack/defense/ckks/encrypter.py

This file was deleted.

30 changes: 0 additions & 30 deletions src/aijack/defense/ckks/plaintext.py

This file was deleted.

Loading