Enhancing Retrieval Processes for Language Generation with Augmented Queries

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ghali, Julien Pierre Edmond, Shima, Kosuke, Moriyama, Koichi, Mutoh, Atsuko, Inuzuka, Nobuhiro
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915203868786688
author Ghali, Julien Pierre Edmond
Shima, Kosuke
Moriyama, Koichi
Mutoh, Atsuko
Inuzuka, Nobuhiro
author_facet Ghali, Julien Pierre Edmond
Shima, Kosuke
Moriyama, Koichi
Mutoh, Atsuko
Inuzuka, Nobuhiro
contents In the rapidly changing world of smart technology, searching for documents has become more challenging due to the rise of advanced language models. These models sometimes face difficulties, like providing inaccurate information, commonly known as "hallucination." This research focuses on addressing this issue through Retrieval-Augmented Generation (RAG), a technique that guides models to give accurate responses based on real facts. To overcome scalability issues, the study explores connecting user queries with sophisticated language models such as BERT and Orca2, using an innovative query optimization process. The study unfolds in three scenarios: first, without RAG, second, without additional assistance, and finally, with extra help. Choosing the compact yet efficient Orca2 7B model demonstrates a smart use of computing resources. The empirical results indicate a significant improvement in the initial language model's performance under RAG, particularly when assisted with prompts augmenters. Consistency in document retrieval across different encodings highlights the effectiveness of using language model-generated queries. The introduction of UMAP for BERT further simplifies document retrieval while maintaining strong results.
format Preprint
id arxiv_https___arxiv_org_abs_2402_16874
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Retrieval Processes for Language Generation with Augmented Queries
Ghali, Julien Pierre Edmond
Shima, Kosuke
Moriyama, Koichi
Mutoh, Atsuko
Inuzuka, Nobuhiro
Information Retrieval
Artificial Intelligence
Computation and Language
In the rapidly changing world of smart technology, searching for documents has become more challenging due to the rise of advanced language models. These models sometimes face difficulties, like providing inaccurate information, commonly known as "hallucination." This research focuses on addressing this issue through Retrieval-Augmented Generation (RAG), a technique that guides models to give accurate responses based on real facts. To overcome scalability issues, the study explores connecting user queries with sophisticated language models such as BERT and Orca2, using an innovative query optimization process. The study unfolds in three scenarios: first, without RAG, second, without additional assistance, and finally, with extra help. Choosing the compact yet efficient Orca2 7B model demonstrates a smart use of computing resources. The empirical results indicate a significant improvement in the initial language model's performance under RAG, particularly when assisted with prompts augmenters. Consistency in document retrieval across different encodings highlights the effectiveness of using language model-generated queries. The introduction of UMAP for BERT further simplifies document retrieval while maintaining strong results.
title Enhancing Retrieval Processes for Language Generation with Augmented Queries
topic Information Retrieval
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2402.16874