This is a neuro-symbolic alignment model that fine-tunes PubMedBERT to bridge the semantic gap between Human Phenotype Ontology (HPO) concepts and clinical literature. It was developed as part of the paper "Structure-Aware Contrastive Learning for Biomedical Embeddings: Bridging the Gap between HPO and Clinical Literature" (IJCAI-ECAI 2026).
The model maps biomedical sentences & phenotype descriptions to a 768-dimensional dense vector space optimized for phenotype similarity — two embeddings are close when their associated HPO terms are clinically related (share disease annotations), not merely taxonomically adjacent.
Compared to the base PubMedBERT, this model achieves:
+9% Spearman ρ on HPO semantic similarity
+99% Recall@1 on GSC+ gene-disease retrieval
4× improvement in Top-1 accuracy on real-world Phenopacket patient retrieval
Matching patients by embedding their phenotype profiles:
Model
Top-1
Top-5
MRR
Base PubMedBERT
0.042
0.114
0.110
This model
0.175
0.341
0.265
Training
Dataset
Sentence pairs were generated from PubMed abstracts mentioning Human Phenotype Ontology (HPO) terms, with quality filtering including negation detection, enumeration removal, and dynamic context windows (±25 words). Training pairs were formed via Anchor-Based Hard Sampling:
33% Positive: different sentences for the same phenotype
33% Hard Negative: terms with moderate RBP similarity (0.3–0.7) — siblings/cousins sharing some diseases
33% Random Negative: low-similarity terms for global structure preservation
Ground-truth similarity scores use the Disease-Overlap (Relative Best Pair) metric, which measures shared disease annotations between phenotype terms — capturing clinical co-occurrence rather than mere taxonomic proximity.
Hyperparameters
Parameter
Value
Loss function
AnglE Loss
Epochs
4
Batch size
64
Evaluation batch
256
Frozen layers
6 (embeddings + layers 0-5)
Max learning rate
7.87 × 10⁻⁵
Min learning rate
1.00 × 10⁻⁶
Weight decay
0.05
Warmup ratio
6%
Max gradient norm
1.0
Optimizer
AdamW (β₁=0.9, β₂=0.999, ε=1e-6)
Mixed precision
AMP (CUDA)
Seed
13
Discriminative Layer-wise Learning Rates
Bottom 6 layers frozen, top 6 unfrozen with linearly increasing learning rates:
This model is designed for biomedical phenotype representation and retrieval tasks:
Semantic similarity between phenotype descriptions
Patient-to-disease matching (embedding disease phenotype profiles and querying with patient phenotypes)
Mention-to-HPO concept normalization
Document-level phenotype indexing and retrieval
It is not intended for general-domain sentence similarity. The model specializes in clinical/biomedical phenotype vocabulary from the HPO.
Limitations and Biases
Domain-specific: Trained exclusively on PubMed biomedical literature and HPO terminology. Performance degrades on general-domain text.
Language: English only.
HPO coverage: Performance correlates with the number of training sentences available per HPO term; rare phenotypes with limited literature mentions may have weaker representations.
Sequence length: Truncated at 256 tokens, suitable for sentences and short paragraphs but not full-length articles.
Citation
TBD - Will update when the IJCAI-ECAI 2026 proceedings are online.