Dynamic Safety Gating for Large Action Models: Mitigating Jailbreak Exploits in Large Language Models

Advances in Large Language Models (LLMs) have expanded their capabilities while exposing persistent vulnerabilities to jailbreak attacks. As LLMs increasingly function as core reasoning components within Large Action Models (LAMs), such vulnerabilities may propagate into unsafe decision-making processes. Existing techniques, such as Layer-Specific Editing (LED), partially mitigate these threats by pruning or fine-tuning targeted Transformer layers, yet they rely on static assumptions about where toxic behaviors reside. In this work, we propose Dynamic Safety Gating (DSG), an adaptive mechanism that inserts lightweight classifiers into chosen layers to monitor and rectify suspicious hidden-state trajectories at inference time. Upon detecting a high-risk signal, DSG partially projects the final token representation onto a “safe subspace” guided by anchor vectors learned from benign examples. To improve classifier precision, we incorporate an adversarial replay phase that exposes local gating modules to step-level hidden states from borderline harmful prompts, thereby refining their detection of subtle toxicity. Theoretically, DSG performs a continuous manifold projection in high-dimensional feature space, where iterative gating gently “pulls back” misaligned representations toward safety. Empirical evaluations on multiple benchmarks and adversarial scenarios show that pairing DSG with LED reduces successful jailbreak attempts while maintaining response fluency and reducing over-refusals, suggesting that a proactive, layer-wise manifold gating strategy provides flexible safety enhancement for both LLMs and LAM-based systems.

Link
https://doi.org/10.1145/3803021
Found by
Crossref
Authors
Zhenxin Zhang, Ziyu Ding, Haiwei Sang, Fuan Xiao
Organizations
School of Cyber Engineering, Xidian University, Xi’an, China, Guizhou Key Laboratory of Artificial Intelligence and Brain-inspired Computing, College of Mathematics and Big Data, Guizhou Education University, Guiyang, China, School of Artificial Intelligence, Guangzhou University, Guangzhou, China
Categories
benchmark, evaluation
Published
2026-10-08
Last seen by the radar
2026-10-10
Citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Crossref
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 Crossref