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

Transformer在基于描述逻辑的上下文中的应用

Transformers in the Service of Description Logic-based Contexts

National and Kapodistrian University of Athens(雅典国立卡波迪斯特里亚大学)

Angelos Poulis, Eleni Tsalapati, Manolis Koubarakis

AI总结:

本研究使用描述逻辑语言$\mathcal{ALCQ}$构建了在推理深度和语言复杂度上递增的自然语言数据集DELTA$_D$,评估DeBERTa和GPT模型的推理能力,发现DeBERTa能掌握推理任务且GPT在少样本下性能显著提升。

摘要:

基于Transformer的模型的最新进展引发了对其学习执行推理任务能力的探究兴趣。然而,用于此目的的大多数上下文在实践中非常简单:由仅包含少量逻辑运算符和量词的短一阶逻辑句子(片段)生成。在本研究中,我们使用描述逻辑语言$\mathcal{ALCQ}$构建了自然语言数据集DELTA$_D$。DELTA$_D$包含384K个样本,并在两个维度上有所增加:i) 推理深度,以及ii) 语言复杂度。通过这种方式,我们系统地研究了经过监督微调的基于DeBERTa的模型以及两个大语言模型(GPT-3.5、GPT-4)在少样本提示下的推理能力。我们的结果表明,基于DeBERTa的模型能够掌握该推理任务,并且即使提供少量样本(9 shots),GPT的性能也能显著提升。我们开源了代码和数据集。

英文摘要:

Recent advancements in transformer-based models have initiated research interests in investigating their ability to learn to perform reasoning tasks. However, most of the contexts used for this purpose are in practice very simple: generated from short (fragments of) first-order logic sentences with only a few logical operators and quantifiers. In this work, we construct the natural language dataset, DELTA$_D$, using the description logic language $\mathcal{ALCQ}$. DELTA$_D$ contains 384K examples, and increases in two dimensions: i) reasoning depth, and ii) linguistic complexity. In this way, we systematically investigate the reasoning ability of a supervised fine-tuned DeBERTa-based model and of two large language models (GPT-3.5, GPT-4) with few-shot prompting. Our results demonstrate that the DeBERTa-based model can master the reasoning task and that the performance of GPTs can improve significantly even when a small number of samples is provided (9 shots). We open-source our code and datasets.

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

↑