How Implicit Bias Accumulates and Propagates in LLM Long-term Memory
Yiming Ma, Lixu Wang, Lionel Z. Wang, Hongkun Yang, Haoming Sun, Xin Xu, Jiaqi Wu, Bin Chen, Wei Dong
TL;DR
This work examines how implicit bias accumulates and propagates in LLM long-term memory through a longitudinal framework and a new benchmark, DIB, spanning nine domains. It shows that bias is not static and can spill across domains, with open-weight models often more susceptible than closed-source ones. The authors propose Static System Prompting and Dynamic Memory Tagging, finding that DMT significantly reduces bias accumulation and cross-domain propagation, with a 72.6% success rate and 40.6% average mitigation impact in key experiments. The results underscore the importance of memory-aware fairness interventions and offer a practical pathway for mitigating bias in long-horizon LLM applications.
Abstract
Long-term memory mechanisms enable Large Language Models (LLMs) to maintain continuity and personalization across extended interaction lifecycles, but they also introduce new and underexplored risks related to fairness. In this work, we study how implicit bias, defined as subtle statistical prejudice, accumulates and propagates within LLMs equipped with long-term memory. To support systematic analysis, we introduce the Decision-based Implicit Bias (DIB) Benchmark, a large-scale dataset comprising 3,776 decision-making scenarios across nine social domains, designed to quantify implicit bias in long-term decision processes. Using a realistic long-horizon simulation framework, we evaluate six state-of-the-art LLMs integrated with three representative memory architectures on DIB and demonstrate that LLMs' implicit bias does not remain static but intensifies over time and propagates across unrelated domains. We further analyze mitigation strategies and show that a static system-level prompting baseline provides limited and short-lived debiasing effects. To address this limitation, we propose Dynamic Memory Tagging (DMT), an agentic intervention that enforces fairness constraints at memory write time. Extensive experimental results show that DMT substantially reduces bias accumulation and effectively curtails cross-domain bias propagation.
