Transformer-based Language Model Fine-tuning Methods for COVID-19 Fake News Detection

Ben Chen, Bin Chen, Dehong Gao, Qijin Chen, Chengfu Huo, Xiaonan Meng, Weijun Ren, Yang Zhou

Abstract

The rapid spread of misinformation during the COVID-19 pandemic, termed an "infodemic," presents a significant challenge for automated detection systems due to domain-specific terminology and the brevity of social media posts. This paper introduces Ro-CT-BERT, an ensemble model that combines universal linguistic knowledge from RoBERTa with domain-specific insights from CT-BERT. By implementing novel fine-tuning techniques—including vocabulary expansion, heated-up softmax loss, and adversarial training—the proposed model achieves a state-of-the-art F1 score of 99.02% on the COVID-19 Fake News Dataset.

Introduction

Social media platforms like Twitter and Facebook became primary vectors for COVID-19 misinformation, ranging from medical hoaxes to conspiracy theories. Standard AI models often struggle in this domain because they lack understanding of professional medical jargon and pandemic-specific slang. Furthermore, the short, ambiguous nature of social media posts makes it difficult to distinguish subtle misinformation from factual reporting. To address these challenges, we propose a specialized fine-tuning framework that bridges the gap between general language understanding and the niche vocabulary of the pandemic era.

Methodology

The core of our approach is the Ro-CT-BERT architecture, which fuses features from two distinct Transformer models: RoBERTa, which provides broad linguistic patterns, and CT-BERT, which was pre-trained on a large corpus of COVID-19-related Twitter data.

Ro-CT-BERT architecture and fine-tuning strategies including vocabulary expansion and heated-up softmax loss.

Beyond the ensemble architecture, we employ three key "tricks" to enhance performance:

  1. Vocabulary Expansion: We manually added six high-frequency pandemic terms (e.g., lockdown, coronavirus, covid-19) to the model’s vocabulary. This prevents the tokenizer from breaking these critical terms into meaningless sub-tokens, thereby preserving their semantic integrity.
  2. Heated-up Softmax Loss: To improve the model's ability to learn from "hard" ambiguous samples, we introduced a temperature-controlled softmax. By starting with a high temperature ($\alpha$), the model is forced to focus on difficult cases early in training, gradually cooling down to refine its performance on easier boundary cases.
  3. Adversarial Training (FGM): We utilized the Fast Gradient Method to introduce small perturbations to word embeddings during training. This regularization technique improves model robustness against noise and enhances generalization to novel misinformation.

Dataset and Preprocessing

We evaluated our methods on the COVID-19 Fake News Dataset, consisting of 10,700 samples sourced from real-time news and social media. The data was split into training (60%), validation (20%), and testing (20%) sets. Preprocessing involved standard cleaning and data augmentation via synonym replacement for misclassified samples to reinforce learning on error-prone instances.

Key Results

The Ro-CT-BERT model significantly outperformed baseline Transformer architectures across all metrics.

Comparison of Ro-CT-BERT performance against standard BERT, RoBERTa, and ALBERT models.

As shown in the results table, Ro-CT-BERT achieved an accuracy of 99.01% and a weighted F1 score of 99.02%. This represents a notable improvement over the standard BERT-base (97.84% F1) and even the domain-specific CT-BERT (98.41% F1). Ablation studies confirmed that the combination of heated-up softmax and adversarial training provided the most substantial gains in identifying challenging fake news samples.

Discussion and Conclusion

Our findings demonstrate that effective fake news detection requires a synergy between general-purpose language models and domain-specific knowledge. The "sub-token trap"—where specialized terms are fragmented—is a significant hurdle that can be overcome with simple vocabulary adjustments. Furthermore, curriculum-style training via heated-up softmax allows models to prioritize difficult cases, which is crucial for high-stakes misinformation detection.

Future work should focus on improving the explainability of these models, as providing the reasoning behind a "fake" label is essential in medical contexts. Additionally, automating the vocabulary update process would allow the system to adapt more dynamically to the evolving language of future public health crises.

Summary updated

BibTeX
@inproceedings{chen2021transformer,
  author = {Ben Chen and Bin Chen and Dehong Gao and Qijin Chen and Chengfu Huo and Xiaonan Meng and Weijun Ren and Yang Zhou},
  title = {{Transformer-based Language Model Fine-tuning Methods for COVID-19 Fake News Detection}},
  booktitle = {CONSTRAINT @ AAAI},
  year = {2021},
  doi = {10.1007/978-3-030-73696-5\_9},
}
Figure