mlsanityData to 7 Oct 2026

When in Doubt, Cascade: Towards Building Efficient and Capable Guardrails

arXiv 2407.06323 ↗First posted 8 Jul 2024cs.CLcited by 1

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

Abstract (arXiv)

Large language models (LLMs) have convincing performance in a variety of downstream tasks. However, these systems are prone to generating undesirable outputs such as harmful and biased text. In order to remedy such generations, the development of guardrail (or detector) models has gained traction. Motivated by findings from developing a detector for social bias, we adopt the notion of a use-mention distinction - which we identified as the primary source of under-performance in the preliminary versions of our social bias detector. Armed with this information, we describe a fully extensible and reproducible synthetic data generation pipeline which leverages taxonomy-driven instructions to create targeted and labeled data. Using this pipeline, we generate over 300K unique contrastive samples and provide extensive experiments to systematically evaluate performance on a suite of open source datasets. We show that our method achieves competitive performance with a fraction of the cost in compute and offers insight into iteratively developing efficient and capable guardrail models. Warning: This paper contains examples of text which are toxic, biased, and potentially harmful.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 27 of its 37 references that are in the map. First posted on arXiv 8 Jul 2024.

Builds on

27 of 37 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  3. 2020Supervised Contrastive Learningcited by 2,803
  4. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  5. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
  6. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
  7. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  8. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  9. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  10. 2020Classification with Valid and Adaptive Coveragecited by 390
  11. 2020Uncertainty Sets for Image Classifiers using Conformal Predictioncited by 365
  12. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
15 more
  1. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
  2. 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 160
  3. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  4. 2024Synthetic Data (Almost) from Scratch: Generalized Instruction Tuning for Language Modelscited by 99
  5. 2021Human-in-the-Loop for Data Collection: a Multi-Target Counter Narrative Dataset to Fight Online Hate Speechcited by 81
  6. 2022Handling and Presenting Harmful Text in NLP Researchcited by 43
  7. 2021Towards Knowledge-Grounded Counter Narrative Generation for Hate Speechcited by 41
  8. 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarkscited by 31
  9. 2023Beyond Denouncing Hate: Strategies for Countering Implied Biases and Stereotypes in Languagecited by 22
  10. 2024NLP Systems That Can't Tell Use from Mention Censor Counterspeech, but Teaching the Distinction Helpscited by 19
  11. 2023SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Modelscited by 14
  12. 2024Counterspeakers' Perspectives: Unveiling Barriers and AI Needs in the Fight against Online Hatecited by 14
  13. 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitationscited by 10
  14. 2023Neural Architecture Search for Effective Teacher-Student Knowledge Transfer in Language Modelscited by 6
  15. 2024A Multi-Aspect Framework for Counter Narrative Evaluation using Large Language Modelscited by 6

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.