Transformers in the Service of Description Logic-based Contexts

Angelos Poulis, Eleni Tsalapati, Manolis Koubarakis
11/15/2023
cs.CLcs.AI

No official code found. Best implementation: angelosps/DELTA (2 stars, last commit 2024-07-25).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

angelosps/DELTACommunity100%

DELTA: Description Logics with Transformers

20Java, PythonMay 10, 20232 years ago

Similar Papers

Cite this paper

@article{poulis2023transformers,
  title  = {Transformers in the Service of Description Logic-based Contexts},
  author = {Angelos Poulis and Eleni Tsalapati and Manolis Koubarakis},
  year   = {2023},
  eprint = {2311.08941},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.08941v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.08941.svg)](https://codeofpaper.com/paper/2311.08941)

Discussion