Integrating Knowledge Graphs with Retrieval-Augmented Generation to Automate IoT Device Security Compliance

Department

Program

Citation of Original Publication

Islam, Mohammad M., Lavanya Elluri, and Karuna Pande Joshi. “Integrating Knowledge Graphs with Retrieval-Augmented Generation to Automate IoT Device Security Compliance.” 2025 IEEE International Conference on Intelligence and Security Informatics (ISI), July 2025, 52–57. https://doi.org/10.1109/ISI65680.2025.11201135

Rights

© 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Abstract

As IoT device adoption grows, ensuring cybersecurity compliance with IoT standards, like National Institute of Standards and Technology Interagency (NISTIR) 8259A, has become increasingly complex. These standards are typically presented in lengthy, text-based formats that are difficult to process and query automatically. We built a knowledge graph to address this challenge to represent the key concepts, relationships, and references within NISTIR 8259A. We further integrate this knowledge graph with RetrievalAugmented Generation (RAG) techniques that can be used by large language models (LLMs) to enhance the accuracy and contextual relevance of information retrieval. Additionally, we evaluate the performance of RAG using both graph-based queries and vector database embeddings. Our framework, implemented in Neo4j, was tested using multiple LLMs, including LLAMA2, Mistral-7B, and GPT-4. Our findings show that combining knowledge graphs with RAG significantly improves query precision and contextual relevance compared to unstructured vector-based retrieval methods. While traditional rule-based compliance tools were not evaluated in this study, our results demonstrate the advantages of structured, graphdriven querying for security standards like NISTIR 8259A.