What is Safety classifier?
In Turkish: Güvenlik sınıflandırıcısı · Topic: Safety and ethics
A small AI model, usually separate from the main model, that decides whether a piece of text, an image or a conversation falls into a harmful category.
How does it work?
A classifier is trained on many examples labeled harmful or harmless. At run time it takes the content and produces a risk score for categories such as violence, hate speech or self-harm. If the score passes a set threshold, the system can block the content, show a warning or route it to human review. Both the user's message and the model's reply can be checked this way. A lower threshold catches more harmful content but also produces more false alarms.
Why does it matter?
Adding a separate checking layer is more robust than trusting the main model to police itself. Classifiers are fast and cheap, so they are common in high-volume systems. Because they can make mistakes, their accuracy and fairness need to be measured continuously.
Example
A chat app can run a model's reply through a classifier before showing it to the user, and block the reply if the classifier judges it harmful.
FAQ
Can a safety classifier make mistakes?
Yes. It can flag harmless content as harmful or miss a real violation. That is why thresholds are tuned and human review is added for critical cases.
Why use a separate model for safety checks?
A separate model works independently of the main one, which makes it harder to trick. It also focuses on a single task, so it is fast and inexpensive, and can be updated even when the main model changes.