Abstract
TransBox is a novel geometric embedding method for $\mathcal{EL}^{++}$ ontologies designed to ensure "logical closure." Unlike traditional methods that struggle with complex logical compositions, TransBox represents both concepts and roles as axis-aligned hyperrectangles (boxes). By treating roles as sets of possible translations rather than single vectors, the model effectively handles many-to-many relationships and allows for the calculation of embeddings for complex, composed concepts. TransBox demonstrates state-of-the-art performance in predicting complex axioms within large-scale biomedical ontologies such as GALEN and the Gene Ontology.
Introduction
Ontologies, such as the Web Ontology Language (OWL), provide the formal structure for knowledge representation in critical domains like healthcare and biology. These systems utilize Description Logics (DL) to define categories (concepts) and their interrelations (roles). Embedding these structures into vector spaces for machine learning applications presents three primary challenges:
- Logical Closure: The inability to represent complex expressions (e.g., Father ⊓ ∃hasChild.Doctor) from atomic components.
- Relational Limitations: The failure of simple translation models (like TransE) to capture many-to-many relationships.
- The "Empty Intersection" Curse: The geometric difficulty of representing overlapping concepts in high-dimensional spaces.
TransBox addresses these issues by providing a mathematically sound framework where logical operations correspond to geometric transformations of boxes.
Methodology
The core innovation of TransBox is the representation of both concepts and roles as axis-aligned hyperrectangles in $\mathbb{R}^n$.
Roles as Boxes of Translations
In TransBox, a role $r$ is not a single vector but a box. A relationship $r(a, b)$ between two individuals is considered true if the vector difference between them, $\mathbf{x}_a - \mathbf{x}_b$, falls within the boundaries of $Box(r)$. This approach naturally accommodates many-to-many relations, as multiple pairs of vectors can satisfy the inclusion criteria.
Logical Closure and Composition
TransBox is mathematically proven to be "closed" under $\mathcal{EL}^{++}$ logic operations, including conjunction, existential quantification, and role composition. This closure allows the model to derive the embedding of a complex concept by geometrically combining the boxes of its constituent parts. For instance, the existential quantification $\exists r.B$ is represented by a box that encompasses all points $x$ such that there exists some $y \in Box(B)$ where $x - y \in Box(r)$.
Extended Box Intersections
To mitigate the "empty intersection" problem in high dimensions—where random boxes rarely overlap—the authors extend the coordinate space to $(\mathbb{R} \cup \{\emptyset\})^n$. This extension provides the flexibility needed to represent disjoint concepts without violating the underlying geometric logic.
Evaluation and Results
The model was evaluated on three major biomedical ontologies: GALEN, Gene Ontology (GO), and Uberon (Anatomy). Using the LETHE tool to generate complex test axioms, the researchers compared TransBox against existing "closed" models like BoxEL and ELBE.
TransBox significantly outperformed its predecessors in complex axiom prediction:
- Gene Ontology (GO): The median rank improved from 982 (BoxEL) to 30. Hits@100 reached 0.65, a substantial increase over the 0.05 - 0.15 range of previous models.
- Anatomy: The Mean Rank (MR) dropped from 19,744 to 622.
While some "non-closed" models (e.g., Box2EL) may perform slightly better on simple, normalized axioms due to additional parameters, TransBox is superior for tasks requiring complex logical reasoning and composition.
Conclusion
TransBox bridges the gap between formal symbolic logic and neural embeddings. By ensuring logical closure and providing a robust geometric interpretation of roles, it allows models to "calculate" the meaning of complex concepts they were not explicitly trained on. Future work includes extending the model to more expressive logics (e.g., $\mathcal{ALC}$) and integrating it with Large Language Models to leverage textual descriptions for better box initialization.
Summary updated