Enhancing Cybersecurity Threat Detection with Counterfactual Reasoning: A 'What-If' Ontology Approach Using Large Language Models

This paper proposes a novel approach to enhancing cybersecurity threat detection by integrating counterfactual reasoning with large language models (LLMs) through a structured "what-if" ontology. Traditional AI-based systems often function as black boxes, identifying threats without offering causal explanations or scenario reasoning. Our framework enables LLMs to simulate hypothetical attack scenarios and assess alternative outcomes, thereby improving detection accuracy and interpretability. Grounded in the TOVE ontology engineering methodology, the system aims to formalize key cybersecurity entities, causal relations, and counterfactual conditions using languages like OWL and SWRL. We evaluate the framework based on metrics such as detection accuracy, narrative quality, and reasoning robustness. By unifying theoretical foundations from causal reasoning, scenario planning, and facets of explainable AI, our ontology serves as a semantic backbone for LLM-guided analysis. This work contributes a proactive, explainable, and extensible model for anticipating cyber threats and guiding defensive strategies, with implications for future research and implementation in intelligent threat detection systems.

Institutions

Publication Details

Journal
Journal of the Association for Information Systems
Published
2025-08-15
Primary Topic
Magnetic Field Sensors Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Cybersecurity Threat Detection with Counterfactual Reasoning: A 'What-If' Ontology Approach Using Large Language Models

Journal of the Association for Information Systems
Magnetic Field Sensors Techniques
article

Enhancing Cybersecurity Threat Detection with Counterfactual Reasoning: A 'What-If' Ontology Approach Using Large Language Models

article en

Abstract

This paper proposes a novel approach to enhancing cybersecurity threat detection by integrating counterfactual reasoning with large language models (LLMs) through a structured "what-if" ontology. Traditional AI-based systems often function as black boxes, identifying threats without offering causal explanations or scenario reasoning. Our framework enables LLMs to simulate hypothetical attack scenarios and assess alternative outcomes, thereby improving detection accuracy and interpretability. Grounded in the TOVE ontology engineering methodology, the system aims to formalize key cybersecurity entities, causal relations, and counterfactual conditions using languages like OWL and SWRL. We evaluate the framework based on metrics such as detection accuracy, narrative quality, and reasoning robustness. By unifying theoretical foundations from causal reasoning, scenario planning, and facets of explainable AI, our ontology serves as a semantic backbone for LLM-guided analysis. This work contributes a proactive, explainable, and extensible model for anticipating cyber threats and guiding defensive strategies, with implications for future research and implementation in intelligent threat detection systems.

Journal of the Association for Information Systems
York University (CA)
Openalex Percentile: Top 51%
Magnetic Field Sensors Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.