ResearchTrend.AI
  • Communities
  • Connect sessions
  • AI calendar
  • Organizations
  • Join Slack
  • Contact Sales
Papers
Communities
Social Events
Terms and Conditions
Pricing
Contact Sales
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2506.04390
180
2

Through the Stealth Lens: Rethinking Attacks and Defenses in RAG

4 June 2025
Sarthak Choudhary
Nils Palumbo
Ashish Hooda
Krishnamurthy Dvijotham
Somesh Jha
ArXiv (abs)PDFHTML
Abstract

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\unicodex2014\unicode{x2014}\unicodex2014such as attention patterns or next-token probability distributions\unicodex2014\unicode{x2014}\unicodex2014to avoid easily detectable traces of manipulation. Leveraging attention patterns, we propose a passage-level score\unicodex2014\unicode{x2014}\unicodex2014the Normalized Passage Attention Score\unicodex2014\unicode{x2014}\unicodex2014used by our Attention-Variance Filter algorithm to identify and filter potentially poisoned passages. This method mitigates existing attacks, improving accuracy by up to ∼20%\sim 20 \%∼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%35 \%35% attack success rate, and highlight the challenges in improving stealth.

View on arXiv
Main:16 Pages
5 Figures
Bibliography:5 Pages
9 Tables
Appendix:5 Pages
Comments on this paper