Pith. sign in

REVIEW 4 cited by

Self-Detoxifying Language Models via Toxification Reversal

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.09573 v1 pith:JWGPNU35 submitted 2023-10-14 cs.CL

classification cs.CL
keywords generationlanguageachieveapproachattentioncomponentscontentdirection
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Language model detoxification aims to minimize the risk of generating offensive or harmful content in pretrained language models (PLMs) for safer deployment. Existing methods can be roughly categorized as finetuning-based and decoding-based. However, the former is often resource-intensive, while the latter relies on additional components and potentially compromises the generation fluency. In this paper, we propose a more lightweight approach that enables the PLM itself to achieve "self-detoxification". Our method is built upon the observation that prepending a negative steering prompt can effectively induce PLMs to generate toxic content. At the same time, we are inspired by the recent research in the interpretability field, which formulates the evolving contextualized representations within the PLM as an information stream facilitated by the attention layers. Drawing on this idea, we devise a method to identify the toxification direction from the normal generation process to the one prompted with the negative prefix, and then steer the generation to the reversed direction by manipulating the information movement within the attention layers. Experimental results show that our approach, without any fine-tuning or extra components, can achieve comparable performance with state-of-the-art methods.

Discussion (0). Sign in to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Paladin: Defending LLM-enabled Phishing Emails with a New Trigger-Tag Paradigm

    cs.CR 2025-09 conditional novelty 7.0 of 10

    A trigger-tag watermark embedded by fine-tuning lets modified LLMs mark their own phishing outputs for cheap detection.

  2. Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model

    cs.CL 2025-06 conditional novelty 5.0 of 10

    A small calibration model trained on non-toxic text is aligned and fused into the final layer of LLaMA-2-based LLMs, modestly reducing toxicity on RealToxicityPrompts but with mixed perplexity results.

  3. A Survey on Training-free Alignment of Large Language Models

    cs.CL 2025-08 conditional novelty 4.0 of 10

    A survey that catalogs and categorizes training-free LLM alignment methods into pre-decoding, in-decoding, and post-decoding, with a limited experimental comparison on one model.

  4. Self-Anchored Attention Model for Sample-Efficient Classification of Prosocial Text Chat

    cs.CL 2025-06 conditional novelty 4.0 of 10

    A self-anchored attention classifier using the whole training set as anchor features achieves 0.836 AUC for prosocial chat in Call of Duty: Modern Warfare II, 7.9% above the best benchmark.

Pith tools