2025
Multi-Hop RAG QA System Evaluation
Evaluated multi-hop Retrieval-Augmented Generation pipelines using lexical, dense, hybrid, and reranked retrieval methods together with multiple instruction-tuned LLMs.

Category: Natural Language Processing, Information Retrieval
Overview
Implemented and evaluated a Retrieval-Augmented Generation (RAG) system for multi-hop factoid question answering across a 609-document corpus and 2,556 queries, comparing retrieval strategies and downstream language models to improve answer relevance and factual consistency.
Project overview
What I Built
- Implemented a two-stage experimental pipeline covering retrieval evaluation and downstream RAG answer generation
- Compared six retrieval variants including BM25 sparse retrieval, dense bi-encoder retrieval, hybrid sparse-dense fusion, and cross-encoder reranking
- Integrated top-ranked retrieval outputs with four instruction-tuned 7B language models: Falcon, Dolphin, Qwen2, and Mistral
- Evaluated retrieval performance using Hits@10, MAP@10, MRR@10, and NDCG@10
- Evaluated answer generation quality using Precision, Recall, F1, and ROUGE-L
- Analyzed how retrieval quality and LLM behavior interact across inference, comparison, and temporal query types
Tech Stack
Python, BM25, Sentence Transformers, Cross-Encoder Reranking, PyTorch, scikit-learn, Hugging Face Transformers
Outcome
Dense retrieval methods substantially outperformed the BM25 baseline on multi-hop queries, with Rankers E and F achieving the strongest retrieval performance. In the generation stage, the Falcon/F pipeline achieved the best overall balance, reaching F1 = 0.28 and ROUGE-L = 0.29, showing that stronger semantic retrieval and instruction-tuned generation together improved answer quality for multi-hop QA.