Skip to main content
JMIR Dermatology logoLink to JMIR Dermatology
letter
. 2024 May 2;7:e53792. doi: 10.2196/53792

Online Patient Attitudes Toward Cutaneous Immune-Related Adverse Events Attributed to Nivolumab and Pembrolizumab: Sentiment Analysis

Camille M Powers 1, Andrew K Yang 1, Hannah Verma 1, Jeremy Orloff 1, Austin J Piontkowski 1, Nicholas Gulati 1,
Editor: William Guo
Reviewed by: Maha Gasmi, Valencia Long, Mahmoud Elbattah
PMCID: PMC11099803  PMID: 38696235

Introduction

Online forums provide patients with platforms to connect, share experiences, and learn about conditions and treatments [1]. Drugs.com, one publicly available website, hosts patient reviews on medication-related adverse events. Since 2011, immune checkpoint inhibitors (ICIs) have revolutionized cancer therapy. Increasing use of ICIs has led to more patients experiencing ICI-induced cutaneous immune-related adverse events (cirAEs), occurring in 30%-60% of patients [2]. However, many nondermatologist physicians feel unequipped to manage cirAEs, making dermatologists with expertise in skin-related conditions crucial in detection, diagnosis, and management [3]. Furthermore, despite cirAEs being linked to improved survival and treatment response, they are frequently distressing to patients. Patient reviews of ICIs could offer insights into attitudes and expectations about cirAEs during cancer treatment, aiding physician-patient education. Previous literature highlights the potential for natural language processing to provide valuable insights [4,5]. Our study aims to characterize public online oncology patients’ attitudes toward dermatologic symptoms (DSs) during ICI treatment and explore whether patients mentioning DSs also report improved cancer outcomes.

Methods

Overview

Data on ICIs nivolumab and pembrolizumab were collected from Drugs.com using Python (Multimedia Appendix 1). Reviews were screened for DSs using the following terms: skin, dermatitis, rash, blisters, dry, itch, and peeling. Sentiment scores were derived using cardiffnlp/twitter-roberta-base-sentiment-latest, a Robustly Optimized Bidirectional Encoder Representations From Transformers (RoBERTa)–based artificial intelligence technique that captures contextual semantics [6,7]. Two-tailed Mann-Whitney U tests compared median ratings and sentiment scores in DS-containing reviews versus those without. Positive cancer outcomes were determined by manual review, including the words remission, gone, resolution, shrunk/shrink, smaller, reduction, disappeared, cancer-free, and saved. Significance was evaluated using a Fisher test. After examining the distribution (Table 1), patient reviews were divided into three score ranges (1-3, 4-7, and 8-10 out of 10) by dividing the maximum rating of 10 into thirds and rounding to the nearest nonoverlapping whole number. A row-wise Fisher test was used to compare DS-containing versus non–DS-containing reviews across the three score groups, with a Benjamini-Hochberg procedure to adjust P values.

Table 1.

Distribution of patient ratings of nivolumab and pembrolizumab.


Scores 1-3, n Scores 4-7, n Scores 8-10, n Total reviews, n
Nivolumab 52 6 43 101
Pembrolizumab 121 14 56 191
All 173 20 99 292

Ethical Considerations

Given the publicly available nature of the data, no institutional review board approval was warranted for this study. We prioritized patient privacy and minimized potential harms by anonymizing data, analyzing all reviews, transparently documenting our methods, and comparing findings to existing literature.

Results

Of 292 reviews, 38 mentioned DSs (21 for nivolumab and 17 for pembrolizumab), while 254 did not. The distribution of ratings was heavily skewed toward extremes, but a handful of reviews were moderately rated. The top two ICI indications were non–small cell lung cancer (117/292, 60.9%) and melanoma (52/292, 17.8%). Mean patient ratings were significantly higher for nivolumab than pembrolizumab (mean 4.97, SD 4.08 vs mean 3.85, SD 3.79 out of 10; P=.02). DS-containing reviews had significantly higher patient ratings (median 6.5, IQR 1-10 vs median 1.0, IQR 1-9 out of 10; P=.007). A trend toward higher sentiment scores was exhibited in DS-containing reviews, though it did not reach statistical significance (P=.07). Overall, 16 of 38 (42%) DS-containing reviews compared to 40 of 254 (15.8%) non–DS-containing reviews self-reported positive cancer outcomes, including remission or tumor size reduction (P<.001). A significantly lower proportion of DS-containing compared to non–DS-containing reviews had ratings of 1 to 3 out of 10 (15/38, 39% vs 158/254, 62.2%; P=.04). Higher proportions of DS-containing reviews were in the score ranges of 4-7 and 8-10, but these did not reach statistical significance (P=.16 and P=.10, respectively; Figure 1).

Figure 1.

Figure 1

Percentages of patient reviews mentioning DSs versus not mentioning DSs in each score range. All scores are out of 10 and were extracted from patient ratings of nivolumab or pembrolizumab on Drugs.com. The error bars represent 95% CIs, calculated by the Clopper-Pearson method. DS: dermatologic symptom. *Significant by row-wise Fisher test, defined as P<.05.

Discussion

In summary, DS-containing reviews correlated with higher patient ratings and more self-reported positive cancer outcomes. Nivolumab was rated higher than pembrolizumab. The FDA reports the prevalence of pembrolizumab- and nivolumab-associated DS as 13.57% and 12.61%, respectively, aligning with the 13% (38/292) of DS-mentioning reviews in our study [8]. While not compared directly, pembrolizumab and nivolumab have both been associated with improved patient-reported quality of life [9,10]. CirAE development was associated with more self-reported positive cancer outcomes, reinforcing the presence of DS as a promising indicator of treatment efficacy [2]. Higher patient ratings were likely influenced by improvements in cancer. Thus, patient counseling by dermatologists regarding the prognostic value of cirAEs may improve patient satisfaction.

