mlsanityData to 24 Nov 2026

LLM Detoxification via Transition-Aware Reward-Guided Representation Sampling

arXiv 2610.41165 ↗Submitted 30 Oct 2026cs.AIcited by 0

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

  1. 2023GPT-4 Technical Reportcited by 19,416
  2. 2022Training language models to follow instructions with human feedbackcited by 16,493
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 5,035
  7. 2023Improved Baselines with Visual Instruction Tuningcited by 4,605
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
  9. 2023Qwen Technical Reportcited by 3,545
  10. 2023Mistral 7Bcited by 3,489
  11. 2016Pointer Sentinel Mixture Modelscited by 3,344
  12. 2022Locating and Editing Factual Associations in GPTcited by 2,951
38 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
  2. 2024Qwen2 Technical Reportcited by 2,293
  3. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
  4. 2019Fine-Tuning Language Models from Human Preferencescited by 2,232
  5. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,617
  6. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
  7. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
  8. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,302
  9. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
  10. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,237
  11. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 822
  12. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 794
  13. 2023Zephyr: Direct Distillation of LM Alignmentcited by 543
  14. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 541
  15. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 458
  16. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 427
  17. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 394
  18. 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 372
  19. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 345
  20. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 319
  21. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 263
  22. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 261
  23. 2023Pretraining Language Models with Human Preferencescited by 256
  24. 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 248
  25. 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 246
  26. 2023Do-Not-Answer: A Dataset for Evaluating Safeguards in LLMscited by 205
  27. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 200
  28. 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 178
  29. 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 178
  30. 2020Recipes for Safety in Open-domain Chatbotscited by 177
  31. 2024Secrets of RLHF in Large Language Models Part II: Reward Modelingcited by 177
  32. 2024Scaling Laws for Reward Model Overoptimization in Direct Alignment Algorithmscited by 153
  33. 2014A Tutorial on Principal Component Analysiscited by 149
  34. 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 125
  35. 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 122
  36. 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 110
  37. 2024ARGS: Alignment as Reward-Guided Searchcited by 105
  38. 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

  1. 2022Reward Modeling for Mitigating Toxicity in Transformer-based Language Models
  2. 2025IF-GUIDE: Influence Function-Guided Detoxification of LLMs
  3. 2024Large Language Models can be Strong Self-Detoxifiers
  4. 2025Aligned Probing: Relating Toxic Behavior and Model Internals
  5. 2025Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation
  6. 2026Test-Time Detoxification without Training or Learning Anything
  7. 2025Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model
  8. 2026Where Does Toxicity Live? Mechanistic Localization and Targeted Suppression in Language Models