Enhancing Cancer Ontology-Based Query Retrieval with Transformer Models and Adaptive Angular Loss Functions
This paper investigates the enhancement of cancerrelated information retrieval using transformer models optimized with specialized angular loss functions. We compare BERT, RoBERTa, and GPT-2, trained with ArcFace and our novel FuzzyArcLoss [1], which dynamically adjusts margins based on confidence levels. Experiments conducted on NVIDIA DGX A100 GPUs reveal that FuzzyArcLoss significantly enhances retrieval performance for BERT (MRR: 1.0000, GPT-4 Score: 8.6 at <tex>$\tau=0.1$</tex>) and GPT-2 (MRR: 0.5000, GPT-4 Score: 7.0 at <tex>$\tau=0.5$</tex>), outperforming ArcFace in these contexts. RoBERTa with ArcFace achieves the highest overall performance (MRR: 1.0000, GPT4 Score: 7.0), though FuzzyArcLoss remains competitive. We recommend FuzzyArcLoss as the primary algorithm for BERT and GPT-2 due to its adaptability in ranking relevant ontology classes, with ArcFace optimal for RoBERTa. The study discusses the strengths of FuzzyArcLoss in handling variable data and proposes strategies to address GPT-2's limitations using newer autoregressive models. Practical steps for clinical implementation and experimental methodologies for future research are outlined.
Authors
- Servio Lima (ORCID: https://orcid.org/0000-0002-1012-9284)
- Luis Terán (ORCID: https://orcid.org/0000-0002-0503-511X)
- Edy Portmann (ORCID: https://orcid.org/0000-0001-6448-1139)
Institutions
- University of Fribourg (CH)
- Lucerne University of Applied Sciences and Arts (CH)
Publication Details
- Published
- 2025-06-18
- DOI
- https://doi.org/10.1109/icedeg65568.2025.11081564
- Primary Topic
- Biomedical Text Mining and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00