Abstract
In the expansion of biomedical datasets, the same category may be labeled with different terms, making curation tedious. Automatically mapping synonymous terms onto ontologies—biomedical synonym prediction—is therefore desirable. Unlike biomedical concept normalization (BCN), synonym prediction often lacks surrounding context, necessitating the extraction of graph features from ontologies. We introduce OBO-syn, a dataset with 70 concept types and 2 million concept-term pairs. We propose GraphPrompt, a prompt-based learning approach that creates templates based on graph structures. GraphPrompt achieved 37.2% and 28.5% improvements in zero-shot and few-shot settings, respectively, demonstrating the effectiveness of graph-based prompt templates.
Introduction
Biomedical entity normalization involves mapping various synonyms, such as "CD115" and "macrophage colony-stimulating factor 1 receptor," to a standardized ontology. While existing methods perform well for common entities like drugs or diseases, they often struggle with "under-explored" entities such as cellular processes or pathways. A significant challenge is that state-of-the-art models typically rely on sentence context for disambiguation. However, in many curation tasks, terms appear in isolation. To address this, we must leverage the structural information in biological ontologies. Traditional Graph Neural Networks (GNNs) often fail here due to "over-smoothing," where closely related nodes become indistinguishable.
Methods
GraphPrompt treats synonym prediction as a Masked Language Modeling (MLM) task. The core innovation is the use of Graph-based Prompt Templates that convert an entity's position in an ontology graph into natural language.
As shown in Figure 1, the templates include zeroth-order ($T^0$) identity prompts, first-order ($T^1$) neighbor relationships (e.g., "is a kind of"), and second-order ($T^2$) distant relationships. These templates are processed by BioBERT, effectively teaching the model the "shape" of the biological hierarchy. A contrastive loss ($L_c$) is also employed to ensure the model distinguishes between distinct but similar entities.
Datasets
We introduce OBO-syn, a massive benchmark compiled from 70 ontologies in the OBO Foundry. It contains over 2 million curated concept-term pairs, covering protein functions, cell types, and pathways. Compared to standard datasets like NCBI-disease or BC5CDR, OBO-syn is more challenging due to its diversity and a higher percentage of out-of-vocabulary terms.
Results
GraphPrompt significantly outperforms baselines like BioSyn and standard GCNs. In zero-shot settings on the mammalian phenotype (mp) dataset, GraphPrompt reached 81.14% Acc@1. Across five sub-datasets (mp, cl, hp, fbbt, doid), the model showed consistent gains.
Figure 5c highlights the importance of the contrastive loss component ($L_c$). Removing $L_c$ leads to a noticeable drop in accuracy across all tested graphs, confirming that the model benefits from learning to differentiate between similar nodes in the graph. The model's zero-shot prowess suggests it learns the logic of how synonyms relate to the hierarchy rather than just memorizing word pairs.
Conclusion
GraphPrompt demonstrates that graph topology can be effectively translated into natural language syntax for transformer models. This approach avoids the over-smoothing issues of GNNs and shows remarkable zero-shot capabilities. Future work includes handling entities not yet in the graph and using more complex relationship strings derived from literature mining.
Summary updated