Abstract: SNOMED CT is a biomedical ontology with a hierarchical representation of large-scale concepts. Knowledge retrieval in SNOMED CT is critical for its application, but often proves challenging due to language ambiguity, synonyms, polysemies and so on. This problem is exacerbated when the queries are out-of-vocabulary (OOV), i.e., having no equivalent matchings in the ontology. In this work, we focus on the problem of hierarchical concept retrieval from SNOMED CT with OOV queries, and propose an approach based on language model-based ontology embeddings. For evaluation, we construct OOV queries annotated against SNOMED CT concepts, testing the retrieval of the most direct subsumers and their less relevant ancestors. We find that our method outperforms the baselines including SBERT and two lexical matching methods. While evaluated against SNOMED CT, the approach is generalisable and can be extended to other ontologies.
Introduction
In medical informatics, a critical bottleneck exists: how do we handle search queries that don't exist in our official databases? By leveraging the unique geometry of hyperbolic space, this research proposes a way to "place" new, unknown terms into the existing hierarchy of medical knowledge. The approach addresses the problem of "Out-Of-Vocabulary" (OOV) queries in SNOMED CT by using hyperbolic ontology embeddings to map unknown search terms to their most relevant parent concepts.
The OOV Challenge in SNOMED CT
SNOMED CT is the gold standard for healthcare coding—a massive, hierarchical ontology used to code everything from "Diabetes mellitus" to "Pins and needles." However, clinicians and patients often use OOV terms—phrases like "tingling pins sensation"—that have no exact match in the system.
Standard search engines struggle here. Lexical methods (like BM25) fail because the words don't match exactly. Semantic methods (like SBERT) find "similar" concepts but often fail to respect the hierarchy. For example, a search for a specific sensation should ideally return its direct "parent" category (Paresthesia), not just a semantically related but hierarchically distant concept. This paper frames this as a Hierarchical Retrieval (HR) problem: finding the most accurate "ancestor" for a query that currently has no "leaf" in the tree.
Methodology
The core innovation lies in moving away from standard "flat" Euclidean vector spaces and into Hyperbolic space (specifically the Poincaré ball). Hierarchies grow exponentially as you move down branches; hyperbolic space is mathematically better suited for this because its "volume" grows exponentially toward the edge, allowing it to represent tree structures with much lower distortion.
Two primary models were developed:
- HiT (Hierarchy Transformer): Uses a pre-trained language model trained with a hyperbolic objective to place general concepts near the center and specific ones near the edge.
- OnT (Ontology Transformer): An evolution of HiT that considers complex logical relationships (Description Logic) expressed in the ontology, "verbalizing" logic rules for the language model to learn.
Retrieval is further refined by a Depth-Biased Scoring function that accounts for both the distance between concepts and their relative depth (generality vs. specificity) in the hierarchy.
Key Results and Insights
The authors tested models on their ability to find the single most direct parent (Single Target) and any valid ancestor within a certain distance (Multi-Target). The evaluation utilized a new OOV set of 50 queries extracted from the MIRAGE benchmark and manually annotated by experts.
- Superior Performance: OnT Mini was the clear winner, achieving a Mean Reciprocal Rank (MRR) of 0.63 and a Hit@1 of 52% for single-target retrieval. In contrast, SBERT trailed significantly with an MRR of 0.51 and a Hit@1 of only 34%.
- Lexical Failure: Lexical baselines (TF-IDF/BM25) performed poorly (MRR ~0.30), confirming that simple keyword matching is insufficient for OOV queries.
- The "Mini" Model Paradox: Surprisingly, training on the entire SNOMED CT led to lower performance than training on a "Mini" version containing only relevant semantic branches. This suggests that for massive ontologies, "noise" from unrelated branches can degrade embedding quality.
- Logic Matters: OnT outperformed HiT, proving that incorporating formal logical axioms provides a richer semantic signal for retrieval than visual tree structure alone.
Limitations and Future Work
While promising, the evaluation was limited to 50 manually annotated queries. A larger dataset is needed to confirm generalizability. Additionally, the fact that the "Full" model underperformed the "Mini" model indicates a need for better training strategies when dealing with millions of concepts. Future iterations should involve more domain-expert annotators to refine the ground truth for relevant ancestors in clinical settings.
Summary updated