About this example
This page shows a short comparative literature review in machine-learning security, the kind of section that might open a thesis chapter or a first-year review report. It compares six studies published in 2019 on adversarial attacks, meaning inputs crafted deliberately so that a trained model makes a wrong decision, and on defences against them. The review is reproduced in a corrected form, with annotations that show what it does well and where it falls short.
Reviews of adversarial attacks on intrusion detection systems. Only two of its six studies concern detection, one on network traffic and one on malware; the others concern image and radio-signal classifiers. That mismatch is the most useful lesson in the example, so it is discussed.
The example: introduction and scope
1. Introduction
Machine-learning models are now used to classify images, radio signals, software and network traffic. A growing literature shows that such models can be misled by small, deliberate changes to their inputs, often too small for a human to notice (Wang et al., 2019). This matters most where an adversary has a motive to evade the model, as in malware and intrusion detection. This section compares six studies from 2019 that propose either an attack or a defence, and asks two questions: what kinds of attack and defence were studied, and how convincingly were they evaluated?
Because the six studies come from different application areas, the review treats them as evidence about adversarial machine learning in general and notes where findings may or may not carry over to detection systems. Studies were chosen to illustrate the range of approaches, not by a systematic search, so the review does not claim to be exhaustive.

The example: comparing the six studies
2. Summary of the studies
Table 1 summarises each study by method, domain, data and reported result, with the limitation noted by the reviewer. Three studies propose attacks and three propose defences.
| Study | Attack or defence, and method | Domain and data | Reported result (qualitative) | Limitation noted |
|---|---|---|---|---|
| Chen, Su et al. (2019) | Attack: black-box perturbation optimised with a genetic algorithm (POBA-GA) | Image classification; CIFAR-10 and MNIST | Outperformed the comparison attacks | Older, small image datasets |
| Sadeghi and Larsson (2019) | Attack: white-box and black-box attacks on a deep-learning classifier | Radio signal modulation; RML2016 | Accuracy fell sharply at low perturbation power, compared with jamming | Shows the vulnerability but proposes no defence |
| Iglesias et al. (2019) | Defence: fuzzy, distorted decision boundaries with decision trees | Network intrusion detection; KDD Cup and UNSW-NB15 | Distorted boundaries reduced the effect of adversarial changes | Accuracy judged modest by the reviewer; KDD Cup is outdated |
| Chen, Ren et al. (2019) | Attack: gradient-based adversarial examples for CNN malware detectors | Malware detection; VirusShare and other collections | High evasion success, lower when model structure is unknown | No new defence proposed |
| Su and Vaidya (2019) | Defence: two rule-based methods for non-Bayesian distributed learning | Distributed learning (theoretical) | Learning succeeds without sharing raw data | Trade-off between reaching consensus and network detectability |
| Zhang and Liang (2019) | Defence: randomised discretisation of inputs | Image classification; MNIST and ImageNet | Improved accuracy under white-box attack | No new classifier; tested against the attacks then available |


The example: synthesis of findings
3. Attacks
The three attack studies differ in how much the attacker is assumed to know. Chen, Ren et al. (2019) use the gradients of a convolutional malware detector, a white-box setting, and report that evasion becomes less successful when the model's structure is unknown. Chen, Su et al. (2019) and Sadeghi and Larsson (2019) also consider black-box settings, in which the attacker can only query the model. A further threat, raised in the reference list of the original review but not discussed there, is poisoning: Chen, Xue et al. (2018) show that an attacker who can influence the training data of a malware detector can degrade it before it is ever deployed.
4. Defences
The defences take three routes. Zhang and Liang (2019) add randomness to the input so that small, carefully chosen perturbations are disrupted. Iglesias et al. (2019) make decision boundaries deliberately fuzzy so that an attacker cannot learn exactly where they lie. Su and Vaidya (2019) address learning across a network of agents, some of which may be faulty or malicious. Each defence is evaluated mainly against attacks known to its authors at the time.

