English

LionGuard: Building a Contextualized Moderation Classifier to Tackle Localized Unsafe Content

Computation and Language 2024-07-22 v2 Artificial Intelligence

Abstract

As large language models (LLMs) become increasingly prevalent in a wide variety of applications, concerns about the safety of their outputs have become more significant. Most efforts at safety-tuning or moderation today take on a predominantly Western-centric view of safety, especially for toxic, hateful, or violent speech. In this paper, we describe LionGuard, a Singapore-contextualized moderation classifier that can serve as guardrails against unsafe LLM outputs. When assessed on Singlish data, LionGuard outperforms existing widely-used moderation APIs, which are not finetuned for the Singapore context, by 14% (binary) and up to 51% (multi-label). Our work highlights the benefits of localization for moderation classifiers and presents a practical and scalable approach for low-resource languages.

Keywords

Cite

@article{arxiv.2407.10995,
  title  = {LionGuard: Building a Contextualized Moderation Classifier to Tackle Localized Unsafe Content},
  author = {Jessica Foo and Shaun Khoo},
  journal= {arXiv preprint arXiv:2407.10995},
  year   = {2024}
}

Comments

Preprint

R2 v1 2026-06-28T17:41:45.587Z