[Paper Review] A Deep Learning Approach for Ontology Enrichment from Unstructured Text
This paper proposes a deep learning approach using Bidirectional LSTMs and the Universal Sentence Encoder to enrich ISO 27001-based information security ontologies from unstructured text. Trained on 2.8 GB of Wikipedia and DBpedia data, the model achieves 80% test accuracy in extracting concepts, relations, and instances, demonstrating robustness in dynamic, real-world text environments.
Information Security in the cyber world is a major cause for concern, with a significant increase in the number of attack surfaces. Existing information on vulnerabilities, attacks, controls, and advisories available on the web provides an opportunity to represent knowledge and perform security analytics to mitigate some of the concerns. Representing security knowledge in the form of ontology facilitates anomaly detection, threat intelligence, reasoning and relevance attribution of attacks, and many more. This necessitates dynamic and automated enrichment of information security ontologies. However, existing ontology enrichment algorithms based on natural language processing and ML models have issues with contextual extraction of concepts in words, phrases, and sentences. This motivates the need for sequential Deep Learning architectures that traverse through dependency paths in text and extract embedded vulnerabilities, threats, controls, products, and other security-related concepts and instances from learned path representations. In the proposed approach, Bidirectional LSTMs trained on a large DBpedia dataset and Wikipedia corpus of 2.8 GB along with Universal Sentence Encoder is deployed to enrich ISO 27001-based information security ontology. The model is trained and tested on a high-performance computing (HPC) environment to handle Wiki text dimensionality. The approach yielded a test accuracy of over 80% when tested with knocked-out concepts from ontology and web page instances to validate the robustness.
Motivation & Objective
- Address the challenge of dynamically enriching information security ontologies with evolving, unstructured threat intelligence from public sources.
- Overcome limitations of existing NLP and ML methods in capturing contextual relationships and multi-word concepts in security text.
- Enable automated, scalable enrichment of ISO 27001-based ontologies with concepts, relations, and real-world instances from web pages.
- Improve the robustness and generalization of ontology enrichment by leveraging sequential modeling and contextual embeddings.
- Support practical use cases such as vulnerability assessment, attack graph generation, and threat intelligence correlation through enriched ontological structures.
Proposed method
- Employ Bidirectional Long Short-Term Memory (Bi-LSTM) networks to model sequential dependencies in dependency paths extracted from unstructured text.
- Utilize the Universal Sentence Encoder to generate contextual, dense vector representations of sentences and phrases for improved semantic understanding.
- Train the model on a combined dataset of 97,425 DBpedia terms and 2.8 GB of Wikipedia articles to capture broad domain coverage.
- Fine-tune the model on 408 seed terms from the ISO 27001-based information security ontology to align predictions with target ontology concepts.
- Apply knock-out testing by removing known ontology concepts from test instances to evaluate robustness and generalization.
- Use high-performance computing (HPC) infrastructure to manage the computational demands of large-scale text processing and model training.
Experimental results
Research questions
- RQ1Can a deep learning model effectively extract and enrich security-relevant concepts, relations, and instances from unstructured web text?
- RQ2How well does the model generalize when tested on real-world web pages with missing or knocked-out ontology terms?
- RQ3To what extent does the use of contextual embeddings (Universal Sentence Encoder) improve the accuracy of ontology enrichment compared to non-contextual methods?
- RQ4How does the model perform across different types of security concepts (e.g., vulnerabilities, threats, controls) in terms of precision, recall, and F1-score?
- RQ5Can the approach be extended to other domains beyond information security with minimal reconfiguration?
Key findings
- The proposed model achieved a test accuracy of 80% when evaluating on 20 randomly selected information security web pages with knocked-out ontology concepts.
- The F1-score for the overall enrichment task reached 78%, indicating a balanced performance between precision and recall.
- The model demonstrated consistent performance across different concept classes, with hypernymy relationships showing relatively higher accuracy.
- Precision scores for the top 20 retrieved results on web pages averaged 0.84 (P@20), indicating reliable retrieval of relevant concepts.
- The approach outperformed existing methods in handling multi-word concepts and real-world instances, which many prior systems fail to capture.
- Pizza ontology enrichment results (F1: 0.86–0.88) were higher than security results, suggesting that domain specificity and concept clarity significantly impact performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.