Counterfactual Social Bias Evaluation in Persian LLM-Based Information Systems

Document Type : Original Article

Author
PersianGulf University, Bushehr, Iran.
Abstract
Large language models are increasingly used in Persian information systems, yet culturally grounded bias evaluation remains limited. We introduce a natural-scenario counterfactual benchmark constructed through human-directed, ChatGPT-assisted drafting and independently validated by three native Persian speakers. From an initial 100 scenarios, 524 rows, and 424 pairs, validation retained 84 scenarios, 424 rows, and 340 pairs; socioeconomic coverage was reduced to one pair. Five open-weight models were evaluated with deterministic restricted next-token A--E scoring, normal/reverse option orders, scenario-cluster bootstrap intervals, and scenario-level sign-flip tests. Baseline mean absolute gaps were small (0.031--0.043), but Dorna-Llama3-8B and Llama-3.1-8B showed severe option-order sensitivity. Fairness prompting increased gaps for every model and significantly for Qwen2-7B, Qwen2.5-14B, and Qwen3-8B. Qwen2.5-14B and Qwen3-8B achieved the highest BBQ-Fa accuracy (0.817), while Qwen2.5-14B led ISEAR-Fa (0.623). Train-only calibration did not improve held-out gaps. The benchmark, validation documentation, prompts, code, and results are provided in an accompanying anonymous GitHub repository.
Keywords

[1] A. Caliskan, J. J. Bryson, and A. Narayanan, “Semantics derived automatically from language corpora contain human-like biases,” Science, vol. 356, no. 6334, pp. 183–186, 2017.
[2] C. May, A. Wang, S. Bordia, S. R. Bowman, and R. Rudinger, “On measuring social biases in sentence encoders,” in Proc. NAACL-HLT, 2019.
[3] N. Nangia, C. Vania, R. Bhalerao, and S. R. Bowman, “CrowS-Pairs: A challenge dataset for measuring social biases in masked language models,” in Proc. EMNLP, 2020.
[4] M. Nadeem, A. Bethke, and S. Reddy, “StereoSet: Measuring stereotypical bias in pretrained language models,” in Proc. ACL-IJCNLP, 2021.
[5] R. Rudinger, J. Naradowsky, B. Leonard, and B. Van Durme, “Gender bias in coreference resolution,” in Proc. NAACL-HLT, 2018.
[6] J. Zhao, T. Wang, M. Yatskar, V. Ordonez, and K.-W. Chang, “Gender bias in coreference resolution: Evaluation and debiasing methods,” in Proc. NAACL-HLT, 2018.
[7] A. Parrish, A. Chen, N. Nangia, V. Padmakumar, J. Phang, J. Thompson, P. M. Htut, and S. R. Bowman, “BBQ: A hand-built bias benchmark for question answering,” in Findings of ACL, 2022.
[8] J. Dhamala, T. Sun, V. Kumar, S. Krishna, Y. Pruksachatkun, K.-W. Chang, and R. Gupta, “BOLD: Dataset and metrics for measuring biases in open-ended language generation,” in Proc. ACM FAccT, 2021.
[9] H. Saffari, M. Shafiei, D. Rooein, and D. Nozza, “Measuring gender bias in language models in Farsi,” in Proc. 6th Workshop on Gender Bias in Natural Language Processing, Vienna, Austria, pp. 228–241, 2025, doi: 10.18653/v1/2025.gebnlp-1.21.
[10] F. Farsi, S. Bali, F. Valeh, P. Ghofrani, A. Pakniat, K. Kashfipour, and A. H. Payberah, “PBBQ: A Persian bias benchmark dataset curated with human-AI collaboration for large language models,” arXiv preprint arXiv:2510.19616, 2025.
[11] Z. Pourbahman, F. Rajabi, M. Sadeghi, O. Ghahroodi, S. Bakhshaei, A. Amini, R. Kazemi, and M. Soleymani Baghshah, “ELAB: Extensive LLM alignment benchmark in Persian language,” arXiv preprint arXiv:2504.12553, 2025.
[12] M. R. Mirbagheri, M. M. Mirkamali, Z. Motoshaker Arani, A. Javeri, A. M. Sadeghzadeh, and R. Jalili, “EPT benchmark: Evaluation of Persian trustworthiness in large language models,” arXiv preprint arXiv:2509.06838, 2025.
[13] G. Kalhor and B. Bahrak, “Probing gender bias in multilingual LLMs: A case study of stereotypes in Persian,” arXiv preprint arXiv:2509.20168, 2025.
[14] T. Li, T. Khot, D. Khashabi, A. Sabharwal, and V. Srikumar, “UnQovering stereotyping biases via underspecified questions,” arXiv preprint arXiv:2010.02428, 2020.
[15] E. M. Smith, M. Hall, M. Kambadur, E. Presani, and A. Williams, “I'm sorry to hear that: Finding new biases in language models with a holistic descriptor dataset,” in Proc. EMNLP, 2022.
[16] D. Nozza, F. Bianchi, and D. Hovy, “HONEST: Measuring hurtful sentence completion in language models,” in Proc. NAACL-HLT, pp. 2398–2406, 2021.
[17] I. O. Gallegos, R. A. Rossi, J. Barrow, M. M. Tanjim, T. Yu, H. Deilamsalehy, R. Zhang, S. Kim, and F. Dernoncourt, “Self-debiasing large language models: Zero-shot recognition and reduction of stereotypes,” arXiv preprint arXiv:2402.01981, 2024.
[18] R. H. Maudslay, H. Gonen, R. Cotterell, and S. Teufel, “It's all in the name: Mitigating gender bias with name-based counterfactual data substitution,” in Proc. EMNLP-IJCNLP, 2019.
[19] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, “LoRA: Low-rank adaptation of large language models,” in Proc. ICLR, 2022.
[20] T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer, “QLoRA: Efficient finetuning of quantized LLMs,” in Advances in Neural Information Processing Systems, 2023.
[21] PartAI, “Dorna-Llama3-8B-Instruct model card,” Hugging Face, 2024, doi: 10.57967/hf/5613. Available: https://huggingface.co/PartAI/Dorna-Llama3-8B-Instruct.
[22] A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, et al., “The Llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.
[23] A. Yang, B. Yang, B. Hui, B. Zheng, B. Yu, C. Zhou, et al., “Qwen2 technical report,” arXiv preprint arXiv:2407.10671, 2024.
[24] Qwen Team, “Qwen2.5 technical report,” arXiv preprint arXiv:2412.15115, 2024.
[25] A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al., “Qwen3 technical report,” arXiv preprint arXiv:2505.09388, 2025.
[26] K. R. Scherer and H. G. Wallbott, “Evidence for universality and cultural variation of differential emotion response patterning,” Journal of Personality and Social Psychology, vol. 66, no. 2, pp. 310–328, 1994.
[27] Y. Benjamini and Y. Hochberg, “Controlling the false discovery rate: A practical and powerful approach to multiple testing,” Journal of the Royal Statistical Society: Series B, vol. 57, no. 1, pp. 289–300, 1995.