Ontology Embedding: A Survey of Methods, Applications and Resources

Jiaoyan Chen, Olga Mashkova, Fernando Zhapa-Camacho, Robert Hoehndorf, Yuan He, Ian Horrocks · DOI

Introduction

Ontologies serve as the backbone for structured knowledge in domains ranging from genomics to clinical medicine. By representing concepts and their relationships through formal logic, they enable precise symbolic reasoning. However, the rise of machine learning (ML) has created a gap: while ML models require numerical vector inputs, ontologies are inherently symbolic. Ontology embedding addresses this by transforming formal knowledge into continuous vector spaces while preserving logical integrity.

The Challenge of Formal Logic

Traditional Knowledge Graph (KG) embedding techniques often simplify data into "subject-predicate-object" triples. This approach neglects the rich logical axioms—such as disjointness, existential quantifiers, and complex hierarchies—that define true ontologies.

An example of a complex ontology snippet from FoodOn, illustrating the mix of formal axioms and textual metadata.

A primary goal of modern research is to create faithful embeddings, where the geometric properties of the vector space (e.g., containment or distance) directly reflect the logical truths of the source ontology.

Methodological Framework

The survey categorizes over 80 research papers into three primary technical families:

  1. Geometric Modeling: Concepts are mapped to high-dimensional shapes like balls, boxes, or cones. For instance, a subclass relationship is represented by one box being contained within another. This method is highly interpretable and preserves hierarchical constraints.
  2. Sequence Modeling: Axioms are treated as sequences or "sentences." By performing random walks on the ontology graph or serializing axioms into text, researchers can leverage language models like Word2Vec or BERT. These methods are particularly effective at incorporating "literals" (textual descriptions).
  3. Graph Propagation: Graph Neural Networks (GNNs) are used to propagate information across the ontology's structure, allowing concepts to learn representations based on their logical neighborhood.
The transition from formal semantics (axioms) to box-based geometric embeddings in a 2D vector space.

The mOWL Library

To standardize research, the authors introduced mOWL, an open-source Python library. mOWL provides a unified interface for implementing and comparing various embedding methods, facilitating reproducible research in the field.

Key Insights and Results

The survey highlights several critical findings:

  • Subsumption Prediction: On benchmarks like the Gene Ontology (GO), methods such as OWL2Vec*-Sim achieved near-perfect AUC scores (0.997), demonstrating that embeddings can accurately predict missing hierarchical links.
  • Biological Discovery: In predicting Protein-Protein Interactions (PPI), geometric models (e.g., Box2EL) and sequence models (e.g., OWL2Vec*-TransE) showed strong performance, proving that embedding logical biological functions translates to real-world predictive power.
  • Hyperbolic Space: The authors note that hyperbolic space (e.g., the Poincaré ball) is often superior to Euclidean space for representing ontologies, as its exponential volume growth better mirrors the branching nature of complex taxonomies.

Future Directions

Despite significant progress, challenges remain in representing the full expressive power of OWL 2 DL. Future research is expected to focus on:

  • Large Language Models (LLMs): Integrating ontologies with LLMs via Retrieval Augmented Generation (RAG) to ground AI in formal logic and reduce hallucinations.
  • Efficiency: Developing more parameter-efficient models for complex hierarchies.
  • Multi-modality: Incorporating numerical properties and images alongside text and logic.

This survey provides a comprehensive roadmap for researchers looking to bridge the divide between symbolic AI and modern machine learning.

Summary updated

BibTeX
@article{chen2025ontology,
  author = {Jiaoyan Chen and Olga Mashkova and Fernando Zhapa-Camacho and Robert Hoehndorf and Yuan He and Ian Horrocks},
  title = {{Ontology Embedding: A Survey of Methods, Applications and Resources}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2025},
  url = {https://openreview.net/forum?id=lUrIpaIJAh},
}
Figure