Skip to content

ShieldLM: making LLMs aligned, customizable and interpretable safety detectorsShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectors

arXiv· arXiv:2402.16444· Zhexin Zhang, Yida Lu, Jingyuan Ma, Di Zhang, Rui Li, Pei Ke, Hao Sun, Lei Sha, Zhifang Sui, Hongning Wang, Minlie Huang·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The paper proposes an LLM-based safety detector, ShieldLM, which can align with common safety standards, support custom detection rules, and provide judgment explanations. The authors build a bilingual dataset containing 14,387 query-response pairs, annotating response safety according to different safety standards. The authors report that ShieldLM surpasses strong baselines on four test sets and can serve as a safety evaluator for advanced LLMs. The code has been released at https://github.com/thu-coai/ShieldLM。

Related events and news

1 events · 1 news mentions

News that mentions this paper

信工所发布中文AI内容安全防护系统Libra

Read originalarxiv.org