SAGED: A Holistic Bias-Benchmarking Pipeline for Language Models with Customisable Fairness Calibration

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guan, Xin, Wang, Ze, Demchak, Nathaniel, Gupta, Saloni, Ertekin Jr., Ediz, Koshiyama, Adriano, Kazim, Emre, Wu, Zekun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912209808916480
author Guan, Xin
Wang, Ze
Demchak, Nathaniel
Gupta, Saloni
Ertekin Jr., Ediz
Koshiyama, Adriano
Kazim, Emre
Wu, Zekun
author_facet Guan, Xin
Wang, Ze
Demchak, Nathaniel
Gupta, Saloni
Ertekin Jr., Ediz
Koshiyama, Adriano
Kazim, Emre
Wu, Zekun
contents The development of unbiased large language models is widely recognized as crucial, yet existing benchmarks fall short in detecting biases due to limited scope, contamination, and lack of a fairness baseline. SAGED(bias) is the first holistic benchmarking pipeline to address these problems. The pipeline encompasses five core stages: scraping materials, assembling benchmarks, generating responses, extracting numeric features, and diagnosing with disparity metrics. SAGED includes metrics for max disparity, such as impact ratio, and bias concentration, such as Max Z-scores. Noticing that metric tool bias and contextual bias in prompts can distort evaluation, SAGED implements counterfactual branching and baseline calibration for mitigation. For demonstration, we use SAGED on G20 Countries with popular 8b-level models including Gemma2, Llama3.1, Mistral, and Qwen2. With sentiment analysis, we find that while Mistral and Qwen2 show lower max disparity and higher bias concentration than Gemma2 and Llama3.1, all models are notably biased against countries like Russia and (except for Qwen2) China. With further experiments to have models role-playing U.S. presidents, we see bias amplifies and shifts in heterogeneous directions. Moreover, we see Qwen2 and Mistral not engage in role-playing, while Llama3.1 and Gemma2 role-play Trump notably more intensively than Biden and Harris, indicating role-playing performance bias in these models.
format Preprint
id arxiv_https___arxiv_org_abs_2409_11149
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SAGED: A Holistic Bias-Benchmarking Pipeline for Language Models with Customisable Fairness Calibration
Guan, Xin
Wang, Ze
Demchak, Nathaniel
Gupta, Saloni
Ertekin Jr., Ediz
Koshiyama, Adriano
Kazim, Emre
Wu, Zekun
Computation and Language
68T50
I.2.7; F.4.2
The development of unbiased large language models is widely recognized as crucial, yet existing benchmarks fall short in detecting biases due to limited scope, contamination, and lack of a fairness baseline. SAGED(bias) is the first holistic benchmarking pipeline to address these problems. The pipeline encompasses five core stages: scraping materials, assembling benchmarks, generating responses, extracting numeric features, and diagnosing with disparity metrics. SAGED includes metrics for max disparity, such as impact ratio, and bias concentration, such as Max Z-scores. Noticing that metric tool bias and contextual bias in prompts can distort evaluation, SAGED implements counterfactual branching and baseline calibration for mitigation. For demonstration, we use SAGED on G20 Countries with popular 8b-level models including Gemma2, Llama3.1, Mistral, and Qwen2. With sentiment analysis, we find that while Mistral and Qwen2 show lower max disparity and higher bias concentration than Gemma2 and Llama3.1, all models are notably biased against countries like Russia and (except for Qwen2) China. With further experiments to have models role-playing U.S. presidents, we see bias amplifies and shifts in heterogeneous directions. Moreover, we see Qwen2 and Mistral not engage in role-playing, while Llama3.1 and Gemma2 role-play Trump notably more intensively than Biden and Harris, indicating role-playing performance bias in these models.
title SAGED: A Holistic Bias-Benchmarking Pipeline for Language Models with Customisable Fairness Calibration
topic Computation and Language
68T50
I.2.7; F.4.2
url https://arxiv.org/abs/2409.11149