Related Experiment Video
Updated: Jul 2, 2026

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Resource-efficient retrieval-augmented question answering for the Indian Lok Sabha dataset
1Department of Mathematics, School of Advanced Sciences, Vellore Institute of Technology, Vellore, India.
Frontiers in Artificial Intelligence
|July 1, 2026
Summary
This study introduces a resource-efficient Retrieval-Augmented Generation (RAG) framework for legislative records. The system significantly improves factual accuracy and relevance in accessing government documents, outperforming standard models.
Area of Science:
- Natural Language Processing
- Information Retrieval
- Computational Linguistics
Background:
- Legislative records from the Indian Lok Sabha are primarily unstructured PDFs, limiting public access.
- Existing keyword search and general Large Language Models (LLMs) struggle with accuracy and hallucination for these documents.
Purpose of the Study:
- To develop a domain-specific, resource-efficient Retrieval-Augmented Generation (RAG) framework for accessing legislative records.
- To mitigate hallucination risks and improve factual accuracy in information retrieval from unstructured government documents.
Main Methods:
- A RAG framework was implemented using DistilGPT-2 (82M parameters) and FAISS-based semantic retrieval with Sentence-BERT embeddings.
- The pipeline included multi-stage PDF preprocessing, semantic indexing, and context-aware response generation.
- Evaluated on 450 queries, assessing factual accuracy and relevance via human annotators.
Main Results:
- The RAG + DistilGPT-2 framework achieved 94% factual accuracy and a 4.6/5 relevance score.
- Outperformed zero-shot baselines (80% factual accuracy) significantly.
- Maintained an average inference latency of 1,800 ms on standard CPU hardware.
Conclusions:
- Domain-specific retrieval combined with a lightweight generative model effectively reduces hallucination and computational costs.
- The framework offers a scalable, transparent solution for e-governance, not requiring GPU infrastructure.
Related Concept Videos
Retrieval
Retrieval is the process of getting information out of memory storage and back into conscious awareness. This ability is essential for daily tasks like brushing hair and teeth, driving to work, and performing job duties. Retrieval occurs in three ways: recall, recognition, and relearning.
Recall involves accessing information without cues, such as during an essay test, where individuals must retrieve facts and concepts from memory unaided. Another example is remembering the name of a colleague...
Recall involves accessing information without cues, such as during an essay test, where individuals must retrieve facts and concepts from memory unaided. Another example is remembering the name of a colleague...
The Availability Heuristic
A heuristic is a general problem-solving framework (Tversky & Kahneman, 1974). You can think of these as mental shortcuts that are used to solve problems. Different types of heuristics are used in different types of situations, and the impulse to use a heuristic occurs when one of five conditions is met (Pratkanis, 1989):
Optimal Foraging
How animals obtain and eat their food is called foraging behavior. Foraging can include searching for plants and hunting for prey and depends on the species and environment.
Inductive Reasoning
Inductive reasoning is a form of logical thinking that uses related observations to arrive at a general conclusion. It is uncertain and operates in degrees to which the conclusions are credible. As such, inductive arguments can be weak or strong, rather than valid or invalid, and conclusions can be used to formulate testable, falsifiable hypotheses.Inductive reasoning is common in descriptive science. A life scientist makes observations and records them. This data can be qualitative or...