Learning Semantic Structure through First-Order-Logic Translation

Akshay Chaturvedi, Nicholas Asher
10/4/2024
cs.CLcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

In this paper, we study whether transformer-based language models can extract predicate argument structure from simple sentences. We firstly show that language models sometimes confuse which predicates apply to which objects. To mitigate this, we explore two tasks: question answering (Q/A), and first order logic (FOL) translation, and two regimes, prompting and finetuning. In FOL translation, we finetune several large language models on synthetic datasets designed to gauge their generalization abilities. For Q/A, we finetune encoder models like BERT and RoBERTa and use prompting for LLMs. The results show that FOL translation for LLMs is better suited to learn predicate argument structure.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chaturvedi2024learning,
  title  = {Learning Semantic Structure through First-Order-Logic Translation},
  author = {Akshay Chaturvedi and Nicholas Asher},
  year   = {2024},
  eprint = {2410.03203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.03203v1}
}

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/2410.03203.svg)](https://codeofpaper.com/paper/2410.03203)

Discussion