ExampleResearch writingComputer science

Example literature review (annotated): machine learning for IoT security, with open research challenges

An annotated literature review that moves from IoT architecture to machine-learning detection and on to four open research challenges. It shows how to synthesise by theme, handle dated forecasts and turn challenges into researchable gaps.

What you will learn

  • Structure a review from architecture to methods to open challenges
  • Link IoT layers to threats and to uses of machine learning
  • Compare IoT intrusion datasets and deployment options critically
  • Explain why federated learning is not private by default
  • Turn listed challenges into research questions

What you will unlearn

  • A big forecast makes a strong opening.Forecasts date quickly; a review is better motivated by verified characteristics of the problem.
  • Federated learning keeps IoT data private.Model updates can still leak information about training data, so additional protection is needed.
  • High accuracy on an IoT dataset shows a detector works.Results depend on dataset realism, features and time, and often do not transfer between datasets.

Skills you will practise

  • Thematic synthesis
  • Architecture-threat mapping
  • Dataset appraisal
  • Privacy reasoning
  • Gap statements

About this example

This page presents a short literature review on machine learning (ML) for Internet of Things (IoT) security, the kind of review that could open a doctoral chapter or a research proposal. It moves from the architecture of IoT systems, to the ways ML is used to protect them, to the open research challenges, and ends by stating where a new study could contribute. Each part is followed by a "What to notice" note.

The review was first published in 2021. It is a teaching model, not a complete survey; do not reuse its wording in your own work.

Illustration of machine learning for Internet of Things security
Figure 1. Illustration of machine learning for Internet of Things security.

The example: introduction

1. Introduction

The Internet of Things connects sensors, actuators and everyday objects to networks so that they can collect and exchange data. Homes, hospitals, farms, factories and cities now rely on such devices for monitoring, control and predictive maintenance. Many devices have little memory and processing power, run firmware that is rarely updated and communicate over several protocols, which makes them attractive targets (Al-Fuqaha et al., 2015). Rule-based defences struggle with this diversity, and ML has been proposed as a way to learn what normal device behaviour looks like and to flag departures from it.

This review asks three questions. Where in an IoT architecture do security threats arise? How has ML been applied to detect them? And which problems remain open for doctoral research?

The example: architecture and attack surface

2. IoT layers and their threats

Surveys commonly describe IoT systems in layers (Al-Fuqaha et al., 2015), and the international reference architecture for IoT gives a standard vocabulary for their components and domains (ISO/IEC, 2024). A three-layer view, with middleware and cloud services between the network and the applications, is enough to locate the main threats (Table 1).

Table 1. IoT layers, threats and uses of machine learning (compiled for this example from Al-Fuqaha et al., 2015, and ISO/IEC 30141:2024)
LayerTypical componentsExample threatsWhere ML has been applied
Perception (sensing)Sensors, actuators, RFID tags, embedded controllersPhysical tampering, spoofed readings, compromised firmwareDetecting implausible sensor values and device faults
NetworkBluetooth, Wi-Fi, ZigBee, IEEE 802.15.4, LPWAN, cellular (LTE, 5G), IPv6 gatewaysBotnet recruitment, denial of service, traffic interceptionNetwork intrusion and anomaly detection
Middleware and cloudBrokers, device management, storage and analytics servicesAccount takeover, data breaches, misconfigurationAccess anomaly detection, log analysis
ApplicationSmart home, health, agriculture, industrial and city servicesMisuse of personal data, unsafe control actionsBehavioural profiling of users and devices
Illustration of Internet of Things layers
Figure 2. Illustration of Internet of Things layers.

The example: machine learning for IoT security

3. Detection with machine learning

Most studies apply ML at the network layer, training classifiers or anomaly detectors on labelled traffic. Purpose-built IoT datasets such as Bot-IoT, which simulates botnet activity in an IoT network (Koroniotis et al., 2019), and ToN_IoT (Booij et al., 2022) have largely replaced older general-purpose datasets. Booij et al. (2022) also show why results are hard to compare: datasets differ in their features and in how they name attack types, and they call for standardisation. Earlier surveys of intrusion detection data make the same point about documentation and realism (Ring et al., 2019).

Where the model runs is a design decision in its own right. Rahman et al. (2020) compare centralised training, training on each device and federated learning, in which devices train locally and share only model updates. Federated learning reduces the movement of raw data and has been widely proposed for IoT intrusion detection (Agrawal et al., 2022). A recent review adds post-quantum cryptography to ML as a second line of IoT protection (Saeed & Alqahtani, 2025).

Illustration of machine learning in Internet of Things security
Figure 3. Illustration of machine learning in Internet of Things security.

The example: open research challenges

4.1 Data quality and realism

