Guardado en:
Detalles Bibliográficos
Autores principales: Afzal, Anum, Vladika, Juraj, Fazlija, Gentrit, Staradubets, Andrei, Matthes, Florian
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2411.08438
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916479300009984
author Afzal, Anum
Vladika, Juraj
Fazlija, Gentrit
Staradubets, Andrei
Matthes, Florian
author_facet Afzal, Anum
Vladika, Juraj
Fazlija, Gentrit
Staradubets, Andrei
Matthes, Florian
contents Given the growing trend of many organizations integrating Retrieval Augmented Generation (RAG) into their operations, we assess RAG on domain-specific data and test state-of-the-art models across various optimization techniques. We incorporate four optimizations; Multi-Query, Child-Parent-Retriever, Ensemble Retriever, and In-Context-Learning, to enhance the functionality and performance in the academic domain. We focus on data retrieval, specifically targeting various study programs at a large technical university. We additionally introduce a novel evaluation approach, the RAG Confusion Matrix designed to assess the effectiveness of various configurations within the RAG framework. By exploring the integration of both open-source (e.g., Llama2, Mistral) and closed-source (GPT-3.5 and GPT-4) Large Language Models, we offer valuable insights into the application and optimization of RAG frameworks in domain-specific contexts. Our experiments show a significant performance increase when including multi-query in the retrieval phase.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08438
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
Afzal, Anum
Vladika, Juraj
Fazlija, Gentrit
Staradubets, Andrei
Matthes, Florian
Artificial Intelligence
Given the growing trend of many organizations integrating Retrieval Augmented Generation (RAG) into their operations, we assess RAG on domain-specific data and test state-of-the-art models across various optimization techniques. We incorporate four optimizations; Multi-Query, Child-Parent-Retriever, Ensemble Retriever, and In-Context-Learning, to enhance the functionality and performance in the academic domain. We focus on data retrieval, specifically targeting various study programs at a large technical university. We additionally introduce a novel evaluation approach, the RAG Confusion Matrix designed to assess the effectiveness of various configurations within the RAG framework. By exploring the integration of both open-source (e.g., Llama2, Mistral) and closed-source (GPT-3.5 and GPT-4) Large Language Models, we offer valuable insights into the application and optimization of RAG frameworks in domain-specific contexts. Our experiments show a significant performance increase when including multi-query in the retrieval phase.
title Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
topic Artificial Intelligence
url https://arxiv.org/abs/2411.08438