Contributions
- Demonstrates empirical value of integrating online (Twitter) and offline (U.S. Census, demographics) data for vaccine stance classification
- Proposes CovExplain framework combining BERT/RoBERTa feature extraction with multi-layer perceptron classification
- Uses SHAP explanations (local level) and combinatorial analysis (global level) to identify critical features; finds race and gender are the most informative offline features
- Provides dataset of 630K tweets (69K anti-vaccine, 561K pro-vaccine) with matched offline attributes across U.S. states; analyzes temporal trends and geographic patterns
Method
The pipeline extracts online features from tweets and user profile descriptions using Covid-Twitter-BERT and RoBERTa respectively (last four hidden layers). Offline features (state, race, race-inferred-from-profile-picture, gender) are encoded via one-hot representation. A six-layer multi-layer perceptron with batch normalization, LeakyReLU activation, and Monte Carlo dropout combines these feature sets. The model is trained on balanced pro/anti-vaccine data split chronologically across ten time slices (last slice held out for evaluation).
For interpretability, the authors apply SHAP Shapley values to analyze which words contribute most to stance predictions (local explanations) and perform combinatorial analysis across feature subsets to identify which offline attributes most improve performance (global explanations).
Results
Online features alone achieve 81% accuracy; offline features alone range from 59–67% depending on feature combination. The hybrid online+offline approach reaches 83.37% accuracy (mean ± SD: 83.37 ± 3.3), significantly outperforming baselines (Linear: 79.04 ± 3.7, Naive Bayes: 68.72 ± 3.0, SVM: 53.27 ± 1.8).
User profile descriptions are surprisingly informative (78.95% accuracy using only description), nearly matching tweet content (73.16%) despite not being explicitly about COVID-19. Among offline features, State + Race + Gender and State + Race + RacePic combinations achieve highest accuracy (67.91% and 67.08% respectively). Gender alone does not discriminate well, but combines synergistically with race and state.
SHAP analysis reveals distinct linguistic patterns: anti-vaccine tweets reference entities (Russia, countries, companies) and use political framing, while pro-vaccine tweets emphasize awareness and address vaccine skeptics directly, using more emotional language. These patterns persist even when controlling for similar gender distributions between groups.
Notes
The offline-online integration is valuable for public health modeling, though the synthetic linkage (demographics inferred from profile data and location) differs from longitudinal survey data. The finding that profile descriptions rival tweet content suggests users' self-presentation (biography text) encodes stance as strongly as explicit discourse, an underexploited signal in NLP. The chronological train-test split (time slice 10 held out) is methodologically sound for generalization assessment.
One limitation: the paper focuses only on binary pro/anti distinction due to labeling difficulty for the "vaccine-hesitant" middle ground, narrowing scope to clearer polar positions. Future work incorporating survey-based ground truth and additional offline signals (vaccination rates, hospital capacity, policy stringency) could strengthen the approach.