Abstract
Many ontologies, in particular in the biomedical domain, are based on the Description Logic EL++. Several efforts have been made to interpret and exploit EL++ ontologies by distributed representation learning. Specifically, concepts within EL++ theories have been represented as n-balls within an n-dimensional embedding space. However, the intersectional closure is not satisfied when using n-balls to represent concepts because the intersection of two n-balls is not an n-ball. This leads to challenges when measuring the distance between concepts and inferring equivalence between concepts. To this end, we developed EL Box Embedding (ELBE) to learn Description Logic EL++ embeddings using axis-parallel boxes. We generate specially designed box-based geometric constraints from EL++ axioms for model training. Since the intersection of boxes remains as a box, the intersectional closure is satisfied. We report extensive experimental results on three datasets and present a case study to demonstrate the effectiveness of the proposed method.
Introduction: The Challenge of Intersectional Closure
Ontologies, particularly in the biomedical domain like the Gene Ontology, rely heavily on Description Logic $\mathcal{EL}^{++}$ to define concepts and their relationships. To apply machine learning to these ontologies, researchers embed these logical concepts into continuous vector spaces.
Previous geometric embedding methods represented concepts as $n$-dimensional spheres ($n$-balls). However, a core operation in logic is intersection (e.g., the intersection of the concept "Parent" and "Male" yields the concept "Father"). Geometrically, the intersection of two $n$-balls forms a lens shape, not another $n$-ball. Because the resulting shape is fundamentally different, the embedding space loses "intersectional closure." This inconsistency makes it difficult for the model to accurately measure similarities, handle conflicting axioms, or infer equivalent concepts.
Methods: EL Box Embeddings (ELBE)
To solve the intersectional closure problem, the authors propose EL Box Embeddings (ELBE).
Box Representations
Instead of spheres, concepts are represented as axis-parallel boxes in an $n$-dimensional space. A box is defined by two vectors: a center vector and an offset (size) vector. The mathematical intersection of two axis-parallel boxes is always another axis-parallel box. This perfectly aligns the geometric space with the logical requirement that the intersection of two concepts is itself a concept.
Axiom-Specific Loss Functions
The authors design specific loss functions for the seven normal forms of $\mathcal{EL}^{++}$ axioms. For example, if Concept A is a subclass of Concept B ($A \sqsubseteq B$), the loss function penalizes the model if Box A is not fully contained within Box B. If two concepts are disjoint, the model is penalized if their boxes overlap.
Relational Modeling
To model relationships between concepts (e.g., "has function"), ELBE treats relations as linear translations between points within the boxes, heavily inspired by the popular knowledge graph embedding method TransE.
Evaluation and Results
The effectiveness of ELBE was evaluated on both real-world and synthetic datasets.
Datasets
- Protein-Protein Interactions (PPI): Two well-established datasets for predicting PPIs in Yeast and Humans. These rely on the Gene Ontology (GO), operating on the biological premise that proteins with functionally similar ontology classifications are more likely to interact.
- Synthetic Dataset (Equivalence Entailment): A newly generated dataset based on the Gene Ontology, specifically designed to test the entailment of equivalence concepts (e.g., inferring $C \sqcap D \equiv E$). It contains 1,000 test triples of intersecting axioms to evaluate logical reasoning.
Key Results
- PPI Prediction: ELBE consistently outperformed state-of-the-art baselines, including standard knowledge graph embeddings (TransE) and previous $n$-ball geometric methods (EmEL++, ELEm). On the Yeast dataset, ELBE achieved an AUC(F) of 0.97 and a Hit@100(F) of 0.77. On the Human dataset, it reached an AUC(F) of 0.98.
- Equivalence Entailment: On the synthetic dataset testing logical equivalence, ELBE proved vastly superior to the previous $n$-ball method (ELEm). ELBE achieved a Hit@1 of 87.1%, compared to ELEm's 71.0%. This proves that satisfying intersectional closure directly translates to highly accurate logical reasoning within the vector space.
Discussion
Visual Interpretability
Box embeddings allow for highly interpretable 2D visualizations where logical subsumption (boxes inside boxes) and disjointness (non-overlapping boxes) are immediately obvious to human observers.
Limitations and Future Work
ELBE relies on TransE to model relations. TransE is a linear transformation model that struggles with 1-to-many and many-to-many relations, which are common in complex ontologies. Furthermore, this linear nature makes some of the proposed loss functions (like modeling unsatisfiable relations) insufficient to capture the full, nuanced semantics of $\mathcal{EL}^{++}$. Future work will explore more expressive, non-linear relation models to better capture complex $\mathcal{EL}^{++}$ semantics while maintaining the structural benefits of box embeddings.
Summary updated