mlsanityData to 14 Oct 2026

Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing

arXiv 2601.10543 ↗First posted 15 Jan 2026cs.AI cs.CLcited by 4

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Large language models (LLMs) have achieved impressive performance across natural language tasks and are increasingly deployed in real-world applications. Despite extensive safety alignment efforts, recent studies show that such alignment is often shallow and remains vulnerable to jailbreak attacks. Existing defense mechanisms, including decoding-based constraints and post-hoc content detectors, struggle against sophisticated jailbreaks, often intervening robust detection or excessively degrading model utility. In this work, we examine the decoding process of LLMs and make a key observation: even when successfully jailbroken, models internally exhibit latent safety-related signals during generation. However, these signals are overridden by the model's drive for fluent continuation, preventing timely self-correction or refusal. Building on this observation, we propose a simple yet effective approach that explicitly surfaces and leverages these latent safety signals for early detection of unsafe content during decoding. Experiments across diverse jailbreak attacks demonstrate that our approach significantly enhances safety, while maintaining low over-refusal rates on benign inputs and preserving response quality. Our results suggest that activating intrinsic safety-awareness during decoding offers a promising and complementary direction for defending against jailbreak attacks. Code is available at: https://github.com/zyz13590/SafeProbing.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 36 of its 52 references that are in the map. First posted on arXiv 15 Jan 2026.

Builds on

36 of 52 references.

Closest ancestors · 20

Same direction, newest first

  1. 2024Jailbreaking? One Step Is Enough!17 Dec
  2. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMs3 Oct
  3. 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun
  4. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
  5. 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstruction28 Feb
  6. 2024Defending LLMs against Jailbreaking Attacks via Backtranslation26 Feb
  7. 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysis21 Feb
  8. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
  9. 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuning9 Feb
  10. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
  11. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
  12. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
8 more
  1. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
  2. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  3. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
  4. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
  5. 2023Detecting Language Model Attacks with Perplexity27 Aug
  6. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  8. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May

Other references · 16

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2017Deep reinforcement learning from human preferencescited by 3,912
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  7. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  8. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
  9. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  10. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  11. 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 398
  12. 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 257
4 more
  1. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
  2. 2023Planning with Large Language Models for Code Generationcited by 182
  3. 2025STAIR: Improving Safety Alignment with Introspective Reasoningcited by 77
  4. 2024CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completioncited by 76

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AISA: Awakening Intrinsic Safety Awareness in Large Language Models against Jailbreak Attacks
  2. 2025SafeInt: Shielding Large Language Models from Jailbreak Attacks via Safety-Aware Representation Intervention
  3. 2024Probing the Safety Response Boundary of Large Language Models via Unsafe Decoding Path Generation
  4. 2025SAID: Safety-Aware Intent Defense via Prefix Probing for Large Language Models
  5. 2025Unraveling LLM Jailbreaks Through Safety Knowledge Neurons
  6. 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
  7. 2024Harnessing Task Overload for Scalable Jailbreak Attacks on Large Language Models
  8. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing