From n-gram to Attention: How Model Architectures Learn and Propagate Bias in Language Modeling
Not on the map. Why?
Abstract (arXiv)
Current research on bias in language models (LMs) predominantly focuses on data quality, with significantly less attention paid to model architecture and temporal influences of data. Even more critically, few studies systematically investigate the origins of bias. We propose a methodology grounded in comparative behavioral theory to interpret the complex interaction between training data and model architecture in bias propagation during language modeling. Building on recent work that relates transformers to n-gram LMs, we evaluate how data, model design choices, and temporal dynamics affect bias propagation. Our findings reveal that: (1) n-gram LMs are highly sensitive to context window size in bias propagation, while transformers demonstrate architectural robustness; (2) the temporal provenance of training data significantly affects bias; and (3) different model architectures respond differentially to controlled bias injection, with certain biases (e.g. sexual orientation) being disproportionately amplified. As language models become ubiquitous, our findings highlight the need for a holistic approach -- tracing bias to its origins across both data and model dimensions, not just symptoms, to mitigate harm.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 39 of its 55 references that are in the map. First posted on arXiv 18 May 2025.
Builds on
39 of 55 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 377
- 2019Lipstick on a Pig: Debiasing Methods Cover up Systematic Gender Biases in Word Embeddings But do not Remove Themcited by 268
- 2018Stress Test Evaluation for Natural Language Inferencecited by 213
- 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Modelscited by 207
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2023ExpertPrompting: Instructing Large Language Models to be Distinguished Expertscited by 142
- 2024A Note on Shumailov et al. (2024): `AI Models Collapse When Trained on Recursively Generated Data'cited by 115
27 more
- 2019Evaluating the Underlying Gender Bias in Contextualized Word Embeddingscited by 94
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 90
- 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
- 2021Mitigating Language-Dependent Ethnic Bias in BERTcited by 87
- 2020Unmasking Contextual Stereotypes: Measuring and Mitigating BERT's Gender Biascited by 82
- 2020Multi-Dimensional Gender Bias Classificationcited by 80
- 2024Bias in Large Language Models: Origin, Evaluation, and Mitigationcited by 77
- 2018Beyond Word Importance: Contextual Decomposition to Extract Interactions from LSTMscited by 67
- 2021Fairness via Representation Neutralizationcited by 63
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2017A Challenge Set Approach to Evaluating Machine Translationcited by 37
- 2024IndiBias: A Benchmark Dataset to Measure Social Biases in Language Models for Indian Contextcited by 32
- 2024Transformers Can Represent n-gram Language Modelscited by 32
- 2024On the Representational Capacity of Neural Language Models with Chain-of-Thought Reasoningcited by 26
- 2024Understanding Transformers via N-gram Statisticscited by 26
- 2025Break the Checkbox: Challenging Closed-Style Evaluations of Cultural Alignment in LLMscited by 26
- 2023Parameter-efficient Modularised Bias Mitigation via AdapterFusioncited by 25
- 2023Mitigating Biases for Instruction-following Language Models via Bias Neurons Eliminationcited by 23
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2023Bias A-head? Analyzing Bias in Transformer-Based Language Model Attention Headscited by 14
- 2024Can Transformers Learn n-gram Language Models?cited by 11
- 2025Religious Bias Landscape in Language and Text-to-Image Models: Analysis, Detection, and Debiasing Strategiescited by 9
- 2021Detecting Gender Bias in Transformer-based Models: A Case Study on BERTcited by 8
- 2024Mitigating Social Biases in Language Models through Unlearningcited by 7
- 2024Learning Fairer Representations with FairVICcited by 2
- 2024DCAST: Diverse Class-Aware Self-Training Mitigates Selection Bias for Fairer Learningcited by 2
- 2018Multi-D Kneser-Ney Smoothing Preserving the Original Marginal Distributionscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.