Högskolan i Skövde

his.sePublikationer
Driftinformation
Ett driftavbrott i samband med versionsuppdatering är planerat till 17/11-2026, kl 12.00-13.00. Under den tidsperioden kommer DiVA inte att vara tillgängligt.
Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Evaluating Retrieval Strategies for Domain-Specific RAG Systems through Automated Metrics and Human-Centered User Study
Högskolan i Skövde, Institutionen för informationsteknologi.
2025 (Engelska)Självständigt arbete på avancerad nivå (magisterexamen), 10 poäng / 15 hpStudentuppsats (Examensarbete)
Abstract [en]

Retrieval-Augmented Generation (RAG) has emerged as a promising paradigm for enhancing the factuality and contextual relevance of large language model (LLM) outputs, particularly in enterprise applications such as help-desk automation. This thesis evaluates three retrieval strategies—sparse (BM25), dense (SBERT + FAISS), and hybrid (Reciprocal Rank Fusion)—combined with two open-source LLMs, Mistral-7B-Instruct and LLaMA-2-7B-Chat, to assess their performance in a domain-specific customer support scenario. Using the Doc2Dial dataset, we implement a RAG pipeline and assess model outputs using both automated metrics (Hit@K, nDCG@K, ROUGE-L, BERTScore, Cosine Similarity) and human evaluations across multiple dimensions (factuality, relevance, clarity, and completeness). Results show that dense and hybrid retrievers outperform sparse retrieval in both retrieval and generation quality, and Mistral-7B exhibits slightly stronger performance in human-rated clarity and completeness. A Pearson correlation analysis reveals that ROUGE-L aligns more closely with human judgment compared to other automated metrics. The thesis highlights the limitations of relying solely on automatic metrics and underscores the importance of qualitative human evaluation in enterprise-oriented RAG systems. Future work can explore more diverse domains, retrieval architectures, and fine-tuning strategies to further improve response quality and contextual grounding.

Ort, förlag, år, upplaga, sidor
2025. , s. 62
Nyckelord [en]
Retrieval-Augmented Generation (RAG); Sparse Retrieval (BM25); Dense Retrieval (SBERT, FAISS); Hybrid Retrieval (Reciprocal Rank Fusion); Large Language Models (LLaMA-2-7B, Mistral-7B); Evaluation Metrics (Hit@K, MRR, nDCG, ROUGE-L, BERTScore, Cosine Similarity); Human Evaluation; Doc2Dial; Enterprise Help-Desk; Conversational AI
Nationell ämneskategori
Datavetenskap (datalogi)
Identifikatorer
URN: urn:nbn:se:his:diva-25873OAI: oai:DiVA.org:his-25873DiVA, id: diva2:2002399
Ämne / kurs
Informationsteknologi
Utbildningsprogram
Data Science - magisterprogram, 60 hp
Handledare
Examinatorer
Tillgänglig från: 2025-09-30 Skapad: 2025-09-30 Senast uppdaterad: 2025-09-30Bibliografiskt granskad

Open Access i DiVA

fulltext(1700 kB)933 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 1700 kBChecksumma SHA-512
89a66c20af8a6b7762d0279ef8c9bbca62f28f52d87424d7223a4a328c7aafb219c5d84a931c1eac17ecd09a84e346802d6025bed91fff23cf58bdb3cc18a3e9
Typ fulltextMimetyp application/pdf

Av organisationen
Institutionen för informationsteknologi
Datavetenskap (datalogi)

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 937 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

urn-nbn

Altmetricpoäng

urn-nbn
Totalt: 3768 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf