Semantic similarity and machine learning with ontologies

Maxat Kulmanov, Fatima Zohra Smaili, Xin Gao, Robert HoehndorfBriefings in Bioinformatics 2021 · DOI

TL;DR

This paper explores how to bridge the gap between formal biological knowledge encoded in ontologies and the power of machine learning. It reviews methods for using ontologies to compute semantic similarity and enhance machine learning models, demonstrating their effectiveness in predicting protein-protein interactions.

What Problem Does This Paper Address?

The life sciences are awash in vast amounts of structured knowledge, primarily in the form of ontologies. These ontologies formally define biological concepts and their relationships, serving as crucial background information. However, effectively integrating this rich, symbolic knowledge into modern, data-driven machine learning models has been a significant challenge. Traditional machine learning often struggles to leverage this structured background knowledge, leading to models that might miss crucial biological context. This paper aims to bridge this gap by reviewing and demonstrating methods that combine ontologies with machine learning for improved predictive tasks in biomedicine.

Methods

The paper categorizes methods for integrating ontologies with machine learning into three main areas:

  • Semantic Similarity Measures: These traditional AI techniques use ontology structure (like class hierarchies) to quantify how similar two concepts are. Examples include Resnik's and Lin's measures, which leverage information content and common ancestors.
  • Ontology Embeddings: This is a more recent and powerful approach. It involves mapping ontology entities (classes, relations) into continuous vector spaces (embeddings). These embeddings can preserve various aspects of the ontology's structure, such as graph structure (via random walks like DeepWalk, Node2Vec), syntactic regularities of axioms (Onto2Vec, OPA2Vec), or even model-theoretic semantics (EL Embeddings). These vector representations can then be used for similarity calculations or as features for machine learning models.
  • Ontologies as Constraints: Here, ontologies are used to guide or constrain the output of machine learning models. This is particularly useful for tasks where predictions must be consistent with known biological hierarchies or rules, such as predicting protein functions or gene-phenotype associations.

Datasets

The authors introduce a novel benchmark dataset for predicting protein-protein interactions (PPIs) in both yeast and human. These datasets were derived from the String database, filtered for interactions with a confidence score of at least 700. The data was split into training (80%), validation (20% of training), and testing sets.

Key Insights and Ideas

  • Ontologies are more than just dictionaries: They provide formal, logical constraints that can significantly improve machine learning performance, especially in data-scarce or complex biological domains.
  • Embeddings unlock ontology power: Mapping ontologies into vector spaces allows them to be readily integrated with modern machine learning architectures, overcoming the symbolic-to-numeric barrier.
  • Different embedding strategies capture different aspects: Graph-based embeddings focus on structural relationships, syntactic approaches leverage axiom text, and model-theoretic embeddings aim to preserve formal semantics. Each has strengths and weaknesses.
  • Constraints are crucial for biological realism: Using ontologies to constrain predictions ensures biological plausibility, particularly for hierarchical relationships.
  • Combining knowledge sources is key: The paper highlights that integrating ontologies with other data sources (like natural language text) can lead to more robust models.

Key Results

The paper demonstrates the effectiveness of ontology-based methods on the PPI prediction task.

  • SiameseNN (Ont), a neural network model that incorporated ontology structure, achieved the best performance in terms of Hits@10 and Hits@100 for both yeast and human PPI datasets, outperforming simpler Siamese networks and traditional semantic similarity measures. For instance, it achieved a filtered Hits@10 of 0.72 for yeast and 0.64 for human.
  • Traditional semantic similarity measures like Resnik's and Lin's also performed reasonably well, often outperforming basic embedding methods without explicit ontology integration.
  • The study emphasizes that incorporating more of the ontology's structure (e.g., using all superclasses in SiameseNN (Ont)) generally leads to improved results.

Limitations and Future Work

  • Interpretability of Embeddings: While embeddings are powerful, they can be difficult to interpret, making it hard to understand why a particular prediction was made.
  • Handling Complex Axioms: Current embedding methods struggle to fully capture complex logical axioms like negation, symmetry, and transitivity, which are crucial for robust reasoning.
  • Scalability and Expressivity: The expressiveness of formal languages used in ontologies (like OWL) can be challenging to fully represent in current embedding techniques.
  • Quantitative Data Integration: Most current methods focus on qualitative ontological information. Future work should explore methods that can jointly learn from ontologies and quantitative data (e.g., using graph neural networks).
  • Neuro-Symbolic Integration: The paper points to the exciting future of neuro-symbolic systems that seamlessly integrate symbolic reasoning with neural networks, offering a more holistic approach to AI in biology.
  • Broader Applications: The authors suggest that the methods discussed have potential applications beyond PPI prediction, including drug-target interactions, gene-disease associations, and more.

Summary updated

BibTeX
@article{kulmanov2021semantic,
  author = {Maxat Kulmanov and Fatima Zohra Smaili and Xin Gao and Robert Hoehndorf},
  title = {{Semantic similarity and machine learning with ontologies}},
  journal = {Briefings in Bioinformatics},
  year = {2021},
  doi = {10.1093/bib/bbaa199},
}
Figure