mlsanityData to 14 Oct 2026

On Calibration of LLM-based Guard Models for Reliable Content Moderation

arXiv 2410.10414 ↗First posted 14 Oct 2024cs.CR cs.CL cs.LGcited by 23

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

Large language models (LLMs) pose significant risks due to the potential for generating harmful content or users attempting to evade guardrails. Existing studies have developed LLM-based guard models designed to moderate the input and output of threat LLMs, ensuring adherence to safety policies by blocking content that violates these protocols upon deployment. However, limited attention has been given to the reliability and calibration of such guard models. In this work, we empirically conduct comprehensive investigations of confidence calibration for 9 existing LLM-based guard models on 12 benchmarks in both user input and model output classification. Our findings reveal that current LLM-based guard models tend to 1) produce overconfident predictions, 2) exhibit significant miscalibration when subjected to jailbreak attacks, and 3) demonstrate limited robustness to the outputs generated by different types of response models. Additionally, we assess the effectiveness of post-hoc calibration methods to mitigate miscalibration. We demonstrate the efficacy of temperature scaling and, for the first time, highlight the benefits of contextual calibration for confidence calibration of guard models, particularly in the absence of validation sets. Our analysis and experiments underscore the limitations of current LLM-based guard models and provide valuable insights for the future development of well-calibrated guard models toward more reliable content moderation. We also advocate for incorporating reliability evaluation of confidence calibration when releasing future LLM-based guard models.

Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 50 of its 55 references that are in the map. First posted on arXiv 14 Oct 2024.

Builds on

50 of 55 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs26 Jun

Other references · 49

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  6. 2017On Calibration of Modern Neural Networkscited by 4,960
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  8. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  9. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  11. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  12. 2023PaLM 2 Technical Reportcited by 1,162
37 more
  1. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 974
  2. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
  3. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  4. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  5. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  6. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
  7. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 518
  8. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 505
  9. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  10. 2021Revisiting the Calibration of Modern Neural Networkscited by 390
  11. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
  12. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  13. 2024Rethinking Machine Unlearning for Large Language Modelscited by 257
  14. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 247
  15. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
  16. 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
  17. 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
  18. 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMscited by 215
  19. 2020Reducing conversational agents' overconfidence through linguistic calibrationcited by 210
  20. 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 185
  21. 2024AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Expertscited by 136
  22. 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
  23. 2023Mitigating Label Biases for In-context Learningcited by 89
  24. 2015Posterior calibration and exploratory analysis for natural language processing modelscited by 76
  25. 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 76
  26. 2020Continuously Indexed Domain Adaptationcited by 75
  27. 2023On the Calibration of Large Language Models and Alignmentcited by 73
  28. 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 68
  29. 2016Towards Bayesian Deep Learning: A Framework and Some Existing Methodscited by 58
  30. 2022A Close Look into the Calibration of Pre-trained Language Modelscited by 57
  31. 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Modelscited by 50
  32. 2016Natural-Parameter Networks: A Class of Probabilistic Neural Networkscited by 34
  33. 2022Graph-Relational Domain Adaptationcited by 19
  34. 2023Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruningcited by 17
  35. 2024Enhancing In-context Learning via Linear Probe Calibrationcited by 16
  36. 2024Advancing Adversarial Suffix Transfer Learning on Aligned Large Language Modelscited by 10
  37. 2023Towards Informative Few-Shot Prompt with Maximum Information Gain for In-Context Learningcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 10; 2026: 12.

23 papers.

Sort:

By area:

  1. 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 121
  2. 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 100
  3. 2025Mind the Confidence Gap: Overconfidence, Calibration, and Distractor Effects in Large Language Modelscited by 40
  4. 2026A Coin Flip for Safety: LLM Judges Fail to Reliably Measure Adversarial Robustnesscited by 20
  5. 2026BaseCal: Unsupervised Confidence Calibration via Base Model Signalscited by 8
  6. 2025MCGrad: Multicalibration at Web Scalecited by 5
  7. 2025Evaluating the Robustness of Large Language Model Safety Guardrails Against Adversarial Attackscited by 5
  8. 2025SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Modelscited by 3
  9. 2026Balancing Classification and Calibration Performance in Decision-Making LLMs via Calibration Aware Reinforcement Learningcited by 3
  10. 2025Do You Really Need a GPU to Guard Your LLM? CPU-Class Classifiers and Multi-Stage Pipelines for Safety Enforcement at Scalecited by 2
  11. 2026Bayesian-LoRA: Probabilistic Low-Rank Adaptation of Large Language Modelscited by 2
  12. 2026Confidently Wrong: Severity-Aware Calibration of Prompt-Injection Detectors under Attack Shiftcited by 2
11 more
  1. 2026The Entanglement Wall: Activation-Space Probes as Risk Detectors, Not Context Adjudicatorscited by 2
  2. 2026Safety-Flag: A Unified Benchmark for the Reliability and Calibration of LLM Content Moderatorscited by 2
  3. 2025PrivacyXray: Detecting Privacy Breaches in LLMs through Semantic Consistency and Probability Certaintycited by 1
  4. 2025AI-in-the-Loop: Privacy Preserving Real-Time Scam Detection and Conversational Scambaiting by Leveraging LLMs and Federated Learningcited by 1
  5. 2025Unlocking LLM Safeguards for Low-Resource Languages via Reasoning and Alignment with Minimal Training Datacited by 1
  6. 2025Semantic Integrity Constraints: Declarative Guardrails for AI-Augmented Data Processing Systemscited by 0
  7. 2026A Survey of Toxicity Detection and Mitigation Strategies for Multilingual Language Modelscited by 0
  8. 2026Safety Monitors Mostly Catch What the Model Already Refusescited by 0
  9. 2026Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrailscited by 0
  10. 2026Guard Models Are Overconfident Where Base Models Are Uncertaincited by 0
  11. 2026Writerslogic at PAN 2026: Process over Content for Robust Detection under Domain Shiftcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM-Safety Evaluations Lack Robustness
  2. 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomes
  3. 2026RAS: Measuring LLM Safety Through Refusal Alignment
  4. 2025PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
  5. 2026Exploring and Developing a Pre-Model Safeguard with Draft Models
  6. 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
  7. 2025Jailbreaking Attacks vs. Content Safety Filters: How Far Are We in the LLM Safety Arms Race?
  8. 2024Benchmarking LLM Guardrails in Handling Multilingual Toxicity