BTC-SAM: Leveraging LLMs for Generation of Bias Test Cases for Sentiment Analysis Models
Zsolt T. Kardkovács, Lynda Djennane, Anna Field, Boualem Benatallah, Yacine Gaci, Fabio Casati, Walid Gaaloul
摘要
Sentiment Analysis (SA) models harbor inherent social biases that can be harmful in realworld applications. These biases are identified by examining the output of SA models for sentences that only vary in the identity groups of the subjects. Constructing natural, linguistically rich, relevant, and diverse sets of sentences that provide sufficient coverage over the domain is expensive, especially when addressing a wide range of biases: it requires domain experts and/or crowd-sourcing. In this paper, we present a novel bias testing framework, BTC-SAM, which generates high-quality test cases for bias testing in SA models with minimal specification using Large Language Models (LLMs) for the controllable generation of test sentences. Our experiments show that relying on LLMs can provide high linguistic variation and diversity in the test sentences, thereby offering better test coverage compared to base prompting methods even for previously unseen biases. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Language (Technology) is Power: A Critical Survey of "Bias" in NLP 引用了 Reducing Sentiment Bias in Language Models via Counterfactual Evaluation
- This prompt is measuring : evaluating bias evaluation in language models 引用了 Language (Technology) is Power: A Critical Survey of "Bias" in NLP
- This prompt is measuring : evaluating bias evaluation in language models 引用了 Reducing Sentiment Bias in Language Models via Counterfactual Evaluation
- This prompt is measuring : evaluating bias evaluation in language models 引用了 CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models
- CHBias: Bias Evaluation and Mitigation of Chinese Conversational Language Models 引用了 CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models
- CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models 引用了 Reducing Sentiment Bias in Language Models via Counterfactual Evaluation
它引用的 Paper7
- Reducing Sentiment Bias in Language Models via Counterfactual EvaluationPo-Sen Huang, Huan Zhang, Ray Jiang, Robert Stanforth 等EMNLP Findings 2020 · 124 次引用
- Language (Technology) is Power: A Critical Survey of "Bias" in NLPSu Lin Blodgett, Solon Barocas, Hal Daumé III, Hanna M. WallachACL 2020 · 68 次引用
- CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language ModelsNikita Nangia, Clara Vania, Rasika Bhalerao, Samuel R. BowmanEMNLP 2020 · 19 次引用
- CHBias: Bias Evaluation and Mitigation of Chinese Conversational Language ModelsJiaxu Zhao, Meng Fang, Zijing Shi, Yitong Li 等ACL 2023 · 11 次引用
- This prompt is measuring : evaluating bias evaluation in language modelsSeraphina Goldfarb-Tarrant, Eddie Ungless, Esma Balkir, Su Lin BlodgettACL Findings 2023 · 10 次引用
相关 Paper
- Ask LLMs Directly, "What shapes your bias?": Measuring Social Bias in Large Language ModelsJisu Shin, Hoyun Song, Huije Lee, Soyeong Jeong 等ACL Findings 2024 · 9 次引用
- Social Bias Benchmark for Generation: A Comparison of Generation and QA-Based EvaluationsJiho Jin, Woosung Kang, Junho Myung, Alice OhACL Findings 2025
- Large Language Models Still Exhibit Bias in Long TextWonje Jeung, Dongjae Jeon, Ashkan Yousefpour, Jonghyun ChoiACL Findings 2025 · 2 次引用
- Targeted Data Generation: Finding and Fixing Model WeaknessesZexue He, Marco Túlio Ribeiro, Fereshte KhaniACL 2023 · 6 次引用
- BiasFilter: An Inference-Time Debiasing Framework for Large Language ModelsXiaoqing Cheng, Ruizhe Chen, Hongying Zan, Yuxiang Jia 等EMNLP Findings 2025 · 1 次引用
