Skip to content

EcoSafeRAG: Efficient Security Protection for Retrieval-Augmented Generation via Context AnalysisEcoSafeRAG: Efficient Security through Context Analysis in Retrieval-Augmented Generation

arXiv· arXiv:2505.13506· Ruobing Yao, Yifei Zhang, Shuang Song, Neng Gao, Chenyang Tu·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

EcoSafeRAG targets corpus poisoning attacks faced by retrieval-augmented generation (RAG), identifying malicious content in candidate documents through sentence-level processing and decoy-guided context diversity detection, without relying on the internal knowledge of large language models. Experiments show its security reaches SOTA, it supports plug-and-play deployment, and it improves RAG performance in clean scenarios. Compared with Vanilla RAG, its relative latency is 1.2× and token consumption is reduced by 48%-80%.

Read originalarxiv.org