Challenges Confronting the Sustainability of Anti-Epidemic Policies Based on the BERT-Pair-ABSA Model

Zhu Yanchun, Luyao Li, Chenguang Li, Wei ZhangOpportunities 2023

Abstract

As a major public health emergency, the COVID-19 pandemic has some uncertainties. Coupling of the uncertainties and anti-epidemic policies easily leads to the spread of negative emotions. It is challenging to maintain the sustainability of anti-epidemic measures. Therefore, this paper aimed to analyze the challenges that the sustainability of anti-epidemic measures is faced with. A topic clustering extension method was proposed, which integrated Latent Dirichlet Allocation (LDA) topic information with Bidirectional Encoder Representations from Transformers (BERT) contextual information through aspect-based sentiment analysis. In addition, this paper constructed a thesaurus of aspect words from the two stages of dynamic zero-COVID and orderly relaxation of epidemic control. This paper established the BERT-pair-ABSA model for semantic expansion of auxiliary sentences and calculated sentiment polarity to gain insight into the changes in netizens' concerns, emotional states and evolution trends at different stages. The research results showed: (1) Compared with the benchmark model, the proposed sentiment analysis model had better classification accuracy and was applicable to the sentiment classification of short texts in the epidemic situation; (2) During the dynamic zero-COVID stage, netizens paid attention to grassroots epidemic management and the scope of lockdown and epidemic control, which were closely related to both specific lockdown and control management, and the implementation of regional epidemic management; and (3) in the orderly relaxation stage of epidemic control, netizens were concerned about drug guarantee, medical care guarantee, personal health protection and health protection of special population groups, and negative emotions always dominated in drug guarantee, medical care guarantee and health protection of special groups. The results provided an empirical basis for the optimization and adjustment of the anti-epidemic policies.

Introduction

Public health policies are only as sustainable as the public’s willingness to follow them. During the COVID-19 pandemic, rapid policy adjustments often outpaced the public's emotional adaptation, leading to the spread of negative emotions that can destabilize social order. Traditional sentiment analysis is often too blunt for this context; while it can identify a comment as "negative," it often fails to identify the specific policy target or "aspect" causing the friction. This paper addresses this gap by proposing an enhanced BERT-Pair-ABSA model designed to understand the nuanced, context-heavy language of social media during public health crises.

Methodology

The researchers proposed a two-stage pipeline to bridge the context gap in short-form microblogging data.

Aspect Lexicon Construction

To identify what specific aspects of the pandemic response netizens were discussing, the study integrated Latent Dirichlet Allocation (LDA) for statistical topic discovery with BERT for contextual embeddings. As illustrated in Figure 5, these representations were clustered using K-Means to create a specialized thesaurus. This lexicon links broad categories like "Government Work" to specific, context-aware keywords such as "hotline," "clothes delivery," or "penalty."

Aspect lexicon construction process integrating LDA and BERT for topic discovery.

BERT-Pair-ABSA Framework

The core innovation lies in transforming the sentiment analysis task into a sentence-pair classification. Instead of analyzing a comment in isolation, the model pairs it with an "auxiliary sentence"—a sequence of keywords identified in the lexicon stage. This "pseudosentence" provides the context BERT needs to capture implicit meanings. The full pipeline, including data preprocessing and fine-tuning of the chinese_roberta_wwm_ext model, is shown in Figure 6.

Overall framework of the BERT-Pair-ABSA model, including sentence-pair conversion and fine-tuning.

To handle the inherent imbalance in social media data (where certain emotions or topics are much more common), the model utilizes a Focal Loss function, forcing it to focus on "hard-to-classify" examples during training.

Data and Analysis

The study utilized a massive crawl of user comments from three major official health commission microblogs on Sina Weibo: "Shijiazhuang Release," "Health Guangzhou," and "Capital Health" (Beijing). The analysis covered two distinct periods:

  • Dynamic Zero-COVID Stage (June – December 2022): Frustrations were primarily centered on grassroots management and lockdown boundaries.
  • Orderly Relaxation Stage (November 2022 – January 2023): Concerns shifted sharply toward medical resource scarcity and personal protection.

Key Results and Insights

  • Model Performance: The proposed BERT-pair-auxiliary-clause-extension model achieved a classification accuracy of 92.1%, significantly outperforming the baseline BERT-pair model (90.8%).
  • Policy Disconnect: A primary driver of negative sentiment during the relaxation phase was a lack of synchronization between policies—for example, removing testing sites while daily activities still required negative test results.
  • Resource Anxiety: In the relaxation stage, negative emotions "always dominated" topics like drug guarantees and medical care for the elderly, suggesting that logistical scarcity is a more persistent source of public distress than procedural frustration.
  • Regional Nuance: Netizens outside pilot regions were generally more positive about liberalization than those within them, who faced the immediate logistical challenges of the policy shift.

Conclusion and Future Work

This research provides an empirical basis for optimizing anti-epidemic policies by highlighting the critical link between logistical implementation and public sentiment. Future work will aim to increase emotional granularity—moving beyond positive/negative to specific emotions like fear or anger—and explore more natural "Question and Answer" formats for auxiliary sentences to further improve model accuracy.

Summary updated

BibTeX
@inproceedings{yanchun2023challenges,
  author = {Zhu Yanchun and Luyao Li and Chenguang Li and Wei Zhang},
  title = {{Challenges Confronting the Sustainability of Anti-Epidemic Policies Based on the BERT-Pair-ABSA Model}},
  booktitle = {Opportunities},
  year = {2023},
  doi = {10.56578/ocs020105},
}
Figure