Home / Insights / AI Risk and Governance
Adversarial Examples: Fooling Machines With Tiny Changes
Inputs crafted to mislead a model reveal how differently it perceives the world.
In 2013 researchers reported something unsettling: adding a perturbation too slight for people to notice could change a network's classification completely.
How it arises
A model's decision depends on many inputs at once. By nudging each pixel slightly in the direction that most increases the error, an attacker adds up thousands of tiny effects into a large one. Goodfellow and colleagues described a fast method of this kind and argued that the largely linear behaviour of networks in high dimensions helps explain the vulnerability.
Diagram by O&O Consulting.
Beyond the screen
Researchers showed that stickers placed on a stop sign could cause misclassification under varied viewing conditions. Examples crafted against one model often fool another, so keeping a model secret is not a complete defence.
Defences
Adversarial training includes attacked examples during training and is among the more reliable approaches, at a cost in computation and sometimes in accuracy on clean inputs. Many other proposed defences were later broken by stronger attacks adapted to them. Certified methods offer guarantees within a specified bound, usually for small perturbations.
Threat modelling
Robustness is meaningful only against a stated attacker: what can they change, what do they know, and what do they gain? A spam filter faces constant adaptive adversaries. A system sorting parts on a closed line faces mainly accidents of lighting and dirt.
System-level protection
Combine independent signals, apply sanity rules, limit repeated probing, log unusual inputs and keep a person involved where an error matters. Do not let a single model's output trigger an irreversible action.
Limitations and open questions
Why human perception is robust where these models are not remains an open research question. For language models, analogous attacks use text sequences that bypass safety behaviour, and defences are an ongoing contest.
References
- Szegedy, C. et al. (2013). "Intriguing properties of neural networks." arxiv.org/abs/1312.6199
- Goodfellow, I., Shlens, J. and Szegedy, C. (2014). "Explaining and Harnessing Adversarial Examples." arxiv.org/abs/1412.6572
- Eykholt, K. et al. (2017). "Robust Physical-World Attacks on Deep Learning Models." arxiv.org/abs/1707.08945
This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.