- Home
- Image Attacks Lab
- Data Poisoning Lab
- Evasion Attacks Lab
- Defense Lab
- LLM Red Teaming Lab
- Model Privacy Lab
- Backdoor / Trojan Lab
- Robustness Evaluation Lab
- My experiments
- Scientific references
- Glossary and FAQ
PGD: Projected Gradient Descent
Image Attacks Lab · Attack
Level 1: idea and analogy
The idea
Repeats small FGSM steps and projects back onto the ε-ball after each, usually from a random start.
Analogy
A climber who picks a better foothold at each step instead of one big jump.
Level 2: how it works and when to use it
Steps
1) Start with random noise inside the ball. 2) Step of size α. 3) Project onto the ball and onto [0,1]. 4) Repeat K times.
When to use it
Robustness evaluation and adversarial training.
Strengths
A strong standard attack, also used inside adversarial training.
Level 3: mathematics, assumptions, limits
Mathematical form
x^{t+1}=\Pi_{B_\varepsilon(x)}\big(x^{t}+\alpha\,\mathrm{sign}(\nabla_x J(\theta,x^{t},y))\big)Assumptions
Gradients available; fits the "first-order adversary" notion of Madry et al.
Limitations
Slower by the number of steps; sensitive to step size and objective; can be fooled by gradient masking.
Metrics
Robust accuracy under PGD at ε, ε-curves, number of steps and random restarts.
Defenses
PGD adversarial training; formal certificates when a guarantee is needed.
Level 4: pitfalls and references for researchers
Common pitfalls
Too few steps or no restarts; treating one PGD run as final evidence (Croce & Hein recommend an ensemble of attacks).
References
- Madry, A. et al. (2018). Towards Deep Learning Models Resistant to Adversarial Attacks. ICLR 2018. Link
- Kurakin, A.; Goodfellow, I.; Bengio, S. (2018). Adversarial Examples in the Physical World. Artificial Intelligence Safety and Security, Chapman and Hall/CRC (first posted 2016). doi:10.1201/9781351251389-8
