arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.20940cs.CL
收藏

利用语言模型生成的对抗样本攻击虚假信息检测

Attacking Misinformation Detection Using Adversarial Examples Generated by Language Models

TALN Group, Universitat Pompeu Fabra(庞培法华大学TALN小组);Institute of Computer Science, Polish Academy of Sciences(波兰科学院计算机科学研究所)

Piotr Przybyła, Euan McGill, Horacio Saggion

AI总结:

该研究提出TREPAT方案,通过大语言模型生成初始改写再分解为小改动经束搜索调整,在查询受限场景下攻击低可信度内容检测算法,在长文本场景表现更优。

摘要:

大语言模型有诸多有益应用,但它们是否也能被用于攻击社交媒体平台的内容过滤算法?我们研究了生成对抗样本以测试检测低可信度内容(包括宣传、虚假声明、谣言和极端党派新闻)的文本分类算法鲁棒性的挑战。我们通过对攻击者允许尝试的查询次数设置现实限制,聚焦于内容审核的模拟。在我们的方案TREPAT中,初始改写由大语言模型生成,所用提示词受文本简化、风格迁移等保义NLP(自然语言处理)任务启发。随后,这些修改被分解为小的改动,通过束搜索过程施加,直到受害分类器改变其决策。我们开展了三项研究:(1) 使用不同提示词、模型和查询限制进行定量评估;(2) 对生成文本进行针对性人工评估;(3) 定性语言学分析。结果证实了我们的方法在受限场景下的优越性,尤其是在长输入文本(新闻文章)的情况下——此时穷举搜索并不可行。

英文摘要:

Large language models have many beneficial applications, but can they also be used to attack content-filtering algorithms in social media platforms? We investigate the challenge of generating adversarial examples to test the robustness of text classification algorithms detecting low-credibility content, including propaganda, false claims, rumours and hyperpartisan news. We focus on simulation of content moderation by setting realistic limits on the number of queries an attacker is allowed to attempt. Within our solution (TREPAT), initial rephrasings are generated by large language models with prompts inspired by meaning-preserving NLP tasks, such as text simplification and style transfer. Subsequently, these modifications are decomposed into small changes, applied through beam search procedure, until the victim classifier changes its decision. We perform (1) quantitative evaluation using various prompts, models and query limits, (2) targeted manual assessment of the generated text and (3) qualitative linguistic analysis. The results confirm the superiority of our approach in the constrained scenario, especially in case of long input text (news articles), where exhaustive search is not feasible.

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

↑