Saved in:
Bibliographic Details
Main Authors: Zhang, Zhiyao, Mash'Al, Yazan, Wu, Yuhan
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.06700
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912814634893312
author Zhang, Zhiyao
Mash'Al, Yazan
Wu, Yuhan
author_facet Zhang, Zhiyao
Mash'Al, Yazan
Wu, Yuhan
contents In recent years, the advent of the attention mechanism has significantly advanced the field of natural language processing (NLP), revolutionizing text processing and text generation. This has come about through transformer-based decoder-only architectures, which have become ubiquitous in NLP due to their impressive text processing and generation capabilities. Despite these breakthroughs, language models (LMs) remain susceptible to generating undesired outputs: inappropriate, offensive, or otherwise harmful responses. We will collectively refer to these as ``toxic'' outputs. Although methods like reinforcement learning from human feedback (RLHF) have been developed to align model outputs with human values, these safeguards can often be circumvented through carefully crafted prompts. Therefore, this paper examines the extent to which LLMs generate toxic content when prompted, as well as the linguistic factors -- both lexical and syntactic -- that influence the production of such outputs in generative models.
format Preprint
id arxiv_https___arxiv_org_abs_2601_06700
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Characterising Toxicity in Generative Large Language Models
Zhang, Zhiyao
Mash'Al, Yazan
Wu, Yuhan
Computation and Language
Artificial Intelligence
In recent years, the advent of the attention mechanism has significantly advanced the field of natural language processing (NLP), revolutionizing text processing and text generation. This has come about through transformer-based decoder-only architectures, which have become ubiquitous in NLP due to their impressive text processing and generation capabilities. Despite these breakthroughs, language models (LMs) remain susceptible to generating undesired outputs: inappropriate, offensive, or otherwise harmful responses. We will collectively refer to these as ``toxic'' outputs. Although methods like reinforcement learning from human feedback (RLHF) have been developed to align model outputs with human values, these safeguards can often be circumvented through carefully crafted prompts. Therefore, this paper examines the extent to which LLMs generate toxic content when prompted, as well as the linguistic factors -- both lexical and syntactic -- that influence the production of such outputs in generative models.
title Characterising Toxicity in Generative Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2601.06700