Adaptive DeSeTra: Adaptive Deformable-span Self-attention Transformer for LLM Security

Large Language Models (LLMs) remain vulnerable to prompt-based attacks such as jailbreaks and prompt injection, highlighting the need for security mechanisms that not only detect malicious intent but also determine whether an attack actually succeeds. In this paper, we introduce Adaptive DeSe- Tra, a novel security-centric Transformer model designed for deployment that mirrors the real-world attack pipeline through two layers: (i) intent detection via multi-class prompt classification into Benign, Jailbreak and Prompt Injection; and (ii) impact assessment via response-level classification into Compliant or Refusal. Prompt-level intent identification enables low-latency routing to appropriate guardrails, policies, and monitoring controls before a malicious prompt reaches the target LLM. Conversely, response-level evaluation quantifies whether the adversarial attempt resulted in compliance or refusal, providing an outcome-based measure of attack effectiveness that supports risk assessment and enables more informative security benchmarking than intent detection alone. Experiments demonstrate strong performance across both layers: 99.35% Accuracy/F1/Precision/Recall with 99.85% AUC for prompt classification, and 99.80% for the same metrics with 99.98% AUC for impact assessment, positioning Adaptive DeSeTra as a strong candidate for deployment-oriented LLM security monitoring and evaluation.

Link
https://zenodo.org/records/21354179
Found by
Zenodo
Authors
Giapantzis, Konstantinos, Bountakas, Panagiotis, Zarras, Apostolis, Farao, Aristeidis, Bolgouras, Vaios, Xenakis, Christos
Categories
benchmark, evaluation
Published
2026-07-14
Last seen by the radar
2026-08-30
Downloads
0
Views
0
Radar score
43.41 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.21354179
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo