run_fgsm
Evaluate clinical AI model robustness by running a LIME-guided FGSM adversarial attack. Returns AUROC drop, flip rate, and clinical-plausibility rate.
Instructions
Run a LIME-guided FGSM adversarial attack against a registered model.
`batch` is capped at 100 samples -- the validated protocol limit.
Returns AUROC drop, flip rate, and the clinical-plausibility rate of
the generated adversarial samples. A 100% plausibility rate does not
mean the attack failed: it means bounds clipping alone does not stop
the attack, since perturbations are clipped to clinical bounds by
construction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| batch | Yes | ||
| epsilon | No | ||
| model_handle | Yes | ||
| n_lime_samples | No |