Skip to main content

Social media insights on sepsis management using advanced natural language processing techniques

Comment

Early recognition and prompt initiation of appropriate treatment are critical for improving sepsis outcomes [1]. However, public insight of sepsis remains suboptimal, contributing to delays in care-seeking and worse prognoses [2]. To gain insights into public perceptions of sepsis, we analyzed 4,080 sepsis-related posts on the social media platform X.com (formerly Twitter) from January 2020 to January 2024 with advanced natural language processing (NLP) techniques.

Our multi-method approach encompassed sentiment analysis, topic modeling, aspect-based sentiment analysis, engagement analysis, and inductive thematic analysis. Our data collection utilized X.com's Academic Research Application Programming Interface (API) to gather tweets containing sepsis-related keywords in English. We preprocessed the data by removing duplicates, retweets, and non-English content. For sentiment analysis, we employed the VADER (Valence Aware Dictionary and sEntiment Reasoner) sentiment analyzer [3], specifically tuned for social media content. Topic modeling was conducted using Latent Dirichlet Allocation (LDA) [4] with optimal topic numbers determined through coherence score analysis. Our aspect-based sentiment analysis combined dependency parsing with domain-specific lexicons to identify sentiment-aspect pairs [5]. Engagement analysis incorporated retweet counts, likes, and reply metrics, while thematic analysis followed Braun and Clarke's six-phase framework [6] with two independent coders achieving strong inter-rater reliability.

Sentiment analysis revealed a complex emotional landscape with predominantly neutral (46.3%) and negative (36.1%) perceptions, highlighting the interplay between factual information-sharing and emotionally charged personal narratives. Topic modeling identified six key themes, with limited sepsis awareness (24.6% of posts) and personal experiences with sepsis (21.3%) emerging as the most prevalent (Table 1A). The dominance of these themes suggests that public understanding of sepsis is often only triggered by direct encounters with the condition, either through one's own or a loved one’s illness, underscoring the urgent need for more widespread and accessible sepsis education initiatives.

Table 1 Analysis of Sepsis-Related Social Media Content

Aspect-based sentiment analysis (− 1 to + 1) yielded further nuance, uncovering strong negative associations with severe clinical outcomes like "shock" (sentiment score: − 0.82) and "organ failure" (score: − 0.75), while terms like "survivors" (score: 0.62) and "awareness" (score: 0.55) were linked to positive sentiment. This duality reflects the public's recognition of both the profound threat posed by sepsis and the potential for recovery with timely intervention.

Figure 1 presents a comprehensive temporal and distributional analysis of sepsis-related tweets. The scatter plot (top) shows the sentiment distribution of tweets over time from 2020 to 2024, with positive sentiments indicated in green and negative sentiments in red. The temporal analysis of sentiment showed increased variability and intensity in sentiments post-2022, suggesting the impact of external events such as the COVID-19 pandemic. The bar charts (bottom) provide two complementary views: the frequency distribution of key sepsis-related terms (left) and their associated sentiment scores (right), offering insights into both how often these terms appear and their emotional impact in public discourse.

Fig. 1
figure 1

Temporal sentiment (top) and keyword analysis (bottom) of sepsis-related tweets

Engagement analysis provided actionable insights, revealing that tweets expressing positive sentiment, discussing sepsis awareness, and originating from influential accounts were significantly associated with higher sharing (Table 1B). These findings suggest that dissemination of educational content through key opinion leaders could enhance the reach and impact of sepsis awareness messaging.

Thematic analysis analyzed the nature of public knowledge gaps and misconceptions surrounding sepsis. A salient theme was the limited understanding of sepsis etiologies and early symptoms, with many users expressing uncertainty about the signs and associated risk factors. This lack of awareness was often only addressed through direct personal experiences of sepsis, either as a patient or a caregiver, highlighting the reactive rather than proactive nature of current sepsis education. Another prominent theme was the lack of actionable knowledge on prompt treatment-seeking behavior for suspected sepsis, with many posts reflecting a poor understanding of its time-sensitive nature and underscoring the need for early recognition and rapid care initiation. Misconceptions about sepsis prevention strategies and risk factors also emerged as a key theme, with users expressing the belief that sepsis only affects hospitalized or immunocompromised individuals ignoring many other risk factors. Furthermore, the analysis uncovered instances of stigma and misunderstanding faced by sepsis survivors, highlighting the importance of fostering greater empathy, support, and public understanding of the long-term impact of sepsis. A recurring theme was the role of social media and online resources in disseminating sepsis information and connecting affected individuals, underscoring the potential of these platforms for enhancing sepsis awareness and support. Importantly, many posts called for intensified public health efforts to promote sepsis knowledge and improve outcomes.

This study demonstrates the untapped potential of social media data as a rich source of insights into public perceptions and knowledge gaps surrounding sepsis. By harnessing advanced NLP techniques to analyze a substantial corpus of sepsis-related social media posts, we have suggested actionable strategies for crafting impactful public health messaging. Translating these insights into carefully targeted social media campaigns, in collaboration with key opinion leaders with ongoing surveillance of online discourse, represents a promising approach to enhance sepsis awareness and ultimately improving patient outcomes.

Availability of supporting data

Aggregated data and analysis scripts available from corresponding author. Raw data restricted by X.com Terms of Service.

Data Availability

The datasets used and analyzed during the current study are available from the corresponding author upon reasonable request. The raw social media data cannot be shared publicly due to X.com's Terms of Service, but aggregated data and analysis scripts are available.

References

  1. Evans L, Rhodes A, Alhazzani W, Antonelli M, Coopersmith CM, French C, et al. Surviving sepsis campaign: international guidelines for management of sepsis and septic shock 2021. Intensive Care Med. 2021;47(11):1181–247.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Fiest KM, Krewulak KD, Brundin-Mather R, Leia MP, Fox-Robichaud A, Lamontagne F, et al. Patient, public, and healthcare professionals’ sepsis awareness, knowledge, and information seeking behaviors: a scoping review. Criti Care Med. 2022;50(8):63.

    Google Scholar 

  3. Hutto C, Gilbert E. VADER: a parsimonious rule-based model for sentiment analysis of social media text. Proc Int AAAI Conf Web Soc Media. 2014;8(1):216–25.

    Article  Google Scholar 

  4. Blei DM, Ng AY, Jordan MI. Latent dirichlet allocation. J Mach Learn Res. 2003;3:993–1022.

    Google Scholar 

  5. Pang B, Lee L. Opinion mining and sentiment analysis. Found Trends Inf Retr. 2008;2:1–135.

    Article  Google Scholar 

  6. Braun V, Clarke V. Using thematic analysis in psychology. Qual Res Psychol. 2006;3:77–101.

    Article  Google Scholar 

Download references

Acknowledgements

We thank the NUHS Medical Affairs Research Innovation & Enterprise for technical support and data annotation assistance.

Funding

No external funding received.

Author information

Authors and Affiliations

Authors

Contributions

R.S. conceived the study design, performed data collection and analysis, and drafted the manuscript. A.M. contributed to study design, provided critical revision of intellectual content, and supervised the project. Both authors reviewed and approved the final manuscript.

Corresponding author

Correspondence to Ravi Shankar.

Ethics declarations

Ethical approval and consent to participate

Exempt from institutional review as only public social media data was analyzed. Data was anonymized with no identifiable information.

Consent for publication

Not applicable (public data only).

Competing interests

The authors declare no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shankar, R., Mukhopadhyay, A. Social media insights on sepsis management using advanced natural language processing techniques. Crit Care 29, 115 (2025). https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s13054-025-05344-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s13054-025-05344-4