raceBERT --一个基于transformer的名字种族识别模型
raceBERT -- A Transformer-based Model for Predicting Race and Ethnicity from Names
摘要:
本文介绍了raceBERT --一个基于transformer的模型,用于从名字中的字符序列预测种族和民族,以及一个附带的Python包。该模型使用在美国佛罗里达州选民登记数据集上训练的基于transformer的模型,预测姓名属于5个美国人口普查种族类别(白人,黑人,西班牙裔,亚洲和太平洋岛民,美洲印第安人和阿拉斯加原住民)的可能性。我在Sood和Laohaprapanon(2018)的基础上,用基于transformer的模型(预训练的BERT模型和从头开始训练的roBERTa模型)替换他们的LSTM模型,并比较结果。据我所知,raceBERT在使用名字进行种族预测方面取得了最先进的结果,平均f1分数为0.86 -比之前的最先进水平提高了4.1%,对于非白人名字的改进在15-17%之间。
英文摘要:
This paper presents raceBERT -- a transformer-based model for predicting race and ethnicity from character sequences in names, and an accompanying python package. Using a transformer-based model trained on a U.S. Florida voter registration dataset, the model predicts the likelihood of a name belonging to 5 U.S. census race categories (White, Black, Hispanic, Asian & Pacific Islander, American Indian & Alaskan Native). I build on Sood and Laohaprapanon (2018) by replacing their LSTM model with transformer-based models (pre-trained BERT model, and a roBERTa model trained from scratch), and compare the results. To the best of my knowledge, raceBERT achieves state-of-the-art results in race prediction using names, with an average f1-score of 0.86 -- a 4.1% improvement over the previous state-of-the-art, and improvements between 15-17% for non-white names.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。