On the Vulnerability of Applying Retrieval-Augmented Generation within Knowledge-Intensive Application Domains
Department of ECE University of Minnesota(电子工程系明尼苏达大学);Data Science Institute University of Chicago(数据科学研究所芝加哥大学);Carlson School of Management University of Minnesota(卡尔森管理学院明尼苏达大学);Department of Surgery University of Minnesota(外科系明尼苏达大学);Cisco Research(思科研究);School of Statistics University of Minnesota(统计学学院明尼苏达大学)
Xun Xian, Ganghua Wang, Xuan Bi, Jayanth Srinivasa, Ashish Kundu, Charles Fleming, Mingyi Hong, Jie Ding
Retrieval-Augmented Generation (RAG) has been empirically shown to enhance the performance of large language models (LLMs) in knowledge-intensive domains such as healthcare, finance, and legal contexts. Given a query, RAG retrieves relevant documents from a corpus and integrates them into the LLMs' generation process. In this study, we investigate the adversarial robustness of RAG, focusing specifically on examining the retrieval system. First, across 225 different setup combinations of corpus, retriever, query, and targeted information, we show that retrieval systems are vulnerable to universal poisoning attacks in medical Q\&A. In such attacks, adversaries generate poisoned documents containing a broad spectrum of targeted information, such as personally identifiable information. When these poisoned documents are inserted into a corpus, they can be accurately retrieved by any users, as long as attacker-specified queries are used. To understand this vulnerability, we discovered that the deviation from the query's embedding to that of the poisoned document tends to follow a pattern in which the high similarity between the poisoned document and the query is retained, thereby enabling precise retrieval. Based on these findings, we develop a new detection-based defense to ensure the safe use of RAG. Through extensive experiments spanning various Q\&A domains, we observed that our proposed method consistently achieves excellent detection rates in nearly all cases.
ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection
School of Automation, Guangdong University of Technology(广东科技大學自動化學院);College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大學計算機科學與技術學院);School of Cyberspace Science and Technology, Beijing Jiaotong University(北京交通大學網絡空間科學與技術學院);School of Computer Science and Technology, Guangdong University of Technology(廣東科技大學計算機科學與技術學院);College of Computing and Data Science, Nanyang Technological University(南洋理工大學計算與數據科學學院)
SecureRAG-RTL: A Retrieval-Augmented, Multi-Agent, Zero-Shot LLM-Driven Framework for Hardware Vulnerability Detection
School of Computing, Wichita State University(计算机科学学院,威斯康星州立大学);Department of Electrical and Computer Engineering, Auburn University(电气与计算机工程系,阿伯茨兰大学);IBM
LSDTs: LLM-Augmented Semantic Digital Twins for Adaptive Knowledge-Intensive Infrastructure Planning
Department of Civil & Environmental Engineering, University of Maryland, College Park(大学公园马里兰大学土木与环境工程系);Center for Urban Science and Progress, New York University(纽约大学城市科学与进步中心);Department of Computer Science, University of Alabama(阿拉巴马大学计算机科学系);School of Information, University of South Florida(佛罗里达州立大学信息学院)
SafeRAG: Benchmarking Security in Retrieval-Augmented Generation of Large Language Model
School of Information, Renmin University of China(中国人民大学信息学院);Institute for Advanced Algorithms Research(高级算法研究院);School of Artificial Intelligence, Beihang University(北京航空航天大学人工智能学院)
LProtector: An LLM-driven Vulnerability Detection System
University of Pennsylvania(宾夕法尼亚大学);University of Electronic Science & Technology of China(电子科技大学);Texas A&M University(德克萨斯农工大学);Georgetown University(乔治城大学);Northern Arizona University(北亚利桑那大学);LG Energy Solution (Nanjing) Co., Ltd(LG新能源(南京)有限公司)
Learning to Deceive Knowledge Graph Augmented Models via Targeted Perturbation
Indian Institute of Technology, Delhi(印度理工学院德里分校);University of Southern California(南加州大学);Adobe Research(Adobe研究院);Indian Institute of Technology, Kharagpur(印度理工学院卡拉格普尔分校);Tsinghua University(清华大学)
RAG-CT: Mitigating Privacy Risks on Retrieval-Augmented Generation Systems via Scanning Prompt Distribution
University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校);City University of Hong Kong(香港城市大学);Virginia Tech(弗吉尼亚理工大学);University of South Florida(南佛罗里达大学);Rochester Institute of Technology(罗切斯特理工学院)
CLNX: Bridging Code and Natural Language for C/C++ Vulnerability-Contributing Commits Identification
School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间科学与工程学院);Hubei Key Laboratory of Distributed System Security(湖北省分布式系统安全重点实验室);Hubei Engineering Research Center on Big Data Security(湖北省大数据安全工程研究中心)
Enhancing Vulnerability Reports with Automated and Augmented Description Summarization
Department of Computer Science at the University of Central Florida(佛罗里达中央大学计算机科学系);Department of Computer Science at Northeastern Illinois University(北伊利诺伊大学计算机科学系);Department of Computer Science at Qatar University(卡塔尔大学计算机科学系);Ewha Womans University(成均馆大学)
Analysis of LLM Vulnerability to GPU Soft Errors: An Instruction-Level Fault Injection Study
School of Computer Science (National Pilot Software Engineering School), Beijing University of Posts and Telecommunications(计算机学院(国家试点软件工程学院),北京邮电大学);State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(处理器国家重点实验室,中国科学院计算技术研究所)
ORACAL: A Robust and Explainable Multimodal Framework for Smart Contract Vulnerability Detection with Causal Graph Enrichment
Information Security Lab, University of Information Technology(信息安全部,信息科技大学);Vietnam National University(越南国家大学);School of Computer Science and Information Technology, Adelaide University(计算机科学与信息技术学院,阿德莱德大学)