arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.04050cs.CLcs.AI
收藏

基于可解释性的token替换在LLM生成文本中

Explainability-Based Token Replacement on LLM-Generated Text

Department of Methodology and Statistics, Utrecht University(方法论与统计学系,乌得勒支大学)

Hadi Mohammadi, Anastasia Giachanou, Daniel L. Oberski, Ayoub Bagheri

AI总结:

本文提出基于可解释性的token替换方法,通过集成分类器和SHAP/LIME技术,降低AI生成文本的可检测性,同时强调多模型策略在对抗token操纵中的有效性。

摘要:

生成模型,特别是大型语言模型(LLMs),在生成看似人类写的文本方面取得了显著进展。然而,它们往往表现出使输出比人类写作更容易被检测出的模式。在本文中,我们研究了如何利用可解释人工智能(XAI)方法来减少AI生成文本(AIGT)的可检测性,同时引入一种稳健的集成检测方法。我们首先训练了一个集成分类器来区分AIGT和人类写作的文本,然后应用SHAP和LIME来识别对预测影响最显著的token。我们提出了四种基于可解释性的token替换策略来修改这些影响性token。我们的发现显示,这些token替换方法可以显著降低单个分类器检测AIGT的能力。然而,我们的集成分类器在多种语言和领域中表现出色,表明多模型方法可以缓解token级操纵的影响。这些结果表明,XAI方法可以通过专注于最影响性的token使AIGT更难被检测。同时,它们突显了需要稳健、基于集成的检测策略,以适应隐藏AIGT的演变方法。

英文摘要:

Generative models, especially large language models (LLMs), have shown remarkable progress in producing text that appears human-like. However, they often exhibit patterns that make their output easier to detect than text written by humans. In this paper, we investigate how explainable AI (XAI) methods can be used to reduce the detectability of AI-generated text (AIGT) while also introducing a robust ensemble-based detection approach. We begin by training an ensemble classifier to distinguish AIGT from human-written text, then apply SHAP and LIME to identify tokens that most strongly influence its predictions. We propose four explainability-based token replacement strategies to modify these influential tokens. Our findings show that these token replacement approaches can significantly diminish a single classifier's ability to detect AIGT. However, our ensemble classifier maintains strong performance across multiple languages and domains, showing that a multi-model approach can mitigate the impact of token-level manipulations. These results show that XAI methods can make AIGT harder to detect by focusing on the most influential tokens. At the same time, they highlight the need for robust, ensemble-based detection strategies that can adapt to evolving approaches for hiding AIGT.

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

↑