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

回到未来:面向大语言模型的可解释时序推理

Back to the Future: Towards Explainable Temporal Reasoning with Large Language Models

The University of Manchester(曼彻斯特大学);Wuhan University(武汉大学)

Chenhan Yuan, Qianqian Xie, Jimin Huang, Sophia Ananiadou

AI总结:

本文提出首个可解释时序推理任务,构建含2.6万样本的多源指令微调数据集ExpTime,基于LlaMA2推出开源模型系列TimeLlaMA,在时序预测与解释任务上取得SOTA性能。

摘要:

时序推理是自然语言处理(NLP)领域的一项关键任务,能够对文本数据中与时间相关的上下文进行细致理解。尽管大语言模型(LLM)的近期进展已展现出其在时序推理方面的潜力,但现有研究主要集中在时序表达提取、时序关系抽取等任务上。这些任务主要用于提取直接的、过去的时序线索,并执行简单的推理过程。而在事件预测这类复杂推理任务上,仍存在显著空白——这类任务需要对事件进行多步时序推理,并对未来时间点做出预测。现有方法的另一个显著局限是无法说明自身的推理过程,阻碍了可解释性。\n本文提出了首个可解释时序推理任务:基于需要对多个事件进行多重推理的上下文,预测事件在未来时间点的发生情况,并随后为预测结果提供清晰解释。该任务可全面评估大语言模型的复杂时序推理能力、未来事件预测能力,以及AI应用的关键属性——可解释性。\n为支撑该任务,我们提出了首个可解释时序推理多源指令微调数据集ExpTime,包含2.6万条样本,该数据集基于时序知识图谱数据集及其时序推理路径,采用一种新颖的知识图谱引导生成策略构建。基于该数据集,我们以基础模型LlaMA2为底座,提出了首个开源大语言模型系列TimeLlaMA,具备遵循指令完成可解释时序推理的能力。我们对比了所提方法与多种大语言模型的性能,结果表明该方法在时序预测与解释任务上均达到了当前最优(SOTA)性能。

英文摘要:

Temporal reasoning is a crucial NLP task, providing a nuanced understanding of time-sensitive contexts within textual data. Although recent advancements in LLMs have demonstrated their potential in temporal reasoning, the predominant focus has been on tasks such as temporal expression and temporal relation extraction. These tasks are primarily designed for the extraction of direct and past temporal cues and to engage in simple reasoning processes. A significant gap remains when considering complex reasoning tasks such as event forecasting, which requires multi-step temporal reasoning on events and prediction on the future timestamp. Another notable limitation of existing methods is their incapability to provide an illustration of their reasoning process, hindering explainability. In this paper, we introduce the first task of explainable temporal reasoning, to predict an event's occurrence at a future timestamp based on context which requires multiple reasoning over multiple events, and subsequently provide a clear explanation for their prediction. Our task offers a comprehensive evaluation of both the LLMs' complex temporal reasoning ability, the future event prediction ability, and explainability-a critical attribute for AI applications. To support this task, we present the first multi-source instruction-tuning dataset of explainable temporal reasoning (ExpTime) with 26k derived from the temporal knowledge graph datasets and their temporal reasoning paths, using a novel knowledge-graph-instructed-generation strategy. Based on the dataset, we propose the first open-source LLM series TimeLlaMA based on the foundation LlaMA2, with the ability of instruction following for explainable temporal reasoning. We compare the performance of our method and a variety of LLMs, where our method achieves the state-of-the-art performance of temporal prediction and explanation.

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

↑