Enhancing Retrieval Processes for Language Generation with Augmented Queries

Julien Pierre Edmond Ghali, Kosuke Shima, Koichi Moriyama, Atsuko Mutoh, Nobuhiro Inuzuka
2/6/2024
cs.IRcs.AIcs.CL

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

Abstract

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.

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. 9 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{ghali2024enhancing,
  title  = {Enhancing Retrieval Processes for Language Generation with Augmented Queries},
  author = {Julien Pierre Edmond Ghali and Kosuke Shima and Koichi Moriyama and Atsuko Mutoh and Nobuhiro Inuzuka},
  year   = {2024},
  eprint = {2402.16874},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16874v1}
}

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/2402.16874.svg)](https://codeofpaper.com/paper/2402.16874)

Discussion