Module mimir.attacks

Attack implementations.

Sub-modules

mimir.attacks.all_attacks

Enum class for attacks. Also contains the base attack class.

mimir.attacks.attack_utils

Utility functions for attacks

mimir.attacks.gradnorm

Gradient-norm attack. Proposed for MIA in multiple settings, and particularly experimented for pre-training data and LLMs in …

mimir.attacks.loss

Straight-forward LOSS attack, as described in https://ieeexplore.ieee.org/abstract/document/8429311

mimir.attacks.min_k
mimir.attacks.min_k_plus_plus
mimir.attacks.neighborhood

Neighborhood-MIA attack https://arxiv.org/pdf/2305.18462.pdf

mimir.attacks.quantile

Implementation of the attack proposed in 'Scalable Membership Inference Attacks via Quantile Regression' https://arxiv.org/pdf/2307.03694.pdf

mimir.attacks.recall
mimir.attacks.reference

Reference-based attacks.

mimir.attacks.utils
mimir.attacks.zlib