Background: When neural network emotion and sentiment classifiers are used in public health informatics studies, biases present in the classifiers could produce inadvertently misleading results. Objective: This study assesses the impact of bias on COVID-19 topics, and demonstrates an automatic algorithm for reducing bias when applied to COVID-19 social media texts. This could help public health informatics studies produce more timely results during crises, with a reduced risk of misleading results. Methods: Emotion and sentiment classifiers were applied to COVID-19 data before and after debiasing the classifiers using unsupervised contrastive clustering. Contrastive clustering approximates the degree to which tokens exhibit a causal versus correlational relationship with emotion or sentiment, by contrasting the tokens' relative salience to topics versus emotions or sentiments. Results: Contrastive clustering distinguishes correlation from causation for tokens with an F1 score of 0.753. Masking bias prone tokens from the classifier input decreases the classifier's overall F1 score by 0.02 (anger) and 0.033 (negative sentiment), but improves the F1 score for sentences annotated as bias prone by 0.155 (anger) and 0.103 (negative sentiment). Averaging across topics, debiasing reduces anger estimates by 14.4% and negative sentiment estimates by 8.0%. Conclusions: Contrastive clustering reduces algorithmic bias in emotion and sentiment classification for social media text pertaining to the COVID-19 pandemic. Public health informatics studies should account for bias, due to its prevalence across a range of topics. Further research is needed to improve bias reduction techniques and to explore the adverse impact of bias on public health informatics analyses.
翻译:在公共卫生信息学研究中使用神经网络情感和情绪分类器时,当公共卫生信息学研究中使用神经网络情感和情绪分类器时,分类器中存在的偏见可能产生无意误导的结果。目标:本研究评估了对COVID-19专题偏见的影响,并展示了在应用COVID-19社交媒体文本时减少偏见的自动算法。这有助于公共卫生信息学研究在危机期间产生更及时的结果,并减少误导结果的风险。方法:情感和情绪分类器在使用非超常对比分类法对分类器进行贬损后对COVID-19数据应用了CVID-19数据。对比组合接近了象征物显示与情感或情绪之间因果关系的因果关系的程度,通过对比象征物相对显著的特征与话题或情绪或情绪。结果:对比性分类法研究将偏向偏向偏向偏向的偏向性标值在危机中产生相对比值,抑制偏向偏向的偏向性标值在0.02(愤怒)和0.033(负感),但改善F1比值的评分值与情感分析在0.105至0.15之间。