Skip to content
Back to skills

Gm Annotation Eval

ASecurity

Tests the ability of language models to automatically classify documents into predefined group membership categories (e.g., gender, geographic location) for group fairness evaluation in information retrieval. Use when the user wants to benchmark on TREC fair ranking track 2021, TREC fair ranking track 2022, NTCIR fairweb1 (Chuweb-21D), or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Gm Annotation Eval?

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

Security grade badge for Gm Annotation Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-gm-annotation-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-gm-annotation-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: gm-annotation-eval
description: Tests the ability of language models to automatically classify documents into predefined group membership categories (e.g., gender, geographic location) for group fairness evaluation in information retrieval. Use when the user wants to benchmark on TREC fair ranking track 2021, TREC fair ranking track 2022, NTCIR fairweb1 (Chuweb-21D), or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2407.08926
  bibtex_key: chen2024toward
  confidence: high
---

# gm-annotation-eval

> Toward Automatic Group Membership Annotation for Group Fairness Evaluation — Chen et al. (2024) (arXiv:2407.08926, 2024)

## What this evaluates

Tests the ability of language models to automatically classify documents into predefined group membership categories (e.g., gender, geographic location) for group fairness evaluation in information retrieval.

## Datasets

- **TREC fair ranking track 2021** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments
- **TREC fair ranking track 2022** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments
- **NTCIR fairweb1 (Chuweb-21D)** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments

## Metrics

- `accuracy` **(primary)** — range: [0, 1]
  - Standard classification accuracy: the proportion of correctly predicted group membership labels out of the total number of test documents.

## Input / output format

**Input**: Cleaned full-text field of a document (special characters removed, stop words removed, lemmatized, truncated to 512 tokens).

**Output**: A single categorical label from a predefined set of group membership subgroups (e.g., 'male', 'female', 'non-binary', or specific geographic locations).

## Scoring recipe

```python
correct = 0
total = 0
for pred, gold in zip(predictions, gold_labels):
    if pred == gold:
        correct += 1
    total += 1
return correct / total if total > 0 else 0.0
```

## Common pitfalls

- Human annotation for group membership is highly costly, time-consuming, and suffers from severe class imbalance (e.g., many 'unknown' labels).
- Generative LLM performance is highly sensitive to prompt design and pre-training data distribution, unlike discriminative models.
- Aggregated fairness metrics can mask document-level annotation errors, potentially hiding poor individual classification performance.

## Evidence (verbatim from paper)

> outperforming generative large language models (LLMs) like GPT and Mistral in accuracy with minimal supervision.

## Citation

```bibtex
@misc{chen2024toward,
  title={Toward Automatic Group Membership Annotation for Group Fairness Evaluation},
  author={Chen et al. (2024)},
  year={2024},
  note={arXiv:2407.08926}
}
```

- arXiv: 2407.08926

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.