跳到正文
arXiv cs.AI· Aishan Liu, Yisong Xiao, Xianglong Liu, Yongxin Huang, Siyuan Liang, Zonghao Ying, Yang Qu, Jian Yang, Yaodong Yang, Dacheng Tao·· 1 天前AI 评分31

TARGRS:通过过渡感知奖励引导表征采样实现 LLM 去毒

LLM Detoxification via Transition-Aware Reward-Guided Representation Sampling

AI 导读

研究者提出测试时去毒框架 TARGRS,在潜在表征空间学习毒性过渡的奖励引导,推理时沿无毒方向由粗到细采样,选取扰动最小的去毒表征。在 10 个 LLM 上测试,RealToxicityPrompts 毒性最高降低 69.38%,速度接近原模型且核心能力基本不受影响。该方法还可扩展至大型视觉语言模型,3 个代表性 LVLM 上毒性最高降低 64.23%。

正文 · 原文

View PDF HTML (experimental)

Abstract: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.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.41165 [cs.AI]
  (or arXiv:2610.41165v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.41165

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yisong Xiao [view email]
[v1] Fri, 30 Oct 2026 02:42:27 UTC (2,743 KB)

来源:arXiv cs.AI · arxiv.org