LLMs for the Engineering of a Parkinson Disease Monitoring and Alerting Ontology

Georgios Bouchouras, Pavlos Bitilis, Konstantinos Kotis, George A. VourosESWC Workshops 2024

Introduction

Ontology engineering (OE) is the foundational process of defining formal concepts and categories within a specific domain. In the medical field, particularly for Parkinson’s Disease (PD) monitoring, these frameworks are critical. They ensure that AI-driven health alerts—such as detecting a patient fall or a missing medication dose—are based on precise logical structures. However, traditional manual OE is notoriously labor-intensive, requiring significant time from both knowledge engineers and medical experts.

While Large Language Models (LLMs) offer a potential shortcut by processing vast amounts of medical literature, they often lack the nuanced reasoning and domain-specific precision required for healthcare applications. This paper introduces X-HCOME, a hybrid methodology that integrates human expertise with the statistical power of LLMs to streamline the creation of complex medical ontologies.

Methodology

The researchers developed X-HCOME as an extension of the Human-Centered Collaborative Ontology Engineering (HCOME) methodology. The study was structured into two distinct experimental phases to compare autonomous AI generation against a collaborative human-AI approach.

The experimental workflow comparing autonomous LLM generation (Phase 1) with the hybrid X-HCOME methodology (Phase 2).

Phase 1: Autonomous LLM Generation

Four models—ChatGPT-3.5, ChatGPT-4, Gemini, and Llama2—were tasked with building a PD ontology from scratch. Two prompting techniques were evaluated:

  • One-Shot (OS): A single, comprehensive prompt defining the scope.
  • Chain-of-Thought (CoT): A multi-step sequence that broke the task into logical segments, such as identifying classes before defining hierarchies.

Phase 2: Hybrid X-HCOME

This phase utilized a collaborative loop. Human experts defined the requirements and competency questions, while LLMs generated the ontology in Turtle (TTL) format. Humans then reviewed, refined, and merged the results with existing knowledge bases.

Evaluation Framework

The resulting ontologies were validated using tools like OOPS! and Protégé (Pellet) and measured against a "gold standard" expert-generated ontology named Wear4PDmove. This gold standard was specifically designed to integrate wearable sensor data with personal health records.

Definitions and formulas for Precision and Recall used to evaluate the generated ontologies against the gold standard.

To ensure a fair comparison, the researchers also used a "Simplified-Lite" version of the gold standard, which removed external imported ontologies to focus strictly on core domain concepts.

Key Results and Insights

The Superiority of the Hybrid Approach

The X-HCOME method consistently outperformed autonomous generation. For instance, Gemini X-HCOME produced 50 classes with an F-1 score of 42% against the gold standard, the highest among all tested autonomous methods. More importantly, expert intervention acted as a massive force multiplier; ChatGPT-4 X-HCOME saw its F-1 score jump from 27% to 78% after experts reviewed and reclassified valid AI-generated concepts that were missing from the original gold standard.

Prompting Strategies and Model Performance

  • Quantity vs. Quality: One-Shot prompting generated a higher volume of classes but with lower precision. Conversely, Chain-of-Thought (CoT) prompting resulted in fewer classes but significantly higher accuracy. ChatGPT-4 and Gemini CoT achieved precisions of 67% and 63%, respectively.
  • AI as a Discovery Tool: Interestingly, the LLMs identified relevant classes (e.g., "Surgical Intervention," "Rigidity") that were absent from the human-made gold standard, suggesting that AI can effectively mitigate human "blind spots."
  • Llama2 Limitations: Unlike the OpenAI and Google models, Llama2 struggled with syntax, frequently producing invalid Turtle files that could not be parsed by standard ontology tools.

Discussion and Future Work

The study highlights a powerful "neurosymbolic synergy," where the statistical breadth of LLMs is anchored by the symbolic logic of ontologies and human oversight. However, limitations remain. The research focused primarily on "Classes" (nouns), finding that "Object Properties" (the relationships or verbs) were much harder for LLMs to generate accurately.

Future work will explore fine-tuning specialized models on ontology structures and the X-HCOME methodology to further automate the process while maintaining the high precision required for medical applications.

Summary updated

BibTeX
@inproceedings{bouchouras2024llms,
  author = {Georgios Bouchouras and Pavlos Bitilis and Konstantinos Kotis and George A. Vouros},
  title = {{LLMs for the Engineering of a Parkinson Disease Monitoring and Alerting Ontology}},
  booktitle = {ESWC Workshops},
  year = {2024},
}
Figure