Optimizing Retrieval-Augmented Generation with Elasticsearch for Enhanced Question-Answering Systems

This study aims to improve the accuracy and quality of large-scale language models (LLMs) in answering questions by integrating Elasticsearch into the Retrieval Augmented Generation (RAG) framework. The experiment uses the Stanford Question Answering Dataset (SQuAD) version 2.0 as the test dataset and compares the performance of different retrieval methods, including traditional methods based on keyword matching or semantic similarity calculation, BM25-RAG and TF-IDF-RAG, and the newly proposed ES-RAG scheme. The results show that ES-RAG not only has obvious advantages in retrieval efficiency but also performs well in key indicators such as accuracy, which is 0.51 percentage points higher than TF-IDFRAG. In addition, Elasticsearch's powerful search capabilities and rich configuration options enable the entire questionanswering system to better handle complex queries and provide more flexible and efficient responses based on the diverse needs of users. Future research directions can further explore how to optimize the interaction mechanism between Elasticsearch and LLM, such as introducing higher-level semantic understanding and context-awareness capabilities, to achieve a more intelligent and humanized question-answering experience.

Authors

Institutions

Publication Details

Published
2024-10-25
DOI
https://doi.org/10.1109/icbaie63306.2024.11117089
Citations
5
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
1.74
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Retrieval-Augmented Generation with Elasticsearch for Enhanced Question-Answering Systems

Haibing Zheng, Jiajing Chen, Zhen Qi, Jianjun Wei et al.
5 citations
Topic Modeling
1.74
article

Optimizing Retrieval-Augmented Generation with Elasticsearch for Enhanced Question-Answering Systems

Haibing Zheng, Jiajing Chen, Zhen Qi, Jianjun Wei, Jiacheng Hu, Runyuan Bao
article en
5 citations

Abstract

This study aims to improve the accuracy and quality of large-scale language models (LLMs) in answering questions by integrating Elasticsearch into the Retrieval Augmented Generation (RAG) framework. The experiment uses the Stanford Question Answering Dataset (SQuAD) version 2.0 as the test dataset and compares the performance of different retrieval methods, including traditional methods based on keyword matching or semantic similarity calculation, BM25-RAG and TF-IDF-RAG, and the newly proposed ES-RAG scheme. The results show that ES-RAG not only has obvious advantages in retrieval efficiency but also performs well in key indicators such as accuracy, which is 0.51 percentage points higher than TF-IDFRAG. In addition, Elasticsearch's powerful search capabilities and rich configuration options enable the entire questionanswering system to better handle complex queries and provide more flexible and efficient responses based on the diverse needs of users. Future research directions can further explore how to optimize the interaction mechanism between Elasticsearch and LLM, such as introducing higher-level semantic understanding and context-awareness capabilities, to achieve a more intelligent and humanized question-answering experience.

Boston University (US), Tulane University (US), Northeastern University (US), Johns Hopkins University (US), Chinese University of Hong Kong (HK), Washington University in St. Louis (US), New York University (US)
Openalex Percentile: Top 12%
Topic Modeling
1.74
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Retrieval-Augmented Generation with Elasticsearch for Enhanced Question-Answering Systems — Haibing Zheng, Jiajing Chen, et al. · (2024) | TGRS Research Map | TGRS