Language-Agnostic Bias Detection in Language Models with Bias Probing
Köksal, Abdullatif, Yalcin, Omer Faruk, Akbiyik, Ahmet, Kilavuz, M. Tahir, Korhonen, Anna, Schütze, Hinrich
–arXiv.org Artificial Intelligence
Pretrained language models (PLMs) are key components in NLP, but they contain strong social biases. Quantifying these biases is challenging because current methods focusing on fill-the-mask objectives are sensitive to slight changes in input. To address this, we propose a bias probing technique called LABDet, for evaluating social bias in PLMs with a robust and language-agnostic method. For nationality as a case study, we show that LABDet `surfaces' nationality bias by training a classifier on top of a frozen PLM on non-nationality sentiment detection. We find consistent patterns of nationality bias across monolingual PLMs in six languages that align with historical and political context. We also show for English BERT that bias surfaced by LABDet correlates well with bias in the pretraining data; thus, our work is one of the few studies that directly links pretraining data to PLM behavior. Finally, we verify LABDet's reliability and applicability to different templates and languages through an extensive set of robustness checks. We publicly share our code and dataset in https://github.com/akoksal/LABDet.
arXiv.org Artificial Intelligence
Nov-20-2023
- Country:
- South America > Brazil (0.04)
- North America
- Mexico (0.04)
- Dominican Republic (0.04)
- United States
- Washington > King County
- Seattle (0.14)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Massachusetts > Hampshire County
- Amherst (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Washington > King County
- Europe
- Netherlands (0.04)
- France (0.04)
- Ukraine (0.04)
- Russia (0.04)
- Germany > Bavaria
- Upper Bavaria > Munich (0.04)
- Italy > Tuscany
- Florence (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- India (0.04)
- Armenia (0.04)
- Vietnam (0.04)
- Russia (0.04)
- Philippines (0.04)
- China > Hong Kong (0.04)
- Middle East
- Republic of Türkiye (0.05)
- Israel (0.04)
- Iran (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Africa
- Genre:
- Research Report (1.00)
- Industry:
- Government
- Regional Government (0.46)
- Military (0.46)
- Government
- Technology: