TACT:利用信息抽取工具推进复杂聚合推理
TACT: Advancing Complex Aggregative Reasoning with Information Extraction Tools
AI总结:
针对LLM在跨文本信息聚合推理上的不足,作者提出TACT数据集并构建了“IE as a tool”建模框架,通过少样本提示为各步骤添加工具,有效提升了模型在复杂指令下的推理与计算能力。
摘要:
大型语言模型(LLMs)在处理需要跨文本聚合信息的查询时往往表现不佳。为了更好地评估这一场景并促进建模工作,我们引入了TACT——文本与计算通过表格(Text And Calculations through Tables),这是一个旨在评估LLM在使用复杂指令时的推理和计算能力的数据集。TACT包含具有挑战性的指令,要求将分散在一个或多个文本中的信息拼接起来,并对这些信息进行复杂的整合以生成答案。我们通过利用现有的文本及其关联表格的数据集来构建这个数据集。对于每个这样的表格,我们制定了新的查询,并收集了它们各自的答案。我们证明,所有当代LLM在该数据集上表现均较差,准确率低于38%。为了准确定位难点并彻底剖析问题,我们分析了模型在三个组件上的性能:表格生成、Pandas命令生成和执行。出乎意料的是,我们发现每个组件都对当前的LLM构成了重大挑战。这些见解促使我们提出了一个聚焦的建模框架,我们称之为“IE as a tool”(信息抽取作为工具)。具体而言,我们提议为上述每个步骤添加“工具”,并通过少样本提示来实现每个工具。这种方法相比现有的提示技术有所改进,为增强模型在这些任务中的能力提供了一个有前景的方向。
英文摘要:
Large Language Models (LLMs) often do not perform well on queries that require the aggregation of information across texts. To better evaluate this setting and facilitate modeling efforts, we introduce TACT - Text And Calculations through Tables, a dataset crafted to evaluate LLMs' reasoning and computational abilities using complex instructions. TACT contains challenging instructions that demand stitching information scattered across one or more texts, and performing complex integration on this information to generate the answer. We construct this dataset by leveraging an existing dataset of texts and their associated tables. For each such tables, we formulate new queries, and gather their respective answers. We demonstrate that all contemporary LLMs perform poorly on this dataset, achieving an accuracy below 38%. To pinpoint the difficulties and thoroughly dissect the problem, we analyze model performance across three components: table-generation, Pandas command-generation, and execution. Unexpectedly, we discover that each component presents substantial challenges for current LLMs. These insights lead us to propose a focused modeling framework, which we refer to as IE as a tool. Specifically, we propose to add "tools" for each of the above steps, and implement each such tool with few-shot prompting. This approach shows an improvement over existing prompting techniques, offering a promising direction for enhancing model capabilities in these tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。