mlsanityData to 7 Oct 2026

Debiasing Text Safety Classifiers through a Fairness-Aware Ensemble

arXiv 2409.13705 ↗First posted 5 Sep 2024cs.CL cs.AI cs.LGcited by 2

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

Abstract (arXiv)

Increasing use of large language models (LLMs) demand performant guardrails to ensure the safety of inputs and outputs of LLMs. When these safeguards are trained on imbalanced data, they can learn the societal biases. We present a light-weight, post-processing method for mitigating counterfactual fairness in closed-source text safety classifiers. Our approach involves building an ensemble that not only outperforms the input classifiers and policy-aligns them, but also acts as a debiasing regularizer. We introduce two threshold-agnostic metrics to assess the counterfactual fairness of a model, and demonstrate how combining these metrics with Fair Data Reweighting (FDW) helps mitigate biases. We create an expanded Open AI dataset, and a new templated LLM-generated dataset based on user-prompts, both of which are counterfactually balanced across identity groups and cover four key areas of safety; we will work towards publicly releasing these datasets. Our results show that our approach improves counterfactual fairness with minimal impact on model performance.

Key facts. Cited by 2 papers 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 19 of its 41 references that are in the map. First posted on arXiv 5 Sep 2024.

Builds on

19 of 41 references.

References · 19

  1. 2016Equality of Opportunity in Supervised Learningcited by 2,000
  2. 2023PaLM 2 Technical Reportcited by 1,154
  3. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  4. 2017Counterfactual Fairnesscited by 802
  5. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
  6. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
  7. 2017MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks on Corrupted Labelscited by 652
  8. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  9. 2018Gender Bias in Coreference Resolutioncited by 438
  10. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  11. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
  12. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 213
7 more
  1. 2018Counterfactual Fairness in Text Classification through Robustnesscited by 150
  2. 2020Toxicity Detection: Does Context Really Matter?cited by 93
  3. 2023AART: AI-Assisted Red-Teaming with Diverse Data Generation for New LLM-powered Applicationscited by 53
  4. 2023FRAPPE: A Group Fairness Framework for Post-Processing Everythingcited by 16
  5. 2020FAIR: Fair Adversarial Instance Re-weightingcited by 15
  6. 2020Beyond Individual and Group Fairnesscited by 13
  7. 2024Inducing Group Fairness in Prompt-Based Language Model Decisionscited by 3

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Silenced Biases: The Dark Side LLMs Learned to Refuse
  2. 2026Preserving Fairness and Safety in Quantized LLMs Through Critical Weight Protection
  3. 2024Few-Shot Fairness: Unveiling LLM's Potential for Fairness-Aware Classification
  4. 2025Structured Reasoning for Fairness: A Multi-Agent Approach to Bias Detection in Textual Data
  5. 2025BiasFilter: An Inference-Time Debiasing Framework for Large Language Models
  6. 2025BiasGuard: A Reasoning-enhanced Bias Detection Tool For Large Language Models
  7. 2025SafeTuneBed: A Toolkit for Benchmarking LLM Safety Alignment in Fine-Tuning
  8. 2026HaloGuard 1.0: An Open Weights Constitutional Classifier for Multilingual AI Safety