Behavioral Calibration for Context-Adaptive Debiasing in Large Language Models
Authors:
- Yibing BaiYBYibing Bai
- Min GaoMGMin Gao
- Zongwei WangZWZongwei Wang
- Bincheng GuBGBincheng Gu
- Qingyu XiongQXQingyu Xiong
- Xinbin WangXWXinbin Wang
- Linda YangLYLinda Yang
Preprint
- 27 October 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Large Language Models (LLMs) frequently mirror and amplify societal stereotypes present in their training data. While existing debiasing techniques, ranging from fine-tuning to prompt engineering, offer localized improvements, their effectiveness can vary substantially across different input contexts. In this paper, we observe that stereotype preferences change with linguistic framing, leading to a phenomenon we term Debiasing Collapse, where interventions effective under one context become less effective under another. To address this issue, we propose BeCaLM (Behavioral Calibration for LLMs), a framework for context-adaptive debiasing based on behavioral calibration. BeCaLM performs lightweight test-time parameter calibration guided by latent behavioral statistics, enabling localized corrections that respond to context-dependent model behavior. Specifically, it combines running feature normalization with activation-dependent correction targets and derives weight updates through a regularized closed-form solution, avoiding iterative gradient optimization. This progressive mechanism allows the model to adapt its calibration to behavioral differences observed across input contexts while maintaining computationally tractable updates. Empirical results across multiple models and benchmarks show that BeCaLM consistently moves aggregate stereotype preferences closer to neutrality, with varying effects on language modeling and downstream task performance. Further experiments demonstrate its effectiveness across diverse linguistic contexts and characterize the trade-off between debiasing performance and model utility. Code and data are publicly available at https://github.com/zzidlezz/BeCaLM-PR. This paper contains examples of societal stereotypes for analysis purposes.Keywords
This publication has 16 references indexed in Scilit:
- Mitigating Social Bias in Large Language Models: A Multi-Objective Approach Within a Multi-Agent FrameworkProceedings of the AAAI Conference on Artificial Intelligence, 2025
- Generative language models exhibit social identity biasesNature Computational Science, 2024
- Large language models display human-like social desirability biases in Big Five personality surveysPNAS Nexus, 2024
- Bias and Fairness in Large Language Models: A SurveyComputational Linguistics, 2024
- “I’m sorry to hear that”: Finding New Biases in Language Models with a Holistic Descriptor Dataset2022
- Debiasing Pre-Trained Language Models via Efficient Fine-Tuning2022
- Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPTransactions of the Association for Computational Linguistics, 2021
- CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models2020
- Null It Out: Guarding Protected Attributes by Iterative Nullspace Projection2020
- Gender Bias in Multilingual Embeddings and Cross-Lingual Transfer2020