Skip to content
conftrace_
2024 EMNLP EMNLP 2024

SLM as Guardian: Pioneering AI Safety with Small Language Model

AbstractMost prior safety research of large language models (LLMs) has focused on enhancing the alignment of LLMs to better suit the safety requirements of their use cases. However, internalizing such safeguard features into larger models brought challenges of higher training cost and unintended degradation of helpfulness. In this paper, we leverage a smaller LLM for both harmful query detection and safeguard response generation. We introduce our safety requirements and the taxonomy of harmfulness categories, and then propose a multi-task learning mechanism fusing the two tasks into a single model. We demonstrate the effectiveness of our approach, providing on par or surpassing harmful query detection and safeguard response performance compared to the publicly available LLMs.

🐣 Hot Topic Early Bird - harmful content detection

More from EMNLP 2024

All EMNLP 2024 papers →