mlsanityData to 14 Oct 2026

Understanding the Interplay of Scale, Data, and Bias in Language Models: A Case Study with BERT

arXiv 2407.21058 ↗First posted 25 Jul 2024cs.CL cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

In the current landscape of language model research, larger models, larger datasets and more compute seems to be the only way to advance towards intelligence. While there have been extensive studies of scaling laws and models' scaling behaviors, the effect of scale on a model's social biases and stereotyping tendencies has received less attention. In this study, we explore the influence of model scale and pre-training data on its learnt social biases. We focus on BERT -- an extremely popular language model -- and investigate biases as they show up during language modeling (upstream), as well as during classification applications after fine-tuning (downstream). Our experiments on four architecture sizes of BERT demonstrate that pre-training data substantially influences how upstream biases evolve with model scale. With increasing scale, models pre-trained on large internet scrapes like Common Crawl exhibit higher toxicity, whereas models pre-trained on moderated data sources like Wikipedia show greater gender stereotypes. However, downstream biases generally decrease with increasing model scale, irrespective of the pre-training data. Our results highlight the qualitative role of pre-training data in the biased behavior of language models, an often overlooked aspect in the study of scale. Through a detailed case study of BERT, we shed light on the complex interplay of data and model scale, and investigate how it translates to concrete biases.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 32 of its 53 references that are in the map. First posted on arXiv 25 Jul 2024.

Builds on

32 of 53 references.

References · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  6. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  7. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  8. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  9. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
  10. 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
  11. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  12. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
20 more
  1. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 701
  2. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
  3. 2017Deep Learning Scaling is Predictable, Empiricallycited by 582
  4. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
  5. 2020Scaling Laws for Autoregressive Generative Modelingcited by 522
  6. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
  7. 2019On Measuring Social Biases in Sentence Encoderscited by 398
  8. 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 349
  9. 2019Measuring Bias in Contextualized Word Representationscited by 276
  10. 2021Scaling Laws for Transfercited by 272
  11. 2022Unified Scaling Laws for Routed Language Modelscited by 253
  12. 2020Social Biases in NLP Models as Barriers for Persons with Disabilitiescited by 182
  13. 2020UnQovering Stereotyping Biases via Underspecified Questionscited by 126
  14. 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
  15. 2014Automated Experiments on Ad Privacy Settings: A Tale of Opacity, Choice, and Discriminationcited by 83
  16. 2020Unmasking Contextual Stereotypes: Measuring and Mitigating BERT's Gender Biascited by 82
  17. 2020Hurtful Words: Quantifying Biases in Clinical Contextual Word Embeddingscited by 79
  18. 2021Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristicscited by 67
  19. 2020Fairness Metrics: A Comparative Analysiscited by 45
  20. 2023On Hate Scaling Laws For Data-Swampscited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 1.

5 papers.