Efficiency Improvement of RAG based SLM for Edge Devices

dc.contributor.authorAvanigadda, Pavan Prashanth
dc.date.accessioned2026-07-09T07:19:50Z
dc.date.issued2026-06-16
dc.descriptionThis dissertation has been completed under the supervision of Prof. Ujjwal Bhattacharya
dc.description.abstractThe increasing need to deploy language models on constrained devices has given rise to efficiency issues in retrieval-augmented generation (RAG) approaches. Although RAGs boost answers’ quality by retrieving knowledge from external sources, current methods utilize static retrieval mechanisms, resulting in unnecessary computation, higher latencies, and inefficiency in resource usage. In this work, an efficient RAG approach based on small language models (SLMs) is presented, which uses a efficient and adaptive retrieval scheme. This method dynamically changes the retrieval depth and context constrution based on the complexity of the query, using a trained MLP router whose routing decisions are learned from Adaptive-RAG-style oracle labels rather than hand-written rules, leading to a compromise between performance and efficiency. A full pipeline is provided, including dataset preprocessing, corpus generation, embedding construction, vector indexation, retrieval, and answer generation processes. Experiments were performed on HotpotQA bench mark and SQuAD 2.0 datasets, comparing the presented approach with the baseline RAG approach using static retrieval scheme. Experimental results show that the proposed approach lowers the computation cost while providing similar answers’ quality. By adaptively controlling retrieval and context size, the framework provides an effective solution for deploying RAG systems in constrained environments.
dc.identifier.citation60p.
dc.identifier.urihttp://hdl.handle.net/10263/7759
dc.language.isoen
dc.publisherIndian Statistical Institute
dc.relation.ispartofseriesMTech(CS) Dissertation; 2024-26
dc.subjectSmall Language Models
dc.subjectRetrieval Augumented Generation
dc.subjectMulti Layer Perceptron
dc.titleEfficiency Improvement of RAG based SLM for Edge Devices
dc.typeThesis

Files

Original bundle

Now showing 1 - 2 of 2
No Thumbnail Available
Name:
Dissertation-Pavan Prashanth Avanigadda.pdf
Size:
3.37 MB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
Plagiarism_CS2411.pdf
Size:
3.48 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: