arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.12882cs.CLcs.LG
收藏

DAPI:用于细粒度去毒的领域自适应毒性探针向量干预

DAPI: Domain Adaptive Toxicity Probe Vector Intervention for Fine-Grained Detoxification

SungKyunKwan University(成均馆大学)

Cho Hyeonsu, Dooyoung Kim, Youngjoong Ko

AI总结:

针对单一毒性探针向量难以处理细粒度毒性子类别的问题,提出按类别训练、按上下文动态选择并缩放减去探针向量的DAPI方法,在保持流畅度的同时显著降低毒性。

摘要:

已有研究尝试利用线性探针进行去毒,现有工作依赖单一毒性探针向量来降低毒性。然而,毒性可以细分为多种不同的子类别,这使得使用单一毒性探针向量难以去除某些类型的毒性。为解决这一局限,我们提出了一种类别特定的毒性探针向量方法。首先,我们针对不同毒性类别训练多个毒性探针向量。在生成过程中,我们根据当前上下文动态选择最相关的毒性探针向量。最后,对所选向量进行动态缩放,并从模型中将其减去。我们的方法成功缓解了单一探针向量方法无法去毒的类别中的毒性。实验表明,我们的方法在评估数据集上实现了高达78.52%的毒性降低,同时流畅度几乎保持不变,与未施加引导的模型相比仅下降0.052%。

英文摘要:

There have been attempts to utilize linear probe for detoxification, with existing studies relying on a single toxicity probe vector to reduce toxicity. However, toxicity can be fine-grained into various subcategories, making it difficult to remove certain types of toxicity by using a single toxicity probe vector. To address this limitation, we propose a category-specific toxicity probe vector approach. First, we train multiple toxicity probe vectors for different toxicity categories. During generation, we dynamically select the most relevant toxicity probe vector based on the current context. Finally, the selected vector is dynamically scaled and subtracted from model. Our method successfully mitigated toxicity from categories that the single probe vector approach failed to detoxify. Experiments demonstrate that our approach achieves up to a 78.52% reduction in toxicity on the evaluation dataset, while fluency remains nearly unchanged, with only a 0.052% drop compared to the unsteered model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