arXiv Science⌕ Search

arXiv subjects

Luping Wei

Publications and source records attributed to Luping Wei.

3 recordsLinked to original sources

ShieldRAG: A Robust RAG Defense Framework Against Complex Corpus-Poisoning Attacks

Retrieval-augmented generation (RAG) improves the factuality of language models by grounding their responses in external knowledge, but it also exposes them to corpus poisoning attacks. Existing defenses are mainly designed for individual poisoning methods. Because these defenses rely heavily on the initially retrieved documents, they remain vulnerable to complex poisoning that combines multiple attack methods. To systematically evaluate defenses against such complex poisoning, we introduce a mixed-poisoning evaluation framework that incorporates both retrieval-oriented and generation-oriented attack methods. We further propose ShieldRAG, a defense framework against complex corpus poisoning attacks. ShieldRAG first filters pseudo-relevant documents from the initially retrieved documents and generates candidate answers independently using each retained document as context. It then constructs candidate-specific queries from these answers and retrieves additional documents from different perspectives. Finally, ShieldRAG uses the language model to filter conflicting and unsupported information from the retrieved documents and construct verification evidence. The language model analyzes this evidence together with its internal knowledge to generate the final response. Extensive experiments demonstrate that ShieldRAG achieves competitive robustness against both single-method poisoning attacks and complex mixed poisoning involving multiple attack methods.

cs.IR↗

SentAttack: A Sentence-Level Black-Box Adversarial Attack Method for Dense Retrieval Models

Retrieval-Augmented Generation (RAG) systems typically consist of a dense retrieval (DR) model for initial retrieval and a neural ranking model (NRM) for re-ranking.Existing robustness studies in RAG mainly focus on NRMs, while adversarial attacks on DR models are mostly limited to word-level perturbations.For low-ranked target documents that are irrelevant to the query, simple word-level attacks are insufficient to mislead DR models into substantially promoting their rankings.To solve these problems, we propose SentAttack, a sentence-level black-box adversarial attack method for DR models.SentAttack is designed as a two-stage method.In the first stage, SentAttack interacts with the black-box RAG system via iterative retrieval to collect ranked documents and ranking information for training a surrogate DR model.In the second stage, SentAttack uses the surrogate DR model to encode and cluster documents relevant to the target query, yielding multiple cluster centroids.These centroids are concatenated with the target document at the sentence level to form an initial set of adversarial candidates.SentAttack then optimizes these candidates using a query- and centroid-guided objective combined with gradient-guided beam search.Extensive experiments demonstrate that SentAttack outperforms existing adversarial attacks on DR models, with especially strong performance on low-ranked target documents.

cs.IR↗

Rethinking Backdoor Adversarial Unlearning through the Lens of Catastrophic Forgetting in Continual Learning

Existing studies reveal that current backdoor defenses exhibit limited robustness and often fail against specific types of attacks. More concerningly, prevailing safety tuning strategies tend to provide only superficial safety protection, as they fall short of completely eliminating the backdoor effects. In this work, we present a novel formulation of backdoor learning and unlearning as a sequential, three-stage process from a continual learning perspective. Within this framework, we formally define complete backdoor unlearning and further derive the necessary conditions for achieving it based on the mechanism of catastrophic forgetting. Guided by these insights, we propose Blind Inversion-Backdoor Adversarial Unlearning (BI-BAU), which formulates the generation of adversarial examples satisfying the unlearning conditions as a blind inversion problem. We solve this by integrating the bi-level optimization process of adversarial training into an Expectation-Maximization (EM) algorithm framework to optimize the maximum a posteriori (MAP) objective. Furthermore, BI-BAU is extended to untargeted adversarial scenarios with unknown target classes, as well as to multi-modal contrastive learning tasks, enhancing its applicability to real-world deployment scenarios where pre-trained models may be compromised. Extensive experiments demonstrate that our method exhibits general applicability across a wide spectrum of backdoor attacks and can effectively and thoroughly eliminate the backdoor effects from a backdoor model.

cs.LG↗