Litcius/Paper detail

Low Frequency Names Exhibit Bias and Overfitting in Contextualizing Language Models

Robert E. Wolfe, Aylin Caliskan

2021Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing29 citationsDOIOpen Access PDF

Abstract

We use a dataset of U.S. first names with labels based on predominant gender and racial group to examine the effect of training corpus frequency on tokenization, contextualization, similarity to initial representation, and bias in BERT, GPT-2, T5, and XLNet. We show that predominantly female and non-white names are less frequent in the training corpora of these four language models. We find that infrequent names are more self-similar across contexts, with Spearman's between frequency and self-similarity as low as -.763. Infrequent names are also less similar to initial representation, with Spearman's between frequency and linear centered kernel alignment (CKA) similarity to initial representation as high as .702. Moreover, we find Spearman's between racial bias and name frequency in BERT of .492, indicating that lower-frequency minority group names are more associated with unpleasantness. Representations of infrequent names undergo more processing, but are more self-similar, indicating that models rely on less context-informed representations of uncommon and minority names which are overfit to a lower number of observed contexts.

Topics & Concepts

OverfittingSimilarity (geometry)Natural language processingRepresentation (politics)Context (archaeology)Artificial intelligenceComputer scienceContextualizationLexical analysisLinguisticsBiologyPolitical sciencePhilosophyImage (mathematics)PaleontologyPoliticsProgramming languageInterpretation (philosophy)Artificial neural networkLawTopic ModelingNatural Language Processing TechniquesAuthorship Attribution and Profiling