Retrieval-Augmented Generation for Domain-Specific Question Answering: A Case Study on Pittsburgh and CMU

Haojia Sun, Yaqi Wang, Shuting Zhang
11/20/2024
cs.LGcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

We designed a Retrieval-Augmented Generation (RAG) system to provide large language models with relevant documents for answering domain-specific questions about Pittsburgh and Carnegie Mellon University (CMU). We extracted over 1,800 subpages using a greedy scraping strategy and employed a hybrid annotation process, combining manual and Mistral-generated question-answer pairs, achieving an inter-annotator agreement (IAA) score of 0.7625. Our RAG framework integrates BM25 and FAISS retrievers, enhanced with a reranker for improved document retrieval accuracy. Experimental results show that the RAG system significantly outperforms a non-RAG baseline, particularly in time-sensitive and complex queries, with an F1 score improvement from 5.45% to 42.21% and recall of 56.18%. This study demonstrates the potential of RAG systems in enhancing answer precision and relevance, while identifying areas for further optimization in document retrieval and model training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2024retrievalaugmented,
  title  = {Retrieval-Augmented Generation for Domain-Specific Question Answering: A Case Study on Pittsburgh and CMU},
  author = {Haojia Sun and Yaqi Wang and Shuting Zhang},
  year   = {2024},
  eprint = {2411.13691},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13691v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.13691.svg)](https://codeofpaper.com/paper/2411.13691)

Discussion