Online patient reviews have limitations. They skew toward younger English-speaking individuals with higher digital literacy and extremely positive or negative experiences. Patient reviews include subjective accounts of cancer diagnoses and improvement, lacking medical history and social context, may be emotionally biased or inaccurate and represent only a snapshot in time. Sentiment analysis tools may also carry biases; for example, our study’s chosen model was trained on social media data, not health care data [7]. However, we believe this model is applicable due to the online and short-form nature of the reviews. Analyzing patient reviews offers direct feedback to clinicians and informs unmet patient needs. Future research could involve prospective data collection to quantify patients’ subjective experiences alongside objective clinical cirAE grading to better guide the treatment of oncodermatologic conditions.

Acknowledgments

The authors have not received grant support or research funding from any funding agency in the public, commercial, or not-for-profit sectors for this project. There are no proprietary interests in the materials described in this letter.

Abbreviations

cirAE

cutaneous immune-related adverse event

DS

dermatologic symptom

ICI

immune checkpoint inhibitor

RoBERTa

Robustly Optimized Bidirectional Encoder Representations From Transformers

Multimedia Appendix 1

Supplemental methods.

Data Availability

The data underlying this article will be shared upon reasonable request to the corresponding author.

Footnotes

Conflicts of Interest: None declared.

References

  • 1.AlRuthia YSH, Hong SH, Graff C, Kocak M, Solomon D, Nolly R. Exploring the factors that influence medication rating Web sites value to older adults: a cross-sectional study. Geriatr Nurs. 2016;37(1):36–43. doi: 10.1016/j.gerinurse.2015.10.011.S0197-4572(15)00366-3 [DOI] [PubMed] [Google Scholar]
  • 2.Du Y, Wu W, Chen M, Dong Z, Wang F. Cutaneous adverse events and cancer survival prognosis with immune checkpoint inhibitor treatment: a systematic review and meta-analysis. JAMA Dermatol. 2023 Oct 01;159(10):1093–1101. doi: 10.1001/jamadermatol.2023.3003.2808778 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Khalid AB, Calderon Gerardo, Jalal Shadia I, Durm Greg A. Physician awareness of immune-related adverse events of immune checkpoint inhibitors. J Natl Compr Canc Netw. 2022 Dec;20(12):1316–1320. doi: 10.6004/jnccn.2022.7064. [DOI] [PubMed] [Google Scholar]
  • 4.Greaves F, Ramirez-Cano D, Millett C, Darzi A, Donaldson L. Use of sentiment analysis for capturing patient experience from free-text comments posted online. J Med Internet Res. 2013 Nov 01;15(11):e239. doi: 10.2196/jmir.2721. https://www.jmir.org/2013/11/e239/ v15i11e239 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Hao T, Huang Z, Liang L, Weng H, Tang B. Health natural language processing: methodology development and applications. JMIR Med Inform. 2021 Oct 21;9(10):e23898. doi: 10.2196/23898. https://medinform.jmir.org/2021/10/e23898/ v9i10e23898 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Loureiro D, Barbieri F, Neves L, Anke LE, Camacho-collados J. TimeLMs: diachronic language models from Twitter. 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations; May 22-27, 2022; Dublin, Ireland. 2022. [DOI] [Google Scholar]
  • 7.Wolf T, Debut L, Sanh V, Chaumond J, Delangue C, Moi A, Cistac P, Rault T, Louf R, Funtowicz M, Davison J, Shleifer S, von Platen P, Ma C, Jernite Y, Plu J, Xu C, Le Scao T, Gugger S, Drame M, Lhoest Q, Rush A. HuggingFace's transformers: state-of-the-art natural language processing. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. 2020;abs/1910.03771:38–45. doi: 10.18653/v1/2020.emnlp-demos.6. https://aclanthology.org/2020.emnlp-demos.6 . [DOI] [Google Scholar]
  • 8.FDA Adverse Event Reporting System (FAERS) public dashboard. US Food and Drug Administration. 2023. Dec 07, [2024-04-14]. https://tinyurl.com/hrvywrah .
  • 9.Brahmer JR, Rodríguez-Abreu D, Robinson AG, Hui R, Csőszi T, Fülöp A, Gottfried M, Peled N, Tafreshi A, Cuffe S, O'Brien M, Rao S, Hotta K, Zhang J, Lubiniecki GM, Deitz AC, Rangwala R, Reck M. Health-related quality-of-life results for pembrolizumab versus chemotherapy in advanced, PD-L1-positive NSCLC (KEYNOTE-024): a multicentre, international, randomised, open-label phase 3 trial. Lancet Oncol. 2017 Dec;18(12):1600–1609. doi: 10.1016/S1470-2045(17)30690-3.S1470-2045(17)30690-3 [DOI] [PubMed] [Google Scholar]
  • 10.Reck M, Brahmer J, Bennett B, Taylor F, Penrod JR, DeRosa M, Dastani H, Spigel DR, Gralla RJ. Evaluation of health-related quality of life and symptoms in patients with advanced non-squamous non-small cell lung cancer treated with nivolumab or docetaxel in CheckMate 057. Eur J Cancer. 2018 Oct;102:23–30. doi: 10.1016/j.ejca.2018.05.005.S0959-8049(18)30845-1 [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Multimedia Appendix 1

Supplemental methods.

Data Availability Statement

The data underlying this article will be shared upon reasonable request to the corresponding author.


Articles from JMIR Dermatology are provided here courtesy of JMIR Publications Inc.

RESOURCES