
handle: 10400.5/96434
This work consists on the development and evaluation of a chatbot that integrates retrieval-augmented generation (RAG) to tackle the issue of hallucination in large language models (LLMs). It begins with an introduction that outlines the evolution of chatbots from simple rule-based systems to advanced models using transformers. Then a detailed history of chatbots, their various categories, and their advantages and disadvantages is provided. It discusses the hallucination problem and introduces the RAG approach, which combines retrieval-based and generative techniques to improve the accuracy and reliability of chatbot responses. The related work section reviews existing literature on methods to mitigate hallucination in LLMs and examines techniques that tackle each stage within the RAG process. Next, a description of the datasets used is given, including the MS MARCO question-answering and passage retrieval datasets, and the ”Guia Tecnico do Alojamento Local.” The preprocessing steps and ´ dataset characteristics are thoroughly explained. The methods chapter outlines the six-phase methodology: data preprocessing, embedding model, vector database, conversational chain, response generation, and interface and deployment. Each phase is elaborated to illustrate the process of constructing the RAG chatbot. The results of the chatbot’s performance are presented using various metrics for retrieval and generation. It presents findings from experiments conducted with the local accommodation dataset and the MS MARCO dataset, demonstrating the chatbot’s enhanced performance due to the RAG approach. Finally, the conclusion summarizes the thesis’ contributions. It also suggests avenues for future research.
Tese de Mestrado, Ciência de Dados, 2024, Universidade de Lisboa, Faculdade de Ciências
Alucinação, Teses de mestrado - 2024, Domínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informação, Geração Aumentada por Recuperação (RAG), Grandes Modelos de Linguagem (LLMs), Robô de conversa
Alucinação, Teses de mestrado - 2024, Domínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informação, Geração Aumentada por Recuperação (RAG), Grandes Modelos de Linguagem (LLMs), Robô de conversa
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
