paper-with-me

Papers

Through the Stealth Lens: Rethinking Attacks and Defenses in RAG

2025-06-04 · Sarthak Choudhary, Nils Palumbo, Ashish Hooda, Krishnamurthy Dj Dvijotham, Somesh Jha

Retrieval-augmented generation (RAG) systems are vulnerable to attacks that inject poisoned passages into the retrieved set, even at low corruption rates. We show that existing attacks are not designed to be stealthy, allowing reliable detection and mitigation. We formalize stealth using a distinguishability-based security game. If a few poisoned passages are designed to control the response, they must differentiate themselves from benign ones, inherently compromising stealth. This motivates the need for attackers to rigorously analyze intermediate signals involved in generation$\unicode{x2014}$such as attention patterns or next-token probability distributions$\unicode{x2014}$to avoid easily detectable traces of manipulation. Leveraging attention patterns, we propose a passage-level score$\unicode{x2014}$the Normalized Passage Attention Score$\unicode{x2014}$used by our Attention-Variance Filter algorithm to identify and filter potentially poisoned passages. This method mitigates existing attacks, improving accuracy by up to $\sim 20 \%$ over baseline defenses. To probe the limits of attention-based defenses, we craft stealthier adaptive attacks that obscure such traces, achieving up to $35 \%$ attack success rate, and highlight the challenges in improving stealth.

📄 PDF Abstract BibTeX arXiv:2506.04390

Code (1)

sarthak-choudhary/stealthy_attacks_against_rag 공식 구현 pytorch

Tasks

RAGRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Stealthy Poisoning Attacks Bypass Defenses in Regression Settings

2026-01-29 · Javier Carnerero-Cano, Luis Muñoz-González, Phillippa Spencer, Emil C. Lupu arxiv

Regression models are widely used in industrial processes, engineering, and in natural and physical sciences, yet their robustness to poisoning has received less attention. When it has, studies often assume unrealistic t…

TASER: Task-Aware Spectral Energy Refine for Backdoor Suppression in UAV Swarms Decentralized Federated Learning

2026-03-10 · Sizhe Huang, Shujie Yang arxiv

As backdoor attacks in UAV-based decentralized federated learning (DFL) grow increasingly stealthy and sophisticated, existing defenses have likewise escalated in complexity. Yet these defenses, which rely heavily on out…

Federated LearningOutlier Detection

Towards Backdoor Stealthiness in Model Parameter Space

2025-01-10 · Xiaoyun Xu, Zhuoran Liu, Stefanos Koffas, Stjepan Picek

Recent research on backdoor stealthiness focuses mainly on indistinguishable triggers in input space and inseparable backdoor representations in feature space, aiming to circumvent backdoor defenses that examine these re…

backdoor defensemodel

Improving Robustness Against Stealthy Weight Bit-Flip Attacks by Output Code Matching

2022-01-01 · CVPR 2022 1 · Ozan Özdenizci, Robert Legenstein

Deep neural networks (DNNs) have been shown to be vulnerable against adversarial weight bit-flip attacks through hardware-induced fault-injection methods on the memory systems where network parameters are stored. Rec…

Quantization

C^2 ATTACK: Towards Representation Backdoor on CLIP via Concept Confusion

2025-03-12 · Lijie Hu, Junchi Liao, Weimin Lyu, Shaopeng Fu 외

Backdoor attacks pose a significant threat to deep learning models, enabling adversaries to embed hidden triggers that manipulate the behavior of the model during inference. Traditional backdoor attacks typically rely on…

Backdoor Attack