Skip to content
Back to skills

Holisticbias Eval

ASecurity

Evaluates demographic and intersectional biases in language models by measuring disparities in token likelihoods, generation styles, and offensiveness across a curated set of demographic descriptor terms embedded in sentence templates. Use when the user wants to benchmark on HOLISTICBIAS, or asks about evaluating this task. Reports Full Gen Bias.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpython

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill holisticbias-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Holisticbias Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Holisticbias Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-holisticbias-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-holisticbias-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: holisticbias-eval
description: Evaluates demographic and intersectional biases in language models by measuring disparities in token likelihoods, generation styles, and offensiveness across a curated set of demographic descriptor terms embedded in sentence templates. Use when the user wants to benchmark on HOLISTICBIAS, or asks about evaluating this task. Reports Full Gen Bias.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2205.09209
  bibtex_key: [REDACTED]
  confidence: high
---

# holisticbias-eval

> "I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Dataset — Smith et al. (2022) (arXiv:2205.09209, 2022)

## What this evaluates

Evaluates demographic and intersectional biases in language models by measuring disparities in token likelihoods, generation styles, and offensiveness across a curated set of demographic descriptor terms embedded in sentence templates.

## Datasets

- **HOLISTICBIAS** — total 600; splits: test (-1)

## Metrics

- `Full Gen Bias` **(primary)** — range: other
  - Measures the disparity in generation style probabilities (e.g., sympathy, envy, curiosity) across demographic descriptor axes. Computed by prompting the model with HOLISTICBIAS templates, extracting style probabilities via a classifier, and aggregating differences or variances across descriptor groups.

## Input / output format

**Input**: Templated dialogue sentences with demographic descriptor terms inserted (e.g., '[NOUN PHRASE] is a person.', 'I love [NOUN PHRASE]', etc.)

**Output**: Model-generated text responses or token probability distributions.

## Scoring recipe

```python
def compute_full_gen_bias(prompts, model, style_classifier):
    style_probs = []
    for prompt in prompts:
        response = model.generate(prompt)
        probs = style_classifier.predict(response)
        style_probs.append(probs)
    axis_groups = group_by_axis(style_probs, prompts)
    bias_score = compute_variance_or_diff(axis_groups)
    return bias_score
```

## Common pitfalls

- Bias metrics are highly sensitive to the choice of style classifier (e.g., B.A.D. classifier) and its calibration.
- Perplexity and pseudo-log-likelihood differences can be confounded by the pre-training frequency of descriptor terms, making it hard to isolate learned bias from data exposure.

## Evidence (verbatim from paper)

> Full measurements of the bias in DialoGPT and BlenderBot 2.0 3B are shown in Table 8 for Full Gen Bias and Partial Gen Bias and in Table 9 for Summed-Cluster Gen Bias.

## Citation

```bibtex
@misc{smith2022holisticbias,
  title={"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Dataset},
  author={Smith et al. (2022)},
  year={2022},
  note={arXiv:2205.09209}
}
```

- arXiv: 2205.09209

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.