Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Jul 1, 2024
Date Accepted: Dec 24, 2024

The final, peer-reviewed published version of this preprint can be found here:

Understanding Citizens’ Response to Social Activities on Twitter in US Metropolises During the COVID-19 Recovery Phase Using a Fine-Tuned Large Language Model: Application of AI

Saito R, Tsugawa S

Understanding Citizens’ Response to Social Activities on Twitter in US Metropolises During the COVID-19 Recovery Phase Using a Fine-Tuned Large Language Model: Application of AI

J Med Internet Res 2025;27:e63824

DOI: 10.2196/63824

PMID: 39932775

PMCID: 11862765

Understanding Citizens’ Response to Social Activities on Twitter in U.S. Metropolises During COVID-19 Recovery Phase Using Fine-tuned Large Language Model: Application of Artificial Intelligence

  • Ryuichi Saito; 
  • Sho Tsugawa

ABSTRACT

Background:

The COVID-19 pandemic remains significant in the collective memory in 2024. As of March 2024, over 676 million cases, 6 million deaths, and 13 billion vaccine doses have been reported. It’s crucial to evaluate sociopsychological impacts as well as public health indicators such as these to understand the pandemic’s effects.

Objective:

This paper explores the sentiments of residents of major U.S. cities toward restrictions on social activities in 2022 during the transitional phase of the COVID-19 pandemic, from the peak of the pandemic to its gradual decline. By illuminating people’s susceptibility to COVID-19, we provide insights into the general sentiment trends during the recovery phase of the pandemic.

Methods:

To analyze these trends, we collected posts (N = 119,437) on the social media platform Twitter (now X) made by people living in New York City, Los Angeles, and Chicago, which were impacted by the COVID-19 pandemic in similar ways. Additionally, we constructed a sentiment estimation model by fine-tuning a large language model on the collected data and used it to analyze citizens’ sentiments as the pandemic changed.

Results:

In the evaluation of models, GPT-3.5 Turbo with fine-tuning outperformed GPT-3.5 Turbo without fine-tuning and RoBERTa-Large with fine-tuning, demonstrating significant accuracy (0.80) and F1 score (0.79). The findings using GPT-3.5 Turbo with fine-tuning reveal a significant relationship between sentiment levels and actual cases in all three cities. Specifically, the correlation coefficient for New York City is 0.89, for Los Angeles is 0.39, and for Chicago is 0.65. Furthermore, feature words analysis shows that coronavirus-related keywords were replaced with non-coronavirus-related keywords in New York City and Los Angeles from January 2022 onwards and Chicago from March 2022 onwards.

Conclusions:

The results show a gradual decline in sentiment and interest in restrictions across all three cities as the pan-demic approached its conclusion. These results are also ensured by a sentiment estimation model fine-tuned on actual Twitter posts. This study represents the first attempt from a macro perspective to depict sentiment using a classification model created with actual data from the period when COVID-19 was prevalent. This approach can be applied to the spread of other infectious diseases by adjusting search keywords for observational data.


 Citation

Please cite as:

Saito R, Tsugawa S

Understanding Citizens’ Response to Social Activities on Twitter in US Metropolises During the COVID-19 Recovery Phase Using a Fine-Tuned Large Language Model: Application of AI

J Med Internet Res 2025;27:e63824

DOI: 10.2196/63824

PMID: 39932775

PMCID: 11862765

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.