ML detectors are only as good as their training data. Synthetic or testbed traffic may not match real deployments, augmentation can multiply the same bias, and many published results suffer from sampling bias or evaluation only in the laboratory (Arp et al., 2022). A doctoral study that collects or documents realistic IoT traffic, or tests whether a model trained on one dataset holds on another, addresses a gap that the dataset literature itself identifies (Booij et al., 2022).

4.2 Privacy leakage

IoT data often reveal where people are and what they do. Encryption protects data in transit, but trained models can also leak information about their training data. Nasr et al. (2019) showed that inference attacks can recover information about training records from deep learning models, in both centralised and federated settings, so federated learning is not private by default. Differential privacy offers a formal guarantee of limited disclosure at some cost to accuracy (Dwork & Roth, 2014), and balancing the two on constrained devices remains open.

4.3 Keeping models up to date

Device behaviour and attacks change, so a detector trained once will decay. In malware detection, Pendlebury et al. (2019) showed that evaluations ignoring time inflate performance, and proposed time-aware evaluation. IoT models face the same drift, compounded by devices that rarely receive firmware updates. Continual (lifelong) learning on constrained devices, and safe ways to update models in the field, are open problems.

4.4 Robustness to adaptive attackers

An attacker who knows that an ML detector is in place can try to evade or poison it (Vassilev et al., 2025). Few IoT studies test their detectors against such adversaries, which is a clear opportunity.

Illustration of research challenges in Internet of Things security
Figure 4. Illustration of research challenges in Internet of Things security.

Annotations: what was changed and why

  • Dated forecasts removed. The device and market forecasts did not hold or could not be traced, so they were taken out rather than updated with unchecked numbers.
  • Unsupported claims replaced. A claim that a named smart speaker exposed users' locations had no source; privacy leakage is now illustrated with peer-reviewed evidence (Nasr et al., 2019).
  • Federated learning qualified. It is presented as a design option with trade-offs, not as a privacy solution (Rahman et al., 2020; Agrawal et al., 2022).
  • Evaluation pitfalls added. Time and sampling biases are now part of the challenges (Pendlebury et al., 2019; Arp et al., 2022).
  • Use cases kept in proportion. Industrial examples such as predictive maintenance and precision agriculture motivate the review but are not evidence for it. For running models on the devices themselves, see TinyML for researchers.
Illustration of secure Internet of Things systems
Figure 5. Illustration of secure Internet of Things systems.

How to adapt this to your own review

  1. State two or three review questions and order the sections to answer them in turn.
  2. Choose one organising frame, such as architecture layers, and use it consistently in tables and headings.
  3. For every detection study, record the dataset, how it was split (including by time), the metrics and whether the model was tested on a second dataset.
  4. Record where each model is trained and run (cloud, edge, device or federated) and what that implies for cost and privacy.
  5. Date your evidence: say when a study was published and whether newer work has changed its conclusion.
  6. End each challenge with a candidate research question, then choose the one your data and skills can support.

A worked illustration: a candidate interested in smart-home security might narrow challenge 4.3 to the question "How quickly does a detector trained on one year of smart-home traffic lose accuracy, and does periodic retraining on recent data recover it?" That question names the data, the time dimension and the comparison, and it can be answered within a doctorate (illustrative).

Common mistakes in an IoT security review

  • Opening with a market or device forecast that is out of date or untraceable.
  • Describing layers and protocols at length without linking them to threats.
  • Reporting accuracy figures from different datasets as if they were comparable.
  • Treating federated learning or encryption as a complete answer to privacy.
  • Ignoring time: testing on data from the same period as training.
  • Listing challenges without saying what a study could do about them.

For a second annotated review in ML security, see adversarial attacks on machine-learning classifiers and detectors. For privacy in distributed detection, see privacy and data security in collaborative detection systems; for development methods, development methodologies for IoT-based systems; and for topic ideas, blockchain IoT security dissertation topics. Choosing metrics for your detector is covered in choosing and reporting evaluation metrics in a machine learning dissertation.

Key takeaways

Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
Literature review

