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

NeuroGenPoisoning: 通过神经引导对抗LLM检索增强生成中的外部知识注入

NeuroGenPoisoning: Neuron-Guided Attacks on Retrieval-Augmented Generation of LLM via Genetic Optimization of External Knowledge

University of Massachusetts Dartmouth(马萨诸塞大学达特茅斯分校);George Mason University(乔治·梅森大学)

Hanyu Zhu, Lance Fiondella, Jiawei Yuan, Kai Zeng, Long Jiao

AI总结:

NeuroGenPoisoning通过神经引导和遗传优化生成对抗性外部知识,有效解决RAG中的知识冲突并提高污染成功率。

摘要:

检索增强生成(RAG)使大语言模型(LLM)能够在推理过程中动态整合外部知识,从而提高其事实准确性和适应性。然而,攻击者可以注入污染的外部知识以覆盖模型的内部记忆。尽管现有攻击方法通过迭代操纵RAG的检索内容或提示结构进行攻击,但它们大多忽略了模型内部表示动态和神经层面的敏感性。RAG污染的内在机制尚未被充分研究,且强参数知识与外部知识之间的冲突影响未被考虑。在本工作中,我们提出NeuroGenPoisoning,一种新的攻击框架,通过LLM内部神经元属性和遗传优化生成对抗性的外部知识。我们的方法首先识别出一组对污染知识敏感的神经元,其激活与上下文污染知识有强相关性。然后,我们采用遗传算法来进化出激活这些神经元的对抗性段落。关键在于,我们的框架能够通过识别和重用有前途但最初不成功的外部知识变体,大规模生成有效的污染RAG知识。同时,由敏感神经元引导的污染可以有效解决知识冲突。在不同模型和数据集上的实验结果表明,一致实现了超过90%的群体覆盖成功率(POSR),同时保持流畅性。实证证据表明,我们的方法有效解决了知识冲突。

英文摘要:

Retrieval-Augmented Generation (RAG) empowers Large Language Models (LLMs) to dynamically integrate external knowledge during inference, improving their factual accuracy and adaptability. However, adversaries can inject poisoned external knowledge to override the model's internal memory. While existing attacks iteratively manipulate retrieval content or prompt structure of RAG, they largely ignore the model's internal representation dynamics and neuron-level sensitivities. The underlying mechanism of RAG poisoning has not been fully studied and the effect of knowledge conflict with strong parametric knowledge in RAG is not considered. In this work, we propose NeuroGenPoisoning, a novel attack framework that generates adversarial external knowledge in RAG guided by LLM internal neuron attribution and genetic optimization. Our method first identifies a set of Poison-Responsive Neurons whose activation strongly correlates with contextual poisoning knowledge. We then employ a genetic algorithm to evolve adversarial passages that maximally activate these neurons. Crucially, our framework enables massive-scale generation of effective poisoned RAG knowledge by identifying and reusing promising but initially unsuccessful external knowledge variants via observed attribution signals. At the same time, Poison-Responsive Neurons guided poisoning can effectively resolves knowledge conflict. Experimental results across models and datasets demonstrate consistently achieving high Population Overwrite Success Rate (POSR) of over 90% while preserving fluency. Empirical evidence shows that our method effectively resolves knowledge conflict.

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

↑