BiasAsker: Measuring the Bias in Conversational AI System
Open Access
- 30 November 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 515-527
Abstract
Powered by advanced Artificial Intelligence (AI) techniques, conversational AI systems, such as ChatGPT, and digital assistants like Siri, have been widely deployed in daily life. However, such systems may still produce content containing biases and stereotypes, causing potential social problems. Due to modern AI techniques’ data-driven, black-box nature, comprehensively identifying and measuring biases in conversational systems remains challenging. Particularly, it is hard to generate inputs that can comprehensively trigger potential bias due to the lack of data containing both social groups and biased properties. In addition, modern conversational systems can produce diverse responses (e.g., chatting and explanation), which makes existing bias detection methods based solely on sentiment and toxicity hardly being adopted. In this paper, we propose BiasAsker, an automated framework to identify and measure social bias in conversational AI systems. To obtain social groups and biased properties, we construct a comprehensive social bias dataset containing a total of 841 groups and 5,021 biased properties. Given the dataset, BiasAsker automatically generates questions and adopts a novel method based on existence measurement to identify two types of biases (i.e., absolute bias and related bias) in conversational systems. Extensive experiments on eight commercial systems and two famous research models, such as ChatGPT and GPT-3, show that 32.83% of the questions generated by BiasAsker can trigger biased behaviors in these widely deployed conversational systems. All the code, data, and experimental results have been released to facilitate future research.Keywords
All Related Versions
Funding Information
- Research Grants Council of the Hong Kong Special Administrative Region, China (CUHK 14206921)
- National Natural Science Foundation of China (62102340)
This publication has 18 references indexed in Scilit:
- Testing Your Question Answering Software via Asking Recursively2021
- "Ignorance and Prejudice" in Software Fairness2021
- Testing Machine Translation via Referential Transparency2021
- BOLD2021
- Testing machine learning based systems: a systematic mappingEmpirical Software Engineering, 2020
- Developing a Twitter bot that can join a discussion using state-of-the-art architecturesSocial Network Analysis and Mining, 2020
- Machine Learning Testing: Survey, Landscapes and HorizonsIEEE Transactions on Software Engineering, 2020
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks2019
- Looking Beyond the Surface: A Challenge Set for Reading Comprehension over Multiple Sentences2018
- DeepXplore2017