Manuscript Offprint

arXiv:2610.23800

A Large Language Model LLM Approach to COVID-19 Fake News Detection

Muhammad Arif, Samah Fodeh-Jarad, Elyas Irankhah, Uroosa Fatima, Lama Ayash, Sreeraj Ramachandran

Muhammad Arif*, Samah Fodeh-Jarad*, Elyas Irankhah*, Uroosa Fatima†, Lama Ayash‡, and Sreeraj Ramachandran*

*Department of Emergency Medicine, Yale School of Medicine,

Yale University, New Haven, CT, USA

†Instituto Politécnico Nacional, Mexico

‡King Khalid University, Saudi Arabia

Abstract—Text classification is a widely researched area within the domains of information retrieval and data mining, offering valuable applications in various fields, such as healthcare diagnosis, targeted marketing, entertainment, and the classification of COVID-19-related fake news. This problem has gathered significant attention from researchers globally, particularly due to recent advancements in data mining and natural language processing. These advancements have prompted the development of automated systems to efficiently classify textual data. Natural Language Processing (NLP) enables the classification of documents containing diverse textual content. Social media platforms generate a vast volume of data through user interactions. The methodology of the current research involves gathering a dataset. Within this realm, datasets such as the COVID-19 English Tweet Dataset have been instrumental for experimental purposes. This dataset encompasses various forms of textual content, including tweets, posts, and messages pertaining to the coronavirus pandemic. In an effort to harness the potential of transfer learning (TL) and large language models (LLMs), the proposed research applies pretrained transformer-based models and LLMs, namely BERT-base, ALBERT-base, XLM-RoBERTa-base, DistilBERT, GPT-2, XLNet, and T5, to this dataset. Additionally, six different optimization techniques, namely weighted fusion, particle swarm optimization (PSO) fusion, the Nelder–Mead algorithm, Powell's method, the Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm, and the trust-region constrained optimization algorithm, are applied to enhance the models' results. The results indicate that the GPT-2 large language model demonstrates high accuracy and efficiency. The model's performance is evaluated using accuracy, precision, recall, and F1-score, with a score of 0.96 achieved for each metric. Moreover, heatmaps are created to visualize the outcomes obtained from each model. Finally, the study highlights the value of applying LLMs, identifies the best performer among all the classifiers, and outlines future directions for further exploration in this domain.

Index Terms—COVID-19, fake news detection, large language models, transfer learning, transformers, optimization

I. INTRODUCTION

Natural Language Processing (NLP) is defined as a scientific discipline which aims at providing computers with the ability to understand and generate natural language. NLP has recently received further attention given the expansion of studies in the area and increased computational capabilities. There are now efforts to find meaningful data hidden in language as a useful tool in education, healthcare, industry, and retail. Early work employed rule-based methods to solve NLP problems, which gave way to machine learning (ML) methods due to the richness of human language. These methods, which include Support Vector Machine (SVM) and Naïve Bayes classifiers, are more effective in addressing the notions and dynamics of natural language.

Text mining is connected with the NLP concept and deals with obtaining valuable information from the text present on social media platforms. This type of extraction is achieved through algorithms and methods that work with textual data. Despite being an essential part of AI, NLP relies on advanced approaches such as text mining and data analysis. Data mining, an integration of machine learning and deep learning, is a versatile tool with high success rates in several areas. It improves question answering, anaphora resolution, bioinformatics, and web-based network analysis [1].

According to previous findings, NLP and data mining are widely used techniques in sentiment analysis [2], hate speech identification, and assessing Urdu speeches [3] and movie reviews [4]. Many of these technologies are global and have a well-known influence on different aspects of human life. Social media is one of the most popular digital platforms in recent years. These platforms are frequently used and transmit enormous quantities of data. However, they have also been associated with the rise of hate speech. For instance, when a new film is launched, individuals make many posts on social media about it, whether good or bad. Hate speech has received a lot of attention from scholars due to the increase in hate speech incidents. A notable paper [5] clarified the pivotal role of NLP in hate speech detection, showcasing how automated processes can effectively identify and flag instances of hatred within social media content.

Understanding and processing human-constructed natural language strictly demands NLP, which provides fundamental tools. The information produced by users on social media and review platforms contains useful knowledge for various sectors such as healthcare, industry, science, and policymaking. This content is rich in text and has the potential to inform decision-making in diverse areas. Leveraging opinion extraction algorithms and sentiment analysis techniques [6], researchers can extract valuable insights from this data. Notably, these algorithms play a crucial role in enhancing the performance of text classification models during the feature extraction phase [7], [8], [9]. This approach helps stakeholders understand consumer sentiment, market trends, and public opinion.

In their work, a team of scholars described in detail the current shortcomings and loopholes in the field of hate speech detection [10]. They presented a solution that aimed at overcoming these challenges, focusing on the lack of ample data needed to train accurate hate speech detection algorithms. The lack of adequate labeled datasets is a major challenge in accurately detecting hate speech occurrences on social media. To overcome this challenge, the researchers encouraged the use of pre-trained models like BERT since it is effective in contextual text analysis [11]. Their approach is sensitive to changes in data over time and is exemplified by the AIBERTo model trained on an Italian hate speech dataset. By using only the latter half of the data for training the models, their accuracy significantly increases. The study further establishes the differences between hate speech and offensive language. Their method improves text classification by using users' entries on social media platforms and metaheuristic algorithms; therefore, it can be considered a promising approach to counter hate speech on social media platforms.

Transfer learning is a highly effective technique which utilizes information from unlabeled data to enhance the overall performance on tasks that have a small number of labeled samples. Prior information makes it possible to obtain high accuracy even with a small number of labeled data points. This is especially the case in NLP, where transformers outcompete traditional ML and DL techniques. Transfer learning obtains knowledge from related domains so that ML systems adapt to new tasks with higher accuracy. Thus, it minimizes the demand for human intervention and performs better than active and supervised learning. For example, a system trained to recognize apples can be tweaked to recognize pears, cutting down on the data needed and the time taken to train the system.

Social media platforms wield significant influence and provide users with a platform to freely express their thoughts and opinions. Leveraging this, researchers have used advanced machine learning models to distinguish between real and fabricated information, especially in relation to news about COVID-19. Among these models, transformers have proven to be particularly effective, providing superior performance in distinguishing between real and fake content.

News dissemination is of enormous importance and serves as a crucial source of information that keeps people informed and engaged. However, the spread of fake news dates back to the 18th century [12], and the advent of the Internet has exacerbated its spread, primarily through the widespread use of social media channels. Detecting the authenticity of news articles poses a huge challenge, and existing approaches show limitations. Researchers are developing hybrid methods to improve the accuracy and consistency of fake news detection and overcome current limitations.

In this work, we use various optimization techniques to improve model performance, reduce losses, and improve overall accuracy. Using state-of-the-art algorithms, the model parameters are refined to achieve optimal results, ensuring the robustness and reliability of the predictions. Additionally, ChatGPT was used as a writing and analysis aid during our experiments and the preparation of this paper, to help refine methodologies, interpret results, and articulate findings.

The remainder of the paper is organized as follows: Section II reviews the relevant literature, Section III describes the dataset, methodology, and classification algorithms, Section IV presents the experimental results, Section V discusses them, and Section VI presents the conclusions and future directions.

References (59)