Skip to main content
QUICK REVIEW

[Paper Review] Conversational Ontology Alignment with ChatGPT

Sanaz Saki Norouzi, Mohammad Saeid Mahdavinejad|arXiv (Cornell University)|Aug 18, 2023
Natural Language Processing TechniquesComputer Science6 citations
TL;DR

This paper evaluates ChatGPT's performance in zero-shot ontology alignment using structured prompts with ontology triples formatted as Relation(Subject, Object). Despite achieving high recall (average 0.69), ChatGPT exhibits low precision (average 0.46), indicating it generates many false positives, though it shows potential for identifying candidate mappings and suggesting new entities for expansion.

ABSTRACT

This study evaluates the applicability and efficiency of ChatGPT for ontology alignment using a naive approach. ChatGPT's output is compared to the results of the Ontology Alignment Evaluation Initiative 2022 campaign using conference track ontologies. This comparison is intended to provide insights into the capabilities of a conversational large language model when used in a naive way for ontology matching, and to investigate the potential advantages and disadvantages of this approach.

Motivation & Objective

  • To assess the feasibility of using ChatGPT for ontology alignment without fine-tuning or few-shot examples.
  • To investigate the impact of different prompt engineering strategies on alignment quality.
  • To compare ChatGPT’s zero-shot outputs against reference alignments from the OAEI 2022 conference track.
  • To identify strengths and limitations of using conversational LLMs for semantic matching in ontology integration.

Proposed method

  • Ontology triples from OAEI 2022 conference track ontologies were formatted as structured relations, e.g., Is-a (track, conference_part).
  • Prompts were designed with a fixed template: problem definition, ontology 1 triples, ontology 2 triples, and objective to map semantically similar entities.
  • Different prompt variations were tested, with the final approach using formatted text to improve model comprehension.
  • To handle token limits, long prompts were split into smaller segments, preserving context across interactions.
  • Only axioms expressible as triples were included to avoid complexity from advanced ontology constructs.
  • Performance was evaluated using precision, recall, and F1-score against the OAEI 2022 reference alignment (ra1-M3).

Experimental results

Research questions

  • RQ1Can a zero-shot, naively prompted LLM like ChatGPT achieve competitive performance in ontology alignment compared to established systems?
  • RQ2How do different prompt formatting strategies affect the quality of generated alignments?
  • RQ3What are the primary failure modes of ChatGPT in ontology matching, such as false positives or incorrect subclass mappings?
  • RQ4To what extent can ChatGPT identify semantic correspondences without explicit training or examples?
  • RQ5Can ChatGPT generate plausible new entities or mappings not present in the original ontologies?

Key findings

  • ChatGPT achieved an average F1-score of 0.52 across 21 ontology pairs, indicating moderate overall alignment quality.
  • The model demonstrated high recall (average 0.69), meaning it successfully identified a large proportion of true alignments.
  • Precision remained low (average 0.46), indicating a high rate of false positives in the generated mappings.
  • Prompt 7, which used structured formatting and careful context management, yielded the best results with an F1-score of 0.62 on the cmt-conference pair.
  • ChatGPT frequently generated uncertain or speculative matches, including new entities not present in the input ontologies.
  • Token length limitations significantly constrained the model’s ability to process full ontologies, necessitating prompt segmentation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.