PL-Guard: Benchmarking Language Model Safety for Polish

Despite increasing efforts to ensure the safety of large language models (LLMs), most existing safety assessments and moderation tools remain heavily biased toward English and other high-resource languages, leaving majority of global languages underexamined.To address this gap, we introduce a manually annotated benchmark dataset for language model safety classification in Polish.We also create adversarially perturbed variants of these samples designed to challenge model robustness.We conduct a series of experiments to evaluate LLM-based and classifier-based models of varying sizes and architectures.Specifically, we fine-tune three models: Llama-Guard-3-8B, a HerBERT-based classifier (a Polish BERT derivative), and PLLuM, a Polishadapted Llama-8B model.We train these models using different combinations of annotated data and evaluate their performance, comparing it against publicly available guard models.Results demonstrate that the HerBERT-based classifier achieves the highest overall performance, particularly under adversarial conditions.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.bsnlp-1.4
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PL-Guard: Benchmarking Language Model Safety for Polish

Wojciech Kusa, Karolina Seweryn, Szymon Łukasik, Aleksandra Krasnodębska
Natural Language Processing Techniques
article

PL-Guard: Benchmarking Language Model Safety for Polish

Wojciech Kusa, Karolina Seweryn, Szymon Łukasik, Aleksandra Krasnodębska
article en

Abstract

Despite increasing efforts to ensure the safety of large language models (LLMs), most existing safety assessments and moderation tools remain heavily biased toward English and other high-resource languages, leaving majority of global languages underexamined.To address this gap, we introduce a manually annotated benchmark dataset for language model safety classification in Polish.We also create adversarially perturbed variants of these samples designed to challenge model robustness.We conduct a series of experiments to evaluate LLM-based and classifier-based models of varying sizes and architectures.Specifically, we fine-tune three models: Llama-Guard-3-8B, a HerBERT-based classifier (a Polish BERT derivative), and PLLuM, a Polishadapted Llama-8B model.We train these models using different combinations of annotated data and evaluate their performance, comparing it against publicly available guard models.Results demonstrate that the HerBERT-based classifier achieves the highest overall performance, particularly under adversarial conditions.

Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.