# Replacing non-biomedical concepts improves embedding of biomedical concepts

**Authors:** Enock Niyonkuru, Mauricio Soto Gomez, Elena Casarighi, Stephan Antogiovanni, Hannah Blau, Justin T. Reese, Giorgio Valentini, Peter N. Robinson

PMC · DOI: 10.1371/journal.pone.0322498 · 2025-05-05

## TL;DR

Replacing non-biomedical synonyms improves the quality of biomedical word embeddings by reducing noise and increasing cluster coherence.

## Contribution

Introducing non-biomedical synonym replacement as a complementary method to enhance biomedical embedding quality.

## Key findings

- Replacing non-biomedical synonyms reduced mean intra-cluster distance by 8% on average.
- The method was applied to 1,055 biomedical concept sets using Word2Vec on PubMed abstracts.
- Improved coherence suggests better embedding quality for downstream machine learning tasks.

## Abstract

Embeddings are semantically meaningful representations of words in a vector space, commonly used to enhance downstream machine learning applications. Traditional biomedical embedding techniques often replace all synonymous words representing biological or medical concepts with a unique token, ensuring consistent representation and improving embedding quality. However, the potential impact of replacing non-biomedical concept synonyms has received less attention. Embedding approaches often employ concept replacement to replace concepts that span multiple words, such as non-small-cell lung carcinoma, with a single concept identifier (e.g., D002289). Also, all synonyms of each concept are merged into the same identifier. Here, we additionally leveraged WordNet to identify and replace sets of non-biomedical synonyms with their most common representatives. This combined approach aimed to reduce embedding noise from non-biomedical terms while preserving the integrity of biomedical concept representations. We applied this method to 1,055 biomedical concept sets representing molecular signatures or medical categories and assessed the mean pairwise distance of embeddings with and without non-biomedical synonym replacement. A smaller mean pairwise distance was interpreted as greater intra-cluster coherence and higher embedding quality. Embeddings were generated using the Word2Vec algorithm applied to a corpus of 10 million PubMed abstracts. Our results demonstrate that the addition of non-biomedical synonym replacement reduced the mean intra-cluster distance by an average of 8%, suggesting that this complementary approach enhances embedding quality. Future work will assess its applicability to other embedding techniques and downstream tasks. Python code implementing this method is provided under an open-source license.

## Linked entities

- **Diseases:** non-small-cell lung carcinoma (MONDO:0005233)

## Full-text entities

- **Diseases:** non-small-cell lung carcinoma (MESH:D002289)

## Figures

37 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12052101/full.md

---
Source: https://tomesphere.com/paper/PMC12052101