LLM Detoxification via Transition-Aware Reward-Guided Representation Sampling
On the map: LLM alignment / RLHF / preference optimisation → Process reward models for reasoning also fits: Reward modeling and RLHF
Abstract (arXiv)
Large Language Models (LLMs) can generate toxic content, motivating effective test-time detoxification. Existing representation steering methods often rely on static or coarse interventions and provide imprecise guidance because they inadequately model transitions between toxic and non-toxic generations. We propose Transition-Aware Reward-Guided Representation Sampling (TARGRS), a test-time framework that learns reward guidance over toxicity transitions in latent representation space. During exploration, progressive steering along the toxicity direction constructs trajectories from non-toxic to toxic states. Toxicity scores along these trajectories turn sparse annotations into dense, listwise supervision for a transition-aware token-level reward model. During inference, TARGRS uses this model to guide coarse-to-fine sampling along the opposite, non-toxic direction: coarse sampling identifies the intervention needed to reach non-toxic regions, and refinement selects a detoxified representation with minimal perturbation. Experiments on 10 LLMs across RealToxicityPrompts, BOLD, and AttaQ show that TARGRS consistently outperforms state-of-the-art baselines, reducing toxicity by up to 69.38% on RealToxicityPrompts. TARGRS runs nearly as fast as the original LLM while preserving its core capabilities with minimal impact. By intervening in the language decoder space, TARGRS also extends to Large Vision-Language Models (LVLMs), reducing toxicity by up to 64.23% across 3 representative LVLMs.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Process reward models for reasoning, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 81 of its 103 references that are in the map. Submitted 30 Oct 2026.
Builds on
81 of 103 references.
References · 81
- 2023GPT-4 Technical Reportcited by 19,416
- 2022Training language models to follow instructions with human feedbackcited by 16,493
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 5,035
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,605
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
- 2023Qwen Technical Reportcited by 3,545
- 2023Mistral 7Bcited by 3,489
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
38 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
- 2024Qwen2 Technical Reportcited by 2,293
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,232
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,617
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,302
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,237
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 822
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 794
- 2023Zephyr: Direct Distillation of LM Alignmentcited by 543
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 541
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 458
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 427
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 394
- 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 372
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 345
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 319
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 263
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 261
- 2023Pretraining Language Models with Human Preferencescited by 256
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 248
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 246
- 2023Do-Not-Answer: A Dataset for Evaluating Safeguards in LLMscited by 205
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 200
- 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 178
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 178
- 2020Recipes for Safety in Open-domain Chatbotscited by 177
- 2024Secrets of RLHF in Large Language Models Part II: Reward Modelingcited by 177
- 2024Scaling Laws for Reward Model Overoptimization in Direct Alignment Algorithmscited by 153
- 2014A Tutorial on Principal Component Analysiscited by 149
- 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 125
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 122
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 110
- 2024ARGS: Alignment as Reward-Guided Searchcited by 105
- 2024LiPO: Listwise Preference Optimization through Learning-to-Rankcited by 104
50 most cited of 81 All 81 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2022Reward Modeling for Mitigating Toxicity in Transformer-based Language Models
- 2025IF-GUIDE: Influence Function-Guided Detoxification of LLMs
- 2024Large Language Models can be Strong Self-Detoxifiers
- 2025Aligned Probing: Relating Toxic Behavior and Model Internals
- 2025Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation
- 2026Test-Time Detoxification without Training or Learning Anything
- 2025Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model
- 2026Where Does Toxicity Live? Mechanistic Localization and Targeted Suppression in Language Models