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
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
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
@misc{chen2024toward,
title={Toward Automatic Group Membership Annotation for Group Fairness Evaluation},
author={Chen et al. (2024)},
year={2024},
note={arXiv:2407.08926}
}
1---2name: gm-annotation-eval3description: 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.4---56# gm-annotation-eval78> Toward Automatic Group Membership Annotation for Group Fairness Evaluation — Chen et al. (2024) (arXiv:2407.08926, 2024)910## What this evaluates1112Tests 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.1314## Datasets1516- **TREC fair ranking track 2021** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments17- **TREC fair ranking track 2022** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments18- **NTCIR fairweb1 (Chuweb-21D)** — total ?; splits: train (500), test (100); repo https://github.com/fm-chen/nldb-experiments1920## Metrics2122- `accuracy` **(primary)** — range: [0, 1]23 - Standard classification accuracy: the proportion of correctly predicted group membership labels out of the total number of test documents.2425## Input / output format2627**Input**: Cleaned full-text field of a document (special characters removed, stop words removed, lemmatized, truncated to 512 tokens).2829**Output**: A single categorical label from a predefined set of group membership subgroups (e.g., 'male', 'female', 'non-binary', or specific geographic locations).3031## Scoring recipe3233```python34correct = 035total = 036for pred, gold in zip(predictions, gold_labels):37 if pred == gold:38 correct += 139 total += 140return correct / total if total > 0 else 0.041```4243## Common pitfalls4445- Human annotation for group membership is highly costly, time-consuming, and suffers from severe class imbalance (e.g., many 'unknown' labels).46- Generative LLM performance is highly sensitive to prompt design and pre-training data distribution, unlike discriminative models.47- Aggregated fairness metrics can mask document-level annotation errors, potentially hiding poor individual classification performance.4849## Evidence (verbatim from paper)5051> outperforming generative large language models (LLMs) like GPT and Mistral in accuracy with minimal supervision.5253## Citation5455```bibtex56@misc{chen2024toward,57 title={Toward Automatic Group Membership Annotation for Group Fairness Evaluation},58 author={Chen et al. (2024)},59 year={2024},60 note={arXiv:2407.08926}61}62```6364- arXiv: 2407.08926