Abstract
Recently, increasing efforts are put into learning continual representations for symbolic knowledge bases (KBs). However, these approaches either only embed the data-level knowledge (ABox) or suffer from inherent limitations when dealing with concept-level knowledge (TBox), i.e., they cannot faithfully model the logical structure present in the KBs. We present BoxEL, a geometric KB embedding approach that allows for better capturing the logical structure (i.e., ABox and TBox axioms) in the description logic $\mathcal{EL}^{++}$. BoxEL models concepts in a KB as axis-parallel boxes that are suitable for modeling concept intersection, entities as points inside boxes, and relations between concepts/entities as affine transformations. We show theoretical guarantees (soundness) of BoxEL for preserving logical structure. Namely, the learned model of BoxEL embedding with loss 0 is a (logical) model of the KB. Experimental results on (plausible) subsumption reasonings and a real-world application for protein-protein prediction show that BoxEL outperforms traditional knowledge graph embedding methods as well as state-of-the-art $\mathcal{EL}^{++}$ embedding approaches.
Introduction
Knowledge Bases (KBs) are foundational to modern AI, typically organized into two layers: the ABox (assertional facts about individuals) and the TBox (terminological logical rules about concepts). While traditional Knowledge Graph Embeddings (KGEs) excel at ABox fact prediction, they often fail to capture the logical constraints of the TBox.
Recent geometric approaches representing concepts as $n$-dimensional balls suffer from two primary limitations: intersection closure and scaling. Specifically, the intersection of two balls is not a ball, making it impossible to represent concepts defined by conjunctions (e.g., $Father \equiv Parent \sqcap Male$). Furthermore, simple translation-based relations cannot model the volume changes necessary to map broad concepts into specific sub-concepts.
The BoxEL Framework
BoxEL addresses these issues by shifting the geometric representation from balls to axis-parallel boxes (hyperrectangles). This choice is mathematically motivated: the intersection of two axis-parallel boxes is always another axis-parallel box, ensuring closure under logical conjunction.
In BoxEL, individuals are represented as points (zero-volume boxes) contained within their respective concept boxes. Relations are modeled as affine transformations $T(x) = Dx + b$. The diagonal matrix $D$ allows for scaling (shrinking or growing regions), while $b$ provides translation. This flexibility enables the representation of complex hierarchies and "N-to-one" relationships where many distinct entities are mapped into a single, smaller target region.
To facilitate training via gradient descent, BoxEL utilizes a "softplus" volume approximation to avoid vanishing gradients in disjoint regions. Crucially, the authors provide a soundness guarantee: a BoxEL model with zero loss constitutes a mathematically valid logical model of the $\mathcal{EL}^{++}$ KB.
Experimental Evaluation
The framework was evaluated on two primary tasks: subsumption reasoning across biomedical ontologies (Gene Ontology, GALEN, Anatomy) and protein-protein interaction (PPI) prediction in Yeast and Human datasets.
- Subsumption Reasoning: BoxEL significantly outperformed baselines. On the GALEN dataset, it reduced the Mean Rank from ~8400 (ELEm) to 3584 and achieved a raw accuracy of 0.788, nearly doubling previous state-of-the-art performance.
- PPI Prediction: BoxEL reached a Filtered AUC of 0.94 on the Yeast dataset, demonstrating its effectiveness in real-world applications by avoiding catastrophic misclassifications compared to traditional KGEs like TransE.
Conclusion
BoxEL provides a faithful geometric representation for $\mathcal{EL}^{++}$ KBs by leveraging the properties of axis-parallel boxes and affine transformations. While it excels at capturing logical structure, future work may explore probabilistic extensions to handle noisy data and incorporate negation, which is currently absent in the $\mathcal{EL}^{++}$ logic.
Summary updated