Saved in:
Bibliographic Details
Main Authors: Wang, Cheng, Wang, Yiwei, Cai, Yujun, Hooi, Bryan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.21315
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913762549694464
author Wang, Cheng
Wang, Yiwei
Cai, Yujun
Hooi, Bryan
author_facet Wang, Cheng
Wang, Yiwei
Cai, Yujun
Hooi, Bryan
contents Retrieval-augmented generation (RAG) systems enhance large language models by incorporating external knowledge, addressing issues like outdated internal knowledge and hallucination. However, their reliance on external knowledge bases makes them vulnerable to corpus poisoning attacks, where adversarial passages can be injected to manipulate retrieval results. Existing methods for crafting such passages, such as random token replacement or training inversion models, are often slow and computationally expensive, requiring either access to retriever's gradients or large computational resources. To address these limitations, we propose Dynamic Importance-Guided Genetic Algorithm (DIGA), an efficient black-box method that leverages two key properties of retrievers: insensitivity to token order and bias towards influential tokens. By focusing on these characteristics, DIGA dynamically adjusts its genetic operations to generate effective adversarial passages with significantly reduced time and memory usage. Our experimental evaluation shows that DIGA achieves superior efficiency and scalability compared to existing methods, while maintaining comparable or better attack success rates across multiple datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21315
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Tricking Retrievers with Influential Tokens: An Efficient Black-Box Corpus Poisoning Attack
Wang, Cheng
Wang, Yiwei
Cai, Yujun
Hooi, Bryan
Machine Learning
Cryptography and Security
Retrieval-augmented generation (RAG) systems enhance large language models by incorporating external knowledge, addressing issues like outdated internal knowledge and hallucination. However, their reliance on external knowledge bases makes them vulnerable to corpus poisoning attacks, where adversarial passages can be injected to manipulate retrieval results. Existing methods for crafting such passages, such as random token replacement or training inversion models, are often slow and computationally expensive, requiring either access to retriever's gradients or large computational resources. To address these limitations, we propose Dynamic Importance-Guided Genetic Algorithm (DIGA), an efficient black-box method that leverages two key properties of retrievers: insensitivity to token order and bias towards influential tokens. By focusing on these characteristics, DIGA dynamically adjusts its genetic operations to generate effective adversarial passages with significantly reduced time and memory usage. Our experimental evaluation shows that DIGA achieves superior efficiency and scalability compared to existing methods, while maintaining comparable or better attack success rates across multiple datasets.
title Tricking Retrievers with Influential Tokens: An Efficient Black-Box Corpus Poisoning Attack
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2503.21315