Semi-Supervised Learning for Large Language Models Safety and Content Moderation

Eduard Stefan Dinuta, Iustin Sirbu, Traian Rebedea
12/24/2025
cs.CLcs.AIcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Safety for Large Language Models (LLMs) has been an ongoing research focus since their emergence and is even more relevant nowadays with the increasing capacity of those models. Currently, there are several guardrails in place for all public LLMs and multiple proposed datasets for training safety classifiers. However, training these safety classifiers relies on large quantities of labeled data, which can be problematic to acquire, prone to labeling errors, or often include synthetic data. To address these issues, we suggest a different approach: utilizing semi-supervised learning techniques, which leverage both labeled and unlabeled data, to improve the performance on the safety task. We analyze the improvements that these techniques can offer for both prompts given to Large Language Models and the responses to those requests. Moreover, since augmentation is the central part of semi-supervised algorithms, we demonstrate the importance of using task-specific augmentations, which significantly increase the performance when compared to general-purpose augmentation techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dinuta2025semisupervised,
  title  = {Semi-Supervised Learning for Large Language Models Safety and Content Moderation},
  author = {Eduard Stefan Dinuta and Iustin Sirbu and Traian Rebedea},
  year   = {2025},
  eprint = {2512.21107},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.21107v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.21107.svg)](https://codeofpaper.com/paper/2512.21107)

Discussion