Identifying Logical Patterns in Text for Reasoning - Archive ouverte HAL
Communication Dans Un Congrès Année : 2024

Identifying Logical Patterns in Text for Reasoning

Résumé

Translating unstructured text into logical format is a key challenge for building ontologies automatically and addressing deductive inference. Most of the approaches have tackled the identification of concepts and relations in text, but few of them have addressed the most complex axioms like class expression subsumption. This work proposes DeLIR, a neurosymbolic approach to identify complex logical patterns in text by combining a grammatical translation of dependency parsing trees and a fine-tuned Large language Model (LLM). DeLIR combines the strength of the parsing accuracy provided by a grammatical approach and pattern flexibility provided by a finetuned LLM. We evaluated our approach on FOLIO dataset for both translation capacity and inference capability. Our grammatical approach has a perfect parsing accuracy and combining the grammatical approach with LLMs improves the LLMS translation capacity: tinyLlama, T5-small-text2logic, Llama-7B and Mistral-7B. We also evaluate the inference capacity of the different LLMs. Mistral-7B, while being smaller than the state-ofthe-art approach using GPT-4, presents similar results to predict the correct inference labels.
Fichier principal
Vignette du fichier
Grammar_to_FOL_on_FOLIO.pdf (230.43 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04811164 , version 1 (29-11-2024)

Identifiants

  • HAL Id : hal-04811164 , version 1

Citer

Pauline Armary, Cheikh-Brahim El-Vaigh, Antoine Spicher, Ouassila Labbani Narsis, Christophe Nicolle. Identifying Logical Patterns in Text for Reasoning. IEEE International Conference on Tools with Artificial Intelligence (ICTAI), Oct 2024, Herndon, United States. ⟨hal-04811164⟩
0 Consultations
0 Téléchargements

Partager

More