ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Recent research on Large Language Model (LLM) safety has widely adopted guardrails to identify unsafe LLM outputs. Existing guardrails typically formulate safety assessment as a deterministic classification task, mapping a discrete token sequence to a discrete safety label. However, this paradigm has two limitations: First, safety assessment is inherently an uncertain problem, particularly during the early generation state. Second, relying solely on discrete token sequences discards the rich probabilistic information embedded in the LLM output distribution. To address these limitations, we propose the first completely probabilistic architecture-agnostic guardrail textscProbGuard to leverage the LLM early output distributional signals for estimating and calibrating the safety probability, thereby enabling early stopping of unsafe ongoing outputs. Specifically, given an LLM's generated prefix distribution, we formulate the safety risk as the unsafe probability of its continued generation dynamics and estimate this risk by Monte-Carlo sampling. Through post-training on the distributional signals and calibrated safety risk, textscProbGuard achieves the best calibration performance across all nine model--dataset combination settings, reducing the average Brier score and ECE by 79.6% and 71.9%, respectively, over the best baseline. textscProbGuard further limits the attack success rate to at most 1% across six representative jailbreak attacks after observing the LLM early output distributions from only the first ten decoding steps.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 22 of its 28 references that are in the map. First posted on arXiv 11 Aug 2026.
Builds on
22 of 28 references.
Closest ancestors · 3
Same direction, newest first
- 2025Beyond Linear Probes: Dynamic Safety Monitoring for Language Models30 Sep
- 2025From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring11 Jun
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preference20 Jun
Other references · 19
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 146
- 2025PolyGuard: A Multilingual Safety Moderation Tool for 17 Languagescited by 57
- 2025Detecting High-Stakes Interactions with Activation Probescited by 45
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderationcited by 27
- 2024AdvPrefix: An Objective for Nuanced LLM Jailbreakscited by 25
7 more
- 2025MAJIC: Markovian Adaptive Jailbreaking via Iterative Composition of Diverse Innovative Strategiescited by 11
- 2025DualBreach: Efficient Dual-Jailbreaking via Target-Driven Initialization and Multi-Target Optimizationcited by 9
- 2026On Calibration of Large Language Models: From Response To Capabilitycited by 5
- 2026DARWIN: Evolving Jailbreak Adversary and Guardrail for LLM Safety Evaluation and Protectioncited by 5
- 2025From Topology to Behavioral Semantics: Enhancing BGP Security by Understanding BGP's Language with LLMscited by 3
- 2026DataShield: Uncovering Risky Fine-Tuning Data Across LLMs Through Consensus Subspace Alignmentcited by 3
- 2026AgentSnare: Learning to Delay, Divert, and Defuse Autonomous Penetration Agentscited by 2
Built on by
Not cited yet.