[Paper Review] SODA: A Natural Language Processing Package to Extract Social Determinants of Health for Cancer Studies
SODA is an open-source NLP package using fine-tuned BERT models to extract 19 categories of social determinants of health (SDoH) from clinical notes in cancer patients. It achieved 92.16% strict F1 for SDoH concept extraction and demonstrated generalizability to opioid use cohorts after fine-tuning, with improved performance on new annotations.
Objective: We aim to develop an open-source natural language processing (NLP) package, SODA (i.e., SOcial DeterminAnts), with pre-trained transformer models to extract social determinants of health (SDoH) for cancer patients, examine the generalizability of SODA to a new disease domain (i.e., opioid use), and evaluate the extraction rate of SDoH using cancer populations. Methods: We identified SDoH categories and attributes and developed an SDoH corpus using clinical notes from a general cancer cohort. We compared four transformer-based NLP models to extract SDoH, examined the generalizability of NLP models to a cohort of patients prescribed with opioids, and explored customization strategies to improve performance. We applied the best NLP model to extract 19 categories of SDoH from the breast (n=7,971), lung (n=11,804), and colorectal cancer (n=6,240) cohorts. Results and Conclusion: We developed a corpus of 629 cancer patients notes with annotations of 13,193 SDoH concepts/attributes from 19 categories of SDoH. The Bidirectional Encoder Representations from Transformers (BERT) model achieved the best strict/lenient F1 scores of 0.9216 and 0.9441 for SDoH concept extraction, 0.9617 and 0.9626 for linking attributes to SDoH concepts. Fine-tuning the NLP models using new annotations from opioid use patients improved the strict/lenient F1 scores from 0.8172/0.8502 to 0.8312/0.8679. The extraction rates among 19 categories of SDoH varied greatly, where 10 SDoH could be extracted from >70% of cancer patients, but 9 SDoH had a low extraction rate (<70% of cancer patients). The SODA package with pre-trained transformer models is publicly available at https://github.com/uf-hobiinformatics-lab/SDoH_SODA.
Motivation & Objective
- To develop an open-source NLP tool for extracting social determinants of health (SDoH) from clinical notes in cancer patients.
- To evaluate the generalizability of the SODA model to a new disease domain—opioid use disorder.
- To assess the extraction performance of SDoH across 19 distinct categories in breast, lung, and colorectal cancer cohorts.
- To explore customization strategies via fine-tuning to improve model performance on new clinical populations.
- To release a publicly available NLP package with pre-trained transformer models for broader research use.
Proposed method
- Constructed a curated SDoH corpus of 629 cancer patient notes with 13,193 annotated SDoH concepts across 19 categories.
- Evaluated four transformer-based NLP models, selecting BERT as the optimal model based on F1 scores for concept and attribute extraction.
- Fine-tuned the BERT model using new annotations from a cohort of patients prescribed opioids to assess transferability.
- Implemented strict and lenient evaluation metrics to assess precision, recall, and F1 for SDoH concept and attribute extraction.
- Applied the best-performing model to extract SDoH from three major cancer cohorts: breast (n=7,971), lung (n=11,804), and colorectal (n=6,240).
- Released the SODA package with pre-trained models via a public repository for community use.
Experimental results
Research questions
- RQ1What is the performance of transformer-based NLP models in extracting social determinants of health from cancer clinical notes?
- RQ2How well does the SODA model generalize to a new clinical domain, such as opioid use disorder?
- RQ3Which SDoH categories are most and least frequently extracted across major cancer types?
- RQ4Can fine-tuning the model on new clinical annotations improve its performance on previously unseen populations?
- RQ5What is the impact of customization strategies on SDoH extraction accuracy and robustness?
Key findings
- The BERT model achieved the highest performance with a strict F1 score of 0.9216 and a lenient F1 score of 0.9441 for SDoH concept extraction.
- For linking attributes to SDoH concepts, the BERT model achieved strict and lenient F1 scores of 0.9617 and 0.9626, respectively.
- Fine-tuning on opioid use cohort annotations improved the model's strict and lenient F1 scores from 0.8172/0.8502 to 0.8312/0.8679.
- Ten SDoH categories were extractable from over 70% of cancer patients, while nine categories had extraction rates below 70%.
- The SODA package with pre-trained models is publicly available and supports reproducible, scalable SDoH extraction in clinical text.
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.