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

TAT-LLM:一种用于表格与文本数据离散推理的专用语言模型

TAT-LLM: A Specialized Language Model for Discrete Reasoning over Tabular and Textual Data

National University of Singapore(新加坡国立大学);Estates Pte Ltd(6Estates私人有限公司);University of Science and Technology of China(中国科学技术大学)

Fengbin Zhu, Ziyang Liu, Fuli Feng, Chao Wang, Moxin Li, Tat-Seng Chua

AI总结:

本文提出TAT-LLM,通过逐步流水线自动生成训练数据并微调LLaMA 2,在表格与文本混合问答的离散推理任务上超越GPT-4等基线模型。

摘要:

在这项工作中,我们针对混合了表格和文本数据的问题回答(QA)任务进行研究,这类数据在网络上非常常见(例如SEC文件),并且通常需要离散推理能力。近年来,像GPT-4这样的大语言模型(LLMs)已经展现出强大的多步推理能力。因此,我们考虑利用LLMs的强大能力来解决我们的任务。我们抽象出一个面向表格和文本QA的逐步流水线(Step-wise Pipeline),该流水线包含三个关键步骤,包括提取器(Extractor)、推理器(Reasoner)和执行器(Executor),并初步设计了一条指令来实例化该流水线,验证了GPT-4优于所有现有方法。然而,使用像GPT-4这样的在线LLM在成本、延迟和数据安全风险方面存在多种挑战,这促使我们针对该任务对较小的LLMs进行专门化。我们通过使用根据逐步流水线从现有专家标注数据集中自动生成的训练数据对LLaMA 2进行微调,开发了TAT-LLM语言模型。实验结果验证了我们的TAT-LLM模型在FinQA、TAT-QA和TAT-DQA基准上能够优于所有基线模型,包括此前最佳的微调模型以及像GPT-4这样的大规模LLMs。

英文摘要:

In this work, we address question answering (QA) over a hybrid of tabular and textual data that are very common content on the Web (e.g. SEC filings), where discrete reasoning capabilities are often required. Recently, large language models (LLMs) like GPT-4 have demonstrated strong multi-step reasoning capabilities. We then consider harnessing the amazing power of LLMs to solve our task. We abstract a Step-wise Pipeline for tabular and textual QA, which consists of three key steps, including Extractor, Reasoner and Executor, and initially design an instruction to instantiate the pipeline and validate that GPT-4 outperforms all existing methods. However, utilizing an online LLM like GPT-4 holds various challenges in terms of cost, latency, and data security risk, which motivates us to specialize smaller LLMs in this task. We develop a TAT-LLM language model by fine-tuning LLaMA 2 with the training data generated automatically from existing expert-annotated datasets following the Step-wise Pipeline. The experimental results have verified that our TAT-LLM model can outperform all baseline models, including the previous best fine-tuned models and very large-scale LLMs like GPT-4 on FinQA, TAT-QA and TAT-DQA benchmarks.

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

↑