Skip to main content
QUICK REVIEW

[Paper Review] BiasAsker: Measuring the Bias in Conversational AI System

Yuxuan Wan, Wenxuan Wang|arXiv (Cornell University)|May 21, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper proposes BiasAsker, an automated framework that measures social bias in conversational AI systems by generating questions targeting 841 social groups and 8,110 biased properties. It detects absolute and related biases through existence measurement, revealing that 32.83% of generated questions trigger biased responses in 8 commercial systems and 2 research models.

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 the data-driven, black-box nature of modern AI techniques, comprehensively identifying and measuring biases in conversational systems remains a challenging task. Particularly, it is hard to generate inputs that can comprehensively trigger potential bias due to the lack of data containing both social groups as well as biased properties. In addition, modern conversational systems can produce diverse responses (e.g., chatting and explanation), which makes existing bias detection methods simply based on the sentiment and the 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 8,110 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 8 commercial systems and 2 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.

Motivation & Objective

  • To address the challenge of comprehensively detecting social bias in conversational AI systems due to their black-box, data-driven nature.
  • To overcome the limitations of existing bias detection methods that rely on sentiment or toxicity scores and fail to capture nuanced biases in diverse responses.
  • To develop an automated framework capable of identifying both absolute and related biases by linking social groups to biased properties.
  • To construct a comprehensive social bias dataset with 841 groups and 8,110 biased properties to enable systematic evaluation.
  • To provide a scalable, reproducible, and open-source tool for bias evaluation across commercial and research conversational AI systems.

Proposed method

  • Construct a comprehensive social bias dataset containing 841 social groups and 8,110 biased properties, sourced from real-world media and manually annotated.
  • Automatically generate diverse, contextually relevant questions that embed both a social group and a biased property to trigger system responses.
  • Introduce an existence measurement method to detect two types of bias: absolute bias (direct association) and related bias (indirect or contextual association).
  • Use the existence measurement to evaluate whether the model’s response affirms or reinforces a biased property in relation to a given social group.
  • Apply the framework to evaluate 8 commercial conversational AI systems and 2 leading research models, including ChatGPT and GPT-3.
  • Release all code, data, and results to enable reproducibility and future research.

Experimental results

Research questions

  • RQ1To what extent can automated question generation trigger biased behaviors in conversational AI systems?
  • RQ2How do different social groups correlate with specific biased properties in the outputs of conversational AI models?
  • RQ3Can an existence measurement-based method effectively detect both absolute and related biases in diverse conversational responses?
  • RQ4How do commercial and research-grade conversational AI systems compare in their susceptibility to bias under systematic probing?
  • RQ5What is the real-world impact of bias in conversational AI, as revealed by a comprehensive, data-driven evaluation framework?

Key findings

  • BiasAsker successfully triggered biased responses in 32.83% of the 841 × 8,110 question pairs across 10 conversational AI systems.
  • The framework detected both absolute and related biases, revealing that models often associate specific social groups with stereotypical properties such as competence or criminality.
  • Commercial systems like ChatGPT and GPT-3 exhibited significant bias, with responses reinforcing harmful stereotypes when prompted with group-property pairs.
  • The study demonstrated that traditional sentiment or toxicity-based detection methods fail to capture subtle, contextually embedded biases in conversational outputs.
  • The released dataset and codebase enable reproducible evaluation and future benchmarking of bias in conversational AI systems.
  • The framework’s design mitigates limitations of manual annotation and external APIs by enabling automated, scalable, and precise bias detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.