arXiv AI

Controlled Decoding Attacks on Black-Box LLMs

arXiv Computation and Language
Oct 28

DYNASHIELD: A Black-Box Moving Target Defense for LLMs via Dynamic Decoding Customization

The paper introduces DYNASHIELD, a black-box moving target defense for large language models that dynamically customizes decoding hyperparameters and system prompts during inference. It first identifies decoding configurations that lower the probability of successful jailbreak attacks, then samples from a weighted pool of these configurations to add controlled variability to the model’s behavior. Experiments on seven open-source LLMs and four state-of-the-art jailbreak attacks show that DYNASHIELD significantly reduces attack success rates while preserving response quality and adding minimal inference overhead.

By Xiaoqun Liu, Weiming Qi, Qiben Yan
arXiv AI
Jun 4

MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models

arXiv:2606. 04027v1 Announce Type: cross Abstract: Diffusion large language models (dLLMs) generate text by iteratively denoising partially masked sequences under bidirectional context, exposing a safety surface distinct from autoregressive LLMs.

By Yingzi Ma, Zhengyue Zhao, Xiaogeng Liu, Minhui Xue, Yue Zhao, Chaowei Xiao
arXiv Computation and Language
Nov 11

POEM: Output-Relative Block-Sparse Attention for Long-Context Prefilling

The paper introduces TERM, a target‑free, entropy‑guided residual modulation defense that operates at inference time to mitigate jailbreak attacks on large language models. TERM calibrates attention entropy against each prompt’s prefill baseline, adaptively scales residual updates, and avoids over‑refusal by not relying on predefined safety directions. Experiments on Llama, Qwen, and Gemma models demonstrate improved jailbreak robustness with minimal impact on benign requests and modest inference overhead.

By Haoyi Wu, Yunkai Dang, Wanyu Zhang, Lei Wang, Wenbin Li
arXiv Computation and Language
Sep 21

CASCADE Against Jailbreaks: Combination Across Stages with Controlled Attack-Defense Evaluation

The paper presents a systematic study of combining defenses against jailbreak attacks on Large Language Models across different pipeline stages. It introduces a standardized evaluation framework that defines attack-success-rate, controls query budgets, and applies explicit fairness rules. Across 19 attacks and 15 defenses, the study finds that no single defense dominates, but carefully selected combinations can provide strong safety with minimal loss of utility, offering practical guidance for layered defense pipelines.

By Jiale Luo, Eric Han
arXiv Machine Learning
Oct 9

Safe at One Loop, Risky at Another: Aligning Safety Across Recurrent Depths in Looped Language Models

The paper evaluates the safety of LoopLMs—parameter‑efficient language models that reuse shared parameters across recurrent steps—under jailbreak attacks at various depths. It finds that deeper inference can increase attack success, that safety responses vary across depths, and that attacks transfer between depths, even after standard alignment techniques. To address these gaps, the authors propose SafeBridge, a method that applies depth‑specific control, selective state bridging, and joint safety supervision, which markedly reduces attack success and improves overall utility without increasing over‑refusal.

By Yi Wang, Xiuyuan Qi, Dongqi Han, Dongsheng Li, Wenjie Wang