Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model
Not on the map. Why?
Abstract (arXiv)
Existing approaches for Large language model (LLM) detoxification generally rely on training on large-scale non-toxic or human-annotated preference data, designing prompts to instruct the LLM to generate safe content, or modifying the model parameters to remove toxic information, which are computationally expensive, lack robustness, and often compromise LLMs' fluency and contextual understanding. In this paper, we propose a simple yet effective approach for LLM detoxification, which leverages a compact, pre-trained calibration model that guides the detoxification process of a target LLM via a lightweight intervention in its generation pipeline. By learning a detoxified embedding space from non-toxic data, the calibration model effectively steers the LLM away from generating harmful content. This approach only requires a one-time training of the calibration model that is able to be seamlessly applied to multiple LLMs without compromising fluency or contextual understanding. Experiment results on the benchmark dataset demonstrate that our approach reduces toxicity while maintaining reasonable content expression.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 43 references that are in the map. First posted on arXiv 2 Jun 2025.
Builds on
30 of 43 references.
References · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2018Deep contextualized word representationscited by 2,290
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
18 more
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2022Quark: Controllable Text Generation with Reinforced Unlearningcited by 237
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
- 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 68
- 2024Spectral Editing of Activations for Large Language Model Alignmentcited by 56
- 2023Chat Vector: A Simple Approach to Equip LLMs with Instruction Following and Model Alignment in New Languagescited by 54
- 2023Self-Detoxifying Language Models via Toxification Reversalcited by 46
- 2023ChiMed-GPT: A Chinese Medical Large Language Model with Full Training Regime and Better Alignment to Human Preferencescited by 43
- 2024Model Editing as a Robust and Denoised variant of DPO: A Case Study on Toxicitycited by 35
- 2021ZEN 2.0: Continue Training and Adaption for N-gram Enhanced Text Encoderscited by 22
- 2024Parameter-Efficient Detoxification with Contrastive Decodingcited by 18
- 2025Position: Editing Large Language Models Poses Serious Safety Riskscited by 15
- 2018hyperdoc2vec: Distributed Representations of Hypertext Documentscited by 12
- 2024Taiyi-Diffusion-XL: Advancing Bilingual Text-to-Image Generation with Large Vision-Language Model Supportcited by 11
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Large Language Models can be Strong Self-Detoxifiers
- 2025Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing
- 2026Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models
- 2024Detoxifying Large Language Models via Knowledge Editing
- 2025SGM: Safety Glasses for Multimodal Large Language Models via Neuron-Level Detoxification
- 2025Breaking Bad Tokens: Detoxification of LLMs Using Sparse Autoencoders
- 2023Systematic Rectification of Language Models via Dead-end Analysis
- 2025A Data-Centric Approach for Safe and Secure Large Language Models against Threatening and Toxic Content