arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.02333cs.LGcs.CL
收藏

超越抽取:为语言模型高效摘要化而将表格数据情境化

Beyond Extraction: Contextualising Tabular Data for Efficient Summarisation by Language Models

NLP Research Team Yellow.ai(Yellow.ai公司NLP研究团队)

Uday Allu, Biddwan Ahmed, Vishesh Tripathi

AI总结:

本研究提出一种增强RAG系统复杂表格查询准确性的方法,通过单独提取表格并拼接表头与值进行上下文丰富,结合微调Llama-2-chat模型和ChatGPT 3.5 API单次提示生成摘要,显著提升了查询精度。

摘要:

检索增强生成(RAG)架构的传统用法已被证明能从多样化文档中有效检索信息。然而,在处理复杂表格查询时会出现挑战,尤其是在包含复杂表格结构的PDF文档中。本研究引入一种创新方法,以提升基于RAG系统中复杂表格查询的准确性。我们的方法包括将PDF存入检索数据库,并单独提取表格内容。提取出的表格经过上下文丰富处理,将表头与对应值拼接起来。为确保对丰富后数据的全面理解,我们在RAG架构内采用Llama-2-chat语言模型的微调版本进行摘要。此外,我们通过ChatGPT 3.5 API使用单次提示为表格数据增强上下文语义。这些丰富后的数据随后与其他PDF一起输入检索数据库。我们的方法旨在显著提高复杂表格查询的精度,为信息检索领域的长期挑战提供了一种有前景的解决方案。

英文摘要:

The conventional use of the Retrieval-Augmented Generation (RAG) architecture has proven effective for retrieving information from diverse documents. However, challenges arise in handling complex table queries, especially within PDF documents containing intricate tabular structures.This research introduces an innovative approach to enhance the accuracy of complex table queries in RAG-based systems. Our methodology involves storing PDFs in the retrieval database and extracting tabular content separately. The extracted tables undergo a process of context enrichment, concatenating headers with corresponding values. To ensure a comprehensive understanding of the enriched data, we employ a fine-tuned version of the Llama-2-chat language model for summarisation within the RAG architecture. Furthermore, we augment the tabular data with contextual sense using the ChatGPT 3.5 API through a one-shot prompt. This enriched data is then fed into the retrieval database alongside other PDFs. Our approach aims to significantly improve the precision of complex table queries, offering a promising solution to a longstanding challenge in information retrieval.

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

↑