References

  1. Agrawal, S., Sarkar, S., Aouedi, O., Yenduri, G., Piamrat, K., Alazab, M., Bhattacharya, S., Maddikunta, P. K. R., & Gadekallu, T. R. (2022). Federated learning for intrusion detection system: Concepts, challenges and future directions. Computer Communications, 195, 346–361. https://doi.org/10.1016/j.comcom.2022.09.012
  2. Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M., & Ayyash, M. (2015). Internet of things: A survey on enabling technologies, protocols, and applications. IEEE Communications Surveys & Tutorials, 17(4), 2347-2376. https://doi.org/10.1109/COMST.2015.2444095
  3. Arp, D., Quiring, E., Pendlebury, F., Warnecke, A., Pierazzi, F., Wressnegger, C., Cavallaro, L., & Rieck, K. (2022). Dos and don'ts of machine learning in computer security. In Proceedings of the 31st USENIX Security Symposium (pp. 3971–3988). USENIX Association. https://www.usenix.org/conference/usenixsecurity22/presentation/arp
  4. Booij, T. M., Chiscop, I., Meeuwissen, E., Moustafa, N., & den Hartog, F. T. H. (2022). ToN_IoT: The role of heterogeneity and the need for standardization of features and attack types in IoT network intrusion data sets. IEEE Internet of Things Journal, 9(1), 485–496. https://doi.org/10.1109/JIOT.2021.3085194
  5. Dwork, C., & Roth, A. (2014). The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science, 9(3–4), 211–407. https://doi.org/10.1561/0400000042
  6. International Organization for Standardization & International Electrotechnical Commission. (2024). Internet of things (IoT): Reference architecture (ISO/IEC Standard No. 30141:2024, 2nd ed.). https://webstore.ansi.org/standards/iso/isoiec301412024
  7. Koroniotis, N., Moustafa, N., Sitnikova, E., & Turnbull, B. (2019). Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT dataset. Future Generation Computer Systems, 100, 779–796. https://doi.org/10.1016/j.future.2019.05.041
  8. Nasr, M., Shokri, R., & Houmansadr, A. (2019). Comprehensive privacy analysis of deep learning: Passive and active white-box inference attacks against centralized and federated learning. In 2019 IEEE Symposium on Security and Privacy (pp. 739–753). IEEE. https://doi.org/10.1109/SP.2019.00065
  9. Pendlebury, F., Pierazzi, F., Jordaney, R., Kinder, J., & Cavallaro, L. (2019). TESSERACT: Eliminating experimental bias in malware classification across space and time. In Proceedings of the 28th USENIX Security Symposium (pp. 729–746). USENIX Association. https://www.usenix.org/conference/usenixsecurity19/presentation/pendlebury
  10. Rahman, S. A., Tout, H., Talhi, C., & Mourad, A. (2020). Internet of things intrusion detection: Centralized, on-device, or federated learning? IEEE Network, 34(6), 310–317. https://doi.org/10.1109/MNET.011.2000286
  11. Ring, M., Wunderlich, S., Scheuring, D., Landes, D., & Hotho, A. (2019). A survey of network-based intrusion detection data sets. Computers & Security, 86, 147–167. https://doi.org/10.1016/j.cose.2019.06.005
  12. Saeed, M. M., & Alqahtani, F. (2025). AI and post-quantum cryptography powered cybersecurity approaches for IoT systems: A literature review. PeerJ Computer Science, Article cs-3502. https://peerj.com/articles/cs-3502/
  13. Vassilev, A., Oprea, A., Hamin, M., Fordyce, A., Anderson, H., & Davies, X. (2025). Adversarial machine learning: A taxonomy and terminology of attacks and mitigations (NIST AI 100-2e2025). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.100-2e2025

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2021, September 7). Example literature review (annotated): machine learning for IoT security, with open research challenges. PhD Research Lab. https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions/

PhD Research Lab Academy. “Example Literature Review (annotated): Machine Learning for IoT Security, with Open Research Challenges.” PhD Research Lab, 7 Sept. 2021, www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions. Accessed [access date].

PhD Research Lab Academy (2021) Example literature review (annotated): machine learning for IoT security, with open research challenges. PhD Research Lab. Available at: https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions/ (Accessed: [access date]).

PhD Research Lab Academy. “Example Literature Review (annotated): Machine Learning for IoT Security, with Open Research Challenges.” PhD Research Lab. September 7, 2021. https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions.

PhD Research Lab Academy, ‘Example Literature Review (annotated): Machine Learning for IoT Security, with Open Research Challenges’ (PhD Research Lab, 7 September 2021) <https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions> accessed [access date].

PhD Research Lab Academy. Example literature review (annotated): machine learning for IoT security, with open research challenges [Internet]. PhD Research Lab; 2021 Sep 7 [cited [access date]]. Available from: https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions/

PhD Research Lab Academy, “Example literature review (annotated): machine learning for IoT security, with open research challenges,” PhD Research Lab, Sept. 7, 2021. [Online]. Available: https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions. [Accessed: [access date]].

@online{machine_learning_based_internet_of_things_iot_security_solutions_2021,
  author = {{PhD Research Lab Academy}},
  title = {{Example literature review (annotated): machine learning for IoT security, with open research challenges}},
  organization = {PhD Research Lab},
  date = {2021-09-07},
  url = {https://www.phdassistance.com/blog/machine-learning-based-internet-of-things-iot-security-solutions},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Example literature review (annotated)Need help applying it to your study?
Literature review