arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.01039cs.IRcs.CLcs.LG
收藏

通过优化向量检索与指令提升问答精度

Enhancing Question Answering Precision with Optimized Vector Retrieval and Instructions

Drexel University(德雷塞尔大学)

Lixiao Yang, Mengyang Xu, Weimao Ke

AI总结:

本文提出一种结合优化向量检索与指令方法的两阶段框架,通过无重叠小分块(100)实现最佳问答精度,超越语义分割方法。

摘要:

问答(QA)是信息检索(IR)和语言模型的重要应用,最新趋势是采用具有嵌入参数的预训练大型神经网络。使用这些大语言模型(LLM)增强问答性能需要大量计算资源进行微调。我们提出了一种创新方法,通过整合优化向量检索和指令方法来提升问答任务性能。基于检索增强,该过程涉及文档嵌入、向量检索和上下文构建以获得最佳问答结果。我们实验了不同的文本分割技术和相似度函数的组合,并分析了它们对问答性能的影响。结果表明,使用块大小为100且无重叠的模型取得了最佳结果,优于基于句子语义分割的模型。我们讨论了相关问答示例,并深入探讨了在两阶段框架内模型性能如何提升。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