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

TAP4LLM: 面向大语言模型推理的半结构化数据采样、增强与打包表格提供器

TAP4LLM: Table Provider on Sampling, Augmenting, and Packing Semi-structured Data for Large Language Model Reasoning

National University of Singapore(新加坡国立大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Microsoft(微软);Xi’an Jiaotong University(西安交通大学);Ant Research(蚂蚁研究院)

Yuan Sui, Jiaru Zou, Mengyu Zhou, Xinyi He, Lun Du, Shi Han, Dongmei Zhang

AI总结:

针对大语言模型处理大表格推理时的可扩展性差、复杂查询难等问题,提出含采样、增强、打包序列化模块的预处理器套件TAP4LLM,经实验验证可有效提升LLM表格推理能力与数据交互效果。

摘要:

随着大语言模型(LLM)的发展,表格推理任务取得了显著进展,这类任务涉及基于自然语言(NL)问题解读表格数据并得出结论。现有方案主要在较小表格上测试,面临可扩展性问题,且因数据在不同表格区域不完整或分散,难以应对复杂查询。为缓解这些挑战,我们提出TAP4LLM,这是一款多功能预处理器套件,可有效利用LLM处理基于表格的任务。它包含多个独立组件:(1)表格采样,根据查询语义将大表格分解为可处理的子表格;(2)表格增强,利用外部来源或模型的额外知识丰富表格;(3)表格打包与序列化,将表格转换为适合LLM理解的多种格式。在每个模块中,我们设计并对比了多种适用于不同使用场景的常用方法,旨在阐明利用LLM完成表格推理任务的最佳实践。我们的实验表明,该方法通过有效的预处理,提升了LLM在各类表格任务中的推理能力,增强了LLM与表格数据的交互。

英文摘要:

Table reasoning tasks have shown remarkable progress with the development of large language models (LLMs), which involve interpreting and drawing conclusions from tabular data based on natural language (NL) questions. Existing solutions mainly tested on smaller tables face scalability issues and struggle with complex queries due to incomplete or dispersed data across different table sections. To alleviate these challenges, we propose TAP4LLM as a versatile pre-processor suite for leveraging LLMs in table-based tasks effectively. It covers several distinct components: (1) table sampling to decompose large tables into manageable sub-tables based on query semantics, (2) table augmentation to enhance tables with additional knowledge from external sources or models, and (3) table packing & serialization to convert tables into various formats suitable for LLMs' understanding. In each module, we design and compare several common methods under various usage scenarios, aiming to shed light on the best practices for leveraging LLMs for table-reasoning tasks. Our experiments show that our method improves LLMs' reasoning capabilities in various tabular tasks and enhances the interaction between LLMs and tabular data by employing effective pre-processing.

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

↑