[Paper Review] TF-IDF vs Word Embeddings for Morbidity Identification in Clinical Notes: An Initial Study
This study evaluates deep learning with word embeddings (GloVe, Word2Vec, domain-specific) versus traditional TF-IDF with SVM and MLP for classifying 16 morbidity types in clinical notes. Despite using state-of-the-art embeddings, TF-IDF-based models outperformed all deep learning approaches, achieving an average F1 of 98.47% compared to 77.64% for deep learning, indicating dataset bias toward frequent, disease-specific keywords.
Today, we are seeing an ever-increasing number of clinical notes that contain clinical results, images, and textual descriptions of patient's health state. All these data can be analyzed and employed to cater novel services that can help people and domain experts with their common healthcare tasks. However, many technologies such as Deep Learning and tools like Word Embeddings have started to be investigated only recently, and many challenges remain open when it comes to healthcare domain applications. To address these challenges, we propose the use of Deep Learning and Word Embeddings for identifying sixteen morbidity types within textual descriptions of clinical records. For this purpose, we have used a Deep Learning model based on Bidirectional Long-Short Term Memory (LSTM) layers which can exploit state-of-the-art vector representations of data such as Word Embeddings. We have employed pre-trained Word Embeddings namely GloVe and Word2Vec, and our own Word Embeddings trained on the target domain. Furthermore, we have compared the performances of the deep learning approaches against the traditional tf-idf using Support Vector Machine and Multilayer perceptron (our baselines). From the obtained results it seems that the latter outperforms the combination of Deep Learning approaches using any word embeddings. Our preliminary results indicate that there are specific features that make the dataset biased in favour of traditional machine learning approaches.
Motivation & Objective
- To investigate the effectiveness of deep learning with word embeddings for multi-morbidity classification in clinical notes.
- To compare pre-trained (GloVe, Word2Vec) and domain-specific word embeddings against TF-IDF as a baseline.
- To evaluate whether deep learning models can outperform traditional machine learning methods in clinical morbidity detection.
- To identify dataset-specific features that may bias classification toward classical ML approaches.
Proposed method
- Employed a bidirectional LSTM deep learning model to classify 16 morbidity types from clinical text.
- Used three types of word embeddings: pre-trained GloVe and Word2Vec, and self-trained domain-specific embeddings.
- Constructed TF-IDF feature vectors from clinical notes for use in SVM and Multilayer Perceptron baselines.
- Applied 5-fold cross-validation to ensure robust performance evaluation across all morbidity classes.
- Trained domain-specific word embeddings on the target clinical dataset to capture disease-specific linguistic patterns.
- Evaluated models using F1-score, precision, and recall across all morbidity classes.
Experimental results
Research questions
- RQ1Does the use of pre-trained and domain-specific word embeddings improve morbidity classification performance compared to TF-IDF in clinical notes?
- RQ2Can deep learning models with word embeddings outperform traditional machine learning models using TF-IDF for multi-morbidity detection?
- RQ3What specific features in the dataset make classical machine learning with TF-IDF perform significantly better than deep learning approaches?
- RQ4How do different word embedding types (GloVe, Word2Vec, domain-specific) compare in their ability to represent clinical morbidity terms?
Key findings
- The TF-IDF with SVM baseline achieved an average F1-score of 98.47%, significantly outperforming all deep learning models.
- The best-performing deep learning model using GloVe embeddings achieved an average F1 of 77.64%, indicating a substantial performance gap.
- The Multilayer Perceptron with TF-IDF achieved an average F1 of 97.72%, further confirming the superiority of classical ML in this setting.
- GloVe embeddings outperformed Word2Vec across all morbidity classes, suggesting better capture of clinical terminology patterns.
- Domain-specific word embeddings underperformed both pre-trained embeddings and TF-IDF, likely due to insufficient training data size.
- The results suggest that the dataset contains highly discriminative, frequently occurring keywords per morbidity class, which TF-IDF effectively captures, leading to high performance in classical models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.