Towards Ontology-Enhanced Representation Learning for Large Language Models

Francesco Ronzano, Jay Nanavati
5/30/2024
cs.CLcs.AI

No official code found. Best implementation: iqvianlp/llm-onto-infuse (4 stars, last commit 2024-06-04).

Abstract

Taking advantage of the widespread use of ontologies to organise and harmonize knowledge across several distinct domains, this paper proposes a novel approach to improve an embedding-Large Language Model (embedding-LLM) of interest by infusing the knowledge formalized by a reference ontology: ontological knowledge infusion aims at boosting the ability of the considered LLM to effectively model the knowledge domain described by the infused ontology. The linguistic information (i.e. concept synonyms and descriptions) and structural information (i.e. is-a relations) formalized by the ontology are utilized to compile a comprehensive set of concept definitions, with the assistance of a powerful generative LLM (i.e. GPT-3.5-turbo). These concept definitions are then employed to fine-tune the target embedding-LLM using a contrastive learning framework. To demonstrate and evaluate the proposed approach, we utilize the biomedical disease ontology MONDO. The results show that embedding-LLMs enhanced by ontological disease knowledge exhibit an improved capability to effectively evaluate the similarity of in-domain sentences from biomedical documents mentioning diseases, without compromising their out-of-domain performance.

View on arXivView PDF

Code Implementations(1)

42PythonMay 30, 20242 years ago

Cite this paper

@article{ronzano2024towards,
  title  = {Towards Ontology-Enhanced Representation Learning for Large Language Models},
  author = {Francesco Ronzano and Jay Nanavati},
  year   = {2024},
  eprint = {2405.20527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.20527v1}
}

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

Discussion