Evidence Hub

Optimizing Retrieval-Augmented Generation for Privacy-Preserving Local Cognitive Agents Using Small Language Models

Parjane S

2026

Abstract

Abstract The increasing adoption of Large Language Models (LLMs) has enabled advanced language understanding, knowledge retrieval, reasoning, and intelligent decision-making. However, cloud-centric language processing introduces concerns related to data privacy, network dependency, communication latency, and computational cost. Small Language Models (SLMs) provide a promising alternative for local inference, but their limited computational capacity and reduced contextual knowledge create additional challenges for knowledge-intensive applications. Retrieval-Augmented Generation (RAG) addresses these limitations by combining language generation with externally retrieved knowledge. Nevertheless, conventional RAG pipelines are not necessarily optimized for resource-constrained local SLM deployment. Embedding selection, document chunking, vector indexing, retrieval depth, context construction, and inference latency can significantly influence the overall performance of a local RAG system. This research proposes and implements an optimization-oriented RAG framework, FRIDAY (Fast Retrieval-Integrated Digital Assistant for You), for privacy-preserving local cognitive agents using Small Language Models. The methodology investigates embedding optimization, document preprocessing, semantic retrieval, vector database indexing, retrieval parameter selection, context optimization, privacy- aware guardrails, and local SLM inference. A working prototype was implemented and evaluated using…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free