paper-with-me

홈 › Papers

EcoSafeRAG: Efficient Security through Context Analysis in Retrieval-Augmented Generation

2025-05-16 · Ruobing Yao, Yifei Zhang, Shuang Song, Neng Gao, Chenyang Tu

Retrieval-Augmented Generation (RAG) compensates for the static knowledge limitations of Large Language Models (LLMs) by integrating external knowledge, producing responses with enhanced factual correctness and query-specific contextualization. However, it also introduces new attack surfaces such as corpus poisoning at the same time. Most of the existing defense methods rely on the internal knowledge of the model, which conflicts with the design concept of RAG. To bridge the gap, EcoSafeRAG uses sentence-level processing and bait-guided context diversity detection to identify malicious content by analyzing the context diversity of candidate documents without relying on LLM internal knowledge. Experiments show EcoSafeRAG delivers state-of-the-art security with plug-and-play deployment, simultaneously improving clean-scenario RAG performance while maintaining practical operational costs (relatively 1.2$\times$ latency, 48\%-80\% token reduction versus Vanilla RAG).

📄 PDF Abstract BibTeX arXiv:2505.13506

Code (0)

등록된 구현이 없습니다.

Tasks

DiversityRAGRetrievalRetrieval-augmented GenerationSentenceToken Reduction

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
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 Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
WordPiece 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Retrieval-Augmented LLMs for Security Incident Analysis

2026-03-18 · Xavier Cadet, Aditya Vikram Singh, Harsh Mamania, Edward Koh 외 arxiv

Investigating cybersecurity incidents requires collecting and analyzing evidence from multiple log sources, including intrusion detection alerts, network traffic records, and authentication events. This process is labor-…

Intrusion Detection

Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation

2025-10-31 · Arnabh Borah, Md Tanvirul Alam, Nidhi Rastogi arxiv

Security applications are increasingly relying on large language models (LLMs) for cyber threat detection; however, their opaque reasoning often limits trust, particularly in decisions that require domain-specific cybers…

RAG for Effective Supply Chain Security Questionnaire Automation

2024-12-18 · Zaynab Batool Reza, Abdul Rafay Syed, Omer Iqbal, Ethel Mensah 외

In an era where digital security is crucial, efficient processing of security-related inquiries through supply chain security questionnaires is imperative. This paper introduces a novel approach using Natural Language Pr…

ManagementRAGRetrievalRetrieval-augmented Generation

VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management

2025-05-20 · Yuning Jiang, Feiyang Shang, Freedy Tan Wei You, Huilin Wang 외

The dynamic landscape of cybersecurity demands precise and scalable solutions for vulnerability management in heterogeneous systems, where configuration-specific vulnerabilities are often misidentified due to inconsisten…

ManagementRelation ExtractionRetrieval

Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems

2026-06-24 · Balamurugan Palanisamy, G S S Chalapathi, Vikas Hassija, Rajkumar Buyya arxiv

Retrieval-Augmented Generation (RAG) has emerged as a dominant paradigm for enhancing large language models with external knowledge. By coupling retrieval mechanisms with generative models, RAG systems improve factual gr…