Enhancing Question Answering Precision with Optimized Vector Retrieval and Instructions

Lixiao Yang, Mengyang Xu, Weimao Ke
11/1/2024
cs.IRcs.CLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Question-answering (QA) is an important application of Information Retrieval (IR) and language models, and the latest trend is toward pre-trained large neural networks with embedding parameters. Augmenting QA performances with these LLMs requires intensive computational resources for fine-tuning. We propose an innovative approach to improve QA task performances by integrating optimized vector retrievals and instruction methodologies. Based on retrieval augmentation, the process involves document embedding, vector retrieval, and context construction for optimal QA results. We experiment with different combinations of text segmentation techniques and similarity functions, and analyze their impacts on QA performances. Results show that the model with a small chunk size of 100 without any overlap of the chunks achieves the best result and outperforms the models based on semantic segmentation using sentences. We discuss related QA examples and offer insight into how model performances are improved within the two-stage framework.

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. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{yang2024enhancing,
  title  = {Enhancing Question Answering Precision with Optimized Vector Retrieval and Instructions},
  author = {Lixiao Yang and Mengyang Xu and Weimao Ke},
  year   = {2024},
  eprint = {2411.01039},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.01039v1}
}

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

Discussion