{"id":"arxiv/2608.19579","url":"https://arxiv.org/abs/2608.19579","tags":["cs.AI","math.DS"],"score":0,"title":"Enforcing LLM Safety through DMD-based Classification of Prompt-Response Embedding Dynamics","domain":"cs.AI","source":"arxiv","authors":["Mohamed Akrout","Olivera Kotevska","Dan Wilson"],"reviews":0,"subject":"cs.AI","summary":"Large Language Models (LLMs) are increasingly deployed in high-stakes applications, yet their tendency to generate toxic, harmful, or policy-violating content poses significant risks. Detecting these unsafe outputs efficiently in a black-box manner remains an open challenge. In this paper, we extend a recently proposed dynamical systems framework designed for hallucination detection to LLM safety classification. By projecting both prompts and responses into high-dimensional embedding spaces and fitting separate Koopman-based predictive models for safe and unsafe regimes, we classify new…","category":"research","comments":0,"disputed":false,"division":"cs","mentions":0,"discussed":0,"published":"2026-08-20","reactions":{}}