arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.20072cs.CLcs.AI
收藏

利用大语言模型从混合长文档中提取信息:一个框架与数据集

Extract Information from Hybrid Long Documents Leveraging LLMs: A Framework and Dataset

Microsoft(微软公司);School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Ant Group(蚂蚁集团)

Chongjian Yue, Xinrun Xu, Xiaojun Ma, Lun Du, Zhiming Ding, Shi Han, Dongmei Zhang, Qi Zhang

AI总结:

本文提出自动化信息提取框架AIE,使大语言模型能够处理超出令牌限制的混合长文档,并发布财务报告数值提取数据集FINE,从内容选择、表格序列化、框架适应性和提示工程四个方面验证了方法的有效性。

摘要:

大语言模型(LLMs)在文本理解和表格推理任务中表现出卓越的性能。然而,它们在理解和分析同时包含文本与表格数据的混合文本方面的能力仍未得到探索。混合文本通常以混合长文档(HLDs)的形式出现,其长度远超LLMs的令牌限制。因此,我们应用了一个自动化信息提取框架(AIE),使LLMs能够处理HLDs,并开展实验以分析从HLDs中提取信息的四个重要方面。研究发现:1)选择和总结HLDs中有用部分的有效方法。2)一种简单的表格序列化方式足以让LLMs理解表格。3)朴素的AIE在许多复杂场景中具有适应性。4)有效的提示工程可增强LLMs在HLDs上的表现。为解决HLDs数据集稀缺的问题并支持未来工作,我们还提出了财务报告数值提取(FINE)数据集。数据集和代码已在附件中公开。

英文摘要:

Large Language Models (LLMs) demonstrate exceptional performance in textual understanding and tabular reasoning tasks. However, their ability to comprehend and analyze hybrid text, containing textual and tabular data, remains unexplored. The hybrid text often appears in the form of hybrid long documents (HLDs), which far exceed the token limit of LLMs. Consequently, we apply an Automated Information Extraction framework (AIE) to enable LLMs to process the HLDs and carry out experiments to analyse four important aspects of information extraction from HLDs. Given the findings: 1) The effective way to select and summarize the useful part of a HLD. 2) An easy table serialization way is enough for LLMs to understand tables. 3) The naive AIE has adaptability in many complex scenarios. 4) The useful prompt engineering to enhance LLMs on HLDs. To address the issue of dataset scarcity in HLDs and support future work, we also propose the Financial Reports Numerical Extraction (FINE) dataset. The dataset and code are publicly available in the attachments.

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

↑