Annotations: what a stronger review would change
The example has real strengths: recent primary studies, a comparison table and a limitation stated for each study. Its weaknesses are typical of early literature reviews and worth naming.
- Scope. The conclusions are drawn for intrusion detection, but four of six studies are not about detection. Adversarial examples for images do not transfer directly to network traffic, where a change must still produce valid packets and a working attack (Arp et al., 2022).
- Over-generalisation. The original concluded that "most of the available techniques" were not effective. Six studies chosen without a systematic search cannot support a claim about most techniques.
- Evaluation of defences. A defence tested only against existing attacks proves little. Athalye et al. (2018) found that seven of nine defences examined at a major 2018 conference relied on obfuscated gradients, and circumvented six fully and one partially with adapted attacks. A review should ask whether each defence was tested against an attacker who knows the defence.
- Datasets. KDD Cup data are decades old and have known flaws; reviewers of intrusion detection research expect more recent, documented datasets and an argument for why lab results would hold in a real network (Ring et al., 2019; Sommer & Paxson, 2010).
A related post on this site once advised that removing or hiding a model's gradients would stop such attacks. That advice is wrong for the reason above: gradient masking makes attacks harder to compute, not impossible, and gives a false sense of security (Athalye et al., 2018). Why defences fail is discussed in adversarial attacks on machine-learning intrusion detection.

What has changed since 2019
A review written today would place these studies in a much larger field. The US National Institute of Standards and Technology now publishes a taxonomy of adversarial machine learning that distinguishes evasion, poisoning and privacy attacks and sets out the attacker's goals, knowledge and capabilities (Vassilev et al., 2025). Using such a taxonomy to code each study would make the comparison in Table 1 more systematic. Poisoning has also moved from a laboratory concern to a practical one: Carlini et al. (2024) showed that web-scale training datasets can be poisoned at low cost.
For detection systems specifically, Arp et al. (2022) identified recurring pitfalls in machine-learning security research, such as sampling bias, data snooping and evaluation only in the laboratory. A doctoral review should check each included study against pitfalls like these, not only report its accuracy. The evidence on why laboratory accuracy fails to carry over to real networks is reviewed in machine-learning intrusion detection: why lab accuracy does not survive real networks.
How to adapt this to your own review
- Write your review questions first, then check that every included study answers at least one of them.
- Decide your scope (for example, network intrusion detection only) and either search systematically or say plainly that the selection is illustrative.
- Build a comparison table with the same columns for every study: threat model, domain, data, evaluation and limitation.
- Code attacks and defences with a recognised taxonomy (Vassilev et al., 2025).
- For every defence, record whether it was tested against adaptive attacks (Athalye et al., 2018).
- Check every number in your table against the original paper before you submit.

Common mistakes in a comparative review
- A title that promises one domain and sources drawn mainly from another.
- References listed but never discussed in the text.
- Conclusions about "most techniques" drawn from a handful of hand-picked papers.
- Copying results from secondary summaries without checking them in the source.
- Treating a defence as effective because it beat the attacks its own authors chose.
- Relying on outdated benchmark datasets without discussing their flaws.
For choosing datasets in this area, see choosing and preparing a dataset for a machine-learning intrusion detection study; for a review of a single recent paper, see digital twin intrusion detection for industrial SCADA; and for a second annotated review in this field, see machine learning for IoT security. The full chapter is covered in how to write the literature review chapter of a PhD thesis.
Key takeaways
- Keep the title, questions and sources of a review aligned; the original mixed image classifiers into a review of detection systems.
- A comparison table with fixed columns makes gaps and mismatches visible (Wang et al., 2019).
- Ask of every defence whether it survived adaptive attacks (Athalye et al., 2018).
- Treat old benchmark datasets and lab-only evaluations with caution in detection research (Ring et al., 2019; Arp et al., 2022).
- Use a current taxonomy to place older studies in today's field (Vassilev et al., 2025; Carlini et al., 2024).
