A comprehensive causal analysis framework for large language model safetySoK: a Comprehensive Causality Analysis Framework for Large Language Model Security
Researchers propose a unified causal analysis framework for large language model safety, systematically supporting causal research at all levels from token, neuron and layer-level interventions to representation-level analysis; the authors call it the first comprehensive survey of causality-driven jailbreak research. The framework is evaluated on multiple open-weight models, covering safety-related benchmarks such as jailbreak, hallucination detection, backdoor identification and fairness. Results show that targeted interventions on causally key components can stably change the model's safety behavior; safety mechanisms are highly localized, concentrated in the early-to-middle layers, with only 1–2% of neurons exhibiting causal influence; causal features extracted by the framework achieve over 95% detection accuracy across multiple threat types. Code is open-sourced at https://github.com/Amadeuszhao/SOK_Casuality。