From Algorithmic Anticipation to Normative Accountability: A Multimodal Deep Learning and Big Data Analytics Framework for Early Warning and Pre-emptive Detection of Violent Extremism, with Explainable AI, Graph-Based Radicalization Trajectory Modelling a

Authors

  • Hamza Sajjad National Institute of Intelligence and Security Studies, Quaid-i-Azam University, Islamabad 45320, Pakistan
  • Dr. Muhammad Usman Malik National Institute of Intelligence and Security Studies, Quaid-i-Azam University, Islamabad 45320, Pakistan
  • Dr. Zulfqar Khan National Institute of Intelligence and Security Studies, Quaid-i-Azam University, Islamabad 45320, Pakistan

DOI:

https://doi.org/10.59075/pjcj.v6i8.329

Keywords:

violent extremism; early warning; deep learning; explainable AI; graph neural networks; Markov switching; INGARCH; counter-terrorism governance; human rights; Pakistan

Abstract

Purpose: Predictive analytics are increasingly proposed for counter-extremism, yet most frameworks optimize anticipation while treating accountability as an afterthought. This study designs and empirically tests an integrated framework that couples algorithmic early warning with an ethical–legal governance architecture, using Pakistan ranked first in the Global Terrorism Index 2026 as the test case.

Design/methodology/approach: A real-data workbook (PIPS 2006–2025, PICSS, CRSS, SATP, IEP-GTI, DataReportal, and 24 coded legal instruments) feeds four modules: (i) an econometric core (bootstrap ADF, KPSS, Zivot–Andrews, Bai–Perron multiple breaks, Hamilton Markov-switching, negative-binomial log-linear INGARCH, Johansen/Engle–Granger cointegration, VAR with bootstrapped generalised impulse responses, unobserved-components Kalman smoothing and critical-slowing-down indicators); (ii) deep learning (from-scratch LSTM and deep multilayer perceptron ensembles, in level and residual-learning form) evaluated by rolling-origin forecasting and Diebold–Mariano tests; (iii) explainable AI (exact Shapley values, integrated gradients, permutation importance, counterfactuals); and (iv) a graph-based radicalization-trajectory model (maximum-entropy actor province edges, simplified graph convolution, empirical-Bayes actor growth).

Findings: Violence follows four regimes (breaks in 2010, 2015 and 2020). A Markov-switching filter assigned a 0.94 real-time probability to an escalation regime in 2021, when attacks were still only 207. The NAP/Zarb-e-Azb regime is associated with a 62.5% lower expected attack intensity and the post-Kabul regime with a 57.2% higher intensity. Fatalities scale almost proportionally with attacks (elasticity 0.95). Deep learning ensembles did not outperform parsimonious baselines out of sample (all Diebold–Mariano p > 0.10); damped trend smoothing achieved the lowest error. Graph modelling shows nationalist insurgency expanding fastest (Baloch groups: log-growth 1.47 per year).

Originality/value: The paper converts these results into a rights-compliant governance architecture aggregate-only outputs, mandatory benchmark disclosure, human-in-the-loop thresholds and audit trails and shows that accountability must include epistemic accountability for model performance.

Downloads

Published

2026-10-16

How to Cite

Sajjad, H., Malik, D. M. U., & Khan, D. Z. (2026). From Algorithmic Anticipation to Normative Accountability: A Multimodal Deep Learning and Big Data Analytics Framework for Early Warning and Pre-emptive Detection of Violent Extremism, with Explainable AI, Graph-Based Radicalization Trajectory Modelling a. Pakistan Journal of Criminal Justice, 6(8), 193–218. https://doi.org/10.59075/pjcj.v6i8.329