[Paper Review] Exploring Large Language Models for Ontology Alignment
This paper investigates the use of large language models (LLMs) like Flan-T5-XXL and GPT-3.5-turbo for zero-shot ontology alignment, proposing a prompt-based framework that leverages concept labels and structural contexts (parent/child relationships) to identify semantic equivalences. Results show Flan-T5-XXL with thresholding achieves an F-score of 0.721 on the NCIT-DOID subset, outperforming BERTMap in F-score and demonstrating the potential of LLMs for ontology matching when properly prompted.
This work investigates the applicability of recent generative Large Language Models (LLMs), such as the GPT series and Flan-T5, to ontology alignment for identifying concept equivalence mappings across ontologies. To test the zero-shot performance of Flan-T5-XXL and GPT-3.5-turbo, we leverage challenging subsets from two equivalence matching datasets of the OAEI Bio-ML track, taking into account concept labels and structural contexts. Preliminary findings suggest that LLMs have the potential to outperform existing ontology alignment systems like BERTMap, given careful framework and prompt design.
Motivation & Objective
- To evaluate the feasibility of using large language models (LLMs) for zero-shot ontology alignment without fine-tuning.
- To investigate how concept labels and structural contexts (e.g., parent/child relationships) affect LLM-based matching performance.
- To compare LLM-based systems against established baselines like BERTMap and BERTMapLt on challenging, non-trivial ontology matching subsets.
- To identify key challenges in extracting reliable yes/no predictions from LLMs and to optimize prompt design for semantic equivalence detection.
- To explore the potential of LLMs to outperform existing methods in ontology matching through careful framework and prompt engineering.
Proposed method
- A zero-shot prompting framework is designed where LLMs classify whether two concepts from source and target ontologies are equivalent based on their names and hierarchical context.
- The prompt includes structured input: concept labels, parent concepts, and child concepts for both source and target concepts.
- The model’s output is interpreted as a binary classification: 'Yes' for equivalence, 'No' for non-equivalence, with the probability of the 'Yes' token used as a confidence score.
- Thresholding is applied to filter low-confidence 'Yes' predictions, improving precision at the cost of recall.
- Parent and child concept names are incorporated as additional context to enrich the model’s understanding of structural relationships.
- The system is evaluated using standard OM metrics: Precision, Recall, F-score, Hits@1, MRR, and RR on two challenging subsets from the OAEI Bio-ML track.
Experimental results
Research questions
- RQ1Can LLMs like Flan-T5-XXL and GPT-3.5-turbo achieve competitive performance in zero-shot ontology alignment without fine-tuning?
- RQ2How does incorporating structural context (e.g., parent and child concepts) affect the accuracy of LLM-based ontology matching?
- RQ3Does thresholding the LLM’s output scores improve the precision-recall trade-off in mapping prediction?
- RQ4How do LLM-based systems compare to state-of-the-art baselines like BERTMap and BERTMapLt on non-trivial, string-matching-excluded datasets?
- RQ5What are the key challenges in extracting reliable binary predictions from LLMs for ontology alignment tasks?
Key findings
- Flan-T5-XXL with thresholding achieved an F-score of 0.721 on the NCIT-DOID subset, outperforming BERTMap’s F-score of 0.628.
- On the SNOMED-FMA (Body) subset, Flan-T5-XXL with thresholding achieved an F-score of 0.346, outperforming BERTMapLt (0.395) and approaching BERTMap (0.552).
- Thresholding improved precision (from 0.643 to 0.861) on the NCIT-DOID subset but reduced recall (from 0.720 to 0.620).
- Incorporating parent/child contexts did not improve performance and sometimes reduced F-score, indicating that current context integration strategies are suboptimal.
- GPT-3.5-turbo showed poor performance (F-score 0.132) and could not reliably output binary responses, likely due to verbose explanations and lack of probability extraction.
- BERTMapLt underperformed on the excluded string-matching subsets, as expected, since it relies on edit similarity, which is ineffective when such pairs are removed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.