arXiv AI

SafeSpec: Fast and Safe LLM via Dynamic Reflective Sampling

arXiv:2606. 19755v1 Announce Type: cross Abstract: Speculative inference accelerates large language model (LLM) decoding but provides no inherent safety guarantees.

arXiv AI
Oct 9

Speedbumps: Rejection Attacks on Speculative Decoding

Speedbumps: Rejection Attacks on Speculative Decoding explores how Speculative Rejection Attacks (SRAs) can degrade the efficiency of speculative decoding by causing draft and target models to disagree more often, leading to more target-model forward passes per token. The authors introduce two attacks—Speedbump-P and Speedbump-D—that append adversarial suffixes to attacker-controlled content, optimizing the expected length of the accepted speculative prefix. In some scenarios, these attacks slow inference below autoregressive decoding, reduce output quality, yet remain effective under sampling and transfer across drafters or target models sharing a drafter.

By Adam Y. J. Jones, Yu Yuan, Sergio Maffeis
arXiv Computation and Language
Oct 22

Adaptive Steering and Remasking for Safe Generation in Diffusion Language Models

The paper introduces an inference‑time defense for Diffusion Language Models that combines adaptive safety steering with safety‑aware remasking. It uses a gating direction to adjust steering strength during denoising and a lightweight response detector to identify unsafe trajectories early, triggering targeted remasking and regeneration under adaptive steering. Experiments on LLaDA and Dream show improved robustness against jailbreak attacks while maintaining benign generation quality.

By Yejin Lee, Ungsik Kim, Yo-Sub 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
Hugging Face Trending Papers
Jul 2

Safety Targeted Embedding Exploit via Refinement

Safety training for large language models (LLMs) is conducted predominantly in English, leaving uncertain how well safety mechanisms generalize to low-resource languages and mixed-language code-switching. We show that this creates an epistemic gap in which models confidently generate harmful responses for inputs that fall outside the distribution of their safety training.

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 Machine Learning
Sep 11

Understanding In-Context Multimodal Jailbreaks via Posterior Reweighting

The paper introduces a posterior reweighting framework to explain and counter in-context learning jailbreaks in multimodal large language models. It models the model as switching between safe and harmful behavioral modes, interpreting prompt demonstrations as evidence that shifts the posterior. Using this view, the authors derive scaling laws for jailbreak effectiveness and propose a defense that injects benign counter‑evidence to suppress harmful drift while maintaining utility.

By Xu Zhang, Dev Mistry, Xiang Xu, Ren Wang
arXiv Machine Learning
Jul 27

Adversarial Prompts for Acceptance Collapse in Speculative Decoding

arXiv:2607. 21804v1 Announce Type: cross Abstract: Lossless acceleration schemes, such as speculative decoding, promise significant inference speedups by relying on dynamic token-level alignment between a draft and a target model.

By Run Wang, Chaoyi Zhou, Xi Liu, Yi Zhu, Amir Salarpour, Pedram MohajerAnsari, Zhi-Qi Cheng, Feng Luo, Siyu Huang, Mert D. Pes\'e