paper-with-me

홈 › Papers

Certifiably Robust RAG against Retrieval Corruption

2024-05-24 · Chong Xiang, Tong Wu, Zexuan Zhong, David Wagner, Danqi Chen, Prateek Mittal

Retrieval-augmented generation (RAG) has been shown vulnerable to retrieval corruption attacks: an attacker can inject malicious passages into retrieval results to induce inaccurate responses. In this paper, we propose RobustRAG as the first defense framework against retrieval corruption attacks. The key insight of RobustRAG is an isolate-then-aggregate strategy: we get LLM responses from each passage in isolation and then securely aggregate these isolated responses. To instantiate RobustRAG, we design keyword-based and decoding-based algorithms for securely aggregating unstructured text responses. Notably, RobustRAG can achieve certifiable robustness: we can formally prove and certify that, for certain queries, RobustRAG can always return accurate responses, even when the attacker has full knowledge of our defense and can arbitrarily inject a small number of malicious passages. We evaluate RobustRAG on open-domain QA and long-form text generation datasets and demonstrate its effectiveness and generalizability across various tasks and datasets.

📄 PDF Abstract BibTeX arXiv:2405.15556

Code (1)

inspire-group/RobustRAG pytorch

Tasks

RAGRetrievalRetrieval-augmented GenerationText Generation

Similar Papers 제목 키워드 기반

Benchmarking Robustness of Text-Image Composed Retrieval

2023-11-24 · Shitong Sun, Jindong Gu, Shaogang Gong

Text-image composed retrieval aims to retrieve the target image through the composed query, which is specified in the form of an image plus some text that describes desired modifications to the input image. It has recent…

AttributeBenchmarkingDiagnosticRetrieval

Certified Adversarial Defenses Meet Out-of-Distribution Corruptions: Benchmarking Robustness and Simple Baselines

2021-12-01 · Jiachen Sun, Akshay Mehra, Bhavya Kailkhura, Pin-Yu Chen 외

Certified robustness guarantee gauges a model's robustness to test-time attacks and can assess the model's readiness for deployment in the real world. In this work, we critically examine how the adversarial robustness gu…

Adversarial RobustnessBenchmarkingData Augmentation

Degradation Attacks on Certifiably Robust Neural Networks

2021-09-29 · Klas Leino, Chi Zhang, Ravi Mangal, Matt Fredrikson 외

Certifiably robust neural networks employ provable run-time defenses against adversarial examples by checking if the model is locally robust at the input under evaluation. We show through examples and experiments that th…

valid

CRFL: Certifiably Robust Federated Learning against Backdoor Attacks

2021-06-15 · Chulin Xie, Minghao Chen, Pin-Yu Chen, Bo Li

Federated Learning (FL) as a distributed learning paradigm that aggregates information from diverse clients to train a shared global model, has demonstrated great success. However, malicious clients can perform poisoning…

Federated Learning

SoK: Certified Robustness for Deep Neural Networks

2020-09-09 · Linyi Li, Tao Xie, Bo Li

Great advances in deep neural networks (DNNs) have led to state-of-the-art performance on a wide range of tasks. However, recent studies have shown that DNNs are vulnerable to adversarial attacks, which have brought grea…

Autonomous Driving